zurb-foundation 4.1.6 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CONTRIBUTING.md +5 -4
- data/Gemfile.lock +1 -1
- data/README.md +7 -0
- data/docs/CHANGELOG.md +27 -0
- data/docs/Gemfile +2 -0
- data/docs/Gemfile.lock +10 -0
- data/docs/_sidebar-components.html.erb +1 -0
- data/docs/_sidebar.html.erb +1 -0
- data/docs/components/alert-boxes.html.erb +8 -3
- data/docs/components/block-grid.html.erb +3 -3
- data/docs/components/breadcrumbs.html.erb +2 -2
- data/docs/components/button-groups.html.erb +2 -2
- data/docs/components/buttons.html.erb +3 -3
- data/docs/components/clearing.html.erb +7 -6
- data/docs/components/custom-forms.html.erb +1 -0
- data/docs/components/dropdown-buttons.html.erb +3 -3
- data/docs/components/dropdown.html.erb +20 -4
- data/docs/components/flex-video.html.erb +3 -3
- data/docs/components/forms.html.erb +5 -5
- data/docs/components/global.html.erb +235 -3
- data/docs/components/grid.html.erb +2 -2
- data/docs/components/inline-lists.html.erb +3 -3
- data/docs/components/interchange.html.erb +127 -0
- data/docs/components/keystrokes.html.erb +3 -3
- data/docs/components/kitchen-sink.html.erb +2 -2
- data/docs/components/labels.html.erb +3 -3
- data/docs/components/orbit.html.erb +120 -8
- data/docs/components/pagination.html.erb +5 -5
- data/docs/components/panels.html.erb +3 -3
- data/docs/components/pricing-tables.html.erb +3 -3
- data/docs/components/progress-bars.html.erb +3 -3
- data/docs/components/reveal.html.erb +126 -7
- data/docs/components/section.html.erb +43 -1
- data/docs/components/side-nav.html.erb +3 -3
- data/docs/components/split-buttons.html.erb +3 -3
- data/docs/components/sub-nav.html.erb +4 -4
- data/docs/components/switch.html.erb +3 -3
- data/docs/components/tables.html.erb +1 -1
- data/docs/components/thumbnails.html.erb +2 -2
- data/docs/components/tooltips.html.erb +34 -1
- data/docs/components/top-bar.html.erb +109 -30
- data/docs/components/type.html.erb +2 -1
- data/docs/components/visibility.html.erb +8 -8
- data/docs/css/normalize.scss +2 -2
- data/docs/css/qunit.css +1 -1
- data/docs/img/demos/demo1.jpg +0 -0
- data/docs/img/demos/demo2.jpg +0 -0
- data/docs/img/demos/demo3.jpg +0 -0
- data/docs/img/demos/demo4.jpg +0 -0
- data/docs/img/demos/demo5.jpg +0 -0
- data/docs/img/demos/interchange/default.jpg +0 -0
- data/docs/img/demos/interchange/large.jpg +0 -0
- data/docs/img/demos/interchange/med.jpg +0 -0
- data/docs/img/demos/interchange/small.jpg +0 -0
- data/docs/img/demos/interchange/smallest.jpg +0 -0
- data/docs/index.html.erb +14 -5
- data/docs/javascript.html.erb +2 -4
- data/docs/layout.html.erb +1 -1
- data/docs/rails.html.erb +4 -1
- data/docs/sass.html.erb +1274 -1023
- data/js/foundation/foundation.alerts.js +3 -1
- data/js/foundation/foundation.clearing.js +1 -1
- data/js/foundation/foundation.dropdown.js +25 -6
- data/js/foundation/foundation.forms.js +14 -12
- data/js/foundation/foundation.interchange.js +265 -0
- data/js/foundation/foundation.joyride.js +16 -3
- data/js/foundation/foundation.js +53 -7
- data/js/foundation/foundation.magellan.js +5 -3
- data/js/foundation/foundation.orbit.js +19 -2
- data/js/foundation/foundation.reveal.js +64 -11
- data/js/foundation/foundation.section.js +26 -17
- data/js/foundation/foundation.tooltips.js +16 -8
- data/js/foundation/foundation.topbar.js +98 -46
- data/js/foundation/index.js +1 -0
- data/lib/foundation/generators/install_generator.rb +2 -2
- data/lib/foundation/version.rb +1 -1
- data/scss/foundation/_variables.scss +134 -71
- data/scss/foundation/components/_alert-boxes.scss +20 -20
- data/scss/foundation/components/_block-grid.scss +7 -4
- data/scss/foundation/components/_breadcrumbs.scss +3 -3
- data/scss/foundation/components/_buttons.scss +5 -3
- data/scss/foundation/components/_clearing.scss +12 -6
- data/scss/foundation/components/_custom-forms.scss +17 -10
- data/scss/foundation/components/_dropdown.scss +6 -6
- data/scss/foundation/components/_forms.scss +5 -3
- data/scss/foundation/components/_global.scss +63 -30
- data/scss/foundation/components/_grid.scss +10 -9
- data/scss/foundation/components/_joyride.scss +22 -20
- data/scss/foundation/components/_keystrokes.scss +1 -1
- data/scss/foundation/components/_orbit.scss +108 -30
- data/scss/foundation/components/_reveal.scss +12 -8
- data/scss/foundation/components/_section.scss +38 -3
- data/scss/foundation/components/_switch.scss +18 -12
- data/scss/foundation/components/_thumbs.scss +10 -3
- data/scss/foundation/components/_tooltips.scss +11 -11
- data/scss/foundation/components/_top-bar.scss +102 -64
- data/scss/foundation/components/_type.scss +54 -47
- data/templates/project/manifest.rb +1 -0
- metadata +11 -4
@@ -138,7 +138,7 @@ $total-columns: 12 !default;
|
|
138
138
|
.small#{-$i} { @include grid-column($columns:$i,$collapse:null,$float:false); }
|
139
139
|
}
|
140
140
|
|
141
|
-
@for $i from
|
141
|
+
@for $i from 0 through $total-columns - 2 {
|
142
142
|
.small-offset-#{$i} { @include grid-column($offset:$i, $collapse:null,$float:false); }
|
143
143
|
}
|
144
144
|
|
@@ -156,7 +156,7 @@ $total-columns: 12 !default;
|
|
156
156
|
.large#{-$i} { @include grid-column($columns:$i,$collapse:null,$float:false); }
|
157
157
|
}
|
158
158
|
|
159
|
-
@for $i from
|
159
|
+
@for $i from 0 through $total-columns - 1 {
|
160
160
|
.row .large-offset-#{$i} { @include grid-column($offset:$i, $collapse:null,$float:false); }
|
161
161
|
}
|
162
162
|
|
@@ -165,21 +165,22 @@ $total-columns: 12 !default;
|
|
165
165
|
.pull#{-$i} { @include grid-column($pull:$i, $collapse:null, $float:false); }
|
166
166
|
}
|
167
167
|
|
168
|
-
@for $i from 1 through $total-columns - 1 {
|
169
|
-
.small-push#{-$i} { #{$default-float}: inherit; }
|
170
|
-
.small-pull#{-$i} { #{$opposite-direction}: inherit; }
|
171
|
-
}
|
172
|
-
|
173
168
|
.column.large-centered,
|
174
169
|
.columns.large-centered { @include grid-column($center:true, $collapse:null, $float:false); }
|
175
170
|
|
176
171
|
.column.large-uncentered,
|
177
|
-
.columns.large-uncentered
|
172
|
+
.columns.large-uncentered {
|
178
173
|
margin-#{$default-float}: 0;
|
179
174
|
margin-#{$opposite-direction}: 0;
|
180
|
-
float:
|
175
|
+
float: $default-float !important;
|
181
176
|
}
|
182
177
|
|
178
|
+
.column.large-uncentered.opposite,
|
179
|
+
.columns.large-uncentered.opposite {
|
180
|
+
float: $opposite-direction !important;
|
181
|
+
}
|
182
|
+
|
183
|
+
|
183
184
|
}
|
184
185
|
|
185
186
|
}
|
@@ -39,7 +39,7 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
39
39
|
|
40
40
|
/* Foundation Joyride */
|
41
41
|
.joyride-list { display: none; }
|
42
|
-
|
42
|
+
|
43
43
|
/* Default styles for the container */
|
44
44
|
.joyride-tip-guide {
|
45
45
|
display: none;
|
@@ -53,21 +53,21 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
53
53
|
font-weight: normal;
|
54
54
|
width: 95%;
|
55
55
|
}
|
56
|
-
|
56
|
+
|
57
57
|
.lt-ie9 .joyride-tip-guide {
|
58
58
|
max-width:800px;
|
59
59
|
#{$default-float}: 50%;
|
60
60
|
margin-#{$default-float}:-400px;
|
61
61
|
}
|
62
|
-
|
62
|
+
|
63
63
|
.joyride-content-wrapper {
|
64
64
|
width: 100%;
|
65
|
-
|
65
|
+
|
66
66
|
padding: $joyride-tip-padding;
|
67
|
-
|
67
|
+
|
68
68
|
.button { margin-bottom: 0 !important; }
|
69
69
|
}
|
70
|
-
|
70
|
+
|
71
71
|
/* Add a little css triangle pip, older browser just miss out on the fanciness of it */
|
72
72
|
.joyride-tip-guide {
|
73
73
|
.joyride-nub {
|
@@ -77,7 +77,7 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
77
77
|
width: 0;
|
78
78
|
height: 0;
|
79
79
|
border: inset $joyride-tip-nub-size;
|
80
|
-
|
80
|
+
|
81
81
|
&.top {
|
82
82
|
border-top-style: solid;
|
83
83
|
border-color: $joyride-tip-bg;
|
@@ -94,12 +94,12 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
94
94
|
border-#{$opposite-direction}-color: transparent !important;
|
95
95
|
bottom: -($joyride-tip-nub-size*2);
|
96
96
|
}
|
97
|
-
|
97
|
+
|
98
98
|
&.right { right: -($joyride-tip-nub-size*2); }
|
99
99
|
&.left { left: -($joyride-tip-nub-size*2); }
|
100
100
|
}
|
101
101
|
}
|
102
|
-
|
102
|
+
|
103
103
|
/* Typography */
|
104
104
|
.joyride-tip-guide h1,
|
105
105
|
.joyride-tip-guide h2,
|
@@ -117,7 +117,7 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
117
117
|
font-size: $joyride-tip-font-size;
|
118
118
|
line-height: 1.3;
|
119
119
|
}
|
120
|
-
|
120
|
+
|
121
121
|
.joyride-timer-indicator-wrap {
|
122
122
|
width: $joyride-tip-timer-width;
|
123
123
|
height: $joyride-tip-timer-height;
|
@@ -132,7 +132,7 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
132
132
|
height: inherit;
|
133
133
|
background: $joyride-tip-timer-color;
|
134
134
|
}
|
135
|
-
|
135
|
+
|
136
136
|
.joyride-close-tip {
|
137
137
|
position: absolute;
|
138
138
|
#{$opposite-direction}: 12px;
|
@@ -142,11 +142,11 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
142
142
|
font-size: $joyride-tip-close-size;
|
143
143
|
font-weight: $joyride-tip-close-weight;
|
144
144
|
line-height: .5 !important;
|
145
|
-
|
145
|
+
|
146
146
|
&:hover,
|
147
147
|
&:focus { color: #eee !important; }
|
148
148
|
}
|
149
|
-
|
149
|
+
|
150
150
|
.joyride-modal-bg {
|
151
151
|
position: fixed;
|
152
152
|
height: 100%;
|
@@ -157,19 +157,21 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
157
157
|
display: none;
|
158
158
|
top: 0;
|
159
159
|
#{$default-float}: 0;
|
160
|
-
cursor: pointer;
|
160
|
+
cursor: $cursor-pointer-value;
|
161
161
|
}
|
162
|
-
|
162
|
+
|
163
163
|
.joyride-expose-wrapper {
|
164
164
|
background-color: #ffffff;
|
165
165
|
position: absolute;
|
166
166
|
border-radius: 3px;
|
167
167
|
z-index: 102;
|
168
|
-
|
169
|
-
|
168
|
+
@if $experimental {
|
169
|
+
-moz-box-shadow: 0px 0px 30px #ffffff;
|
170
|
+
-webkit-box-shadow: 0px 0px 15px #ffffff;
|
171
|
+
}
|
170
172
|
box-shadow: 0px 0px 15px #ffffff;
|
171
173
|
}
|
172
|
-
|
174
|
+
|
173
175
|
.joyride-expose-cover {
|
174
176
|
background: transparent;
|
175
177
|
border-radius: 3px;
|
@@ -178,8 +180,8 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
|
|
178
180
|
top: 0px;
|
179
181
|
left: 0px;
|
180
182
|
}
|
181
|
-
|
182
|
-
|
183
|
+
|
184
|
+
|
183
185
|
/* Styles for screens that are atleast 768px; */
|
184
186
|
@media #{$small} {
|
185
187
|
.joyride-tip-guide { width: $joyride-tip-default-width; #{$default-float}: inherit;
|
@@ -5,7 +5,7 @@ $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(14px) !default;
|
9
9
|
$keystroke-font-color: #222 !default;
|
10
10
|
$keystroke-font-color-alt: #fff !default;
|
11
11
|
$keystroke-function-factor: 7% !default;
|
@@ -3,7 +3,6 @@ $include-html-orbit-classes: $include-html-classes !default;
|
|
3
3
|
|
4
4
|
// We use these to control the caption styles
|
5
5
|
$orbit-container-bg: #f5f5f5 !default;
|
6
|
-
$orbit-caption-bg-old-browser: #000 !default;
|
7
6
|
$orbit-caption-bg-old: rgb(0,0,0) !default;
|
8
7
|
$orbit-caption-bg: rgba(0,0,0,0.6) !default;
|
9
8
|
$orbit-caption-font-color: #fff !default;
|
@@ -25,45 +24,124 @@ $orbit-slide-number-bg: rgba(0,0,0,0) !default;
|
|
25
24
|
$orbit-slide-number-font-color: #fff !default;
|
26
25
|
$orbit-slide-number-padding: emCalc(5px) !default;
|
27
26
|
|
28
|
-
//
|
29
|
-
$
|
27
|
+
// Graceful Loading Wrapper and preloader
|
28
|
+
$wrapper-class: "slideshow-wrapper" !default;
|
29
|
+
$preloader-class: "preloader" !default;
|
30
|
+
|
30
31
|
|
31
32
|
@if $include-html-orbit-classes != false {
|
32
|
-
|
33
|
+
|
34
|
+
@if $experimental {
|
35
|
+
@-webkit-keyframes rotate {
|
36
|
+
from { -webkit-transform: rotate(0deg); }
|
37
|
+
to { -webkit-transform: rotate(360deg); }
|
38
|
+
}
|
39
|
+
@-moz-keyframes rotate {
|
40
|
+
from { -webkit-transform: rotate(0deg); }
|
41
|
+
to { -webkit-transform: rotate(360deg); }
|
42
|
+
}
|
43
|
+
@-o-keyframes rotate {
|
44
|
+
from { -webkit-transform: rotate(0deg); }
|
45
|
+
to { -webkit-transform: rotate(360deg); }
|
46
|
+
}
|
47
|
+
}
|
48
|
+
@keyframes rotate {
|
49
|
+
from { -webkit-transform: rotate(0deg); }
|
50
|
+
to { -webkit-transform: rotate(360deg); }
|
51
|
+
}
|
52
|
+
|
53
|
+
/* Orbit Graceful Loading */
|
54
|
+
.#{$wrapper-class} {
|
55
|
+
position: relative;
|
56
|
+
|
57
|
+
ul {
|
58
|
+
// Prevent bullets showing before .orbit-container is loaded
|
59
|
+
list-style-type: none;
|
60
|
+
margin: 0;
|
61
|
+
|
62
|
+
// Hide all list items
|
63
|
+
li,
|
64
|
+
li .orbit-caption { display: none; }
|
65
|
+
|
66
|
+
// ...except for the first one
|
67
|
+
li:first-child { display: block; }
|
68
|
+
}
|
69
|
+
|
70
|
+
.orbit-container { background-color: transparent;
|
71
|
+
|
72
|
+
// Show images when .orbit-container is loaded
|
73
|
+
li { display: block;
|
74
|
+
|
75
|
+
.orbit-caption { display: block; }
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
// Orbit preloader
|
81
|
+
.#{$preloader-class} {
|
82
|
+
display: block;
|
83
|
+
width: 40px;
|
84
|
+
height: 40px;
|
85
|
+
position: absolute;
|
86
|
+
top: 50%;
|
87
|
+
left: 50%;
|
88
|
+
margin-top: -20px;
|
89
|
+
margin-left: -20px;
|
90
|
+
border: solid 3px;
|
91
|
+
border-color: #555 #fff;
|
92
|
+
@include radius(1000px);
|
93
|
+
@if $experimental {
|
94
|
+
-webkit-animation-name: rotate;
|
95
|
+
-webkit-animation-duration: 1.5s;
|
96
|
+
-webkit-animation-iteration-count: infinite;
|
97
|
+
-webkit-animation-timing-function: linear;
|
98
|
+
-moz-animation-name: rotate;
|
99
|
+
-moz-animation-duration: 1.5s;
|
100
|
+
-moz-animation-iteration-count: infinite;
|
101
|
+
-moz-animation-timing-function: linear;
|
102
|
+
-o-animation-name: rotate;
|
103
|
+
-o-animation-duration: 1.5s;
|
104
|
+
-o-animation-iteration-count: infinite;
|
105
|
+
-o-animation-timing-function: linear;
|
106
|
+
}
|
107
|
+
animation-name: rotate;
|
108
|
+
animation-duration: 1.5s;
|
109
|
+
animation-iteration-count: infinite;
|
110
|
+
animation-timing-function: linear;
|
111
|
+
}
|
112
|
+
|
33
113
|
.orbit-container {
|
34
114
|
overflow: hidden;
|
35
115
|
width: 100%;
|
36
116
|
position: relative;
|
37
117
|
background: $orbit-container-bg;
|
38
|
-
|
118
|
+
|
39
119
|
.orbit-slides-container {
|
40
120
|
list-style: none;
|
41
121
|
margin: 0;
|
42
122
|
padding: 0;
|
43
123
|
position: relative;
|
44
|
-
|
124
|
+
|
45
125
|
img { display: block; }
|
46
|
-
|
126
|
+
|
47
127
|
&>* {
|
48
128
|
position: relative;
|
49
129
|
float: $default-float;
|
50
|
-
height:
|
51
|
-
|
130
|
+
height: auto;
|
131
|
+
|
52
132
|
.orbit-caption {
|
53
133
|
position: absolute;
|
54
134
|
bottom: 0;
|
55
135
|
background-color: $orbit-caption-bg-old;
|
56
136
|
background-color: $orbit-caption-bg;
|
57
|
-
color:
|
137
|
+
color: $orbit-caption-font-color;
|
58
138
|
width: 100%;
|
59
139
|
padding: 10px 14px;
|
60
140
|
font-size: emCalc(14px);
|
61
|
-
|
62
|
-
* { color: $orbit-caption-font-color; }
|
63
141
|
}
|
64
142
|
}
|
65
143
|
}
|
66
|
-
|
144
|
+
|
67
145
|
.orbit-slide-number {
|
68
146
|
position: absolute;
|
69
147
|
top: 10px;
|
@@ -73,7 +151,7 @@ $stack-on-small-margin-bottom: emCalc(20px) !default;
|
|
73
151
|
color: $orbit-slide-number-font-color;
|
74
152
|
background: $orbit-slide-number-bg;
|
75
153
|
}
|
76
|
-
|
154
|
+
|
77
155
|
.orbit-timer {
|
78
156
|
position: absolute;
|
79
157
|
top: 10px;
|
@@ -87,7 +165,7 @@ $stack-on-small-margin-bottom: emCalc(20px) !default;
|
|
87
165
|
display: block;
|
88
166
|
width: 0%;
|
89
167
|
}
|
90
|
-
|
168
|
+
|
91
169
|
& > span {
|
92
170
|
display: none;
|
93
171
|
position: absolute;
|
@@ -99,7 +177,7 @@ $stack-on-small-margin-bottom: emCalc(20px) !default;
|
|
99
177
|
border-top: none;
|
100
178
|
border-bottom: none;
|
101
179
|
}
|
102
|
-
|
180
|
+
|
103
181
|
&.paused {
|
104
182
|
& > span {
|
105
183
|
#{$opposite-direction}: -6px;
|
@@ -112,9 +190,9 @@ $stack-on-small-margin-bottom: emCalc(20px) !default;
|
|
112
190
|
}
|
113
191
|
}
|
114
192
|
}
|
115
|
-
|
193
|
+
|
116
194
|
&:hover .orbit-timer > span { display: block; }
|
117
|
-
|
195
|
+
|
118
196
|
// Let's get those controls to be right in the center on each side
|
119
197
|
.orbit-prev,
|
120
198
|
.orbit-next {
|
@@ -128,7 +206,7 @@ $stack-on-small-margin-bottom: emCalc(20px) !default;
|
|
128
206
|
line-height: 50px;
|
129
207
|
color: white;
|
130
208
|
text-indent: -9999px !important;
|
131
|
-
|
209
|
+
|
132
210
|
& > span {
|
133
211
|
position: absolute;
|
134
212
|
top: 50%;
|
@@ -162,13 +240,13 @@ $stack-on-small-margin-bottom: emCalc(20px) !default;
|
|
162
240
|
}
|
163
241
|
}
|
164
242
|
}
|
165
|
-
|
243
|
+
|
166
244
|
.orbit-bullets {
|
167
245
|
margin: 0 auto 30px auto;
|
168
246
|
overflow: hidden;
|
169
247
|
position: relative;
|
170
248
|
top: 10px;
|
171
|
-
|
249
|
+
|
172
250
|
li {
|
173
251
|
display: block;
|
174
252
|
width: 18px;
|
@@ -178,36 +256,36 @@ $stack-on-small-margin-bottom: emCalc(20px) !default;
|
|
178
256
|
margin-#{$opposite-direction}: 6px;
|
179
257
|
border: solid 2px $orbit-bullet-nav-color-active;
|
180
258
|
@include radius(1000px);
|
181
|
-
|
259
|
+
|
182
260
|
&.active {
|
183
261
|
background: $orbit-bullet-nav-color-active;
|
184
262
|
}
|
185
|
-
|
263
|
+
|
186
264
|
&:last-child { margin-#{$opposite-direction}: 0; }
|
187
265
|
}
|
188
266
|
}
|
189
|
-
|
267
|
+
|
190
268
|
.touch {
|
191
269
|
.orbit-container {
|
192
270
|
.orbit-prev,
|
193
271
|
.orbit-next { display: none; }
|
194
272
|
}
|
195
|
-
|
273
|
+
|
196
274
|
.orbit-bullets { display: none; }
|
197
275
|
}
|
198
|
-
|
199
|
-
|
276
|
+
|
277
|
+
|
200
278
|
@media #{$small} {
|
201
|
-
|
279
|
+
|
202
280
|
.touch {
|
203
281
|
.orbit-container {
|
204
282
|
.orbit-prev,
|
205
283
|
.orbit-next { display: inherit; }
|
206
284
|
}
|
207
|
-
|
285
|
+
|
208
286
|
.orbit-bullets { display: block; }
|
209
287
|
}
|
210
|
-
|
288
|
+
|
211
289
|
}
|
212
290
|
|
213
291
|
}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
// NEED TO FINISH THE LOGIC HERE
|
2
1
|
$include-html-reveal-classes: $include-html-classes !default;
|
3
2
|
|
4
3
|
//
|
@@ -28,6 +27,9 @@ $reveal-border-style: solid !default;
|
|
28
27
|
$reveal-border-width: 1px !default;
|
29
28
|
$reveal-border-color: #666 !default;
|
30
29
|
|
30
|
+
$reveal-modal-class: "reveal-modal" !default;
|
31
|
+
$close-reveal-modal-class: "close-reveal-modal" !default;
|
32
|
+
|
31
33
|
//
|
32
34
|
// Reveal Mixins
|
33
35
|
//
|
@@ -54,7 +56,6 @@ $reveal-border-color: #666 !default;
|
|
54
56
|
#{$default-float}: 50%;
|
55
57
|
z-index: 99;
|
56
58
|
height: auto;
|
57
|
-
background-color: #fff;
|
58
59
|
|
59
60
|
// Make sure rows don't have a min-width on them
|
60
61
|
.column,
|
@@ -81,7 +82,9 @@ $reveal-border-color: #666 !default;
|
|
81
82
|
|
82
83
|
// We can choose whether or not to include the default box-shadow.
|
83
84
|
@if $box-shadow {
|
84
|
-
|
85
|
+
@if $experimental {
|
86
|
+
-webkit-box-shadow: $reveal-box-shadow;
|
87
|
+
}
|
85
88
|
box-shadow: $reveal-box-shadow;
|
86
89
|
}
|
87
90
|
|
@@ -97,24 +100,25 @@ $reveal-border-color: #666 !default;
|
|
97
100
|
#{$opposite-direction}: $reveal-close-side;
|
98
101
|
color: $color;
|
99
102
|
font-weight: $reveal-close-weight;
|
100
|
-
cursor: pointer;
|
103
|
+
cursor: $cursor-pointer-value;
|
101
104
|
}
|
102
105
|
|
103
106
|
@if $include-html-reveal-classes != false {
|
107
|
+
|
104
108
|
// Reveal Modals
|
105
109
|
.reveal-modal-bg { @include reveal-bg; }
|
106
110
|
|
107
|
-
|
111
|
+
.#{$reveal-modal-class} {
|
108
112
|
@include reveal-modal-base;
|
109
113
|
@include reveal-modal-style;
|
110
114
|
|
111
|
-
|
115
|
+
.#{$close-reveal-modal-class} { @include reveal-close; }
|
112
116
|
}
|
113
117
|
|
114
118
|
// Large Screen Styles
|
115
119
|
@media #{$small} {
|
116
120
|
|
117
|
-
|
121
|
+
.#{$reveal-modal-class} {
|
118
122
|
@include reveal-modal-style(false, emCalc(30px), false, $box-shadow: false, $top-offset: emCalc(100px));
|
119
123
|
|
120
124
|
&.tiny { @include reveal-modal-base(false, 30%); }
|
@@ -127,6 +131,6 @@ $reveal-border-color: #666 !default;
|
|
127
131
|
|
128
132
|
// Reveal Print Styles
|
129
133
|
@media print {
|
130
|
-
|
134
|
+
.#{$reveal-modal-class} {background: #fff !important;}
|
131
135
|
}
|
132
136
|
}
|