zurb-foundation 4.2.3 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CONTRIBUTING.md +1 -1
- data/Gemfile.lock +1 -1
- data/README.md +8 -0
- data/docs/CHANGELOG.md +17 -0
- data/docs/README.md +3 -1
- data/docs/_sidebar-components.html.erb +2 -1
- data/docs/_sidebar.html.erb +2 -1
- data/docs/compile.rb +8 -1
- data/docs/components/abide.html.erb +371 -0
- data/docs/components/alert-boxes.html.erb +12 -9
- data/docs/components/block-grid.html.erb +1 -1
- data/docs/components/breadcrumbs.html.erb +7 -5
- data/docs/components/button-groups.html.erb +4 -2
- data/docs/components/buttons.html.erb +13 -9
- data/docs/components/clearing.html.erb +2 -0
- data/docs/components/dropdown-buttons.html.erb +59 -55
- data/docs/components/dropdown.html.erb +34 -32
- data/docs/components/flex-video.html.erb +4 -2
- data/docs/components/forms.html.erb +16 -15
- data/docs/components/global.html.erb +27 -4
- data/docs/components/grid.html.erb +21 -3
- data/docs/components/inline-lists.html.erb +8 -3
- data/docs/components/joyride.html.erb +5 -3
- data/docs/components/keystrokes.html.erb +4 -2
- data/docs/components/kitchen-sink.html.erb +15 -40
- data/docs/components/labels.html.erb +4 -2
- data/docs/components/magellan.html.erb +4 -2
- data/docs/components/orbit.html.erb +39 -27
- data/docs/components/pagination.html.erb +10 -8
- data/docs/components/panels.html.erb +7 -3
- data/docs/components/pricing-tables.html.erb +12 -10
- data/docs/components/progress-bars.html.erb +6 -4
- data/docs/components/reveal.html.erb +7 -28
- data/docs/components/section.html.erb +15 -13
- data/docs/components/side-nav.html.erb +5 -3
- data/docs/components/split-buttons.html.erb +45 -43
- data/docs/components/sub-nav.html.erb +7 -5
- data/docs/components/switch.html.erb +3 -1
- data/docs/components/tables.html.erb +8 -6
- data/docs/components/thumbnails.html.erb +2 -0
- data/docs/components/tooltips.html.erb +6 -4
- data/docs/components/top-bar.html.erb +9 -8
- data/docs/components/type.html.erb +20 -18
- data/docs/config.ru +2 -1
- data/docs/css/_footer.scss +420 -0
- data/docs/css/_offcanvas.scss +140 -0
- data/docs/css/docs.scss +10 -1
- data/docs/fonts/ProximaNova-Reg-webfont.eot +0 -0
- data/docs/fonts/ProximaNova-Reg-webfont.svg +244 -0
- data/docs/fonts/ProximaNova-Reg-webfont.ttf +0 -0
- data/docs/fonts/ProximaNova-Reg-webfont.woff +0 -0
- data/docs/fonts/proximanovacond-bold-webfont.eot +0 -0
- data/docs/fonts/proximanovacond-bold-webfont.svg +247 -0
- data/docs/fonts/proximanovacond-bold-webfont.ttf +0 -0
- data/docs/fonts/proximanovacond-bold-webfont.woff +0 -0
- data/docs/img/demos/orbit/demo1.jpg +0 -0
- data/docs/img/demos/orbit/demo2.jpg +0 -0
- data/docs/img/demos/orbit/demo3.jpg +0 -0
- data/docs/img/icons/footer-icons.png +0 -0
- data/docs/img/icons/footer-top-icons.png +0 -0
- data/docs/img/icons/social.png +0 -0
- data/docs/img/offcanvas/footer-icons.png +0 -0
- data/docs/img/offcanvas/menu-wht.png +0 -0
- data/docs/img/offcanvas/search.png +0 -0
- data/docs/img/offcanvas/zurb-logo.png +0 -0
- data/docs/img/offcanvas/zurb-wht.png +0 -0
- data/docs/js/docs.js +1 -0
- data/docs/js/jquery.offcanvas.js +28 -0
- data/docs/layout.html.erb +226 -42
- data/docs/media-queries.html.erb +3 -3
- data/docs/sass.html.erb +142 -142
- data/docs/support.html.erb +1 -1
- data/js/foundation/foundation.abide.js +194 -0
- data/js/foundation/foundation.dropdown.js +8 -9
- data/js/foundation/foundation.forms.js +11 -3
- data/js/foundation/foundation.interchange.js +25 -16
- data/js/foundation/foundation.joyride.js +9 -3
- data/js/foundation/foundation.js +2 -3
- data/js/foundation/foundation.magellan.js +3 -2
- data/js/foundation/foundation.orbit.js +359 -344
- data/js/foundation/foundation.reveal.js +1 -1
- data/js/foundation/foundation.section.js +290 -311
- data/js/foundation/foundation.tooltips.js +2 -2
- data/js/foundation/foundation.topbar.js +20 -23
- data/js/foundation/index.js +1 -0
- data/js/vendor/jquery.js +103 -121
- data/lib/foundation/generators/templates/application.html.slim +15 -8
- data/lib/foundation/version.rb +1 -1
- data/scss/foundation.scss +2 -5
- data/scss/foundation/_variables.scss +326 -295
- data/scss/foundation/components/_alert-boxes.scss +10 -10
- data/scss/foundation/components/_block-grid.scss +1 -1
- data/scss/foundation/components/_breadcrumbs.scss +8 -8
- data/scss/foundation/components/_button-groups.scss +2 -2
- data/scss/foundation/components/_buttons.scss +18 -18
- data/scss/foundation/components/_custom-forms.scss +20 -14
- data/scss/foundation/components/_dropdown-buttons.scss +9 -9
- data/scss/foundation/components/_dropdown.scss +4 -4
- data/scss/foundation/components/_flex-video.scss +3 -3
- data/scss/foundation/components/_forms.scss +54 -24
- data/scss/foundation/components/_global.scss +28 -5
- data/scss/foundation/components/_grid-5.scss +214 -0
- data/scss/foundation/components/_grid.scss +3 -3
- data/scss/foundation/components/_inline-lists.scss +3 -3
- data/scss/foundation/components/_joyride.scss +6 -6
- data/scss/foundation/components/_keystrokes.scss +3 -3
- data/scss/foundation/components/_labels.scss +3 -3
- data/scss/foundation/components/_orbit.scss +34 -9
- data/scss/foundation/components/_pagination.scss +8 -6
- data/scss/foundation/components/_panels.scss +3 -3
- data/scss/foundation/components/_pricing-tables.scss +10 -10
- data/scss/foundation/components/_progress-bars.scss +3 -3
- data/scss/foundation/components/_reveal.scss +7 -7
- data/scss/foundation/components/_section.scss +252 -214
- data/scss/foundation/components/_side-nav.scss +3 -3
- data/scss/foundation/components/_split-buttons.scss +7 -7
- data/scss/foundation/components/_sub-nav.scss +7 -7
- data/scss/foundation/components/_switch.scss +4 -4
- data/scss/foundation/components/_tables.scss +6 -6
- data/scss/foundation/components/_tooltips.scss +4 -4
- data/scss/foundation/components/_top-bar.scss +14 -10
- data/scss/foundation/components/_type.scss +23 -23
- data/templates/project/index.html +4 -4
- data/templates/project/scss/app.scss +8 -0
- metadata +29 -4
@@ -15,7 +15,7 @@ $experimental: true !default;
|
|
15
15
|
}
|
16
16
|
|
17
17
|
// We use this to create equal side border radius on elements.
|
18
|
-
@mixin side-radius($side, $radius) {
|
18
|
+
@mixin side-radius($side, $radius:$global-radius) {
|
19
19
|
@if $side == left {
|
20
20
|
@if $experimental {
|
21
21
|
-moz-border-radius-bottomleft: $radius;
|
@@ -157,11 +157,34 @@ $base-font-size: 100% !default;
|
|
157
157
|
$base-line-height: 150% !default;
|
158
158
|
|
159
159
|
// This is the default html and body font-size for the base em value.
|
160
|
-
$em-base:
|
160
|
+
$em-base: 16 !default;
|
161
161
|
|
162
|
-
//
|
163
|
-
@function
|
164
|
-
@return $
|
162
|
+
// It strips the unit of measure and returns it
|
163
|
+
@function strip-unit($num) {
|
164
|
+
@return $num / ($num * 0 + 1);
|
165
|
+
}
|
166
|
+
|
167
|
+
// Converts "px" to "em" using the ($)em-base
|
168
|
+
@function convert-to-em($value) {
|
169
|
+
$value: strip-unit($value) / strip-unit($em-base) * 1em;
|
170
|
+
@if ($value == 0em) { $value: 0; } // Turn 0em into 0
|
171
|
+
@return $value;
|
172
|
+
}
|
173
|
+
|
174
|
+
// Working in ems is annoying. Think in pixels by using this handy function, emCalc(#)
|
175
|
+
// Just enter the number, no need to mention "px"
|
176
|
+
@function emCalc($values...) {
|
177
|
+
$max: length($values); // Get the total number of parameters passed
|
178
|
+
|
179
|
+
// If there is only 1 parameter, then return it as an integer.
|
180
|
+
// This is done because a list can't be multiplied or divided even if it contains a single value
|
181
|
+
@if $max == 1 { @return convert-to-em(nth($values, 1)); }
|
182
|
+
|
183
|
+
$emValues: (); // This will eventually store the converted $values in a list
|
184
|
+
@for $i from 1 through $max {
|
185
|
+
$emValues: append($emValues, convert-to-em(nth($values, $i)));
|
186
|
+
}
|
187
|
+
@return $emValues;
|
165
188
|
}
|
166
189
|
|
167
190
|
// Maybe you want to create rems and pixels
|
@@ -0,0 +1,214 @@
|
|
1
|
+
//
|
2
|
+
// @version
|
3
|
+
// 4.3.0
|
4
|
+
//
|
5
|
+
// @title
|
6
|
+
// Grid
|
7
|
+
//
|
8
|
+
// @description
|
9
|
+
// With a default "small-#" grid, a 640-1024px "medium-#" grid, and a 1024+ "large-#" grid, we've got you covered for any layout you can think of.
|
10
|
+
//
|
11
|
+
|
12
|
+
//
|
13
|
+
// Grid Variables
|
14
|
+
//
|
15
|
+
$include-html-grid-classes: true !default;
|
16
|
+
$row-width: emCalc(1000) !default;
|
17
|
+
$column-gutter: emCalc(30) !default;
|
18
|
+
$total-columns: 12 !default;
|
19
|
+
|
20
|
+
//
|
21
|
+
// Grid Calc Function
|
22
|
+
//
|
23
|
+
@function gridCalc($colNumber, $totalColumns) {
|
24
|
+
@return percentage(($colNumber / $totalColumns));
|
25
|
+
}
|
26
|
+
|
27
|
+
// Right and Left "auto" for grid
|
28
|
+
%right-auto { #{$opposite-direction}: auto; }
|
29
|
+
%left-auto { #{$default-float}: auto; }
|
30
|
+
|
31
|
+
//
|
32
|
+
// Grid Mixins
|
33
|
+
//
|
34
|
+
|
35
|
+
// Create default, nested, and collapsed rows
|
36
|
+
@mixin grid-row($behavior: false) {
|
37
|
+
|
38
|
+
// use @include grid-row(nest); to include a nested row
|
39
|
+
@if $behavior == nest {
|
40
|
+
margin-#{$default-float}: -($column-gutter/2);
|
41
|
+
margin-#{$opposite-direction}: -($column-gutter/2);
|
42
|
+
max-width: none;
|
43
|
+
width: auto;
|
44
|
+
}
|
45
|
+
|
46
|
+
// use @include grid-row(collapse); to collapsed a container row margins
|
47
|
+
@else if $behavior == collapse {
|
48
|
+
margin-#{$default-float}: 0;
|
49
|
+
margin-#{$opposite-direction}: 0;
|
50
|
+
max-width: $row-width;
|
51
|
+
width: 100%;
|
52
|
+
}
|
53
|
+
|
54
|
+
// use @include grid-row(nest-collapse); to collapse outer margins on a nested row
|
55
|
+
@else if $behavior == nest-collapse {
|
56
|
+
margin-#{$default-float}: 0;
|
57
|
+
margin-#{$opposite-direction}: 0;
|
58
|
+
max-width: none;
|
59
|
+
width: auto;
|
60
|
+
}
|
61
|
+
|
62
|
+
// use @include grid-row; to use a container row
|
63
|
+
@else {
|
64
|
+
margin-#{$default-float}: auto;
|
65
|
+
margin-#{$opposite-direction}: auto;
|
66
|
+
margin-top: 0;
|
67
|
+
margin-bottom: 0;
|
68
|
+
max-width: $row-width;
|
69
|
+
width: 100%;
|
70
|
+
}
|
71
|
+
|
72
|
+
@include clearfix;
|
73
|
+
}
|
74
|
+
|
75
|
+
|
76
|
+
// For creating columns - @include these inside a media query to control small vs. large grid layouts
|
77
|
+
@mixin grid-column($columns:false, $last-column:false, $center:false, $offset:false, $push:false, $pull:false, $collapse:false, $float:true, $include-position-relative: false) {
|
78
|
+
|
79
|
+
// If collapsed, get rid of gutter padding
|
80
|
+
@if $collapse {
|
81
|
+
padding-left: 0;
|
82
|
+
padding-right: 0;
|
83
|
+
}
|
84
|
+
|
85
|
+
// Gutter padding whenever a column isn't set to collapse
|
86
|
+
// (use $collapse:null to do nothing)
|
87
|
+
@else if $collapse == false {
|
88
|
+
padding-left: $column-gutter / 2;
|
89
|
+
padding-right: $column-gutter / 2;
|
90
|
+
}
|
91
|
+
|
92
|
+
// If a column number is given, calculate width
|
93
|
+
@if $columns {
|
94
|
+
width: gridCalc($columns, $total-columns);
|
95
|
+
|
96
|
+
// If last column, float naturally instead of to the right
|
97
|
+
@if $last-column { float: $opposite-direction; }
|
98
|
+
}
|
99
|
+
|
100
|
+
// If offset, calculate appropriate margins
|
101
|
+
@if $offset { margin-#{$default-float}: gridCalc($offset, $total-columns); }
|
102
|
+
|
103
|
+
// Source Ordering, adds left/right depending on which you use.
|
104
|
+
@if $push { #{$default-float}: gridCalc($push, $total-columns); #{$opposite-direction}: auto; }
|
105
|
+
@if $pull { #{$opposite-direction}: gridCalc($pull, $total-columns); #{$default-float}: auto; }
|
106
|
+
|
107
|
+
// If centered, get rid of float and add appropriate margins
|
108
|
+
@if $center {
|
109
|
+
margin-#{$default-float}: auto;
|
110
|
+
margin-#{$opposite-direction}: auto;
|
111
|
+
float: none !important;
|
112
|
+
}
|
113
|
+
|
114
|
+
@if $float {
|
115
|
+
@if $float == left or $float == true { float: $default-float; }
|
116
|
+
@else if $float == right { float: $opposite-direction; }
|
117
|
+
@else { float: none; }
|
118
|
+
}
|
119
|
+
|
120
|
+
// This helps us not need to repeat "position:relative" everywehere
|
121
|
+
@if $include-position-relative { position: relative; }
|
122
|
+
}
|
123
|
+
|
124
|
+
|
125
|
+
@if $include-html-grid-classes != false {
|
126
|
+
/* Grid HTML Classes */
|
127
|
+
.row {
|
128
|
+
@include grid-row;
|
129
|
+
|
130
|
+
&.collapse {
|
131
|
+
.column,
|
132
|
+
.columns { @include grid-column($collapse:true); }
|
133
|
+
}
|
134
|
+
|
135
|
+
.row { @include grid-row($behavior:nest);
|
136
|
+
&.collapse { @include grid-row($behavior:nest-collapse); }
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
.column,
|
141
|
+
.columns { @include grid-column($columns:$total-columns, $include-position-relative: true); }
|
142
|
+
|
143
|
+
@media only screen {
|
144
|
+
|
145
|
+
@for $i from 1 through $total-columns {
|
146
|
+
.small#{-$i} { @include grid-column($columns:$i,$collapse:null,$float:false); }
|
147
|
+
}
|
148
|
+
|
149
|
+
@for $i from 0 through $total-columns - 2 {
|
150
|
+
.small-offset-#{$i} { @include grid-column($offset:$i, $collapse:null,$float:false); }
|
151
|
+
}
|
152
|
+
|
153
|
+
[class*="column"] + [class*="column"]:last-child { float: $opposite-direction; }
|
154
|
+
[class*="column"] + [class*="column"].end { float: $default-float; }
|
155
|
+
|
156
|
+
.column.small-centered,
|
157
|
+
.columns.small-centered { @include grid-column($center:true, $collapse:null, $float:false); }
|
158
|
+
}
|
159
|
+
|
160
|
+
@media only screen and (min-width: 640px) {
|
161
|
+
|
162
|
+
@for $i from 1 through $total-columns {
|
163
|
+
.medium#{-$i} { @include grid-column($columns:$i,$collapse:null,$float:false); }
|
164
|
+
}
|
165
|
+
|
166
|
+
@for $i from 0 through $total-columns - 1 {
|
167
|
+
.medium-offset-#{$i} { @include grid-column($offset:$i, $collapse:null,$float:false); }
|
168
|
+
}
|
169
|
+
|
170
|
+
@for $i from 1 through $total-columns - 1 {
|
171
|
+
.medium-push#{-$i} { @include grid-column($push:$i, $collapse:null, $float:false); }
|
172
|
+
.medium-pull#{-$i} { @include grid-column($pull:$i, $collapse:null, $float:false); }
|
173
|
+
}
|
174
|
+
|
175
|
+
.column.medium-centered,
|
176
|
+
.columns.medium-centered { @include grid-column($center:true, $collapse:null, $float:false); }
|
177
|
+
|
178
|
+
.column.medium-uncentered,
|
179
|
+
.columns.medium-uncentered {
|
180
|
+
margin-#{$default-float}: 0;
|
181
|
+
margin-#{$opposite-direction}: 0;
|
182
|
+
float: $default-float !important;
|
183
|
+
}
|
184
|
+
|
185
|
+
}
|
186
|
+
|
187
|
+
@media only screen and (min-width: 1024px) {
|
188
|
+
|
189
|
+
@for $i from 1 through $total-columns {
|
190
|
+
.large#{-$i} { @include grid-column($columns:$i,$collapse:null,$float:false); }
|
191
|
+
}
|
192
|
+
|
193
|
+
@for $i from 0 through $total-columns - 1 {
|
194
|
+
.large-offset-#{$i} { @include grid-column($offset:$i, $collapse:null,$float:false); }
|
195
|
+
}
|
196
|
+
|
197
|
+
@for $i from 1 through $total-columns - 1 {
|
198
|
+
.large-push#{-$i} { @include grid-column($push:$i, $collapse:null, $float:false); }
|
199
|
+
.large-pull#{-$i} { @include grid-column($pull:$i, $collapse:null, $float:false); }
|
200
|
+
}
|
201
|
+
|
202
|
+
.column.large-centered,
|
203
|
+
.columns.large-centered { @include grid-column($center:true, $collapse:null, $float:false); }
|
204
|
+
|
205
|
+
.column.large-uncentered,
|
206
|
+
.columns.large-uncentered {
|
207
|
+
margin-#{$default-float}: 0;
|
208
|
+
margin-#{$opposite-direction}: 0;
|
209
|
+
float: $default-float !important;
|
210
|
+
}
|
211
|
+
|
212
|
+
}
|
213
|
+
|
214
|
+
}
|
@@ -3,8 +3,8 @@
|
|
3
3
|
//
|
4
4
|
$include-html-grid-classes: $include-html-classes !default;
|
5
5
|
|
6
|
-
$row-width: emCalc(
|
7
|
-
$column-gutter: emCalc(
|
6
|
+
$row-width: emCalc(1000) !default;
|
7
|
+
$column-gutter: emCalc(30) !default;
|
8
8
|
$total-columns: 12 !default;
|
9
9
|
|
10
10
|
//
|
@@ -112,7 +112,7 @@ $total-columns: 12 !default;
|
|
112
112
|
|
113
113
|
|
114
114
|
@if $include-html-grid-classes != false {
|
115
|
-
|
115
|
+
/* Grid HTML Classes */
|
116
116
|
.row {
|
117
117
|
@include grid-row;
|
118
118
|
|
@@ -6,8 +6,8 @@ $include-html-inline-list-classes: $include-html-classes !default;
|
|
6
6
|
// We use this to control the margins and padding of the inline list.
|
7
7
|
$inline-list-top-margin: 0 !default;
|
8
8
|
$inline-list-opposite-margin: 0 !default;
|
9
|
-
$inline-list-bottom-margin: emCalc(
|
10
|
-
$inline-list-default-float-margin: emCalc(-
|
9
|
+
$inline-list-bottom-margin: emCalc(17) !default;
|
10
|
+
$inline-list-default-float-margin: emCalc(-22) !default;
|
11
11
|
|
12
12
|
$inline-list-padding: 0 !default;
|
13
13
|
|
@@ -36,7 +36,7 @@ $inline-list-children-display: block !default;
|
|
36
36
|
& > li {
|
37
37
|
list-style: none;
|
38
38
|
float: $default-float;
|
39
|
-
margin-#{$default-float}: emCalc(
|
39
|
+
margin-#{$default-float}: emCalc(22);
|
40
40
|
display: $inline-list-display;
|
41
41
|
&>* { display: $inline-list-children-display; }
|
42
42
|
}
|
@@ -6,14 +6,14 @@ $include-html-joyride-classes: $include-html-classes !default;
|
|
6
6
|
// Controlling default Joyride styles
|
7
7
|
$joyride-tip-bg: rgb(0,0,0) !default;
|
8
8
|
$joyride-tip-default-width: 300px !default;
|
9
|
-
$joyride-tip-padding: emCalc(
|
9
|
+
$joyride-tip-padding: emCalc(18, 20, 24) !default;
|
10
10
|
$joyride-tip-border: solid 1px #555 !default;
|
11
11
|
$joyride-tip-radius: 4px !default;
|
12
12
|
$joyride-tip-position-offset: 22px !default;
|
13
13
|
|
14
14
|
// Here, we're setting the tip dont styles
|
15
15
|
$joyride-tip-font-color: #fff !default;
|
16
|
-
$joyride-tip-font-size: emCalc(
|
16
|
+
$joyride-tip-font-size: emCalc(14) !default;
|
17
17
|
$joyride-tip-header-weight: bold !default;
|
18
18
|
|
19
19
|
// This changes the nub size
|
@@ -113,7 +113,7 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
113
113
|
color: $joyride-tip-font-color;
|
114
114
|
}
|
115
115
|
.joyride-tip-guide p {
|
116
|
-
margin: 0 0
|
116
|
+
margin: emCalc(0, 0, 18, 0);
|
117
117
|
font-size: $joyride-tip-font-size;
|
118
118
|
line-height: 1.3;
|
119
119
|
}
|
@@ -123,8 +123,8 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
123
123
|
height: $joyride-tip-timer-height;
|
124
124
|
border: $joyride-tip-border;
|
125
125
|
position: absolute;
|
126
|
-
#{$opposite-direction}: emCalc(
|
127
|
-
bottom: emCalc(
|
126
|
+
#{$opposite-direction}: emCalc(17);
|
127
|
+
bottom: emCalc(16);
|
128
128
|
}
|
129
129
|
.joyride-timer-indicator {
|
130
130
|
display: block;
|
@@ -214,4 +214,4 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
214
214
|
}
|
215
215
|
}
|
216
216
|
|
217
|
-
}
|
217
|
+
}
|
@@ -5,13 +5,13 @@ $include-html-type-classes: $include-html-classes !default;
|
|
5
5
|
|
6
6
|
// We use these to control text styles.
|
7
7
|
$keystroke-font: "Consolas", "Menlo", "Courier", monospace !default;
|
8
|
-
$keystroke-font-size: emCalc(
|
8
|
+
$keystroke-font-size: emCalc(14) !default;
|
9
9
|
$keystroke-font-color: #222 !default;
|
10
10
|
$keystroke-font-color-alt: #fff !default;
|
11
11
|
$keystroke-function-factor: 7% !default;
|
12
12
|
|
13
13
|
// We use this to control keystroke padding.
|
14
|
-
$keystroke-padding: emCalc(
|
14
|
+
$keystroke-padding: emCalc(2, 4, 0) !default;
|
15
15
|
|
16
16
|
// We use these to control background and border styles.
|
17
17
|
$keystroke-bg: darken(#fff, $keystroke-function-factor) !default;
|
@@ -54,4 +54,4 @@ $keystroke-radius: $global-radius !default;
|
|
54
54
|
@include radius($keystroke-radius);
|
55
55
|
}
|
56
56
|
|
57
|
-
}
|
57
|
+
}
|
@@ -4,11 +4,11 @@
|
|
4
4
|
$include-html-label-classes: $include-html-classes !default;
|
5
5
|
|
6
6
|
// We use these to style the labels
|
7
|
-
$label-padding: emCalc(
|
7
|
+
$label-padding: emCalc(3, 10, 4) !default;
|
8
8
|
$label-radius: $global-radius !default;
|
9
9
|
|
10
10
|
// We use these to style the label text
|
11
|
-
$label-font-sizing: emCalc(
|
11
|
+
$label-font-sizing: emCalc(14) !default;
|
12
12
|
$label-font-weight: bold !default;
|
13
13
|
$label-font-color: #333 !default;
|
14
14
|
$label-font-color-alt: #fff !default;
|
@@ -82,4 +82,4 @@ $label-font-color-alt: #fff !default;
|
|
82
82
|
&.secondary { @include label-style($secondary-color); }
|
83
83
|
}
|
84
84
|
|
85
|
-
}
|
85
|
+
}
|
@@ -1,4 +1,6 @@
|
|
1
|
-
//
|
1
|
+
//
|
2
|
+
// Orbit Variables
|
3
|
+
//
|
2
4
|
$include-html-orbit-classes: $include-html-classes !default;
|
3
5
|
|
4
6
|
// We use these to control the caption styles
|
@@ -17,7 +19,7 @@ $orbit-timer-bg: rgba(0,0,0,0.6) !default;
|
|
17
19
|
|
18
20
|
// We use these to control the bullet nav styles
|
19
21
|
$orbit-bullet-nav-color: #999 !default;
|
20
|
-
$orbit-bullet-nav-color-active: #
|
22
|
+
$orbit-bullet-nav-color-active: #555 !default;
|
21
23
|
|
22
24
|
// We use thes to controls the style of slide numbers
|
23
25
|
$orbit-slide-number-bg: rgba(0,0,0,0) !default;
|
@@ -122,12 +124,17 @@ $preloader-class: "preloader" !default;
|
|
122
124
|
padding: 0;
|
123
125
|
position: relative;
|
124
126
|
|
125
|
-
img { display: block; }
|
127
|
+
img { display: block; max-width: 100%; }
|
126
128
|
|
127
129
|
&>* {
|
128
|
-
position:
|
129
|
-
|
130
|
-
|
130
|
+
position: absolute;
|
131
|
+
top: 0;
|
132
|
+
width: 100%;
|
133
|
+
margin-left: 100%;
|
134
|
+
|
135
|
+
&:first-child {
|
136
|
+
margin-left: 0%;
|
137
|
+
}
|
131
138
|
|
132
139
|
.orbit-caption {
|
133
140
|
position: absolute;
|
@@ -150,6 +157,7 @@ $preloader-class: "preloader" !default;
|
|
150
157
|
span { font-weight: 700; padding: $orbit-slide-number-padding;}
|
151
158
|
color: $orbit-slide-number-font-color;
|
152
159
|
background: $orbit-slide-number-bg;
|
160
|
+
z-index: 10;
|
153
161
|
}
|
154
162
|
|
155
163
|
.orbit-timer {
|
@@ -158,6 +166,7 @@ $preloader-class: "preloader" !default;
|
|
158
166
|
#{$opposite-direction}: 10px;
|
159
167
|
height: 6px;
|
160
168
|
width: 100px;
|
169
|
+
z-index: 10;
|
161
170
|
.orbit-progress {
|
162
171
|
height: 100%;
|
163
172
|
background-color: $orbit-timer-bg-old;
|
@@ -206,6 +215,7 @@ $preloader-class: "preloader" !default;
|
|
206
215
|
line-height: 50px;
|
207
216
|
color: white;
|
208
217
|
text-indent: -9999px !important;
|
218
|
+
z-index: 10;
|
209
219
|
|
210
220
|
& > span {
|
211
221
|
position: absolute;
|
@@ -249,12 +259,12 @@ $preloader-class: "preloader" !default;
|
|
249
259
|
|
250
260
|
li {
|
251
261
|
display: block;
|
252
|
-
width:
|
253
|
-
height:
|
262
|
+
width: 10px;
|
263
|
+
height: 10px;
|
254
264
|
background: $orbit-bullet-nav-color;
|
255
265
|
float: $default-float;
|
256
266
|
margin-#{$opposite-direction}: 6px;
|
257
|
-
border: solid
|
267
|
+
border: solid 1px $orbit-bullet-nav-color-active;
|
258
268
|
@include radius(1000px);
|
259
269
|
|
260
270
|
&.active {
|
@@ -288,4 +298,19 @@ $preloader-class: "preloader" !default;
|
|
288
298
|
|
289
299
|
}
|
290
300
|
|
301
|
+
}
|
302
|
+
|
303
|
+
|
304
|
+
@media only screen and (max-width: #{$small-screen}) {
|
305
|
+
.orbit-stack-on-small {
|
306
|
+
.orbit-slides-container {height: auto !important;}
|
307
|
+
.orbit-slides-container > * {
|
308
|
+
position: relative;
|
309
|
+
margin-left: 0% !important;
|
310
|
+
}
|
311
|
+
.orbit-timer,
|
312
|
+
.orbit-next,
|
313
|
+
.orbit-prev,
|
314
|
+
.orbit-bullets {display: none;}
|
315
|
+
}
|
291
316
|
}
|