foundation-rails 5.5.1.2 → 5.5.2.0
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.
- 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
|
// Breadcrumb Variables
|
@@ -41,13 +41,13 @@ $crumb-slash: "/" !default;
|
|
41
41
|
|
42
42
|
// We use this mixin to create a container around our breadcrumbs
|
43
43
|
@mixin crumb-container {
|
44
|
-
display: block;
|
45
|
-
padding: $crumb-padding;
|
46
|
-
overflow: hidden;
|
47
|
-
margin-#{$default-float}: 0;
|
48
|
-
list-style: none;
|
49
44
|
border-style: $crumb-border-style;
|
50
45
|
border-width: $crumb-border-size;
|
46
|
+
display: block;
|
47
|
+
list-style: none;
|
48
|
+
margin-#{$default-float}: 0;
|
49
|
+
overflow: hidden;
|
50
|
+
padding: $crumb-padding;
|
51
51
|
|
52
52
|
// We control which background color and border come through.
|
53
53
|
background-color: $crumb-bg;
|
@@ -58,12 +58,12 @@ $crumb-slash: "/" !default;
|
|
58
58
|
@mixin crumbs {
|
59
59
|
|
60
60
|
// A normal state will make the links look and act like clickable breadcrumbs.
|
61
|
-
|
61
|
+
color: $crumb-font-color;
|
62
62
|
float: $default-float;
|
63
63
|
font-size: $crumb-font-size;
|
64
64
|
line-height: $crumb-font-size;
|
65
|
+
margin: 0;
|
65
66
|
text-transform: $crumb-font-transform;
|
66
|
-
color: $crumb-font-color;
|
67
67
|
|
68
68
|
&:hover a, &:focus a { text-decoration: $crumb-link-decor; }
|
69
69
|
|
@@ -73,11 +73,11 @@ $crumb-slash: "/" !default;
|
|
73
73
|
|
74
74
|
// Current is for the link of the current page
|
75
75
|
&.current {
|
76
|
-
cursor: $cursor-default-value;
|
77
76
|
color: $crumb-font-color-current;
|
77
|
+
cursor: $cursor-default-value;
|
78
78
|
a {
|
79
|
-
cursor: $cursor-default-value;
|
80
79
|
color: $crumb-font-color-current;
|
80
|
+
cursor: $cursor-default-value;
|
81
81
|
}
|
82
82
|
|
83
83
|
&:hover, &:hover a,
|
@@ -93,15 +93,15 @@ $crumb-slash: "/" !default;
|
|
93
93
|
&:hover a,
|
94
94
|
&:focus,
|
95
95
|
a:focus {
|
96
|
-
text-decoration: none;
|
97
96
|
color: $crumb-font-color-unavailable;
|
98
97
|
cursor: $cursor-disabled-value;
|
98
|
+
text-decoration: none;
|
99
99
|
}
|
100
100
|
}
|
101
101
|
|
102
102
|
&:before {
|
103
|
-
content: "#{$crumb-slash}";
|
104
103
|
color: $crumb-slash-color;
|
104
|
+
content: "#{$crumb-slash}";
|
105
105
|
margin: 0 $crumb-side-padding;
|
106
106
|
position: relative;
|
107
107
|
top: 1px;
|
@@ -119,14 +119,13 @@ $crumb-slash: "/" !default;
|
|
119
119
|
@include crumb-container;
|
120
120
|
@include radius($crumb-radius);
|
121
121
|
|
122
|
-
|
122
|
+
> * {
|
123
123
|
@include crumbs;
|
124
124
|
}
|
125
125
|
}
|
126
|
+
/* Accessibility - hides the forward slash */
|
127
|
+
[aria-label="breadcrumbs"] [aria-hidden="true"]:after {
|
128
|
+
content: "/";
|
129
|
+
}
|
126
130
|
}
|
127
131
|
}
|
128
|
-
|
129
|
-
/* Accessibility - hides the forward slash */
|
130
|
-
[aria-label="breadcrumbs"] [aria-hidden="true"]:after {
|
131
|
-
content: "/";
|
132
|
-
}
|
@@ -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 'buttons';
|
7
7
|
|
8
8
|
//
|
9
9
|
// Button Group Variables
|
@@ -38,7 +38,7 @@ $button-group-border-width: 1px !default;
|
|
38
38
|
|
39
39
|
> button, .button {
|
40
40
|
border-#{$default-float}: $button-group-border-width solid;
|
41
|
-
border-color: rgba(255, 255, 255,
|
41
|
+
border-color: rgba(255, 255, 255, .5);
|
42
42
|
}
|
43
43
|
|
44
44
|
&:first-child {
|
@@ -47,28 +47,31 @@ $button-group-border-width: 1px !default;
|
|
47
47
|
}
|
48
48
|
}
|
49
49
|
|
50
|
+
$button-group-display: list-item;
|
51
|
+
$button-group-margin: 0;
|
52
|
+
|
50
53
|
// We use this to control the flow, or remove those styles completely.
|
51
54
|
@if $float {
|
52
|
-
|
55
|
+
$button-group-display: list-item;
|
56
|
+
$button-group-margin: 0;
|
53
57
|
float: $float;
|
54
|
-
display: list-item;
|
55
58
|
// Make sure the first child doesn't get the negative margin.
|
56
59
|
&:first-child { margin-#{$default-float}: 0; }
|
57
60
|
}
|
58
61
|
@else {
|
59
|
-
|
60
|
-
|
62
|
+
$button-group-display: inline-block;
|
63
|
+
$button-group-margin: 0 -2px;
|
61
64
|
}
|
62
65
|
|
63
66
|
@if $orientation == vertical {
|
64
|
-
display:block;
|
65
|
-
margin:0;
|
67
|
+
$button-group-display: block;
|
68
|
+
$button-group-margin: 0;
|
66
69
|
> button, .button {
|
67
|
-
border-
|
68
|
-
border-color: rgba(255, 255, 255, 0.5);
|
70
|
+
border-color: rgba(255, 255, 255, .5);
|
69
71
|
border-left-width: 0;
|
70
|
-
|
72
|
+
border-top: $button-group-border-width solid;
|
71
73
|
display: block;
|
74
|
+
margin:0;
|
72
75
|
}
|
73
76
|
> button {
|
74
77
|
width: 100%;
|
@@ -81,12 +84,16 @@ $button-group-border-width: 1px !default;
|
|
81
84
|
}
|
82
85
|
}
|
83
86
|
|
87
|
+
display: $button-group-display;
|
88
|
+
margin: $button-group-margin;
|
89
|
+
|
90
|
+
|
84
91
|
// We use these to control left and right radius on first/last buttons in the group.
|
85
92
|
@if $radius == true {
|
86
93
|
&,
|
87
|
-
|
88
|
-
|
89
|
-
|
94
|
+
> a,
|
95
|
+
> button,
|
96
|
+
> .button { @include radius(0); }
|
90
97
|
&:first-child,
|
91
98
|
&:first-child > a,
|
92
99
|
&:first-child > button,
|
@@ -112,9 +119,9 @@ $button-group-border-width: 1px !default;
|
|
112
119
|
}
|
113
120
|
@else if $radius {
|
114
121
|
&,
|
115
|
-
|
116
|
-
|
117
|
-
|
122
|
+
> a,
|
123
|
+
> button,
|
124
|
+
> .button { @include radius(0); }
|
118
125
|
&:first-child,
|
119
126
|
&:first-child > a,
|
120
127
|
&:first-child > button,
|
@@ -153,15 +160,15 @@ $button-group-border-width: 1px !default;
|
|
153
160
|
@for $i from 2 through 8 {
|
154
161
|
&.even-#{$i} li { @include button-group-style($even:$i, $float:null); }
|
155
162
|
}
|
156
|
-
|
157
|
-
|
163
|
+
|
164
|
+
> li { @include button-group-style(); }
|
158
165
|
|
159
166
|
&.stack {
|
160
|
-
|
167
|
+
> li { @include button-group-style($orientation:vertical); float: none; }
|
161
168
|
}
|
162
169
|
|
163
170
|
&.stack-for-small {
|
164
|
-
|
171
|
+
> li {
|
165
172
|
@include button-group-style($orientation:horizontal);
|
166
173
|
@media #{$small-only} {
|
167
174
|
@include button-group-style($orientation:vertical);
|
@@ -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
|
// @variables
|
@@ -55,7 +55,7 @@ $button-radius: $global-radius !default;
|
|
55
55
|
$button-round: $global-rounded !default;
|
56
56
|
|
57
57
|
// We use this to set default opacity and cursor for disabled buttons.
|
58
|
-
$button-disabled-opacity:
|
58
|
+
$button-disabled-opacity: .7 !default;
|
59
59
|
$button-disabled-cursor: $cursor-default-value !default;
|
60
60
|
|
61
61
|
|
@@ -69,6 +69,9 @@ $button-disabled-cursor: $cursor-default-value !default;
|
|
69
69
|
|
70
70
|
@mixin button-base($style:true, $display:$button-display) {
|
71
71
|
@if $style {
|
72
|
+
-webkit-appearance: none;
|
73
|
+
-moz-appearance: none;
|
74
|
+
border-radius:0;
|
72
75
|
border-style: $button-border-style;
|
73
76
|
border-width: $button-border-width;
|
74
77
|
cursor: $cursor-pointer-value;
|
@@ -77,11 +80,8 @@ $button-disabled-cursor: $cursor-default-value !default;
|
|
77
80
|
line-height: normal;
|
78
81
|
margin: 0 0 $button-margin-bottom;
|
79
82
|
position: relative;
|
80
|
-
text-decoration: none;
|
81
83
|
text-align: $button-font-align;
|
82
|
-
-
|
83
|
-
-moz-appearance: none;
|
84
|
-
border-radius:0;
|
84
|
+
text-decoration: none;
|
85
85
|
}
|
86
86
|
@if $display { display: $display; }
|
87
87
|
}
|
@@ -98,11 +98,7 @@ $button-disabled-cursor: $cursor-default-value !default;
|
|
98
98
|
// We control which padding styles come through,
|
99
99
|
// these can be turned off by setting $padding:false
|
100
100
|
@if $padding {
|
101
|
-
padding
|
102
|
-
padding-#{$opposite-direction}: $padding * 2;
|
103
|
-
padding-bottom: $padding + rem-calc(1);
|
104
|
-
padding-#{$default-float}: $padding * 2;
|
105
|
-
|
101
|
+
padding: $padding ($padding * 2) ($padding + rem-calc(1)) ($padding * 2);
|
106
102
|
// We control the font-size based on mixin input.
|
107
103
|
@if $padding == $button-med { font-size: $button-font-med; }
|
108
104
|
@else if $padding == $button-tny { font-size: $button-font-tny; }
|
@@ -114,14 +110,14 @@ $button-disabled-cursor: $cursor-default-value !default;
|
|
114
110
|
@if $full-width {
|
115
111
|
// We still need to check if $padding is set.
|
116
112
|
@if $padding {
|
117
|
-
|
118
|
-
|
113
|
+
padding-bottom: $padding + rem-calc(1);
|
114
|
+
padding-top: $padding;
|
119
115
|
} @else if $padding == false {
|
120
|
-
padding-top:0;
|
121
116
|
padding-bottom:0;
|
117
|
+
padding-top:0;
|
122
118
|
}
|
123
|
-
padding-right: 0;
|
124
119
|
padding-left: 0;
|
120
|
+
padding-right: 0;
|
125
121
|
width: 100%;
|
126
122
|
}
|
127
123
|
}
|
@@ -173,9 +169,9 @@ $button-disabled-cursor: $cursor-default-value !default;
|
|
173
169
|
|
174
170
|
// We can set $disabled:true to create a disabled transparent button.
|
175
171
|
@if $disabled {
|
172
|
+
box-shadow: none;
|
176
173
|
cursor: $button-disabled-cursor;
|
177
174
|
opacity: $button-disabled-opacity;
|
178
|
-
box-shadow: none;
|
179
175
|
&:hover,
|
180
176
|
&:focus { background-color: $bg; }
|
181
177
|
}
|
@@ -230,7 +226,7 @@ $button-disabled-cursor: $cursor-default-value !default;
|
|
230
226
|
&.large { @include button-size($padding:$button-lrg); }
|
231
227
|
&.small { @include button-size($padding:$button-sml); }
|
232
228
|
&.tiny { @include button-size($padding:$button-tny); }
|
233
|
-
&.expand { @include button-size($padding:null
|
229
|
+
&.expand { @include button-size($padding:null, $full-width:true); }
|
234
230
|
|
235
231
|
&.left-align { text-align: left; text-indent: rem-calc(12); }
|
236
232
|
&.right-align { text-align: right; padding-right: rem-calc(12); }
|
@@ -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
|
// @variables
|
@@ -25,7 +25,7 @@ $clearing-arrow-color: $clearing-close-color !default;
|
|
25
25
|
|
26
26
|
// We use these to style captions
|
27
27
|
$clearing-caption-font-color: $iron !default;
|
28
|
-
$clearing-caption-font-size:
|
28
|
+
$clearing-caption-font-size: .875em !default;
|
29
29
|
$clearing-caption-padding: 10px 30px 20px !default;
|
30
30
|
|
31
31
|
// We use these to make the image and carousel height and style
|
@@ -43,9 +43,9 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
|
|
43
43
|
/* Clearing Styles */
|
44
44
|
.clearing-thumbs, #{data('clearing')} {
|
45
45
|
@include clearfix;
|
46
|
-
margin-bottom: 0;
|
47
|
-
margin-#{$default-float}: 0;
|
48
46
|
list-style: none;
|
47
|
+
margin-#{$default-float}: 0;
|
48
|
+
margin-bottom: 0;
|
49
49
|
|
50
50
|
li {
|
51
51
|
float: $default-float;
|
@@ -59,30 +59,30 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
|
|
59
59
|
|
60
60
|
.clearing-blackout {
|
61
61
|
background: $clearing-bg;
|
62
|
-
position: fixed;
|
63
|
-
width: 100%;
|
64
62
|
height: 100%;
|
63
|
+
position: fixed;
|
65
64
|
top: 0;
|
66
|
-
|
65
|
+
width: 100%;
|
67
66
|
z-index: 998;
|
67
|
+
#{$default-float}: 0;
|
68
68
|
|
69
69
|
.clearing-close { display: block; }
|
70
70
|
}
|
71
71
|
|
72
72
|
.clearing-container {
|
73
|
-
position: relative;
|
74
|
-
z-index: 998;
|
75
73
|
height: 100%;
|
76
|
-
overflow: hidden;
|
77
74
|
margin: 0;
|
75
|
+
overflow: hidden;
|
76
|
+
position: relative;
|
77
|
+
z-index: 998;
|
78
78
|
}
|
79
79
|
|
80
80
|
.clearing-touch-label {
|
81
|
+
color: $base;
|
82
|
+
font-size: .6em;
|
83
|
+
left: 50%;
|
81
84
|
position: absolute;
|
82
85
|
top: 50%;
|
83
|
-
left: 50%;
|
84
|
-
color: $base;
|
85
|
-
font-size: 0.6em;
|
86
86
|
}
|
87
87
|
|
88
88
|
.visible-img {
|
@@ -94,14 +94,18 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
|
|
94
94
|
#{$default-float}: 50%;
|
95
95
|
top: 50%;
|
96
96
|
@if $default-float == left {
|
97
|
-
transform: translateY(-50%) translateX(-50%);
|
98
97
|
-webkit-transform: translateY(-50%) translateX(-50%);
|
98
|
+
-moz-transform: translateY(-50%) translateX(-50%);
|
99
99
|
-ms-transform: translateY(-50%) translateX(-50%);
|
100
|
+
-o-transform: translateY(-50%) translateX(-50%);
|
101
|
+
transform: translateY(-50%) translateX(-50%);
|
100
102
|
}
|
101
103
|
@else {
|
102
|
-
transform: translateY(-50%) translateX(50%);
|
103
104
|
-webkit-transform: translateY(-50%) translateX(50%);
|
105
|
+
-moz-transform: translateY(-50%) translateX(50%);
|
104
106
|
-ms-transform: translateY(-50%) translateX(50%);
|
107
|
+
-o-transform: translateY(-50%) translateX(50%);
|
108
|
+
transform: translateY(-50%) translateX(50%);
|
105
109
|
};
|
106
110
|
max-height: 100%;
|
107
111
|
max-width: 100%;
|
@@ -109,27 +113,27 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
|
|
109
113
|
}
|
110
114
|
|
111
115
|
.clearing-caption {
|
116
|
+
background: $clearing-caption-bg;
|
117
|
+
bottom: 0;
|
112
118
|
color: $clearing-caption-font-color;
|
113
119
|
font-size: $clearing-caption-font-size;
|
114
120
|
line-height: 1.3;
|
115
121
|
margin-bottom: 0;
|
116
|
-
text-align: center;
|
117
|
-
bottom: 0;
|
118
|
-
background: $clearing-caption-bg;
|
119
|
-
width: 100%;
|
120
122
|
padding: $clearing-caption-padding;
|
121
123
|
position: absolute;
|
124
|
+
text-align: center;
|
125
|
+
width: 100%;
|
122
126
|
#{$default-float}: 0;
|
123
127
|
}
|
124
128
|
|
125
129
|
.clearing-close {
|
126
|
-
z-index: 999;
|
127
|
-
padding-#{$default-float}: 20px;
|
128
|
-
padding-top: 10px;
|
129
|
-
font-size: $clearing-close-size;
|
130
|
-
line-height: 1;
|
131
130
|
color: $clearing-close-color;
|
132
131
|
display: none;
|
132
|
+
font-size: $clearing-close-size;
|
133
|
+
line-height: 1;
|
134
|
+
padding-#{$default-float}: 20px;
|
135
|
+
padding-top: 10px;
|
136
|
+
z-index: 999;
|
133
137
|
|
134
138
|
&:hover,
|
135
139
|
&:focus { color: $iron; }
|
@@ -151,23 +155,23 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
|
|
151
155
|
@media #{$medium-up} {
|
152
156
|
.clearing-main-prev,
|
153
157
|
.clearing-main-next {
|
154
|
-
position: absolute;
|
155
158
|
height: 100%;
|
156
|
-
|
159
|
+
position: absolute;
|
157
160
|
top: 0;
|
158
|
-
|
161
|
+
width: 40px;
|
162
|
+
> span {
|
163
|
+
border: solid $clearing-arrow-size;
|
164
|
+
display: block;
|
165
|
+
height: 0;
|
159
166
|
position: absolute;
|
160
167
|
top: 50%;
|
161
|
-
display: block;
|
162
168
|
width: 0;
|
163
|
-
|
164
|
-
border: solid $clearing-arrow-size;
|
165
|
-
&:hover { opacity: 0.8; }
|
169
|
+
&:hover { opacity: .8; }
|
166
170
|
}
|
167
171
|
}
|
168
172
|
.clearing-main-prev {
|
169
173
|
#{$default-float}: 0;
|
170
|
-
|
174
|
+
> span {
|
171
175
|
#{$default-float}: 5px;
|
172
176
|
border-color: transparent;
|
173
177
|
border-#{$opposite-direction}-color: $clearing-arrow-color;
|
@@ -175,14 +179,14 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
|
|
175
179
|
}
|
176
180
|
.clearing-main-next {
|
177
181
|
#{$opposite-direction}: 0;
|
178
|
-
|
182
|
+
> span {
|
179
183
|
border-color: transparent;
|
180
184
|
border-#{$default-float}-color: $clearing-arrow-color;
|
181
185
|
}
|
182
186
|
}
|
183
187
|
|
184
188
|
.clearing-main-prev.disabled,
|
185
|
-
.clearing-main-next.disabled { opacity:
|
189
|
+
.clearing-main-next.disabled { opacity: .3; }
|
186
190
|
|
187
191
|
.clearing-assembled .clearing-container {
|
188
192
|
|
@@ -192,7 +196,7 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
|
|
192
196
|
margin-top: 10px;
|
193
197
|
text-align: center;
|
194
198
|
|
195
|
-
|
199
|
+
> ul {
|
196
200
|
display: inline-block;
|
197
201
|
z-index: 999;
|
198
202
|
height: 100%;
|
@@ -200,17 +204,17 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
|
|
200
204
|
float: none;
|
201
205
|
|
202
206
|
li {
|
207
|
+
clear: none;
|
208
|
+
cursor: $cursor-pointer-value;
|
203
209
|
display: block;
|
204
|
-
width: $clearing-carousel-thumb-width;
|
205
|
-
min-height: inherit;
|
206
210
|
float: $default-float;
|
207
|
-
overflow: hidden;
|
208
211
|
margin-#{$opposite-direction}: 0;
|
212
|
+
min-height: inherit;
|
213
|
+
opacity: .4;
|
214
|
+
overflow: hidden;
|
209
215
|
padding: 0;
|
210
216
|
position: relative;
|
211
|
-
|
212
|
-
opacity: 0.4;
|
213
|
-
clear: none;
|
217
|
+
width: $clearing-carousel-thumb-width;
|
214
218
|
|
215
219
|
&.fix-height {
|
216
220
|
img {
|
@@ -226,29 +230,29 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
|
|
226
230
|
}
|
227
231
|
|
228
232
|
img {
|
229
|
-
|
230
|
-
|
233
|
+
cursor: $cursor-pointer-value !important;
|
234
|
+
width: 100% !important;
|
231
235
|
}
|
232
236
|
|
233
237
|
&.visible { opacity: 1; }
|
234
|
-
&:hover { opacity:
|
238
|
+
&:hover { opacity: .8; }
|
235
239
|
}
|
236
240
|
}
|
237
241
|
}
|
238
242
|
|
239
243
|
.visible-img {
|
240
244
|
background: $clearing-img-bg;
|
241
|
-
overflow: hidden;
|
242
245
|
height: $clearing-active-img-height;
|
246
|
+
overflow: hidden;
|
243
247
|
}
|
244
248
|
}
|
245
249
|
|
246
250
|
.clearing-close {
|
251
|
+
padding-#{$default-float}: 0;
|
252
|
+
padding-top: 0;
|
247
253
|
position: absolute;
|
248
254
|
top: 10px;
|
249
255
|
#{$opposite-direction}: 20px;
|
250
|
-
padding-#{$default-float}: 0;
|
251
|
-
padding-top: 0;
|
252
256
|
}
|
253
257
|
}
|
254
258
|
|