kamrify commited on
Commit
fbfbee0
·
1 Parent(s): ec45071

Popover buttons

Browse files
Files changed (2) hide show
  1. assets/styles/scss/demo.scss +20 -0
  2. index.html +12 -5
assets/styles/scss/demo.scss CHANGED
@@ -97,6 +97,26 @@ div#sholo-popover-item {
97
  }
98
  }
99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
  .sholo-popover-title {
101
  font-size: 19px;
102
  margin: 0 0 5px;
 
97
  }
98
  }
99
 
100
+ .sholo-popover-footer {
101
+ display: block;
102
+ clear: both;
103
+ a {
104
+ display: inline-block;
105
+ padding: 3px 10px;
106
+ border: 1px solid #d4d4d4;
107
+ text-decoration: none;
108
+ text-shadow: 1px 1px 0 #fff;
109
+ color: #333;
110
+ font: 11px/normal sans-serif;
111
+ cursor: pointer;
112
+ outline: 0;
113
+ background-color: #ececec;
114
+ border-radius: 2px;
115
+ zoom: 1;
116
+ margin: 10px 0 0;
117
+ }
118
+ }
119
+
120
  .sholo-popover-title {
121
  font-size: 19px;
122
  margin: 0 0 5px;
index.html CHANGED
@@ -13,6 +13,13 @@
13
  <div class="sholo-popover-tip"></div>
14
  <div class="sholo-popover-title">Did you know?</div>
15
  <div class="sholo-popover-description">You can make step by step introductions with sholo!</div>
 
 
 
 
 
 
 
16
  </div>
17
  <div class="page-wrap">
18
  <section class="section__header" data-sholo="Hey welcome to presenter!">
@@ -62,11 +69,11 @@
62
 
63
  <script src="./assets/scripts/dist/sholo.js"></script>
64
  <script>
65
- const sholo = new Sholo({
66
- animate: true,
67
- opacity: 0.8,
68
- padding: 5
69
- });
70
 
71
 
72
  document.querySelector('.btn__example')
 
13
  <div class="sholo-popover-tip"></div>
14
  <div class="sholo-popover-title">Did you know?</div>
15
  <div class="sholo-popover-description">You can make step by step introductions with sholo!</div>
16
+ <div class="sholo-popover-footer">
17
+ <a href="javascript:void(0)">Close</a>
18
+ <span class="sholo-btn-group">
19
+ <a href="javascript:void(0)">Previous</a>
20
+ <a href="javascript:void(0)">Next</a>
21
+ </span>
22
+ </div>
23
  </div>
24
  <div class="page-wrap">
25
  <section class="section__header" data-sholo="Hey welcome to presenter!">
 
69
 
70
  <script src="./assets/scripts/dist/sholo.js"></script>
71
  <script>
72
+ const sholo = new Sholo({
73
+ animate: true,
74
+ opacity: 0.8,
75
+ padding: 5
76
+ });
77
 
78
 
79
  document.querySelector('.btn__example')