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
@@ -1,40 +0,0 @@
|
|
1
|
-
%sticky-wrapper
|
2
|
-
z-index: map-get($zindex, header)
|
3
|
-
position: relative
|
4
|
-
clear: both
|
5
|
-
+breakpoint($mobile-device)
|
6
|
-
z-index: map-get($zindex, content) !important
|
7
|
-
.panel-region-sticky-menu
|
8
|
-
position: relative !important
|
9
|
-
top: inherit !important
|
10
|
-
|
11
|
-
%sticky-menu
|
12
|
-
float: left !important
|
13
|
-
clear: both !important
|
14
|
-
clear: both !important
|
15
|
-
height: 40px
|
16
|
-
z-index: map-get($zindex, header)
|
17
|
-
width: 100%
|
18
|
-
max-width: 1020px
|
19
|
-
margin: 0 0 0 -20px
|
20
|
-
+breakpoint($mobile-device)
|
21
|
-
margin: 20px 0 0 0
|
22
|
-
.menu .leaf
|
23
|
-
list-style: none
|
24
|
-
display: inline-block
|
25
|
-
.menu
|
26
|
-
padding-top: 9px
|
27
|
-
li
|
28
|
-
margin: 0 6px
|
29
|
-
a
|
30
|
-
padding: 0 5px 4px 7px
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
%sticky-menu-anchor
|
35
|
-
display: block
|
36
|
-
position: relative
|
37
|
-
top: -50px
|
38
|
-
visibility: hidden
|
39
|
-
+breakpoint($desktop)
|
40
|
-
top: -170px
|
@@ -1,9 +0,0 @@
|
|
1
|
-
@mixin mobile-admin-menu-positioning($admin-nav: 0)
|
2
|
-
position: fixed
|
3
|
-
top: (0 + $admin-nav)
|
4
|
-
.navbar-administration &
|
5
|
-
top: (40px + $admin-nav)
|
6
|
-
.navbar-tray-open.navbar-horizontal &
|
7
|
-
top: (80px + $admin-nav)
|
8
|
-
.responsive-preview-frame &
|
9
|
-
top: (0 + $admin-nav) !important
|
@@ -1,38 +0,0 @@
|
|
1
|
-
//**************************************
|
2
|
-
// Animations
|
3
|
-
|
4
|
-
@mixin transition
|
5
|
-
-webkit-transition: 1.0s
|
6
|
-
-moz-transition: 1.0s
|
7
|
-
-o-transition: 1.0s
|
8
|
-
transition: 1.0s
|
9
|
-
|
10
|
-
// check out https://github.com/at-import/animation-studio
|
11
|
-
// for more mixins
|
12
|
-
|
13
|
-
@mixin alerted()
|
14
|
-
&:before
|
15
|
-
content: ''
|
16
|
-
position: absolute
|
17
|
-
top: 6px
|
18
|
-
right: 6px
|
19
|
-
height: 8px
|
20
|
-
width: 8px
|
21
|
-
+border-radius(10px)
|
22
|
-
background-color: gold
|
23
|
-
|
24
|
-
&:after
|
25
|
-
content: ''
|
26
|
-
position: absolute
|
27
|
-
top: 0
|
28
|
-
right: 0
|
29
|
-
height: 20px
|
30
|
-
width: 20px
|
31
|
-
+border-radius(20px)
|
32
|
-
background-color: transparent
|
33
|
-
border: solid gold
|
34
|
-
border-width: 2px // animates
|
35
|
-
+box-sizing(border-box)
|
36
|
-
+animation($name: alertMe)
|
37
|
-
|
38
|
-
|
@@ -1,59 +0,0 @@
|
|
1
|
-
// BREAKPOINTS
|
2
|
-
$breakpoint-to-ems: true
|
3
|
-
|
4
|
-
$print-media: 'print'
|
5
|
-
$hidpi: min-resolution 143dppx
|
6
|
-
|
7
|
-
// For use with max-width only:
|
8
|
-
// +breakpoint(max-width: $tab-l)
|
9
|
-
$phone-p: 319px
|
10
|
-
$phone-l: 479px
|
11
|
-
$tab-p: 639px
|
12
|
-
$tab-l: 769px
|
13
|
-
$desk: 1020px
|
14
|
-
$desk-full: 1079px
|
15
|
-
|
16
|
-
// For use with min-width (default breakpoint mixin)
|
17
|
-
// +breakpoint($desktop)
|
18
|
-
$smartphone-portrait: 'screen' ($phone-p + 1px)
|
19
|
-
$smartphone-landscape: 'screen' ($phone-l + 1px)
|
20
|
-
$tablet-portrait: 'screen' ($tab-p + 1px)
|
21
|
-
$tablet-landscape: 'screen' ($tab-l + 1px)
|
22
|
-
$desktop: ($desk + 1px), 'no-query' '.lt-ie9'
|
23
|
-
|
24
|
-
$desktop-print: ($desk + 1px), $print-media, 'no-query' '.lt-ie9'
|
25
|
-
// use
|
26
|
-
// $breakpoint-no-queries: true
|
27
|
-
// $breakpoint-no-query-fallbacks: '.lt-ie9' !global
|
28
|
-
// at the top of a panel layout sass file to
|
29
|
-
// re-render everything with .lt-ie9 for desktop media queries.
|
30
|
-
|
31
|
-
|
32
|
-
//////////////////////////////
|
33
|
-
// COMBINATIONS
|
34
|
-
|
35
|
-
// Phones
|
36
|
-
$max-phone-p: 'screen' (max-width $phone-p)
|
37
|
-
$max-phone-l: 'screen' (max-width $phone-l)
|
38
|
-
$phone-p-phone-l: 'screen' ($phone-p + 1px) $phone-l
|
39
|
-
|
40
|
-
// Tablets
|
41
|
-
$max-tab-p: 'screen' (max-width $tab-p)
|
42
|
-
$max-tab-l: 'screen' (max-width $tab-l)
|
43
|
-
$phone-l-tab-p: 'screen' ($phone-p + 1px) $tab-p
|
44
|
-
$phone-l-tab-l: 'screen' ($phone-l + 1px) $tab-l
|
45
|
-
$tab-p-tab-l: 'screen' ($tab-p + 1px) $tab-l
|
46
|
-
$tab-p-desk: 'screen' ($tab-p + 1px) $desk
|
47
|
-
$tab-l-desk: 'screen' ($tab-l + 1px) $desk
|
48
|
-
|
49
|
-
// All Mobile
|
50
|
-
$mobile-device: 'screen' max-width $desk
|
51
|
-
|
52
|
-
// High Resolution Devices
|
53
|
-
$mobile-hi-res: 'screen' (max-width $desk) ($hidpi)
|
54
|
-
$desk-hi-res: 'screen' (min-width $desk) ($hidpi)
|
55
|
-
|
56
|
-
|
57
|
-
@mixin fallback
|
58
|
-
.lt-ie9 &
|
59
|
-
@content
|
@@ -1,23 +0,0 @@
|
|
1
|
-
//**************************************//
|
2
|
-
// Basic Colors
|
3
|
-
$text-primary: #333
|
4
|
-
$text-secondary: #666
|
5
|
-
$text-tertiary: #999
|
6
|
-
$text-quaternary: #ccc
|
7
|
-
|
8
|
-
$alert: #cc0000
|
9
|
-
$page-bg: white
|
10
|
-
|
11
|
-
|
12
|
-
//**************************************//
|
13
|
-
$contrasted-dark-default: $text-primary
|
14
|
-
$contrasted-light-default: white
|
15
|
-
|
16
|
-
@mixin color-contrasted($background-color, $dark: $contrasted-dark-default, $light: $contrasted-light-default, $threshold: $contrasted-lightness-threshold)
|
17
|
-
background-color: $background-color
|
18
|
-
color: contrast-color($background-color, $dark, $light, $threshold)
|
19
|
-
background: $bg
|
20
|
-
border: 1px solid $brdr
|
21
|
-
&:hover,
|
22
|
-
&:focus
|
23
|
-
background: $bg-hover
|
@@ -1,260 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
////////////////////////////////////////////////
|
4
|
-
// __________
|
5
|
-
// / ____/ __ \
|
6
|
-
// / __/ / / / /
|
7
|
-
// / /___/ /_/ /
|
8
|
-
// /_____/\___\_\
|
9
|
-
// Element Queries
|
10
|
-
// http://snugug.com/musings/element-queries
|
11
|
-
|
12
|
-
|
13
|
-
// *** See how to use the Element Query mixins! ***
|
14
|
-
// *** http://sassmeister.com/gist/8446194 ***
|
15
|
-
|
16
|
-
// for when the data-eq is on the same container
|
17
|
-
@mixin eq($state)
|
18
|
-
&[data-eq-state="#{$state}"]
|
19
|
-
@content
|
20
|
-
|
21
|
-
// for when the data-eq is on a nested container
|
22
|
-
@mixin eq-container($state)
|
23
|
-
[data-eq-state="#{$state}"]
|
24
|
-
@content
|
25
|
-
|
26
|
-
// for when the data-eq is on a parent container
|
27
|
-
@mixin eq-parent($state)
|
28
|
-
[data-eq-state="#{$state}"] &
|
29
|
-
@content
|
30
|
-
|
31
|
-
|
32
|
-
//data-eq-pts
|
33
|
-
//pane: 1
|
34
|
-
//pane-xs: 320 $phone-p: 319px
|
35
|
-
//pane-sm: 440 $phone-l: 479px
|
36
|
-
//pane-md: 600 $tab-p: 639px
|
37
|
-
//pane-lg: 720 $tab-l: 769px
|
38
|
-
//pane-xl: 840
|
39
|
-
//pane-xxl: 960 $desk: 960
|
40
|
-
|
41
|
-
// Mixins for the panel pane element queries
|
42
|
-
@mixin pane-eq-xs-up
|
43
|
-
&[data-eq-state="pane-xs"],
|
44
|
-
&[data-eq-state="pane-sm"],
|
45
|
-
&[data-eq-state="pane-md"],
|
46
|
-
&[data-eq-state="pane-lg"],
|
47
|
-
&[data-eq-state="pane-xl"]
|
48
|
-
@content
|
49
|
-
@mixin pane-eq-sm-up
|
50
|
-
&[data-eq-state="pane-sm"],
|
51
|
-
&[data-eq-state="pane-md"],
|
52
|
-
&[data-eq-state="pane-lg"],
|
53
|
-
&[data-eq-state="pane-xl"]
|
54
|
-
@content
|
55
|
-
@mixin pane-eq-md-up
|
56
|
-
&[data-eq-state="pane-md"],
|
57
|
-
&[data-eq-state="pane-lg"],
|
58
|
-
&[data-eq-state="pane-xl"]
|
59
|
-
@content
|
60
|
-
@mixin pane-eq-lg-up
|
61
|
-
&[data-eq-state="pane-lg"],
|
62
|
-
&[data-eq-state="pane-xl"]
|
63
|
-
@content
|
64
|
-
@mixin pane-eq-xl-up
|
65
|
-
&[data-eq-state="pane-xl"]
|
66
|
-
@content
|
67
|
-
.lt-ie9
|
68
|
-
@content
|
69
|
-
|
70
|
-
@mixin pane-eq-xs-down
|
71
|
-
&[data-eq-state="pane-xs"]
|
72
|
-
@content
|
73
|
-
@mixin pane-eq-sm-down
|
74
|
-
&[data-eq-state="pane-xs"],
|
75
|
-
&[data-eq-state="pane-sm"]
|
76
|
-
@content
|
77
|
-
@mixin pane-eq-md-down
|
78
|
-
&[data-eq-state="pane-xs"],
|
79
|
-
&[data-eq-state="pane-sm"],
|
80
|
-
&[data-eq-state="pane-md"]
|
81
|
-
@content
|
82
|
-
@mixin pane-eq-lg-down
|
83
|
-
&[data-eq-state="pane-xs"],
|
84
|
-
&[data-eq-state="pane-sm"],
|
85
|
-
&[data-eq-state="pane-md"],
|
86
|
-
&[data-eq-state="pane-lg"]
|
87
|
-
@content
|
88
|
-
@mixin pane-eq-xl-down
|
89
|
-
&[data-eq-state="pane-xs"],
|
90
|
-
&[data-eq-state="pane-sm"],
|
91
|
-
&[data-eq-state="pane-md"],
|
92
|
-
&[data-eq-state="pane-lg"],
|
93
|
-
&[data-eq-state="pane-xl"]
|
94
|
-
@content
|
95
|
-
.lt-ie9
|
96
|
-
@content
|
97
|
-
|
98
|
-
|
99
|
-
// Mixins for the panel pane element queries
|
100
|
-
@mixin pane-container-eq-xs-up
|
101
|
-
[data-eq-state="pane-xs"],
|
102
|
-
[data-eq-state="pane-sm"],
|
103
|
-
[data-eq-state="pane-md"],
|
104
|
-
[data-eq-state="pane-lg"],
|
105
|
-
[data-eq-state="pane-xl"],
|
106
|
-
[data-eq-state="pane-xxl"]
|
107
|
-
@content
|
108
|
-
@mixin pane-container-eq-sm-up
|
109
|
-
[data-eq-state="pane-sm"],
|
110
|
-
[data-eq-state="pane-md"],
|
111
|
-
[data-eq-state="pane-lg"],
|
112
|
-
[data-eq-state="pane-xl"],
|
113
|
-
[data-eq-state="pane-xxl"]
|
114
|
-
@content
|
115
|
-
@mixin pane-container-eq-md-up
|
116
|
-
[data-eq-state="pane-md"],
|
117
|
-
[data-eq-state="pane-lg"],
|
118
|
-
[data-eq-state="pane-xl"],
|
119
|
-
[data-eq-state="pane-xxl"]
|
120
|
-
@content
|
121
|
-
@mixin pane-container-eq-lg-up
|
122
|
-
[data-eq-state="pane-lg"],
|
123
|
-
[data-eq-state="pane-xl"],
|
124
|
-
[data-eq-state="pane-xxl"]
|
125
|
-
@content
|
126
|
-
@mixin pane-container-eq-xl-up
|
127
|
-
[data-eq-state="pane-xl"],
|
128
|
-
[data-eq-state="pane-xxl"]
|
129
|
-
@content
|
130
|
-
.lt-ie9
|
131
|
-
@content
|
132
|
-
@mixin pane-container-eq-xxl-up
|
133
|
-
[data-eq-state="pane-xxl"]
|
134
|
-
@content
|
135
|
-
.lt-ie9
|
136
|
-
@content
|
137
|
-
|
138
|
-
@mixin pane-container-eq-xs-down
|
139
|
-
[data-eq-state="pane-xs"]
|
140
|
-
@content
|
141
|
-
@mixin pane-container-eq-sm-down
|
142
|
-
[data-eq-state="pane-xs"],
|
143
|
-
[data-eq-state="pane-sm"]
|
144
|
-
@content
|
145
|
-
@mixin pane-container-eq-md-down
|
146
|
-
[data-eq-state="pane-xs"],
|
147
|
-
[data-eq-state="pane-sm"],
|
148
|
-
[data-eq-state="pane-md"]
|
149
|
-
@content
|
150
|
-
@mixin pane-container-eq-lg-down
|
151
|
-
[data-eq-state="pane-xs"],
|
152
|
-
[data-eq-state="pane-sm"],
|
153
|
-
[data-eq-state="pane-md"],
|
154
|
-
[data-eq-state="pane-lg"]
|
155
|
-
@content
|
156
|
-
@mixin pane-container-eq-xl-down
|
157
|
-
[data-eq-state="pane-xs"],
|
158
|
-
[data-eq-state="pane-sm"],
|
159
|
-
[data-eq-state="pane-md"],
|
160
|
-
[data-eq-state="pane-lg"],
|
161
|
-
[data-eq-state="pane-xl"]
|
162
|
-
@content
|
163
|
-
.lt-ie9
|
164
|
-
@content
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
// Mixins for the panel pane element queries
|
169
|
-
@mixin pane-parent-eq-xs-up
|
170
|
-
[data-eq-state="pane-xs"] &,
|
171
|
-
[data-eq-state="pane-sm"] &,
|
172
|
-
[data-eq-state="pane-md"] &,
|
173
|
-
[data-eq-state="pane-lg"] &,
|
174
|
-
[data-eq-state="pane-xl"] &,
|
175
|
-
[data-eq-state="pane-xxl"] &
|
176
|
-
@content
|
177
|
-
@mixin pane-parent-eq-sm-up
|
178
|
-
[data-eq-state="pane-sm"] &,
|
179
|
-
[data-eq-state="pane-md"] &,
|
180
|
-
[data-eq-state="pane-lg"] &,
|
181
|
-
[data-eq-state="pane-xl"] &,
|
182
|
-
[data-eq-state="pane-xxl"] &
|
183
|
-
@content
|
184
|
-
@mixin pane-parent-eq-md-up
|
185
|
-
[data-eq-state="pane-md"] &,
|
186
|
-
[data-eq-state="pane-lg"] &,
|
187
|
-
[data-eq-state="pane-xl"] &,
|
188
|
-
[data-eq-state="pane-xxl"] &
|
189
|
-
@content
|
190
|
-
@mixin pane-parent-eq-lg-up
|
191
|
-
[data-eq-state="pane-lg"] &,
|
192
|
-
[data-eq-state="pane-xl"] &,
|
193
|
-
[data-eq-state="pane-xxl"] &
|
194
|
-
@content
|
195
|
-
@mixin pane-parent-eq-xl-up
|
196
|
-
[data-eq-state="pane-xl"] &,
|
197
|
-
[data-eq-state="pane-xxl"] &
|
198
|
-
@content
|
199
|
-
|
200
|
-
@mixin pane-parent-eq-xxl-up
|
201
|
-
[data-eq-state="pane-xxl"] &
|
202
|
-
@content
|
203
|
-
.lt-ie9
|
204
|
-
@content
|
205
|
-
|
206
|
-
|
207
|
-
@mixin pane-parent-eq-xs-down
|
208
|
-
[data-eq-state="pane-xs"] &
|
209
|
-
@content
|
210
|
-
@mixin pane-parent-eq-sm-down
|
211
|
-
[data-eq-state="pane-xs"] &,
|
212
|
-
[data-eq-state="pane-sm"] &
|
213
|
-
@content
|
214
|
-
@mixin pane-parent-eq-md-down
|
215
|
-
[data-eq-state="pane-xs"] &,
|
216
|
-
[data-eq-state="pane-sm"] &,
|
217
|
-
[data-eq-state="pane-md"] &
|
218
|
-
@content
|
219
|
-
@mixin pane-parent-eq-lg-down
|
220
|
-
[data-eq-state="pane-xs"] &,
|
221
|
-
[data-eq-state="pane-sm"] &,
|
222
|
-
[data-eq-state="pane-md"] &,
|
223
|
-
[data-eq-state="pane-lg"] &
|
224
|
-
@content
|
225
|
-
@mixin pane-parent-eq-xl-down
|
226
|
-
[data-eq-state="pane-xs"] &,
|
227
|
-
[data-eq-state="pane-sm"] &,
|
228
|
-
[data-eq-state="pane-md"] &,
|
229
|
-
[data-eq-state="pane-lg"] &,
|
230
|
-
[data-eq-state="pane-xl"] &
|
231
|
-
@content
|
232
|
-
|
233
|
-
@mixin pane-parent-eq-xl-down
|
234
|
-
[data-eq-state="pane-xs"] &,
|
235
|
-
[data-eq-state="pane-sm"] &,
|
236
|
-
[data-eq-state="pane-md"] &,
|
237
|
-
[data-eq-state="pane-lg"] &,
|
238
|
-
[data-eq-state="pane-xl"] &,
|
239
|
-
[data-eq-state="pane-xxl"] &
|
240
|
-
@content
|
241
|
-
.lt-ie9
|
242
|
-
@content
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
@mixin eq-debug
|
249
|
-
+eq("xxs")
|
250
|
-
border: solid 1px purple
|
251
|
-
+eq("xs")
|
252
|
-
border: solid 1px green
|
253
|
-
+eq("sm")
|
254
|
-
border: solid 1px orange
|
255
|
-
+eq("md")
|
256
|
-
border: solid 1px red
|
257
|
-
+eq("lg")
|
258
|
-
border: solid 1px blue
|
259
|
-
+eq("xl")
|
260
|
-
border: solid 1px pink
|
@@ -1,27 +0,0 @@
|
|
1
|
-
$form-element-height: 40px
|
2
|
-
|
3
|
-
%input_tiny
|
4
|
-
width: 50px
|
5
|
-
|
6
|
-
%input_small
|
7
|
-
width: 100px
|
8
|
-
|
9
|
-
%input_medium
|
10
|
-
width: 150px
|
11
|
-
|
12
|
-
%input_large
|
13
|
-
width: 200px
|
14
|
-
|
15
|
-
%input_xlarge
|
16
|
-
width: 250px
|
17
|
-
|
18
|
-
%input_xxlarge
|
19
|
-
width: 300px
|
20
|
-
|
21
|
-
%input_full
|
22
|
-
width: 100%
|
23
|
-
|
24
|
-
%input_full_wrap
|
25
|
-
display: block
|
26
|
-
padding-right: 8px
|
27
|
-
|
@@ -1,19 +0,0 @@
|
|
1
|
-
//////////////////////////////
|
2
|
-
// Sizes
|
3
|
-
$logo-h: 90px
|
4
|
-
$logo-w: 425px
|
5
|
-
$mobile-logo-h: 42px
|
6
|
-
$mobile-logo-w: 42px
|
7
|
-
$logo-bottom-margin: 10px
|
8
|
-
|
9
|
-
$mobile-branding-size: 50px
|
10
|
-
$header-icon: 40px
|
11
|
-
$header-icon-lg: 50px
|
12
|
-
$admin-nav: 40px
|
13
|
-
|
14
|
-
$navicon-size: 40px
|
15
|
-
$navicon-margin: 7px
|
16
|
-
|
17
|
-
$primary-menu-height: 40px
|
18
|
-
$primary-menu-padding-v: 5px
|
19
|
-
$primary-menu-padding-h: 10px
|
@@ -1,120 +0,0 @@
|
|
1
|
-
//////////////////////////////
|
2
|
-
// Blueprint theme paths - for use with interpolation syntax:
|
3
|
-
// background: url("#{$base-images}/image-name.png")
|
4
|
-
$base: "../../blueprint"
|
5
|
-
$base-images: "../../blueprint/blueprint_images"
|
6
|
-
|
7
|
-
$content-stream-img-sm: 50%
|
8
|
-
$content-stream-img-md: 47.5%
|
9
|
-
|
10
|
-
@mixin img-types
|
11
|
-
.pane-node-field-cover-photo,
|
12
|
-
.field--name-field-image
|
13
|
-
@content
|
14
|
-
|
15
|
-
@mixin img-left
|
16
|
-
float: left
|
17
|
-
padding: 0 10px 5px 0
|
18
|
-
|
19
|
-
@mixin img-right
|
20
|
-
float: right
|
21
|
-
padding: 0 0 5px 10px
|
22
|
-
|
23
|
-
@mixin img-no-float
|
24
|
-
float: none
|
25
|
-
padding: 0
|
26
|
-
|
27
|
-
|
28
|
-
%img-left
|
29
|
-
+img-left
|
30
|
-
|
31
|
-
%img-right
|
32
|
-
+img-right
|
33
|
-
|
34
|
-
@mixin img2x($file, $type, $width, $height, $inline: 'false')
|
35
|
-
@if $inline == true
|
36
|
-
background-image: inline-image($file + '.' + $type)
|
37
|
-
@media (-webkit-min-device-pixel-ratio: 2), (-moz-min-device-pixel-ratio: 2)
|
38
|
-
&
|
39
|
-
background-image: inline-image($file + '@2x.' + $type)
|
40
|
-
-webkit-background-size: $width $height
|
41
|
-
@else
|
42
|
-
background-image: image-url("#{$file}.#{$type}")
|
43
|
-
@media (-webkit-min-device-pixel-ratio: 2), (-moz-min-device-pixel-ratio: 2)
|
44
|
-
&
|
45
|
-
background-image: image-url("#{$file}@2x.#{$type}")
|
46
|
-
-webkit-background-size: $width $height
|
47
|
-
// EXAMPLE:
|
48
|
-
// +img2x('puppies', 'png', 100px, 75px)
|
49
|
-
|
50
|
-
@mixin svg-bg($filename, $position: 0, $height: 20px, $width: 20px, $spacing: 10px, $bg-color: transparent, $repeat: no-repeat, $attachment: scroll, $source: '#{$base-images}', $no-svg-class: '.no-svg', $pseudo: 'before')
|
51
|
-
&:#{$pseudo}
|
52
|
-
content: ''
|
53
|
-
display: inline-block
|
54
|
-
background: $bg-color url($source + '/' + $filename + '.svg') $attachment $repeat $position
|
55
|
-
background-size: $height $width
|
56
|
-
height: $height
|
57
|
-
width: $width
|
58
|
-
margin-right: $spacing
|
59
|
-
#{$no-svg-class} &
|
60
|
-
&:#{$pseudo}
|
61
|
-
background-image: url($source + '/' + $filename + '.png')
|
62
|
-
|
63
|
-
@mixin svg-bg-simple($filename, $source: '#{$base-images}', $no-svg-class: '.lt-ie9', $pseudo: 'before')
|
64
|
-
background-image: url($source + '/' + $filename + '.svg')
|
65
|
-
#{$no-svg-class} &
|
66
|
-
background-image: url($source + '/' + $filename + '.png')
|
67
|
-
|
68
|
-
// https://gist.github.com/darren131/3410875
|
69
|
-
@mixin resize-sprite($map, $sprite, $percent)
|
70
|
-
$spritePath: sprite-path($map)
|
71
|
-
$spriteWidth: image-width($spritePath)
|
72
|
-
$spriteHeight: image-height($spritePath)
|
73
|
-
$width: image-width(sprite-file($map, $sprite))
|
74
|
-
$height: image-height(sprite-file($map, $sprite))
|
75
|
-
@include background-size(ceil($spriteWidth * ($percent/100)) ceil($spriteHeight * ($percent/100)))
|
76
|
-
width: ceil($width*($percent/100))
|
77
|
-
height: ceil($height*($percent/100))
|
78
|
-
background-position: 0 floor(nth(sprite-position($map, $sprite), 2) * ($percent/100) )
|
79
|
-
|
80
|
-
////////////////
|
81
|
-
// INTERNET EXPLORER FALLBACK IMAGE SIZE SHORTCUTS
|
82
|
-
@mixin ie-img
|
83
|
-
//border: pink solid 1px
|
84
|
-
display: block
|
85
|
-
|
86
|
-
%xxs-thumbnail
|
87
|
-
+ie-img
|
88
|
-
|
89
|
-
width: 90px
|
90
|
-
height: 50px
|
91
|
-
|
92
|
-
%xs-thumbnail
|
93
|
-
+ie-img
|
94
|
-
width: 140px
|
95
|
-
height: 85px
|
96
|
-
|
97
|
-
%sm-thumbnail
|
98
|
-
+ie-img
|
99
|
-
width: 205px
|
100
|
-
height: 128px
|
101
|
-
|
102
|
-
%md-thumbnail
|
103
|
-
+ie-img
|
104
|
-
width: 226px
|
105
|
-
height: 136px
|
106
|
-
|
107
|
-
%lg-thumbnail
|
108
|
-
+ie-img
|
109
|
-
width: 290px
|
110
|
-
height: 170px
|
111
|
-
|
112
|
-
%xl-thumbnail
|
113
|
-
+ie-img
|
114
|
-
width: 373px
|
115
|
-
height: 224px
|
116
|
-
|
117
|
-
%xxl-thumbnail
|
118
|
-
+ie-img
|
119
|
-
width: 636px
|
120
|
-
height: 223px
|