brevis 0.1.1 → 0.1.2
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.
- checksums.yaml +4 -4
- data/lib/brevis.rb +2 -2
- data/stylesheets/_brevis.scss +35 -0
- data/stylesheets/brevis_components/chrome/header/_branding.scss +34 -0
- data/stylesheets/brevis_components/chrome/header/_mobile_toggle.scss +27 -0
- data/stylesheets/brevis_components/chrome/header/_primary_menu.scss +79 -0
- data/stylesheets/brevis_components/chrome/header/_search.scss +56 -0
- data/stylesheets/brevis_components/chrome/header/_social.scss +44 -0
- data/stylesheets/brevis_components/content_lists/_content_stream.scss +417 -0
- data/stylesheets/brevis_components/content_lists/_featured.scss +105 -0
- data/stylesheets/brevis_components/content_lists/_headlines.scss +7 -0
- data/stylesheets/brevis_components/content_lists/_topic_lists.scss +19 -0
- data/stylesheets/brevis_components/content_modules/_carousel.scss +23 -0
- data/stylesheets/brevis_components/content_modules/_chosen.scss +332 -0
- data/stylesheets/brevis_components/content_modules/_colorbox.scss +198 -0
- data/stylesheets/brevis_components/content_modules/_flexslider.scss +103 -0
- data/stylesheets/brevis_components/content_modules/_sticky_menu.scss +50 -0
- data/stylesheets/brevis_utilities/_admin.scss +13 -0
- data/stylesheets/brevis_utilities/_animations.scss +39 -0
- data/stylesheets/brevis_utilities/_breakpoints.scss +60 -0
- data/stylesheets/brevis_utilities/_colors.scss +24 -0
- data/stylesheets/brevis_utilities/_eq.scss +364 -0
- data/stylesheets/brevis_utilities/_forms.scss +34 -0
- data/stylesheets/brevis_utilities/_header.scss +19 -0
- data/stylesheets/brevis_utilities/_images.scss +147 -0
- data/stylesheets/brevis_utilities/_layout.scss +190 -0
- data/stylesheets/brevis_utilities/_mediablock.scss +99 -0
- data/stylesheets/brevis_utilities/_page.scss +59 -0
- data/stylesheets/brevis_utilities/_tooltip.scss +49 -0
- data/stylesheets/brevis_utilities/_typography.scss +149 -0
- metadata +30 -30
- data/stylesheets/_brevis.sass +0 -35
- data/stylesheets/brevis_components/chrome/header/_branding.sass +0 -32
- data/stylesheets/brevis_components/chrome/header/_mobile_toggle.sass +0 -24
- data/stylesheets/brevis_components/chrome/header/_primary_menu.sass +0 -66
- data/stylesheets/brevis_components/chrome/header/_search.sass +0 -46
- data/stylesheets/brevis_components/chrome/header/_social.sass +0 -30
- data/stylesheets/brevis_components/content_lists/_content_carousel.sass +0 -0
- data/stylesheets/brevis_components/content_lists/_content_stream.sass +0 -319
- data/stylesheets/brevis_components/content_lists/_featured.sass +0 -80
- data/stylesheets/brevis_components/content_lists/_headlines.sass +0 -5
- data/stylesheets/brevis_components/content_lists/_topic_lists.sass +0 -15
- data/stylesheets/brevis_components/content_modules/_carousel.sass +0 -19
- data/stylesheets/brevis_components/content_modules/_chosen.sass +0 -294
- data/stylesheets/brevis_components/content_modules/_colorbox.sass +0 -208
- data/stylesheets/brevis_components/content_modules/_flexslider.sass +0 -92
- data/stylesheets/brevis_components/content_modules/_sticky_menu.sass +0 -40
- data/stylesheets/brevis_utilities/_admin.sass +0 -9
- data/stylesheets/brevis_utilities/_animations.sass +0 -38
- data/stylesheets/brevis_utilities/_breakpoints.sass +0 -59
- data/stylesheets/brevis_utilities/_colors.sass +0 -23
- data/stylesheets/brevis_utilities/_eq.sass +0 -260
- data/stylesheets/brevis_utilities/_forms.sass +0 -27
- data/stylesheets/brevis_utilities/_header.sass +0 -19
- data/stylesheets/brevis_utilities/_images.sass +0 -120
- data/stylesheets/brevis_utilities/_layout.sass +0 -119
- data/stylesheets/brevis_utilities/_page.sass +0 -48
- data/stylesheets/brevis_utilities/_tooltip.sass +0 -48
- data/stylesheets/brevis_utilities/_typography.sass +0 -121
@@ -0,0 +1,105 @@
|
|
1
|
+
// MOBILE FIRST FEATURED LAYOUTS: http://note.io/1xyZPLu
|
2
|
+
|
3
|
+
%featured-4 {
|
4
|
+
.node-featured {
|
5
|
+
float: left;
|
6
|
+
width: 100%;
|
7
|
+
}
|
8
|
+
@include breakpoint($phone-l-tab-p) {
|
9
|
+
.node-featured {
|
10
|
+
float: left;
|
11
|
+
width: 49%;
|
12
|
+
.pane-node-field-image {
|
13
|
+
@include img-left;
|
14
|
+
max-width: 50%;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
.views-row-2,
|
18
|
+
.views-row-4 {
|
19
|
+
.node-featured {
|
20
|
+
margin-left: 1%;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
.views-row-3 {
|
24
|
+
.node-featured {
|
25
|
+
clear: left;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
@include breakpoint($tablet-portrait) {
|
31
|
+
.node-featured {
|
32
|
+
float: left;
|
33
|
+
width: 24%;
|
34
|
+
}
|
35
|
+
.views-row-2,
|
36
|
+
.views-row-3,
|
37
|
+
.views-row-4 {
|
38
|
+
.node-featured {
|
39
|
+
clear: none;
|
40
|
+
margin-left: 1%;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
%featured-3 {
|
47
|
+
.node-featured {
|
48
|
+
float: left;
|
49
|
+
width: 100%;
|
50
|
+
}
|
51
|
+
@include breakpoint($phone-l-tab-p) {
|
52
|
+
.node-featured {
|
53
|
+
width: 32%;
|
54
|
+
.pane-node-field-image {
|
55
|
+
@include img-left;
|
56
|
+
max-width: 50%;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
.views-row-2,
|
60
|
+
.views-row-3 {
|
61
|
+
.node-featured {
|
62
|
+
margin-left: 1%;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
%featured-1-3 {
|
69
|
+
.node-featured .pane-node-field-image {
|
70
|
+
max-width: 100%;
|
71
|
+
width: 100%;
|
72
|
+
@include img-no-float;
|
73
|
+
}
|
74
|
+
.field--name-field-image {
|
75
|
+
text-align: center;
|
76
|
+
}
|
77
|
+
.views-row-1 {
|
78
|
+
.node-featured {
|
79
|
+
width: 100%;
|
80
|
+
margin-bottom: 0.5em;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
.views-row-2,
|
84
|
+
.views-row-3,
|
85
|
+
.views-row-4 {
|
86
|
+
.node-featured {
|
87
|
+
width: 32%;
|
88
|
+
float: left;
|
89
|
+
}
|
90
|
+
.pane-node-title,
|
91
|
+
.pane-node-created {
|
92
|
+
display: none;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
.views-row-2 .node-featured {
|
96
|
+
margin-left: 0;
|
97
|
+
}
|
98
|
+
.views-row-3 .node-featured {
|
99
|
+
margin-left: 2%;
|
100
|
+
clear: none;
|
101
|
+
}
|
102
|
+
.views-row-4 .node-featured {
|
103
|
+
margin-left: 2%;
|
104
|
+
}
|
105
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
// TOPIC LISTS http://note.io/TFMja0
|
2
|
+
|
3
|
+
%topic-list-row {
|
4
|
+
border-bottom: 1px solid #cccccc;
|
5
|
+
padding-bottom: 1em;
|
6
|
+
margin-bottom: 1em;
|
7
|
+
}
|
8
|
+
|
9
|
+
%topic-list-image {
|
10
|
+
@include img-left;
|
11
|
+
}
|
12
|
+
|
13
|
+
%topic-list-title {
|
14
|
+
@extend %list-title;
|
15
|
+
}
|
16
|
+
|
17
|
+
%topic-list-byline {
|
18
|
+
@extend %small-text;
|
19
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
%carousel-layout {
|
2
|
+
@extend %flex-control-nav;
|
3
|
+
.flexslider {
|
4
|
+
* {
|
5
|
+
@include box-sizing(content-box);
|
6
|
+
}
|
7
|
+
}
|
8
|
+
.flex-viewport {
|
9
|
+
width: 100%;
|
10
|
+
}
|
11
|
+
ul.slides {
|
12
|
+
li {
|
13
|
+
padding: 8px 8px 4px 8px;
|
14
|
+
display: block;
|
15
|
+
margin-left: -1px;
|
16
|
+
img {
|
17
|
+
width: 66px;
|
18
|
+
float: left;
|
19
|
+
margin: 0 5px 4px 0;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,332 @@
|
|
1
|
+
@mixin chosen-container {
|
2
|
+
position: relative;
|
3
|
+
display: inline-block;
|
4
|
+
vertical-align: middle;
|
5
|
+
font-size: 13px;
|
6
|
+
zoom: 1;
|
7
|
+
*display: inline;
|
8
|
+
-webkit-user-select: none;
|
9
|
+
-moz-user-select: none;
|
10
|
+
user-select: none;
|
11
|
+
.chosen-drop {
|
12
|
+
position: absolute;
|
13
|
+
top: 100%;
|
14
|
+
left: -9999px;
|
15
|
+
z-index: 1010;
|
16
|
+
width: 100%;
|
17
|
+
border-top: 0;
|
18
|
+
}
|
19
|
+
&.chosen-with-drop .chosen-drop {
|
20
|
+
left: 0;
|
21
|
+
}
|
22
|
+
a {
|
23
|
+
cursor: pointer;
|
24
|
+
}
|
25
|
+
@include breakpoint($hidpi) {
|
26
|
+
.chosen-rtl .chosen-search input[type="text"],
|
27
|
+
.chosen-container-single .chosen-single abbr,
|
28
|
+
.chosen-container-single .chosen-single div b,
|
29
|
+
.chosen-container-single .chosen-search input[type="text"],
|
30
|
+
.chosen-container-multi .chosen-choices .search-choice .search-choice-close,
|
31
|
+
.chosen-container .chosen-results-scroll-down span,
|
32
|
+
.chosen-container .chosen-results-scroll-up span {
|
33
|
+
background-image: url("chosen-sprite@2x.png") !important;
|
34
|
+
background-size: 52px 37px !important;
|
35
|
+
background-repeat: no-repeat !important;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
@mixin chosen-single-chosen {
|
41
|
+
.chosen-single {
|
42
|
+
position: relative;
|
43
|
+
display: block;
|
44
|
+
overflow: hidden;
|
45
|
+
padding: 8px 25px 0 8px;
|
46
|
+
height: $form-element-height;
|
47
|
+
//border-radius: 5px
|
48
|
+
background: no-repeat 95% 50%;
|
49
|
+
@include svg-bg-simple("arrow-down");
|
50
|
+
background-clip: padding-box;
|
51
|
+
text-decoration: none;
|
52
|
+
white-space: nowrap;
|
53
|
+
font-size: 14px;
|
54
|
+
line-height: 24px;
|
55
|
+
span {
|
56
|
+
display: block;
|
57
|
+
overflow: hidden;
|
58
|
+
margin-right: 26px;
|
59
|
+
text-overflow: ellipsis;
|
60
|
+
white-space: nowrap;
|
61
|
+
}
|
62
|
+
abbr {
|
63
|
+
position: absolute;
|
64
|
+
top: 6px;
|
65
|
+
right: 26px;
|
66
|
+
display: block;
|
67
|
+
width: 12px;
|
68
|
+
height: 12px;
|
69
|
+
background: url("chosen-sprite.png") -42px 1px no-repeat;
|
70
|
+
font-size: 1px;
|
71
|
+
}
|
72
|
+
abbr:hover {
|
73
|
+
background-position: -42px -10px;
|
74
|
+
}
|
75
|
+
div {
|
76
|
+
position: absolute;
|
77
|
+
top: 0;
|
78
|
+
right: 0;
|
79
|
+
display: block;
|
80
|
+
width: 18px;
|
81
|
+
height: 100%;
|
82
|
+
}
|
83
|
+
div b {
|
84
|
+
display: block;
|
85
|
+
width: 100%;
|
86
|
+
height: 100%;
|
87
|
+
background: url("chosen-sprite.png") no-repeat 0px 2px;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
&.chosen-disabled .chosen-single abbr:hover {
|
91
|
+
background-position: -42px -10px;
|
92
|
+
}
|
93
|
+
.chosen-single-with-deselect span {
|
94
|
+
margin-right: 38px;
|
95
|
+
}
|
96
|
+
.chosen-search {
|
97
|
+
position: relative;
|
98
|
+
z-index: 1010;
|
99
|
+
margin: 0;
|
100
|
+
padding: 3px 4px;
|
101
|
+
white-space: nowrap;
|
102
|
+
input[type="text"] {
|
103
|
+
margin: 1px 0;
|
104
|
+
padding: 4px 20px 4px 5px;
|
105
|
+
width: 100%;
|
106
|
+
height: auto;
|
107
|
+
outline: 0;
|
108
|
+
background: white url("chosen-sprite.png") no-repeat 100% -20px;
|
109
|
+
background: url("chosen-sprite.png") no-repeat 100% -20px;
|
110
|
+
font-size: 1em;
|
111
|
+
font-family: sans-serif;
|
112
|
+
line-height: normal;
|
113
|
+
border-radius: 0;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
.chosen-drop {
|
117
|
+
margin-top: -1px;
|
118
|
+
border-radius: 0 0 4px 4px;
|
119
|
+
background-clip: padding-box;
|
120
|
+
}
|
121
|
+
&.chosen-container-single-nosearch .chosen-search {
|
122
|
+
position: absolute;
|
123
|
+
left: -9999px;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
@mixin chosen-results {
|
128
|
+
position: relative;
|
129
|
+
overflow-x: hidden;
|
130
|
+
overflow-y: auto;
|
131
|
+
margin: 0 4px 4px 0;
|
132
|
+
padding: 0 0 0 4px;
|
133
|
+
max-height: 240px;
|
134
|
+
-webkit-overflow-scrolling: touch;
|
135
|
+
li {
|
136
|
+
display: none;
|
137
|
+
margin: 0;
|
138
|
+
padding: 5px 6px;
|
139
|
+
list-style: none;
|
140
|
+
line-height: 15px;
|
141
|
+
-webkit-touch-callout: none;
|
142
|
+
&.active-result {
|
143
|
+
display: list-item;
|
144
|
+
cursor: pointer;
|
145
|
+
}
|
146
|
+
&.disabled-result {
|
147
|
+
display: list-item;
|
148
|
+
cursor: default;
|
149
|
+
}
|
150
|
+
&.no-results {
|
151
|
+
display: list-item;
|
152
|
+
}
|
153
|
+
&.group-result {
|
154
|
+
display: list-item;
|
155
|
+
font-weight: bold;
|
156
|
+
cursor: default;
|
157
|
+
}
|
158
|
+
&.group-option {
|
159
|
+
padding-left: 15px;
|
160
|
+
}
|
161
|
+
em {
|
162
|
+
font-style: normal;
|
163
|
+
text-decoration: underline;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
@mixin chosen-multi-chosen {
|
169
|
+
.chosen-choices {
|
170
|
+
position: relative;
|
171
|
+
overflow: hidden;
|
172
|
+
margin: 0;
|
173
|
+
padding: 0;
|
174
|
+
width: 100%;
|
175
|
+
height: auto !important;
|
176
|
+
height: 1%;
|
177
|
+
border: 1px solid #aaaaaa;
|
178
|
+
cursor: text;
|
179
|
+
li {
|
180
|
+
float: left;
|
181
|
+
list-style: none;
|
182
|
+
}
|
183
|
+
li.search-field {
|
184
|
+
margin: 0;
|
185
|
+
padding: 0;
|
186
|
+
white-space: nowrap;
|
187
|
+
}
|
188
|
+
li.search-field input[type="text"] {
|
189
|
+
margin: 1px 0;
|
190
|
+
padding: 5px;
|
191
|
+
height: 15px;
|
192
|
+
outline: 0;
|
193
|
+
font-size: 100%;
|
194
|
+
font-family: sans-serif;
|
195
|
+
line-height: normal;
|
196
|
+
border-radius: 0;
|
197
|
+
}
|
198
|
+
li.search-choice {
|
199
|
+
position: relative;
|
200
|
+
margin: 3px 0 3px 5px;
|
201
|
+
padding: 3px 20px 3px 5px;
|
202
|
+
background-clip: padding-box;
|
203
|
+
line-height: 13px;
|
204
|
+
cursor: default;
|
205
|
+
}
|
206
|
+
li.search-choice .search-choice-close {
|
207
|
+
position: absolute;
|
208
|
+
top: 4px;
|
209
|
+
right: 3px;
|
210
|
+
display: block;
|
211
|
+
width: 12px;
|
212
|
+
height: 12px;
|
213
|
+
background: url("chosen-sprite.png") -42px 1px no-repeat;
|
214
|
+
font-size: 1px;
|
215
|
+
}
|
216
|
+
li.search-choice .search-choice-close:hover {
|
217
|
+
background-position: -42px -10px;
|
218
|
+
}
|
219
|
+
li.search-choice-focus .search-choice-close {
|
220
|
+
background-position: -42px -10px;
|
221
|
+
}
|
222
|
+
}
|
223
|
+
.chosen-results {
|
224
|
+
margin: 0;
|
225
|
+
padding: 0;
|
226
|
+
}
|
227
|
+
.chosen-drop .result-selected {
|
228
|
+
display: list-item;
|
229
|
+
cursor: default;
|
230
|
+
}
|
231
|
+
}
|
232
|
+
|
233
|
+
@mixin chosen-active {
|
234
|
+
&.chosen-with-drop {
|
235
|
+
.chosen-single {
|
236
|
+
border: 1px solid #aaaaaa;
|
237
|
+
-moz-border-radius-bottomright: 0;
|
238
|
+
border-bottom-right-radius: 0;
|
239
|
+
-moz-border-radius-bottomleft: 0;
|
240
|
+
border-bottom-left-radius: 0;
|
241
|
+
div {
|
242
|
+
border-left: none;
|
243
|
+
background: transparent;
|
244
|
+
}
|
245
|
+
div b {
|
246
|
+
background-position: -18px 2px;
|
247
|
+
}
|
248
|
+
}
|
249
|
+
}
|
250
|
+
}
|
251
|
+
|
252
|
+
@mixin chosen-disabled-support {
|
253
|
+
.chosen-disabled {
|
254
|
+
opacity: 0.5 !important;
|
255
|
+
cursor: default;
|
256
|
+
}
|
257
|
+
.chosen-disabled .chosen-single {
|
258
|
+
cursor: default;
|
259
|
+
}
|
260
|
+
.chosen-disabled .chosen-choices .search-choice .search-choice-close {
|
261
|
+
cursor: default;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
|
265
|
+
@mixin chosen-rtl {
|
266
|
+
.chosen-rtl {
|
267
|
+
text-align: right;
|
268
|
+
.chosen-single {
|
269
|
+
overflow: visible;
|
270
|
+
padding: 0 8px 0 0;
|
271
|
+
span {
|
272
|
+
margin-right: 0;
|
273
|
+
margin-left: 26px;
|
274
|
+
direction: rtl;
|
275
|
+
}
|
276
|
+
div {
|
277
|
+
right: auto;
|
278
|
+
left: 3px;
|
279
|
+
}
|
280
|
+
abbr {
|
281
|
+
right: auto;
|
282
|
+
left: 26px;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
.chosen-single-with-deselect span {
|
286
|
+
margin-left: 38px;
|
287
|
+
}
|
288
|
+
.chosen-choices {
|
289
|
+
li {
|
290
|
+
float: right;
|
291
|
+
}
|
292
|
+
li.search-field input[type="text"] {
|
293
|
+
direction: rtl;
|
294
|
+
}
|
295
|
+
li.search-choice {
|
296
|
+
margin: 3px 5px 3px 0;
|
297
|
+
padding: 3px 5px 3px 19px;
|
298
|
+
}
|
299
|
+
li.search-choice .search-choice-close {
|
300
|
+
right: auto;
|
301
|
+
left: 4px;
|
302
|
+
}
|
303
|
+
}
|
304
|
+
&.chosen-container-single-nosearch .chosen-search,
|
305
|
+
.chosen-drop {
|
306
|
+
left: 9999px;
|
307
|
+
}
|
308
|
+
&.chosen-container-single .chosen-results {
|
309
|
+
margin: 0 0 4px 4px;
|
310
|
+
padding: 0 4px 0 0;
|
311
|
+
}
|
312
|
+
.chosen-results li.group-option {
|
313
|
+
padding-right: 15px;
|
314
|
+
padding-left: 0;
|
315
|
+
}
|
316
|
+
&.chosen-container-active.chosen-with-drop .chosen-single div {
|
317
|
+
border-right: none;
|
318
|
+
}
|
319
|
+
.chosen-search input[type="text"] {
|
320
|
+
padding: 4px 5px 4px 20px;
|
321
|
+
background: white url("chosen-sprite.png") no-repeat -30px -20px;
|
322
|
+
background: url("chosen-sprite.png") no-repeat -30px -20px;
|
323
|
+
direction: rtl;
|
324
|
+
}
|
325
|
+
&.chosen-container-single .chosen-single div b {
|
326
|
+
background-position: 6px 2px;
|
327
|
+
}
|
328
|
+
&.chosen-container-single.chosen-with-drop .chosen-single div b {
|
329
|
+
background-position: -12px 2px;
|
330
|
+
}
|
331
|
+
}
|
332
|
+
}
|
@@ -0,0 +1,198 @@
|
|
1
|
+
// Colorbox Core Styles:
|
2
|
+
|
3
|
+
@mixin color-box-core {
|
4
|
+
#colorbox, #cboxOverlay, #cboxWrapper {
|
5
|
+
position: absolute;
|
6
|
+
top: 0;
|
7
|
+
left: 0;
|
8
|
+
z-index: 9999;
|
9
|
+
overflow: hidden;
|
10
|
+
}
|
11
|
+
#cboxOverlay {
|
12
|
+
position: fixed;
|
13
|
+
width: 100%;
|
14
|
+
height: 100%;
|
15
|
+
@include opacity(0.9);
|
16
|
+
}
|
17
|
+
#cboxMiddleLeft, #cboxBottomLeft {
|
18
|
+
clear: left;
|
19
|
+
}
|
20
|
+
#cboxContent {
|
21
|
+
position: relative;
|
22
|
+
}
|
23
|
+
#cboxLoadedContent {
|
24
|
+
overflow: auto;
|
25
|
+
-webkit-overflow-scrolling: touch;
|
26
|
+
}
|
27
|
+
#cboxTitle {
|
28
|
+
margin: 0;
|
29
|
+
}
|
30
|
+
#cboxLoadingOverlay, #cboxLoadingGraphic {
|
31
|
+
position: absolute;
|
32
|
+
top: 0;
|
33
|
+
left: 0;
|
34
|
+
width: 100%;
|
35
|
+
height: 100%;
|
36
|
+
}
|
37
|
+
// These elements are buttons, and may need to have additional
|
38
|
+
// styles reset to avoid unwanted base styles.
|
39
|
+
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
|
40
|
+
border: 0;
|
41
|
+
padding: 0;
|
42
|
+
margin: 0;
|
43
|
+
overflow: visible;
|
44
|
+
width: auto;
|
45
|
+
background: none;
|
46
|
+
cursor: pointer;
|
47
|
+
}
|
48
|
+
// Avoid outlines on :active (mouseclick),
|
49
|
+
// but preserve outlines on :focus (tabbed navigating)
|
50
|
+
#cboxPrevious:active, #cboxNext:active, #cboxClose:active, #cboxSlideshow:active {
|
51
|
+
outline: 0;
|
52
|
+
}
|
53
|
+
.cboxPhoto {
|
54
|
+
float: left;
|
55
|
+
margin: auto;
|
56
|
+
border: 0;
|
57
|
+
display: block;
|
58
|
+
max-width: none;
|
59
|
+
}
|
60
|
+
.cboxIframe {
|
61
|
+
width: 100%;
|
62
|
+
height: 100%;
|
63
|
+
display: block;
|
64
|
+
border: 0;
|
65
|
+
}
|
66
|
+
// Reset box sizing to content-box if theme is using border-box.
|
67
|
+
#colorbox, #cboxContent, #cboxLoadedContent {
|
68
|
+
@include box-sizing(content-box);
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
//// Colorbox module default style:
|
73
|
+
//// The styles are ordered & tabbed in a way that represents
|
74
|
+
//// the nesting of the generated HTML.
|
75
|
+
@mixin colorbox-styles {
|
76
|
+
#cboxOverlay {
|
77
|
+
background: black;
|
78
|
+
}
|
79
|
+
#colorbox {
|
80
|
+
outline: 0;
|
81
|
+
#cboxWrapper {
|
82
|
+
#cboxTopLeft {
|
83
|
+
width: 15px;
|
84
|
+
height: 15px;
|
85
|
+
}
|
86
|
+
#cboxTopCenter {
|
87
|
+
height: 15px;
|
88
|
+
}
|
89
|
+
#cboxTopRight {
|
90
|
+
width: 15px;
|
91
|
+
height: 15px;
|
92
|
+
}
|
93
|
+
#cboxBottomLeft {
|
94
|
+
width: 15px;
|
95
|
+
height: 10px;
|
96
|
+
}
|
97
|
+
#cboxBottomCenter {
|
98
|
+
height: 10px;
|
99
|
+
}
|
100
|
+
#cboxBottomRight {
|
101
|
+
width: 15px;
|
102
|
+
height: 10px;
|
103
|
+
}
|
104
|
+
#cboxMiddleLeft {
|
105
|
+
width: 15px;
|
106
|
+
}
|
107
|
+
#cboxMiddleRight {
|
108
|
+
width: 15px;
|
109
|
+
}
|
110
|
+
#cboxContent {
|
111
|
+
overflow: hidden;
|
112
|
+
#cboxError {
|
113
|
+
padding: 50px;
|
114
|
+
border: 1px solid #cccccc;
|
115
|
+
}
|
116
|
+
#cboxLoadedContent {
|
117
|
+
margin-bottom: 28px;
|
118
|
+
}
|
119
|
+
#cboxTitle {
|
120
|
+
position: absolute;
|
121
|
+
@include text-style($size: 14px, $color: white, $lh: 16px);
|
122
|
+
bottom: 28px;
|
123
|
+
left: 0;
|
124
|
+
color: white;
|
125
|
+
width: 100%;
|
126
|
+
padding: 25px 10px 15px;
|
127
|
+
}
|
128
|
+
#cboxCurrent {
|
129
|
+
display: none;
|
130
|
+
}
|
131
|
+
.cboxSlideshow_on #cboxSlideshow {
|
132
|
+
position: absolute;
|
133
|
+
bottom: 0px;
|
134
|
+
right: 30px;
|
135
|
+
background: url("images/controls.png") no-repeat -75px -50px;
|
136
|
+
width: 25px;
|
137
|
+
height: 25px;
|
138
|
+
text-indent: -9999px;
|
139
|
+
}
|
140
|
+
.cboxSlideshow_on #cboxSlideshow:hover {
|
141
|
+
background-position: -101px -50px;
|
142
|
+
}
|
143
|
+
.cboxSlideshow_off #cboxSlideshow {
|
144
|
+
position: absolute;
|
145
|
+
bottom: 0px;
|
146
|
+
right: 30px;
|
147
|
+
background: url("images/controls.png") no-repeat -25px -50px;
|
148
|
+
width: 25px;
|
149
|
+
height: 25px;
|
150
|
+
text-indent: -9999px;
|
151
|
+
}
|
152
|
+
.cboxSlideshow_off #cboxSlideshow:hover {
|
153
|
+
background-position: -49px -50px;
|
154
|
+
}
|
155
|
+
#cboxPrevious {
|
156
|
+
position: absolute;
|
157
|
+
bottom: 0;
|
158
|
+
left: 0;
|
159
|
+
background: url("images/controls.png") no-repeat -75px 0px;
|
160
|
+
width: 25px;
|
161
|
+
height: 25px;
|
162
|
+
text-indent: -9999px;
|
163
|
+
}
|
164
|
+
#cboxPrevious:hover {
|
165
|
+
background-position: -75px -25px;
|
166
|
+
}
|
167
|
+
#cboxNext {
|
168
|
+
position: absolute;
|
169
|
+
bottom: 0;
|
170
|
+
left: 27px;
|
171
|
+
background: url("images/controls.png") no-repeat -50px 0px;
|
172
|
+
width: 25px;
|
173
|
+
height: 25px;
|
174
|
+
text-indent: -9999px;
|
175
|
+
}
|
176
|
+
#cboxNext:hover {
|
177
|
+
background-position: -50px -25px;
|
178
|
+
}
|
179
|
+
#cboxLoadingOverlay {}
|
180
|
+
#cboxLoadingGraphic {
|
181
|
+
background: url("images/loading_animation.gif") no-repeat center center;
|
182
|
+
}
|
183
|
+
#cboxClose {
|
184
|
+
position: absolute;
|
185
|
+
bottom: 0;
|
186
|
+
right: 0;
|
187
|
+
background: url("images/controls.png") no-repeat -25px 0px;
|
188
|
+
width: 25px;
|
189
|
+
height: 25px;
|
190
|
+
text-indent: -9999px;
|
191
|
+
}
|
192
|
+
#cboxClose:hover {
|
193
|
+
background-position: -25px -25px;
|
194
|
+
}
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
}
|