rapido-css 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/stylesheets/_default-styles.scss +109 -46
- data/stylesheets/_functions.scss +6 -6
- data/stylesheets/components/_buttons.scss +1 -2
- data/stylesheets/components/_captions.scss +2 -4
- data/stylesheets/components/_dropdowns.scss +4 -2
- data/stylesheets/components/_forms.scss +116 -30
- data/stylesheets/components/_labels.scss +1 -1
- data/stylesheets/components/_modals.scss +1 -1
- data/stylesheets/components/_navs.scss +7 -15
- data/stylesheets/components/_overlay.scss +81 -0
- data/stylesheets/components/_pager.scss +1 -1
- data/stylesheets/components/_pagination.scss +1 -1
- data/stylesheets/components/_sliders.scss +3 -3
- data/stylesheets/components/_tables.scss +1 -1
- data/stylesheets/components/_tabs.scss +2 -3
- data/stylesheets/components/_tooltip.scss +89 -0
- data/stylesheets/components/_type.scss +13 -11
- data/stylesheets/rapido.scss +2 -0
- data/stylesheets/settings/_base.scss +6 -6
- data/stylesheets/settings/_colors.scss +48 -6
- data/stylesheets/settings/_components.scss +25 -26
- data/stylesheets/settings/_dimensions.scss +34 -16
- data/stylesheets/settings/_effects.scss +13 -11
- data/stylesheets/utilities/_animations.scss +5 -5
- data/stylesheets/utilities/_debug.scss +2 -2
- data/stylesheets/utilities/_helper-classes.scss +8 -11
- data/stylesheets/utilities/_mixins.scss +25 -25
- metadata +4 -2
@@ -74,6 +74,7 @@ label {
|
|
74
74
|
}
|
75
75
|
|
76
76
|
.input-text,
|
77
|
+
.form__input,
|
77
78
|
textarea,
|
78
79
|
input[type="text"],
|
79
80
|
input[type="password"],
|
@@ -89,21 +90,20 @@ input[type="url"],
|
|
89
90
|
input[type="search"],
|
90
91
|
input[type="tel"],
|
91
92
|
input[type="color"] {
|
92
|
-
|
93
|
+
@include inline-block;
|
93
94
|
padding: 0 $input-padding-side;
|
94
|
-
vertical-align: middle;
|
95
95
|
height: $input-height;
|
96
96
|
border-width: $input-border;
|
97
97
|
border-style: solid;
|
98
98
|
@media \0screen { line-height: $input-height; } // Ugly IE8 Hack
|
99
|
-
@extend %input !optional;
|
99
|
+
@extend %input !optional; // Backward compatibility
|
100
|
+
@extend %form__input !optional;
|
100
101
|
|
101
102
|
&:focus {outline: 0;}
|
102
103
|
}
|
103
104
|
|
104
105
|
select {
|
105
|
-
|
106
|
-
display: inline-block;
|
106
|
+
@include inline-block;
|
107
107
|
}
|
108
108
|
|
109
109
|
input,
|
@@ -175,13 +175,13 @@ select:focus:invalid {
|
|
175
175
|
// }
|
176
176
|
|
177
177
|
|
178
|
-
|
178
|
+
.form__group { position: relative; }
|
179
179
|
.form__group + .form__group { margin-top: em($control-margin-bottom); }
|
180
180
|
|
181
181
|
.form__controls {
|
182
182
|
@extend .clearfix;
|
183
183
|
position: relative;
|
184
|
-
|
184
|
+
@include inline-block;
|
185
185
|
}
|
186
186
|
|
187
187
|
|
@@ -201,6 +201,7 @@ Styleguide 8.1
|
|
201
201
|
font-weight: bold;
|
202
202
|
margin-bottom: em($label-margin-bottom);
|
203
203
|
cursor: auto;
|
204
|
+
@extend %form__label !optional;
|
204
205
|
}
|
205
206
|
|
206
207
|
|
@@ -243,8 +244,7 @@ Styleguide 8.2
|
|
243
244
|
}
|
244
245
|
.form__radio.inline,
|
245
246
|
.form__checkbox.inline {
|
246
|
-
|
247
|
-
vertical-align: middle;
|
247
|
+
@include inline-block;
|
248
248
|
}
|
249
249
|
.form__radio.inline + .form__radio.inline,
|
250
250
|
.form__checkbox.inline + .form__checkbox.inline {
|
@@ -276,14 +276,17 @@ Styleguide 8.3
|
|
276
276
|
|
277
277
|
.form__select {
|
278
278
|
@extend %caret !optional;
|
279
|
-
@
|
280
|
-
@
|
279
|
+
@extend %select !optional; // Backward compatibility
|
280
|
+
@extend %form__select !optional;
|
281
|
+
@include border-radius($base-border-radius);
|
282
|
+
@include inline-block;
|
281
283
|
border-style: solid;
|
282
284
|
border-width: $input-border;
|
283
285
|
cursor: pointer;
|
284
|
-
display: inline-block;
|
285
286
|
height: $input-height;
|
286
287
|
line-height: 1em;
|
288
|
+
margin-bottom: 0;
|
289
|
+
padding: $input-padding;
|
287
290
|
position: relative;
|
288
291
|
width: 240px;
|
289
292
|
|
@@ -294,22 +297,21 @@ Styleguide 8.3
|
|
294
297
|
border:none;
|
295
298
|
box-shadow:none;
|
296
299
|
cursor: pointer;
|
297
|
-
padding: $input-padding;
|
298
300
|
position: relative;
|
299
301
|
width:100%;
|
300
302
|
z-index: 3;
|
301
|
-
line-height: 1em;
|
302
303
|
text-indent: 1px;
|
303
304
|
text-overflow: '';
|
304
|
-
|
305
305
|
}
|
306
306
|
|
307
307
|
&:after {
|
308
|
-
|
308
|
+
/*@include position(absolute, em($input-padding-top) em($input-padding-side) 0 0);*/
|
309
|
+
@include position(absolute, 0em 0em 0em 0);
|
309
310
|
display: block;
|
311
|
+
line-height: $input-height;
|
312
|
+
padding-right: $input-padding-side;
|
310
313
|
}
|
311
314
|
|
312
|
-
@extend %select !optional;
|
313
315
|
|
314
316
|
}
|
315
317
|
|
@@ -386,6 +388,68 @@ Styleguide 8.5
|
|
386
388
|
|
387
389
|
|
388
390
|
|
391
|
+
/*
|
392
|
+
|
393
|
+
Suggest
|
394
|
+
|
395
|
+
Add a simple dropdown open on :focus with a list of link, clicking on a link
|
396
|
+
will populate de input value.
|
397
|
+
|
398
|
+
Script required: **rapido.js**.
|
399
|
+
|
400
|
+
Markup:
|
401
|
+
<div class="form__controls">
|
402
|
+
<input type="text">
|
403
|
+
<div class="form__suggest">
|
404
|
+
<ul>
|
405
|
+
<li><a href="#">Fist line</a></li>
|
406
|
+
<li><a href="#">Second line</a></li>
|
407
|
+
<li><a href="#">Third line</a></li>
|
408
|
+
</ul>
|
409
|
+
</div>
|
410
|
+
</div>
|
411
|
+
<script type="text/javascript">
|
412
|
+
$(document).ready(function() {
|
413
|
+
$('.form__controls').rapido_Suggest();
|
414
|
+
});
|
415
|
+
</script>
|
416
|
+
|
417
|
+
Include this js after including rapido.js.
|
418
|
+
|
419
|
+
$('.form').rapido_Overlay();
|
420
|
+
|
421
|
+
**Options** (with default values):
|
422
|
+
|
423
|
+
containerClass: .form__controls
|
424
|
+
suggestClass: .form__suggest
|
425
|
+
|
426
|
+
Styleguide 8.6
|
427
|
+
|
428
|
+
*/
|
429
|
+
|
430
|
+
.form__suggest {
|
431
|
+
@extend %form__suggest !optional;
|
432
|
+
@include e(transition);
|
433
|
+
max-height: 0;
|
434
|
+
overflow: hidden;
|
435
|
+
position: absolute;
|
436
|
+
z-index: 5;
|
437
|
+
|
438
|
+
&.open {
|
439
|
+
max-height: $dropdowns-height;
|
440
|
+
}
|
441
|
+
|
442
|
+
a {
|
443
|
+
display: block
|
444
|
+
}
|
445
|
+
|
446
|
+
ul {
|
447
|
+
margin: 0;
|
448
|
+
list-style: none;
|
449
|
+
padding: $input-padding;
|
450
|
+
}
|
451
|
+
}
|
452
|
+
|
389
453
|
/*
|
390
454
|
|
391
455
|
Append & Prepend
|
@@ -395,6 +459,13 @@ Markup:
|
|
395
459
|
<span class="form__addon fontawesome"></span>
|
396
460
|
<span class="form__addon">$</span>
|
397
461
|
<input type="text">
|
462
|
+
<div class="form__suggest">
|
463
|
+
<ul>
|
464
|
+
<li><a href="#">Fist line</a></li>
|
465
|
+
<li><a href="#">Second line</a></li>
|
466
|
+
<li><a href="#">Third line</a></li>
|
467
|
+
</ul>
|
468
|
+
</div>
|
398
469
|
<span class="form__addon">.00</span>
|
399
470
|
</div>
|
400
471
|
<div class="form__controls form__controls--multi">
|
@@ -403,12 +474,12 @@ Markup:
|
|
403
474
|
<button type="submit" class="btn btn--default form__addon">Search</button>
|
404
475
|
</div>
|
405
476
|
|
406
|
-
Styleguide 8.
|
477
|
+
Styleguide 8.7
|
407
478
|
|
408
479
|
*/
|
409
480
|
|
410
481
|
.form__addon {
|
411
|
-
|
482
|
+
@include inline-block;
|
412
483
|
width: auto;
|
413
484
|
min-width: em(16px);
|
414
485
|
padding: $input-padding;
|
@@ -419,7 +490,8 @@ Styleguide 8.6
|
|
419
490
|
text-align: center;
|
420
491
|
border-width: $input-border;
|
421
492
|
border-style: solid;
|
422
|
-
@extend %input-addon !optional;
|
493
|
+
@extend %input-addon !optional; // Backward compatibility
|
494
|
+
@extend %form__addon !optional;
|
423
495
|
}
|
424
496
|
|
425
497
|
.form__controls--multi {
|
@@ -460,7 +532,7 @@ Markup:
|
|
460
532
|
<button type="button" class="btn btn--default btn--secondary">Cancel</button>
|
461
533
|
</div>
|
462
534
|
|
463
|
-
Styleguide 8.
|
535
|
+
Styleguide 8.8
|
464
536
|
|
465
537
|
*/
|
466
538
|
|
@@ -473,6 +545,14 @@ Styleguide 8.7
|
|
473
545
|
@extend .clearfix;
|
474
546
|
}
|
475
547
|
|
548
|
+
.form__group.form__actions {
|
549
|
+
border: 0;
|
550
|
+
clear: none;
|
551
|
+
margin-bottom: 0;
|
552
|
+
margin-top: 0;
|
553
|
+
padding-top: (rhythm() + em($label-margin-bottom));
|
554
|
+
}
|
555
|
+
|
476
556
|
|
477
557
|
/*
|
478
558
|
|
@@ -521,7 +601,7 @@ Markup:
|
|
521
601
|
.form--aligned - Right align labels and float them to the left to make them appear on the same line as controls.
|
522
602
|
.form--inline - For left-aligned labels and inline-block controls for a compact layout. This layout doesn't support `.form__group`, `.form__addon`, `.form__actions`
|
523
603
|
|
524
|
-
Styleguide 8.
|
604
|
+
Styleguide 8.9
|
525
605
|
|
526
606
|
*/
|
527
607
|
|
@@ -534,6 +614,14 @@ Styleguide 8.8
|
|
534
614
|
margin: 0 0 em($control-margin-bottom) 0;
|
535
615
|
}
|
536
616
|
|
617
|
+
.form__controls {
|
618
|
+
width: 100%;
|
619
|
+
|
620
|
+
& > * {
|
621
|
+
width: 100%;
|
622
|
+
}
|
623
|
+
}
|
624
|
+
|
537
625
|
.form__multi { width: 100%; }
|
538
626
|
|
539
627
|
|
@@ -596,14 +684,12 @@ Markup:
|
|
596
684
|
<form class="form--inline">
|
597
685
|
<label class="form__label">Label</label>
|
598
686
|
<input type="text" placeholder="Type something…">
|
599
|
-
<label class="form__label">Label</label>
|
600
687
|
<label class="form__radio inline">
|
601
688
|
<input type="radio" value="option1" checked> Option one
|
602
689
|
</label>
|
603
690
|
<label class="form__radio inline">
|
604
691
|
<input type="radio" value="option1" checked> Option two
|
605
692
|
</label>
|
606
|
-
<label class="form__label">Label</label>
|
607
693
|
<span class="form__select">
|
608
694
|
<select>
|
609
695
|
<option selected="selected">Select Country</option>
|
@@ -619,7 +705,7 @@ Markup:
|
|
619
705
|
|
620
706
|
</form>
|
621
707
|
|
622
|
-
Styleguide 8.
|
708
|
+
Styleguide 8.9.1
|
623
709
|
|
624
710
|
*/
|
625
711
|
|
@@ -630,11 +716,11 @@ Styleguide 8.8.1
|
|
630
716
|
.form--inline {
|
631
717
|
|
632
718
|
> * {
|
633
|
-
margin: 0 0 0
|
719
|
+
margin: 0 0 0 rhythm();
|
634
720
|
}
|
635
721
|
|
636
722
|
.form__label {
|
637
|
-
|
723
|
+
@include inline-block;
|
638
724
|
padding-right: 1em
|
639
725
|
}
|
640
726
|
|
@@ -659,19 +745,19 @@ Styleguide 8.8.1
|
|
659
745
|
}
|
660
746
|
|
661
747
|
.form__select {
|
662
|
-
padding-right:
|
748
|
+
padding-right: 2.5em;
|
663
749
|
}
|
664
750
|
|
665
751
|
.form__group {
|
666
752
|
padding: 0;
|
667
|
-
|
753
|
+
@include inline-block;
|
668
754
|
}
|
669
755
|
|
670
756
|
.form__actions {
|
671
757
|
border: 0;
|
672
758
|
padding: 0;
|
673
759
|
margin: 0;
|
674
|
-
|
760
|
+
@include inline-block;
|
675
761
|
}
|
676
762
|
|
677
763
|
}
|
@@ -220,7 +220,7 @@ Styleguide 11
|
|
220
220
|
.child {
|
221
221
|
@include alpha-color(#000, .8, background);
|
222
222
|
@include border-radius($base-border-radius);
|
223
|
-
|
223
|
+
@include inline-block;
|
224
224
|
margin-right: -100%;
|
225
225
|
padding: em(2px) em($input-padding-side);
|
226
226
|
color: #FFF;
|
@@ -37,7 +37,7 @@ Styleguide 12
|
|
37
37
|
|
38
38
|
.nav {
|
39
39
|
@extend .clearfix;
|
40
|
-
|
40
|
+
@include inline-block;
|
41
41
|
margin-bottom: rhythm();
|
42
42
|
position: relative;
|
43
43
|
|
@@ -51,7 +51,7 @@ Styleguide 12
|
|
51
51
|
|
52
52
|
> a {
|
53
53
|
@extend .transition;
|
54
|
-
|
54
|
+
@include inline-block;
|
55
55
|
line-height: 1em;
|
56
56
|
|
57
57
|
&:hover, &:focus {
|
@@ -91,16 +91,8 @@ Styleguide 12
|
|
91
91
|
max-height: $dropdowns-height;
|
92
92
|
}
|
93
93
|
|
94
|
-
li ul,
|
95
|
-
li:hover > a {
|
96
|
-
@extend %nav--btn__hover !optional;
|
97
|
-
}
|
98
|
-
|
99
94
|
}
|
100
95
|
|
101
|
-
|
102
|
-
|
103
|
-
|
104
96
|
// Nav Title
|
105
97
|
|
106
98
|
.nav__title {
|
@@ -119,15 +111,10 @@ Styleguide 12
|
|
119
111
|
& > li,
|
120
112
|
> ul > li { float: left;}
|
121
113
|
|
122
|
-
|
123
114
|
li ul {
|
124
115
|
@include position(absolute, 100% 0 0 0px);
|
125
116
|
min-width: 10em;
|
126
117
|
}
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
118
|
}
|
132
119
|
|
133
120
|
// Vertical nav
|
@@ -162,6 +149,11 @@ Styleguide 12
|
|
162
149
|
@extend %nav--btn__current !optional;
|
163
150
|
}
|
164
151
|
|
152
|
+
ul,
|
153
|
+
&:hover > a {
|
154
|
+
@extend %nav--btn__hover !optional;
|
155
|
+
}
|
156
|
+
|
165
157
|
}
|
166
158
|
}
|
167
159
|
|
@@ -0,0 +1,81 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Overlay
|
4
|
+
|
5
|
+
Open and close an overlay layer visibility using `.open` class between
|
6
|
+
elements of a container. By defalut it have vaery little styling, because
|
7
|
+
is not a full modal window it's completely open to the to you how to style it.
|
8
|
+
|
9
|
+
Script required: **rapido.js**.
|
10
|
+
|
11
|
+
Markup:
|
12
|
+
<a href="#" class="open__overlay btn btn--default" data-overlay-ref="test">
|
13
|
+
Open Overlay
|
14
|
+
</a>
|
15
|
+
<section data-overlay-content="test">
|
16
|
+
<div class="w">
|
17
|
+
<h2>Lorem ipsum dolor sit amet</h2>
|
18
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
19
|
+
</div>
|
20
|
+
</section>
|
21
|
+
<script type="text/javascript">
|
22
|
+
$(document).ready(function() {
|
23
|
+
$(".open__overlay").rapido_Overlay();
|
24
|
+
});
|
25
|
+
</script>
|
26
|
+
|
27
|
+
Include this js after including rapido.js.
|
28
|
+
|
29
|
+
$('.open__overlay').rapido_Overlay();
|
30
|
+
|
31
|
+
**Options** (with default values):
|
32
|
+
|
33
|
+
delay: 500
|
34
|
+
closeClass: .overlay-close
|
35
|
+
backgroundClass: .overlay-background
|
36
|
+
|
37
|
+
Styleguide 18
|
38
|
+
|
39
|
+
*/
|
40
|
+
|
41
|
+
@if $overlays {
|
42
|
+
|
43
|
+
[data-overlay-content] {
|
44
|
+
@extend %overlay__content !optional;
|
45
|
+
@include position(fixed, -100% 0em 0em 0em);
|
46
|
+
height: 0;
|
47
|
+
overflow: hidden;
|
48
|
+
&.open {
|
49
|
+
@extend %overlay__content--open !optional;
|
50
|
+
overflow: auto;
|
51
|
+
z-index: $zindex-modal;
|
52
|
+
}
|
53
|
+
&.close {
|
54
|
+
@extend %overlay__content--close !optional;
|
55
|
+
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
.overlay-background {
|
60
|
+
@extend %overlay__background !optional;
|
61
|
+
@include position(fixed, -100% 0em 0em 0em);
|
62
|
+
height: 0;
|
63
|
+
overflow: hidden;
|
64
|
+
width: 100%;
|
65
|
+
&.open {
|
66
|
+
@extend %overlay__background--open !optional;
|
67
|
+
overflow: auto;
|
68
|
+
z-index: $zindex-modal - 1;
|
69
|
+
}
|
70
|
+
&.close {
|
71
|
+
@extend %overlay__background--close !optional;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
.overlay-close {
|
76
|
+
@extend %overlay__close !optional;
|
77
|
+
cursor: pointer;
|
78
|
+
display: block;
|
79
|
+
}
|
80
|
+
|
81
|
+
}
|
@@ -78,9 +78,9 @@ Styleguide 16
|
|
78
78
|
}
|
79
79
|
|
80
80
|
.bx-pager-item {
|
81
|
-
|
81
|
+
@include inline-block;
|
82
82
|
a {
|
83
|
-
|
83
|
+
@include inline-block;
|
84
84
|
// @include hide-text;
|
85
85
|
}
|
86
86
|
}
|
@@ -102,7 +102,7 @@ Styleguide 16
|
|
102
102
|
width: 100%;
|
103
103
|
|
104
104
|
span {
|
105
|
-
|
105
|
+
@include inline-block;
|
106
106
|
@extend %slider__caption !optional;
|
107
107
|
}
|
108
108
|
}
|
@@ -38,7 +38,7 @@ Markup:
|
|
38
38
|
});
|
39
39
|
</script>
|
40
40
|
|
41
|
-
Styleguide
|
41
|
+
Styleguide 21
|
42
42
|
|
43
43
|
*/
|
44
44
|
|
@@ -55,8 +55,7 @@ Styleguide 19
|
|
55
55
|
@extend %tab__nav !optional;
|
56
56
|
|
57
57
|
li {
|
58
|
-
|
59
|
-
zoom: 1;
|
58
|
+
@include inline-block;
|
60
59
|
|
61
60
|
a {
|
62
61
|
line-height: 1em;
|
@@ -0,0 +1,89 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Tooltips
|
4
|
+
|
5
|
+
Add simple tooltips to any element.
|
6
|
+
|
7
|
+
Script required: **rapido.js**.
|
8
|
+
|
9
|
+
Markup:
|
10
|
+
<a class="btn btn--default tooltip__button" href="#"
|
11
|
+
data-tooltip-content="Text to be included in the tooltip"
|
12
|
+
data-tooltip-position="bottom">
|
13
|
+
Button
|
14
|
+
</a>
|
15
|
+
<script type="text/javascript">
|
16
|
+
$(document).ready(function() {
|
17
|
+
$('.tooltip__button').rapido_Tooltip();
|
18
|
+
});
|
19
|
+
</script>
|
20
|
+
|
21
|
+
Include this js after including rapido.js.
|
22
|
+
|
23
|
+
$('.tooltip__button').rapido_Overlay();
|
24
|
+
|
25
|
+
**Options** (with default values):
|
26
|
+
|
27
|
+
margin: 15
|
28
|
+
|
29
|
+
Styleguide 19
|
30
|
+
|
31
|
+
*/
|
32
|
+
|
33
|
+
@if $tooltips {
|
34
|
+
|
35
|
+
.tooltip {
|
36
|
+
@extend %tooltip !optional;
|
37
|
+
@include border-radius();
|
38
|
+
@include opacity(0);
|
39
|
+
@include transition($tooltip-transition-duration);
|
40
|
+
background: $tooltip-background;
|
41
|
+
color: $tooltip-color;
|
42
|
+
padding: $tooltips-padding;
|
43
|
+
position: absolute;
|
44
|
+
visibility: hidden;
|
45
|
+
max-width: 300px;
|
46
|
+
|
47
|
+
&.open {
|
48
|
+
@include opacity(1);
|
49
|
+
max-height: $dropdowns-height;
|
50
|
+
visibility: visible;
|
51
|
+
}
|
52
|
+
|
53
|
+
&:after {
|
54
|
+
content: "";
|
55
|
+
display: block;
|
56
|
+
position: absolute;
|
57
|
+
}
|
58
|
+
|
59
|
+
}
|
60
|
+
|
61
|
+
[data-tooltip-position="top"] + .tooltip:after {
|
62
|
+
@include triangle($tooltip-triangle-size, $tooltip-background, down);
|
63
|
+
left: 50%;
|
64
|
+
margin-left: (neg($tooltip-triangle-size) / 2);
|
65
|
+
bottom: neg($tooltip-triangle-size);
|
66
|
+
}
|
67
|
+
|
68
|
+
[data-tooltip-position="bottom"] + .tooltip:after {
|
69
|
+
@include triangle($tooltip-triangle-size, $tooltip-background, up);
|
70
|
+
left: 50%;
|
71
|
+
margin-left: (neg($tooltip-triangle-size) / 2);
|
72
|
+
top: neg($tooltip-triangle-size);
|
73
|
+
}
|
74
|
+
|
75
|
+
[data-tooltip-position="left"] + .tooltip:after {
|
76
|
+
@include triangle($tooltip-triangle-size, $tooltip-background, right);
|
77
|
+
right: neg($tooltip-triangle-size);
|
78
|
+
top: 50%;
|
79
|
+
margin-top: (neg($tooltip-triangle-size) / 2);
|
80
|
+
}
|
81
|
+
|
82
|
+
[data-tooltip-position="right"] + .tooltip:after {
|
83
|
+
@include triangle($tooltip-triangle-size, $tooltip-background, left);
|
84
|
+
left: neg($tooltip-triangle-size);
|
85
|
+
top: 50%;
|
86
|
+
margin-top: (neg($tooltip-triangle-size) / 2);
|
87
|
+
}
|
88
|
+
|
89
|
+
}
|