foundation-rails 5.2.2.0 → 5.2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bower.json +2 -2
- data/lib/foundation/rails/version.rb +1 -1
- data/vendor/assets/javascripts/foundation/foundation.abide.js +5 -5
- data/vendor/assets/javascripts/foundation/foundation.accordion.js +13 -8
- data/vendor/assets/javascripts/foundation/foundation.alert.js +2 -2
- data/vendor/assets/javascripts/foundation/foundation.clearing.js +36 -33
- data/vendor/assets/javascripts/foundation/foundation.dropdown.js +15 -10
- data/vendor/assets/javascripts/foundation/foundation.equalizer.js +12 -6
- data/vendor/assets/javascripts/foundation/foundation.interchange.js +3 -3
- data/vendor/assets/javascripts/foundation/foundation.joyride.js +9 -15
- data/vendor/assets/javascripts/foundation/foundation.js +30 -28
- data/vendor/assets/javascripts/foundation/foundation.magellan.js +36 -31
- data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +72 -14
- data/vendor/assets/javascripts/foundation/foundation.orbit.js +19 -15
- data/vendor/assets/javascripts/foundation/foundation.reveal.js +26 -16
- data/vendor/assets/javascripts/foundation/foundation.slider.js +2 -3
- data/vendor/assets/javascripts/foundation/foundation.tab.js +8 -9
- data/vendor/assets/javascripts/foundation/foundation.tooltip.js +30 -4
- data/vendor/assets/javascripts/foundation/foundation.topbar.js +22 -19
- data/vendor/assets/stylesheets/foundation/_settings.scss +50 -40
- data/vendor/assets/stylesheets/foundation/components/_accordion.scss +8 -7
- data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +2 -2
- data/vendor/assets/stylesheets/foundation/components/_block-grid.scss +1 -1
- data/vendor/assets/stylesheets/foundation/components/_button-groups.scss +1 -1
- data/vendor/assets/stylesheets/foundation/components/_buttons.scss +8 -8
- data/vendor/assets/stylesheets/foundation/components/_dropdown-buttons.scss +6 -6
- data/vendor/assets/stylesheets/foundation/components/_forms.scss +7 -5
- data/vendor/assets/stylesheets/foundation/components/_global.scss +67 -3
- data/vendor/assets/stylesheets/foundation/components/_grid.scss +1 -2
- data/vendor/assets/stylesheets/foundation/components/_inline-lists.scss +2 -1
- data/vendor/assets/stylesheets/foundation/components/_joyride.scss +3 -3
- data/vendor/assets/stylesheets/foundation/components/_labels.scss +1 -1
- data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +32 -58
- data/vendor/assets/stylesheets/foundation/components/_orbit.scss +39 -31
- data/vendor/assets/stylesheets/foundation/components/_pagination.scss +5 -5
- data/vendor/assets/stylesheets/foundation/components/_panels.scss +4 -5
- data/vendor/assets/stylesheets/foundation/components/_pricing-tables.scss +5 -5
- data/vendor/assets/stylesheets/foundation/components/_progress-bars.scss +2 -2
- data/vendor/assets/stylesheets/foundation/components/_reveal.scss +2 -2
- data/vendor/assets/stylesheets/foundation/components/_side-nav.scss +26 -4
- data/vendor/assets/stylesheets/foundation/components/_split-buttons.scss +7 -7
- data/vendor/assets/stylesheets/foundation/components/_sub-nav.scss +2 -2
- data/vendor/assets/stylesheets/foundation/components/_switch.scss +2 -2
- data/vendor/assets/stylesheets/foundation/components/_tables.scss +44 -12
- data/vendor/assets/stylesheets/foundation/components/_tabs.scss +9 -5
- data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +4 -4
- data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +30 -26
- data/vendor/assets/stylesheets/foundation/components/_type.scss +39 -21
- data/vendor/assets/stylesheets/foundation/components/_visibility.scss +64 -1
- data/vendor/assets/stylesheets/normalize.scss +20 -18
- metadata +2 -2
@@ -7,14 +7,14 @@
|
|
7
7
|
//
|
8
8
|
// @variables
|
9
9
|
//
|
10
|
-
$include-
|
10
|
+
$include-pagination-classes: $include-html-classes !default;
|
11
11
|
|
12
12
|
// We use these to control the pagination container
|
13
13
|
$pagination-height: rem-calc(24) !default;
|
14
14
|
$pagination-margin: rem-calc(-5) !default;
|
15
15
|
|
16
16
|
// We use these to set the list-item properties
|
17
|
-
$pagination-li-float: $default-float;
|
17
|
+
$pagination-li-float: $default-float !default;
|
18
18
|
$pagination-li-height: rem-calc(24) !default;
|
19
19
|
$pagination-li-font-color: #222 !default;
|
20
20
|
$pagination-li-font-size: rem-calc(14) !default;
|
@@ -33,7 +33,7 @@ $pagination-link-unavailable-bg-active: transparent !default;
|
|
33
33
|
// We use these for currently selected anchor links
|
34
34
|
$pagination-link-current-background: $primary-color !default;
|
35
35
|
$pagination-link-current-font-color: #fff !default;
|
36
|
-
$pagination-link-current-font-weight: bold !default;
|
36
|
+
$pagination-link-current-font-weight: $font-weight-bold !default;
|
37
37
|
$pagination-link-current-cursor: default !default;
|
38
38
|
$pagination-link-current-active-bg: $primary-color !default;
|
39
39
|
|
@@ -94,7 +94,7 @@ $pagination-link-current-active-bg: $primary-color !default;
|
|
94
94
|
|
95
95
|
@if $base-style {
|
96
96
|
display: block;
|
97
|
-
height: $pagination-height;
|
97
|
+
min-height: $pagination-height;
|
98
98
|
margin-#{$default-float}: $pagination-margin;
|
99
99
|
|
100
100
|
li {
|
@@ -133,7 +133,7 @@ $pagination-link-current-active-bg: $primary-color !default;
|
|
133
133
|
}
|
134
134
|
|
135
135
|
@include exports("pagination") {
|
136
|
-
@if $include-
|
136
|
+
@if $include-pagination-classes {
|
137
137
|
ul.pagination {
|
138
138
|
@include pagination;
|
139
139
|
}
|
@@ -54,9 +54,9 @@ $callout-panel-link-color: $primary-color !default;
|
|
54
54
|
|
55
55
|
@if $adjust {
|
56
56
|
// We set the font color based on the darkness of the bg.
|
57
|
-
@if $bg-lightness >= 50% and $bg == blue { h1,h2,h3,h4,h5,h6,p { color: $panel-font-color-alt; } }
|
58
|
-
@else if $bg-lightness >= 50% { h1,h2,h3,h4,h5,h6,p { color: $panel-font-color; } }
|
59
|
-
@else { h1,h2,h3,h4,h5,h6,p { color: $panel-font-color-alt; } }
|
57
|
+
@if $bg-lightness >= 50% and $bg == blue { h1,h2,h3,h4,h5,h6,p,li { color: $panel-font-color-alt; } }
|
58
|
+
@else if $bg-lightness >= 50% { h1,h2,h3,h4,h5,h6,p,li { color: $panel-font-color; } }
|
59
|
+
@else { h1,h2,h3,h4,h5,h6,p,li { color: $panel-font-color-alt; } }
|
60
60
|
|
61
61
|
// reset header line-heights for panels
|
62
62
|
h1,h2,h3,h4,h5,h6 {
|
@@ -81,11 +81,10 @@ $callout-panel-link-color: $primary-color !default;
|
|
81
81
|
}
|
82
82
|
|
83
83
|
&.radius {
|
84
|
-
@include panel($bg:false);
|
85
84
|
@include radius;
|
86
85
|
}
|
87
86
|
|
88
87
|
}
|
89
88
|
|
90
89
|
}
|
91
|
-
}
|
90
|
+
}
|
@@ -20,7 +20,7 @@ $price-title-bg: #333 !default;
|
|
20
20
|
$price-title-padding: rem-calc(15 20) !default;
|
21
21
|
$price-title-align: center !default;
|
22
22
|
$price-title-color: #eee !default;
|
23
|
-
$price-title-weight: normal !default;
|
23
|
+
$price-title-weight: $font-weight-normal !default;
|
24
24
|
$price-title-size: rem-calc(16) !default;
|
25
25
|
$price-title-font-family: $body-font-family !default;
|
26
26
|
|
@@ -29,7 +29,7 @@ $price-money-bg: #f6f6f6 !default;
|
|
29
29
|
$price-money-padding: rem-calc(15 20) !default;
|
30
30
|
$price-money-align: center !default;
|
31
31
|
$price-money-color: #333 !default;
|
32
|
-
$price-money-weight: normal !default;
|
32
|
+
$price-money-weight: $font-weight-normal !default;
|
33
33
|
$price-money-size: rem-calc(32) !default;
|
34
34
|
$price-money-font-family: $body-font-family !default;
|
35
35
|
|
@@ -40,7 +40,7 @@ $price-desc-color: #777 !default;
|
|
40
40
|
$price-desc-padding: rem-calc(15) !default;
|
41
41
|
$price-desc-align: center !default;
|
42
42
|
$price-desc-font-size: rem-calc(12) !default;
|
43
|
-
$price-desc-weight: normal !default;
|
43
|
+
$price-desc-weight: $font-weight-normal !default;
|
44
44
|
$price-desc-line-height: 1.4 !default;
|
45
45
|
$price-desc-bottom-border: dotted 1px #ddd !default;
|
46
46
|
|
@@ -49,7 +49,7 @@ $price-item-color: #333 !default;
|
|
49
49
|
$price-item-padding: rem-calc(15) !default;
|
50
50
|
$price-item-align: center !default;
|
51
51
|
$price-item-font-size: rem-calc(14) !default;
|
52
|
-
$price-item-weight: normal !default;
|
52
|
+
$price-item-weight: $font-weight-normal !default;
|
53
53
|
$price-item-bottom-border: dotted 1px #ddd !default;
|
54
54
|
|
55
55
|
// We use these to control the CTA area styles
|
@@ -147,4 +147,4 @@ $price-cta-padding: rem-calc(20 20 0) !default;
|
|
147
147
|
}
|
148
148
|
|
149
149
|
}
|
150
|
-
}
|
150
|
+
}
|
@@ -65,8 +65,8 @@ $progress-meter-alert-color: $alert-color !default;
|
|
65
65
|
&.success .meter { @include progress-meter($bg:$progress-meter-success-color); }
|
66
66
|
&.alert .meter { @include progress-meter($bg:$progress-meter-alert-color); }
|
67
67
|
|
68
|
-
&.radius { @include radius($
|
69
|
-
.meter { @include radius($
|
68
|
+
&.radius { @include radius($progress-bar-border-radius);
|
69
|
+
.meter { @include radius($progress-bar-border-radius - 1); }
|
70
70
|
}
|
71
71
|
|
72
72
|
&.round { @include radius(1000px);
|
@@ -27,7 +27,7 @@ $reveal-close-font-size: rem-calc(40) !default;
|
|
27
27
|
$reveal-close-top: rem-calc(8) !default;
|
28
28
|
$reveal-close-side: rem-calc(11) !default;
|
29
29
|
$reveal-close-color: #aaa !default;
|
30
|
-
$reveal-close-weight: bold !default;
|
30
|
+
$reveal-close-weight: $font-weight-bold !default;
|
31
31
|
|
32
32
|
// We use this to set the default radius used throughout the core.
|
33
33
|
$reveal-radius: $global-radius !default;
|
@@ -213,4 +213,4 @@ $close-reveal-modal-class: "close-reveal-modal" !default;
|
|
213
213
|
dialog, .#{$reveal-modal-class} {background: #fff !important;}
|
214
214
|
}
|
215
215
|
}
|
216
|
-
}
|
216
|
+
}
|
@@ -22,13 +22,20 @@ $side-nav-list-margin: rem-calc(0 0 7 0) !default;
|
|
22
22
|
$side-nav-link-color: $primary-color !default;
|
23
23
|
$side-nav-link-color-active: scale-color($side-nav-link-color, $lightness: 30%) !default;
|
24
24
|
$side-nav-link-color-hover: scale-color($side-nav-link-color, $lightness: 30%) !default;
|
25
|
+
$side-nav-link-bg-hover: hsla(0, 0, 0, 0.025) !default;
|
26
|
+
$side-nav-link-margin: 0 !default;
|
27
|
+
$side-nav-link-padding: rem-calc(7 14) !default;
|
25
28
|
$side-nav-font-size: rem-calc(14) !default;
|
26
|
-
$side-nav-font-weight: normal !default;
|
29
|
+
$side-nav-font-weight: $font-weight-normal !default;
|
27
30
|
$side-nav-font-weight-active: $side-nav-font-weight !default;
|
28
31
|
$side-nav-font-family: $body-font-family !default;
|
29
32
|
$side-nav-font-family-active: $side-nav-font-family !default;
|
30
33
|
|
31
|
-
|
34
|
+
// We use these to control heading styles.
|
35
|
+
$side-nav-heading-color: $side-nav-link-color !default;
|
36
|
+
$side-nav-heading-font-size: $side-nav-font-size !default;
|
37
|
+
$side-nav-heading-font-weight: bold !default;
|
38
|
+
$side-nav-heading-text-transform: uppercase !default;
|
32
39
|
|
33
40
|
// We use these to control border styles
|
34
41
|
$side-nav-divider-size: 1px !default;
|
@@ -51,7 +58,8 @@ $side-nav-divider-color: scale-color(#fff, $lightness: 10%) !default;
|
|
51
58
|
$divider-color:$side-nav-divider-color,
|
52
59
|
$font-size:$side-nav-font-size,
|
53
60
|
$link-color:$side-nav-link-color,
|
54
|
-
$link-color-hover:$side-nav-link-color-hover
|
61
|
+
$link-color-hover:$side-nav-link-color-hover,
|
62
|
+
$link-bg-hover:$side-nav-link-bg-hover) {
|
55
63
|
display: block;
|
56
64
|
margin: 0;
|
57
65
|
padding: $side-nav-padding;
|
@@ -66,8 +74,13 @@ $side-nav-divider-color: scale-color(#fff, $lightness: 10%) !default;
|
|
66
74
|
a:not(.button) {
|
67
75
|
display: block;
|
68
76
|
color: $link-color;
|
77
|
+
margin: $side-nav-link-margin;
|
78
|
+
padding: $side-nav-link-padding;
|
69
79
|
&:hover,
|
70
|
-
&:focus {
|
80
|
+
&:focus {
|
81
|
+
background: $link-bg-hover;
|
82
|
+
color: $link-color-hover;
|
83
|
+
}
|
71
84
|
}
|
72
85
|
|
73
86
|
&.active > a:first-child:not(.button) {
|
@@ -83,6 +96,15 @@ $side-nav-divider-color: scale-color(#fff, $lightness: 10%) !default;
|
|
83
96
|
list-style: none;
|
84
97
|
border-top-color: $divider-color;
|
85
98
|
}
|
99
|
+
|
100
|
+
&.heading {
|
101
|
+
color: $side-nav-heading-color;
|
102
|
+
font: {
|
103
|
+
size: $side-nav-heading-font-size;
|
104
|
+
weight: $side-nav-heading-font-weight;
|
105
|
+
}
|
106
|
+
text-transform: $side-nav-heading-text-transform;
|
107
|
+
}
|
86
108
|
}
|
87
109
|
}
|
88
110
|
|
@@ -82,7 +82,7 @@ $split-button-pip-default-float-lrg: rem-calc(-6) !default;
|
|
82
82
|
border-#{$default-float}: solid 1px;
|
83
83
|
|
84
84
|
// Building the triangle pip indicator
|
85
|
-
&:
|
85
|
+
&:after {
|
86
86
|
position: absolute;
|
87
87
|
content: "";
|
88
88
|
width: 0;
|
@@ -110,7 +110,7 @@ $split-button-pip-default-float-lrg: rem-calc(-6) !default;
|
|
110
110
|
padding-#{$opposite-direction}: $split-button-padding-tny;
|
111
111
|
|
112
112
|
span { width: $split-button-span-width-tny;
|
113
|
-
&:
|
113
|
+
&:after {
|
114
114
|
border-top-style: solid;
|
115
115
|
border-width: $split-button-pip-size-tny;
|
116
116
|
top: 48%;
|
@@ -124,7 +124,7 @@ $split-button-pip-default-float-lrg: rem-calc(-6) !default;
|
|
124
124
|
padding-#{$opposite-direction}: $split-button-padding-sml;
|
125
125
|
|
126
126
|
span { width: $split-button-span-width-sml;
|
127
|
-
&:
|
127
|
+
&:after {
|
128
128
|
border-top-style: solid;
|
129
129
|
border-width: $split-button-pip-size-sml;
|
130
130
|
top: 48%;
|
@@ -138,7 +138,7 @@ $split-button-pip-default-float-lrg: rem-calc(-6) !default;
|
|
138
138
|
padding-#{$opposite-direction}: $split-button-padding-med;
|
139
139
|
|
140
140
|
span { width: $split-button-span-width-med;
|
141
|
-
&:
|
141
|
+
&:after {
|
142
142
|
border-top-style: solid;
|
143
143
|
border-width: $split-button-pip-size-med;
|
144
144
|
top: 48%;
|
@@ -152,7 +152,7 @@ $split-button-pip-default-float-lrg: rem-calc(-6) !default;
|
|
152
152
|
padding-#{$opposite-direction}: $split-button-padding-lrg;
|
153
153
|
|
154
154
|
span { width: $split-button-span-width-lrg;
|
155
|
-
&:
|
155
|
+
&:after {
|
156
156
|
border-top-style: solid;
|
157
157
|
border-width: $split-button-pip-size-lrg;
|
158
158
|
top: 48%;
|
@@ -163,7 +163,7 @@ $split-button-pip-default-float-lrg: rem-calc(-6) !default;
|
|
163
163
|
|
164
164
|
// Control the color of the triangle pip
|
165
165
|
@if $pip-color {
|
166
|
-
span:
|
166
|
+
span:after { border-color: $pip-color transparent transparent transparent; }
|
167
167
|
}
|
168
168
|
}
|
169
169
|
|
@@ -188,4 +188,4 @@ $split-button-pip-default-float-lrg: rem-calc(-6) !default;
|
|
188
188
|
}
|
189
189
|
|
190
190
|
}
|
191
|
-
}
|
191
|
+
}
|
@@ -23,7 +23,7 @@ $sub-nav-list-padding-top: rem-calc(4) !default;
|
|
23
23
|
$sub-nav-font-family: $body-font-family !default;
|
24
24
|
$sub-nav-font-size: rem-calc(14) !default;
|
25
25
|
$sub-nav-font-color: #999 !default;
|
26
|
-
$sub-nav-font-weight: normal !default;
|
26
|
+
$sub-nav-font-weight: $font-weight-normal !default;
|
27
27
|
$sub-nav-text-decoration: none !default;
|
28
28
|
$sub-nav-padding: rem-calc(3 16) !default;
|
29
29
|
$sub-nav-border-radius: 3px !default;
|
@@ -32,7 +32,7 @@ $sub-nav-font-color-hover: scale-color($sub-nav-font-color, $lightness: -25%) !d
|
|
32
32
|
|
33
33
|
// We use these to control the active item styles
|
34
34
|
|
35
|
-
$sub-nav-active-font-weight: normal !default;
|
35
|
+
$sub-nav-active-font-weight: $font-weight-normal !default;
|
36
36
|
$sub-nav-active-bg: $primary-color !default;
|
37
37
|
$sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%) !default;
|
38
38
|
$sub-nav-active-color: #fff !default;
|
@@ -82,7 +82,7 @@ $switch-label-outline: 1px dotted #888 !default;
|
|
82
82
|
width: 50%;
|
83
83
|
height: 100%;
|
84
84
|
margin: 0;
|
85
|
-
font-weight: bold;
|
85
|
+
font-weight: $font-weight-bold;
|
86
86
|
text-align: $default-float;
|
87
87
|
|
88
88
|
// Transition for the switch label to follow paddle
|
@@ -291,4 +291,4 @@ $switch-label-outline: 1px dotted #888 !default;
|
|
291
291
|
|
292
292
|
}
|
293
293
|
}
|
294
|
-
}
|
294
|
+
}
|
@@ -1,7 +1,3 @@
|
|
1
|
-
// Foundation by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
1
|
@import "global";
|
6
2
|
|
7
3
|
//
|
@@ -28,9 +24,22 @@ $table-border-color: #ddd !default;
|
|
28
24
|
$table-head-bg: #f5f5f5 !default;
|
29
25
|
$table-head-font-size: rem-calc(14) !default;
|
30
26
|
$table-head-font-color: #222 !default;
|
31
|
-
$table-head-font-weight: bold !default;
|
27
|
+
$table-head-font-weight: $font-weight-bold !default;
|
32
28
|
$table-head-padding: rem-calc(8 10 10) !default;
|
33
29
|
|
30
|
+
// These control the table foot styles
|
31
|
+
$table-foot-bg: $table-head-bg !default;
|
32
|
+
$table-foot-font-size: $table-head-font-size !default;
|
33
|
+
$table-foot-font-color: $table-head-font-color !default;
|
34
|
+
$table-foot-font-weight: $table-head-font-weight !default;
|
35
|
+
$table-foot-padding: $table-head-padding !default;
|
36
|
+
|
37
|
+
// These control the caption
|
38
|
+
$table-caption-bg: transparent !default;
|
39
|
+
$table-caption-font-color: $table-head-font-color !default;
|
40
|
+
$table-caption-font-size: rem-calc(16) !default;
|
41
|
+
$table-caption-font-weight: bold !default;
|
42
|
+
|
34
43
|
// These control the row padding and font styles
|
35
44
|
$table-row-padding: rem-calc(9 10) !default;
|
36
45
|
$table-row-font-size: rem-calc(14) !default;
|
@@ -51,9 +60,17 @@ $table-margin-bottom: rem-calc(20) !default;
|
|
51
60
|
margin-bottom: $table-margin-bottom;
|
52
61
|
border: $table-border-style $table-border-size $table-border-color;
|
53
62
|
|
54
|
-
|
55
|
-
|
56
|
-
|
63
|
+
caption {
|
64
|
+
background: $table-caption-bg;
|
65
|
+
color: $table-caption-font-color;
|
66
|
+
font: {
|
67
|
+
size: $table-caption-font-size;
|
68
|
+
weight: $table-caption-font-weight;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
thead {
|
73
|
+
background: $table-head-bg;
|
57
74
|
|
58
75
|
tr {
|
59
76
|
th,
|
@@ -62,7 +79,20 @@ $table-margin-bottom: rem-calc(20) !default;
|
|
62
79
|
font-size: $table-head-font-size;
|
63
80
|
font-weight: $table-head-font-weight;
|
64
81
|
color: $table-head-font-color;
|
65
|
-
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
tfoot {
|
87
|
+
background: $table-foot-bg;
|
88
|
+
|
89
|
+
tr {
|
90
|
+
th,
|
91
|
+
td {
|
92
|
+
padding: $table-foot-padding;
|
93
|
+
font-size: $table-foot-font-size;
|
94
|
+
font-weight: $table-foot-font-weight;
|
95
|
+
color: $table-foot-font-color;
|
66
96
|
}
|
67
97
|
}
|
68
98
|
}
|
@@ -73,6 +103,7 @@ $table-margin-bottom: rem-calc(20) !default;
|
|
73
103
|
padding: $table-row-padding;
|
74
104
|
font-size: $table-row-font-size;
|
75
105
|
color: $table-row-font-color;
|
106
|
+
text-align: $default-float;
|
76
107
|
}
|
77
108
|
|
78
109
|
&.even,
|
@@ -82,9 +113,10 @@ $table-margin-bottom: rem-calc(20) !default;
|
|
82
113
|
|
83
114
|
thead tr th,
|
84
115
|
tfoot tr th,
|
116
|
+
tfoot tr td,
|
117
|
+
tbody tr th,
|
85
118
|
tbody tr td,
|
86
|
-
tr td
|
87
|
-
tfoot tr td { display: $table-display; line-height: $table-line-height; }
|
119
|
+
tr td { display: $table-display; line-height: $table-line-height; }
|
88
120
|
}
|
89
121
|
|
90
122
|
|
@@ -94,4 +126,4 @@ $table-margin-bottom: rem-calc(20) !default;
|
|
94
126
|
@include table;
|
95
127
|
}
|
96
128
|
}
|
97
|
-
}
|
129
|
+
}
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
@import "global";
|
6
6
|
@import "grid";
|
7
|
+
@import "type";
|
7
8
|
|
8
9
|
//
|
9
10
|
// @variables
|
@@ -16,6 +17,7 @@ $tabs-navigation-bg-color: #efefef !default;
|
|
16
17
|
$tabs-navigation-active-bg-color: #fff !default;
|
17
18
|
$tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%) !default;
|
18
19
|
$tabs-navigation-font-color: #222 !default;
|
20
|
+
$tabs-navigation-active-font-color: $tabs-navigation-font-color !default;
|
19
21
|
$tabs-navigation-font-size: rem-calc(16) !default;
|
20
22
|
$tabs-navigation-font-family: $body-font-family !default;
|
21
23
|
|
@@ -29,9 +31,11 @@ $tabs-vertical-navigation-margin-bottom: 1.25rem !default;
|
|
29
31
|
.tabs {
|
30
32
|
@include clearfix;
|
31
33
|
margin-bottom: 0 !important;
|
32
|
-
|
34
|
+
margin-left: 0;
|
35
|
+
dd, .tab-title {
|
33
36
|
position: relative;
|
34
37
|
margin-bottom: 0 !important;
|
38
|
+
list-style: none;
|
35
39
|
float: $default-float;
|
36
40
|
> a {
|
37
41
|
display: block;
|
@@ -42,18 +46,18 @@ $tabs-vertical-navigation-margin-bottom: 1.25rem !default;
|
|
42
46
|
font-size: $tabs-navigation-font-size;
|
43
47
|
&:hover { background: $tabs-navigation-hover-bg-color; }
|
44
48
|
}
|
45
|
-
&.active a { background: $tabs-navigation-active-bg-color; }
|
49
|
+
&.active a { background: $tabs-navigation-active-bg-color; color:$tabs-navigation-active-font-color; }
|
46
50
|
}
|
47
51
|
&.radius {
|
48
|
-
dd:first-child {
|
52
|
+
dd:first-child, .tab:first-child {
|
49
53
|
a { @include side-radius($default-float, $global-radius); }
|
50
54
|
}
|
51
|
-
dd:last-child {
|
55
|
+
dd:last-child, .tab:last-child {
|
52
56
|
a { @include side-radius($opposite-direction, $global-radius); }
|
53
57
|
}
|
54
58
|
}
|
55
59
|
&.vertical {
|
56
|
-
dd {
|
60
|
+
dd, .tab {
|
57
61
|
position: inherit;
|
58
62
|
float: none;
|
59
63
|
display: block;
|
@@ -10,7 +10,7 @@
|
|
10
10
|
$include-html-tooltip-classes: $include-html-classes !default;
|
11
11
|
|
12
12
|
$has-tip-border-bottom: dotted 1px #ccc !default;
|
13
|
-
$has-tip-font-weight: bold !default;
|
13
|
+
$has-tip-font-weight: $font-weight-bold !default;
|
14
14
|
$has-tip-font-color: #333 !default;
|
15
15
|
$has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%) !default;
|
16
16
|
$has-tip-font-color-hover: $primary-color !default;
|
@@ -19,11 +19,11 @@ $has-tip-cursor-type: help !default;
|
|
19
19
|
$tooltip-padding: rem-calc(12) !default;
|
20
20
|
$tooltip-bg: #333 !default;
|
21
21
|
$tooltip-font-size: rem-calc(14) !default;
|
22
|
-
$tooltip-font-weight: normal !default;
|
22
|
+
$tooltip-font-weight: $font-weight-normal !default;
|
23
23
|
$tooltip-font-color: #fff !default;
|
24
24
|
$tooltip-line-height: 1.3 !default;
|
25
25
|
$tooltip-close-font-size: rem-calc(10) !default;
|
26
|
-
$tooltip-close-font-weight: normal !default;
|
26
|
+
$tooltip-close-font-weight: $font-weight-normal !default;
|
27
27
|
$tooltip-close-font-color: #777 !default;
|
28
28
|
$tooltip-font-size-sml: rem-calc(14) !default;
|
29
29
|
$tooltip-radius: $global-radius !default;
|
@@ -137,4 +137,4 @@ $tooltip-pip-size: 5px !default;
|
|
137
137
|
}
|
138
138
|
|
139
139
|
}
|
140
|
-
}
|
140
|
+
}
|