foundation-rails 5.5.1.2 → 5.5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bower.json +2 -2
- data/lib/foundation/rails/version.rb +1 -1
- data/vendor/assets/javascripts/foundation.js +1 -1
- data/vendor/assets/javascripts/foundation/foundation.abide.js +96 -28
- data/vendor/assets/javascripts/foundation/foundation.accordion.js +28 -7
- data/vendor/assets/javascripts/foundation/foundation.alert.js +3 -3
- data/vendor/assets/javascripts/foundation/foundation.clearing.js +50 -20
- data/vendor/assets/javascripts/foundation/foundation.dropdown.js +26 -11
- data/vendor/assets/javascripts/foundation/foundation.equalizer.js +43 -16
- data/vendor/assets/javascripts/foundation/foundation.interchange.js +19 -14
- data/vendor/assets/javascripts/foundation/foundation.joyride.js +1 -1
- data/vendor/assets/javascripts/foundation/foundation.js +51 -29
- data/vendor/assets/javascripts/foundation/foundation.magellan.js +40 -28
- data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +3 -3
- data/vendor/assets/javascripts/foundation/foundation.orbit.js +1 -1
- data/vendor/assets/javascripts/foundation/foundation.reveal.js +70 -43
- data/vendor/assets/javascripts/foundation/foundation.slider.js +23 -5
- data/vendor/assets/javascripts/foundation/foundation.tab.js +30 -18
- data/vendor/assets/javascripts/foundation/foundation.tooltip.js +47 -15
- data/vendor/assets/javascripts/foundation/foundation.topbar.js +31 -25
- data/vendor/assets/stylesheets/foundation.scss +37 -38
- data/vendor/assets/stylesheets/foundation/_functions.scss +52 -42
- data/vendor/assets/stylesheets/foundation/_settings.scss +53 -34
- data/vendor/assets/stylesheets/foundation/components/_accordion.scss +7 -7
- data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +11 -11
- data/vendor/assets/stylesheets/foundation/components/_block-grid.scss +13 -13
- data/vendor/assets/stylesheets/foundation/components/_breadcrumbs.scss +17 -18
- data/vendor/assets/stylesheets/foundation/components/_button-groups.scss +29 -22
- data/vendor/assets/stylesheets/foundation/components/_buttons.scss +13 -17
- data/vendor/assets/stylesheets/foundation/components/_clearing.scss +51 -47
- data/vendor/assets/stylesheets/foundation/components/_dropdown-buttons.scss +10 -11
- data/vendor/assets/stylesheets/foundation/components/_dropdown.scss +42 -36
- data/vendor/assets/stylesheets/foundation/components/_flex-video.scss +7 -7
- data/vendor/assets/stylesheets/foundation/components/_forms.scss +82 -50
- data/vendor/assets/stylesheets/foundation/components/_global.scss +86 -64
- data/vendor/assets/stylesheets/foundation/components/_grid.scss +24 -21
- data/vendor/assets/stylesheets/foundation/components/_icon-bar.scss +335 -234
- data/vendor/assets/stylesheets/foundation/components/_inline-lists.scss +8 -8
- data/vendor/assets/stylesheets/foundation/components/_joyride.scss +40 -42
- data/vendor/assets/stylesheets/foundation/components/_keystrokes.scss +2 -3
- data/vendor/assets/stylesheets/foundation/components/_labels.scss +6 -6
- data/vendor/assets/stylesheets/foundation/components/_magellan.scss +2 -2
- data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +178 -175
- data/vendor/assets/stylesheets/foundation/components/_orbit.scss +82 -62
- data/vendor/assets/stylesheets/foundation/components/_pagination.scss +15 -15
- data/vendor/assets/stylesheets/foundation/components/_panels.scss +21 -15
- data/vendor/assets/stylesheets/foundation/components/_pricing-tables.scss +16 -16
- data/vendor/assets/stylesheets/foundation/components/_progress-bars.scss +4 -4
- data/vendor/assets/stylesheets/foundation/components/_range-slider.scss +23 -16
- data/vendor/assets/stylesheets/foundation/components/_reveal.scss +27 -27
- data/vendor/assets/stylesheets/foundation/components/_side-nav.scss +15 -11
- data/vendor/assets/stylesheets/foundation/components/_split-buttons.scss +16 -16
- data/vendor/assets/stylesheets/foundation/components/_sub-nav.scss +14 -11
- data/vendor/assets/stylesheets/foundation/components/_switches.scss +22 -19
- data/vendor/assets/stylesheets/foundation/components/_tables.scss +8 -8
- data/vendor/assets/stylesheets/foundation/components/_tabs.scss +49 -32
- data/vendor/assets/stylesheets/foundation/components/_thumbs.scss +8 -8
- data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +25 -25
- data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +163 -122
- data/vendor/assets/stylesheets/foundation/components/_type.scss +19 -19
- data/vendor/assets/stylesheets/foundation/components/_visibility.scss +23 -5
- data/vendor/assets/stylesheets/normalize.scss +8 -11
- metadata +28 -20
- checksums.yaml +0 -7
- data/vendor/assets/stylesheets/foundation/components/_toolbar.scss +0 -72
@@ -2,7 +2,7 @@
|
|
2
2
|
// foundation.zurb.com
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
|
-
@import
|
5
|
+
@import 'global';
|
6
6
|
|
7
7
|
//
|
8
8
|
// @name _sub-nav.scss
|
@@ -59,10 +59,10 @@ $sub-nav-item-divider-margin: rem-calc(12) !default;
|
|
59
59
|
$active-bg: $sub-nav-active-bg,
|
60
60
|
$active-bg-hover: $sub-nav-active-bg-hover) {
|
61
61
|
display: block;
|
62
|
-
|
62
|
+
margin: $sub-nav-list-margin;
|
63
63
|
overflow: hidden;
|
64
|
-
margin-bottom: $sub-nav-list-margin;
|
65
64
|
padding-top: $sub-nav-list-padding-top;
|
65
|
+
width: auto;
|
66
66
|
|
67
67
|
dt {
|
68
68
|
text-transform: uppercase;
|
@@ -71,18 +71,19 @@ $sub-nav-item-divider-margin: rem-calc(12) !default;
|
|
71
71
|
dt,
|
72
72
|
dd,
|
73
73
|
li {
|
74
|
+
color: $font-color;
|
74
75
|
float: $default-float;
|
75
|
-
margin-#{$default-float}: rem-calc(16);
|
76
|
-
margin-bottom: 0;
|
77
76
|
font-family: $sub-nav-font-family;
|
78
|
-
font-weight: $sub-nav-font-weight;
|
79
77
|
font-size: $font-size;
|
80
|
-
|
78
|
+
font-weight: $sub-nav-font-weight;
|
79
|
+
margin-#{$default-float}: rem-calc(16);
|
80
|
+
margin-bottom: 0;
|
81
81
|
|
82
82
|
a {
|
83
|
-
text-decoration: $sub-nav-text-decoration;
|
84
83
|
color: $sub-nav-font-color;
|
85
84
|
padding: $sub-nav-padding;
|
85
|
+
text-decoration: $sub-nav-text-decoration;
|
86
|
+
|
86
87
|
&:hover {
|
87
88
|
color: $sub-nav-font-color-hover;
|
88
89
|
}
|
@@ -90,15 +91,17 @@ $sub-nav-item-divider-margin: rem-calc(12) !default;
|
|
90
91
|
|
91
92
|
&.active a {
|
92
93
|
@include radius($sub-nav-border-radius);
|
93
|
-
font-weight: $sub-nav-active-font-weight;
|
94
94
|
background: $active-bg;
|
95
|
-
padding: $sub-nav-active-padding;
|
96
|
-
cursor: $sub-nav-active-cursor;
|
97
95
|
color: $sub-nav-active-color;
|
96
|
+
cursor: $sub-nav-active-cursor;
|
97
|
+
font-weight: $sub-nav-active-font-weight;
|
98
|
+
padding: $sub-nav-active-padding;
|
99
|
+
|
98
100
|
&:hover {
|
99
101
|
background: $active-bg-hover;
|
100
102
|
}
|
101
103
|
}
|
104
|
+
|
102
105
|
@if $sub-nav-item-divider != "" {
|
103
106
|
margin-#{$default-float}: 0;
|
104
107
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// foundation.zurb.com
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
|
-
@import
|
5
|
+
@import 'global';
|
6
6
|
|
7
7
|
//
|
8
8
|
// @name
|
@@ -44,24 +44,26 @@ $switch-active-color: $primary-color !default;
|
|
44
44
|
$transition-speed:$switch-paddle-transition-speed,
|
45
45
|
$transition-ease:$switch-paddle-transition-ease) {
|
46
46
|
|
47
|
-
padding: 0;
|
48
47
|
border: none;
|
49
|
-
|
48
|
+
margin-bottom: $switch-bottom-margin;
|
50
49
|
outline: 0;
|
50
|
+
padding: 0;
|
51
|
+
position: relative;
|
51
52
|
-webkit-user-select: none;
|
52
|
-
|
53
|
-
|
53
|
+
-moz-user-select: none;
|
54
|
+
-ms-user-select: none;
|
55
|
+
user-select: none;
|
54
56
|
|
55
57
|
// Default label styles for type and transition
|
56
58
|
label {
|
59
|
+
background: $switch-bg;
|
60
|
+
color: transparent;
|
61
|
+
cursor: pointer;
|
57
62
|
display: block;
|
58
63
|
margin-bottom: ($switch-height-med / 2);
|
59
64
|
position: relative;
|
60
|
-
color: transparent;
|
61
|
-
background: $switch-bg;
|
62
65
|
text-indent: 100%;
|
63
66
|
width: $switch-height-med * 2; height: $switch-height-med;
|
64
|
-
cursor: pointer;
|
65
67
|
|
66
68
|
// Transition for the switch label to follow paddle
|
67
69
|
@include single-transition(left, $transition-speed, $transition-ease);
|
@@ -70,11 +72,11 @@ $switch-active-color: $primary-color !default;
|
|
70
72
|
// So that we don't need to recreate the form with any JS, we use the
|
71
73
|
// existing checkbox or radio button, but we cleverly position and hide it.
|
72
74
|
input {
|
75
|
+
left: 10px;
|
73
76
|
opacity: 0;
|
77
|
+
padding:0;
|
74
78
|
position: absolute;
|
75
79
|
top: 9px;
|
76
|
-
left: 10px;
|
77
|
-
padding:0;
|
78
80
|
|
79
81
|
& + label { margin-left: 0; margin-right: 0; }
|
80
82
|
}
|
@@ -84,14 +86,14 @@ $switch-active-color: $primary-color !default;
|
|
84
86
|
// the state of the input.
|
85
87
|
|
86
88
|
label:after {
|
89
|
+
background: $switch-paddle-bg;
|
87
90
|
content: "";
|
88
91
|
display: block;
|
89
|
-
|
92
|
+
height: $switch-height-med - .5rem;
|
93
|
+
left: .25rem;
|
90
94
|
position: absolute;
|
91
95
|
top: .25rem;
|
92
|
-
|
93
|
-
width: $switch-height-med - 0.5rem;
|
94
|
-
height: $switch-height-med - 0.5rem;
|
96
|
+
width: $switch-height-med - .5rem;
|
95
97
|
|
96
98
|
-webkit-transition: left $transition-speed $transition-ease;
|
97
99
|
-moz-transition: left $transition-speed $transition-ease;
|
@@ -100,6 +102,7 @@ $switch-active-color: $primary-color !default;
|
|
100
102
|
|
101
103
|
-webkit-transform: translate3d(0,0,0);
|
102
104
|
-moz-transform: translate3d(0,0,0);
|
105
|
+
-ms-transform: translate3d(0,0,0);
|
103
106
|
-o-transform: translate3d(0,0,0);
|
104
107
|
transform: translate3d(0,0,0);
|
105
108
|
}
|
@@ -109,7 +112,7 @@ $switch-active-color: $primary-color !default;
|
|
109
112
|
}
|
110
113
|
|
111
114
|
input:checked + label:after {
|
112
|
-
left: $switch-height-med +
|
115
|
+
left: $switch-height-med + .25rem;
|
113
116
|
}
|
114
117
|
}
|
115
118
|
|
@@ -121,17 +124,17 @@ $switch-active-color: $primary-color !default;
|
|
121
124
|
@mixin switch-size($height: $switch-height-med) {
|
122
125
|
|
123
126
|
label {
|
124
|
-
width: $height * 2;
|
125
127
|
height: $height;
|
128
|
+
width: $height * 2;
|
126
129
|
}
|
127
130
|
|
128
131
|
label:after {
|
129
|
-
|
130
|
-
|
132
|
+
height: $height - .5rem;
|
133
|
+
width: $height - .5rem;
|
131
134
|
}
|
132
135
|
|
133
136
|
input:checked + label:after {
|
134
|
-
left: $height +
|
137
|
+
left: $height + .25rem;
|
135
138
|
}
|
136
139
|
|
137
140
|
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// foundation.zurb.com
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
|
-
@import
|
5
|
+
@import 'global';
|
6
6
|
|
7
7
|
//
|
8
8
|
// @name _tables.scss
|
@@ -62,8 +62,8 @@ $table-margin-bottom: rem-calc(20) !default;
|
|
62
62
|
|
63
63
|
@mixin table {
|
64
64
|
background: $table-bg;
|
65
|
-
margin-bottom: $table-margin-bottom;
|
66
65
|
border: $table-border-style $table-border-size $table-border-color;
|
66
|
+
margin-bottom: $table-margin-bottom;
|
67
67
|
table-layout: $table-layout;
|
68
68
|
|
69
69
|
caption {
|
@@ -81,10 +81,10 @@ $table-margin-bottom: rem-calc(20) !default;
|
|
81
81
|
tr {
|
82
82
|
th,
|
83
83
|
td {
|
84
|
-
|
84
|
+
color: $table-head-font-color;
|
85
85
|
font-size: $table-head-font-size;
|
86
86
|
font-weight: $table-head-font-weight;
|
87
|
-
|
87
|
+
padding: $table-head-padding;
|
88
88
|
}
|
89
89
|
}
|
90
90
|
}
|
@@ -95,10 +95,10 @@ $table-margin-bottom: rem-calc(20) !default;
|
|
95
95
|
tr {
|
96
96
|
th,
|
97
97
|
td {
|
98
|
-
|
98
|
+
color: $table-foot-font-color;
|
99
99
|
font-size: $table-foot-font-size;
|
100
100
|
font-weight: $table-foot-font-weight;
|
101
|
-
|
101
|
+
padding: $table-foot-padding;
|
102
102
|
}
|
103
103
|
}
|
104
104
|
}
|
@@ -106,9 +106,9 @@ $table-margin-bottom: rem-calc(20) !default;
|
|
106
106
|
tr {
|
107
107
|
th,
|
108
108
|
td {
|
109
|
-
padding: $table-row-padding;
|
110
|
-
font-size: $table-row-font-size;
|
111
109
|
color: $table-row-font-color;
|
110
|
+
font-size: $table-row-font-size;
|
111
|
+
padding: $table-row-padding;
|
112
112
|
text-align: $default-float;
|
113
113
|
}
|
114
114
|
|
@@ -2,8 +2,8 @@
|
|
2
2
|
// foundation.zurb.com
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
|
-
@import
|
6
|
-
@import
|
5
|
+
@import 'global';
|
6
|
+
@import 'grid';
|
7
7
|
|
8
8
|
//
|
9
9
|
// @variables
|
@@ -31,46 +31,48 @@ $tabs-vertical-navigation-margin-bottom: 1.25rem !default;
|
|
31
31
|
@include clearfix;
|
32
32
|
margin-bottom: 0 !important;
|
33
33
|
margin-left: 0;
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
list-style: none;
|
34
|
+
|
35
|
+
dd,
|
36
|
+
.tab-title {
|
38
37
|
float: $default-float;
|
38
|
+
list-style: none;
|
39
|
+
margin-bottom: 0 !important;
|
40
|
+
position: relative;
|
41
|
+
|
39
42
|
> a {
|
40
43
|
display: block;
|
41
|
-
background:
|
42
|
-
color: $tabs-navigation-bg-color;
|
43
|
-
}
|
44
|
+
background-color: $tabs-navigation-bg-color;
|
44
45
|
color: $tabs-navigation-font-color;
|
45
|
-
padding: $tabs-navigation-padding $tabs-navigation-padding * 2;
|
46
46
|
font-family: $tabs-navigation-font-family;
|
47
47
|
font-size: $tabs-navigation-font-size;
|
48
|
+
padding: $tabs-navigation-padding $tabs-navigation-padding * 2;
|
49
|
+
|
48
50
|
&:hover {
|
49
|
-
background:
|
50
|
-
color: $tabs-navigation-hover-bg-color;
|
51
|
-
}
|
52
|
-
}
|
53
|
-
&:focus{
|
54
|
-
outline: none;
|
51
|
+
background-color: $tabs-navigation-hover-bg-color;
|
55
52
|
}
|
56
53
|
}
|
54
|
+
|
57
55
|
&.active a {
|
58
|
-
background:
|
59
|
-
|
60
|
-
|
61
|
-
color:$tabs-navigation-active-font-color;
|
62
|
-
}
|
56
|
+
background-color: $tabs-navigation-active-bg-color;
|
57
|
+
color: $tabs-navigation-active-font-color;
|
58
|
+
}
|
63
59
|
}
|
60
|
+
|
64
61
|
&.radius {
|
65
|
-
dd:first-child,
|
62
|
+
dd:first-child,
|
63
|
+
.tab:first-child {
|
66
64
|
a { @include side-radius($default-float, $global-radius); }
|
67
65
|
}
|
68
|
-
|
66
|
+
|
67
|
+
dd:last-child,
|
68
|
+
.tab:last-child {
|
69
69
|
a { @include side-radius($opposite-direction, $global-radius); }
|
70
70
|
}
|
71
71
|
}
|
72
|
+
|
72
73
|
&.vertical {
|
73
|
-
dd,
|
74
|
+
dd,
|
75
|
+
.tab-title {
|
74
76
|
position: inherit;
|
75
77
|
float: none;
|
76
78
|
display: block;
|
@@ -83,38 +85,53 @@ $tabs-vertical-navigation-margin-bottom: 1.25rem !default;
|
|
83
85
|
@include clearfix;
|
84
86
|
margin-bottom: $tabs-content-margin-bottom;
|
85
87
|
width: 100%;
|
88
|
+
|
86
89
|
> .content {
|
87
90
|
display: none;
|
88
91
|
float: $default-float;
|
89
92
|
padding: $tabs-content-padding 0;
|
90
93
|
width: 100%;
|
91
|
-
|
92
|
-
&.
|
94
|
+
|
95
|
+
&.active {
|
96
|
+
display: block;
|
97
|
+
float: none;
|
98
|
+
}
|
99
|
+
&.contained {
|
100
|
+
padding: $tabs-content-padding;
|
101
|
+
}
|
93
102
|
}
|
103
|
+
|
94
104
|
&.vertical {
|
95
105
|
display: block;
|
96
|
-
|
106
|
+
|
107
|
+
> .content {
|
108
|
+
padding: 0 $tabs-content-padding;
|
109
|
+
}
|
97
110
|
}
|
98
111
|
}
|
112
|
+
|
99
113
|
@media #{$medium-up} {
|
100
114
|
.tabs {
|
101
115
|
&.vertical {
|
102
|
-
width: 20%;
|
103
|
-
max-width: 20%;
|
104
116
|
float: $default-float;
|
105
|
-
margin: 0
|
117
|
+
margin: 0;
|
118
|
+
margin-bottom: $tabs-vertical-navigation-margin-bottom !important;
|
119
|
+
max-width: 20%;
|
120
|
+
width: 20%;
|
106
121
|
}
|
107
122
|
}
|
123
|
+
|
108
124
|
.tabs-content {
|
109
125
|
&.vertical {
|
110
|
-
width: 80%;
|
111
|
-
max-width: 80%;
|
112
126
|
float: $default-float;
|
113
127
|
margin-#{$default-float}: -1px;
|
128
|
+
max-width: 80%;
|
114
129
|
padding-#{$default-float}: 1rem;
|
130
|
+
width: 80%;
|
115
131
|
}
|
116
132
|
}
|
117
133
|
}
|
134
|
+
|
118
135
|
.no-js {
|
119
136
|
.tabs-content > .content {
|
120
137
|
display: block;
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// foundation.zurb.com
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
|
-
@import
|
5
|
+
@import 'global';
|
6
6
|
|
7
7
|
//
|
8
8
|
// @name _thumbs.scss
|
@@ -36,14 +36,14 @@ $thumb-transition-speed: 200ms !default;
|
|
36
36
|
// $box-shadow - Box shadow to apply to thumbnail. Default: $thumb-box-shadow.
|
37
37
|
// $box-shadow-hover - Box shadow to apply on hover. Default: $thumb-box-shadow-hover.
|
38
38
|
@mixin thumb(
|
39
|
-
$border-width:$thumb-border-width,
|
40
|
-
$box-shadow:$thumb-box-shadow,
|
39
|
+
$border-width:$thumb-border-width,
|
40
|
+
$box-shadow:$thumb-box-shadow,
|
41
41
|
$box-shadow-hover:$thumb-box-shadow-hover) {
|
42
|
-
line-height: 0;
|
43
|
-
display: inline-block;
|
44
42
|
border: $thumb-border-style $border-width $thumb-border-color;
|
45
|
-
max-width: 100%;
|
46
43
|
box-shadow: $box-shadow;
|
44
|
+
display: inline-block;
|
45
|
+
line-height: 0;
|
46
|
+
max-width: 100%;
|
47
47
|
|
48
48
|
&:hover,
|
49
49
|
&:focus {
|
@@ -58,9 +58,9 @@ $thumb-transition-speed: 200ms !default;
|
|
58
58
|
/* Image Thumbnails */
|
59
59
|
.th {
|
60
60
|
@include thumb;
|
61
|
-
@include single-transition(all
|
61
|
+
@include single-transition(all, $thumb-transition-speed, ease-out);
|
62
62
|
|
63
63
|
&.radius { @include radius($thumb-radius); }
|
64
64
|
}
|
65
65
|
}
|
66
|
-
}
|
66
|
+
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// foundation.zurb.com
|
3
3
|
// Licensed under MIT Open Source
|
4
4
|
|
5
|
-
@import
|
5
|
+
@import 'global';
|
6
6
|
|
7
7
|
//
|
8
8
|
// Tooltip Variables
|
@@ -37,9 +37,9 @@ $tooltip-max-width: 300px !default;
|
|
37
37
|
/* Tooltips */
|
38
38
|
.has-tip {
|
39
39
|
border-bottom: $has-tip-border-bottom;
|
40
|
+
color: $has-tip-font-color;
|
40
41
|
cursor: $has-tip-cursor-type;
|
41
42
|
font-weight: $has-tip-font-weight;
|
42
|
-
color: $has-tip-font-color;
|
43
43
|
|
44
44
|
&:hover,
|
45
45
|
&:focus {
|
@@ -52,29 +52,29 @@ $tooltip-max-width: 300px !default;
|
|
52
52
|
}
|
53
53
|
|
54
54
|
.tooltip {
|
55
|
+
background: $tooltip-bg;
|
56
|
+
color: $tooltip-font-color;
|
55
57
|
display: none;
|
56
|
-
position: absolute;
|
57
|
-
z-index: 1006;
|
58
|
-
font-weight: $tooltip-font-weight;
|
59
58
|
font-size: $tooltip-font-size;
|
59
|
+
font-weight: $tooltip-font-weight;
|
60
60
|
line-height: $tooltip-line-height;
|
61
|
-
padding: $tooltip-padding;
|
62
61
|
max-width: $tooltip-max-width;
|
63
|
-
|
62
|
+
padding: $tooltip-padding;
|
63
|
+
position: absolute;
|
64
64
|
width: 100%;
|
65
|
-
|
66
|
-
|
65
|
+
z-index: 1006;
|
66
|
+
#{$default-float}: 50%;
|
67
67
|
|
68
|
-
|
68
|
+
> .nub {
|
69
|
+
border-color: transparent transparent $tooltip-bg transparent;
|
70
|
+
border: solid $tooltip-pip-size;
|
69
71
|
display: block;
|
70
|
-
#{$default-float}: $tooltip-pip-size;
|
71
|
-
position: absolute;
|
72
|
-
width: 0;
|
73
72
|
height: 0;
|
74
|
-
border: solid $tooltip-pip-size;
|
75
|
-
border-color: transparent transparent $tooltip-bg transparent;
|
76
|
-
top: -($tooltip-pip-size * 2);
|
77
73
|
pointer-events: none;
|
74
|
+
position: absolute;
|
75
|
+
top: -($tooltip-pip-size * 2);
|
76
|
+
width: 0;
|
77
|
+
#{$default-float}: $tooltip-pip-size;
|
78
78
|
|
79
79
|
&.rtl {
|
80
80
|
left: auto;
|
@@ -87,34 +87,34 @@ $tooltip-max-width: 300px !default;
|
|
87
87
|
}
|
88
88
|
&.round {
|
89
89
|
@include radius($tooltip-rounded);
|
90
|
-
|
90
|
+
> .nub {
|
91
91
|
left: 2rem;
|
92
92
|
}
|
93
93
|
}
|
94
94
|
|
95
95
|
&.opened {
|
96
|
-
color: $has-tip-font-color-hover !important;
|
97
96
|
border-bottom: $has-tip-border-bottom-hover !important;
|
97
|
+
color: $has-tip-font-color-hover !important;
|
98
98
|
}
|
99
99
|
}
|
100
100
|
|
101
101
|
.tap-to-close {
|
102
|
+
color: $tooltip-close-font-color;
|
102
103
|
display: block;
|
103
104
|
font-size: $tooltip-close-font-size;
|
104
|
-
color: $tooltip-close-font-color;
|
105
105
|
font-weight: $tooltip-close-font-weight;
|
106
106
|
}
|
107
107
|
|
108
108
|
@media #{$small} {
|
109
109
|
.tooltip {
|
110
|
-
|
110
|
+
> .nub {
|
111
111
|
border-color: transparent transparent $tooltip-bg transparent;
|
112
112
|
top: -($tooltip-pip-size * 2);
|
113
113
|
}
|
114
114
|
&.tip-top>.nub {
|
115
115
|
border-color: $tooltip-bg transparent transparent transparent;
|
116
|
-
top: auto;
|
117
116
|
bottom: -($tooltip-pip-size * 2);
|
117
|
+
top: auto;
|
118
118
|
}
|
119
119
|
|
120
120
|
&.tip-left,
|
@@ -122,17 +122,17 @@ $tooltip-max-width: 300px !default;
|
|
122
122
|
|
123
123
|
&.tip-left>.nub {
|
124
124
|
border-color: transparent transparent transparent $tooltip-bg;
|
125
|
-
right: -($tooltip-pip-size * 2);
|
126
125
|
left: auto;
|
127
|
-
top: 50%;
|
128
126
|
margin-top: -$tooltip-pip-size;
|
127
|
+
right: -($tooltip-pip-size * 2);
|
128
|
+
top: 50%;
|
129
129
|
}
|
130
130
|
&.tip-right>.nub {
|
131
131
|
border-color: transparent $tooltip-bg transparent transparent;
|
132
|
-
right: auto;
|
133
132
|
left: -($tooltip-pip-size * 2);
|
134
|
-
top: 50%;
|
135
133
|
margin-top: -$tooltip-pip-size;
|
134
|
+
right: auto;
|
135
|
+
top: 50%;
|
136
136
|
}
|
137
137
|
|
138
138
|
}
|