partystreusel 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/.ruby-version +1 -1
- data/.travis.yml +5 -2
- data/CHANGELOG.md +4 -0
- data/Gruntfile.coffee +86 -0
- data/README.md +10 -1
- data/app/assets/images/icons/icon-sprite.svg +1 -0
- data/app/assets/images/icons/png/arrow-left.png +0 -0
- data/app/assets/images/icons/png/arrow-right.png +0 -0
- data/app/assets/images/icons/png/close.png +0 -0
- data/app/assets/images/icons/png/download.png +0 -0
- data/app/assets/images/icons/png/folder.png +0 -0
- data/app/assets/images/icons/png/menu.png +0 -0
- data/app/assets/images/icons/png/search.png +0 -0
- data/app/assets/images/icons/source/arrow-left.svg +1 -0
- data/app/assets/images/icons/source/arrow-right.svg +1 -0
- data/app/assets/images/icons/source/close.svg +1 -0
- data/app/assets/images/icons/source/download.svg +1 -0
- data/app/assets/images/icons/source/folder.svg +1 -0
- data/app/assets/images/icons/source/menu.svg +1 -0
- data/app/assets/images/icons/source/search.svg +1 -0
- data/app/assets/javascripts/partystreusel/tab.js.coffee +1 -0
- data/app/assets/stylesheets/partystreusel.css.sass +1 -0
- data/app/controllers/partystreusel/styleguide_controller.rb +14 -0
- data/config/routes.rb +6 -0
- data/{Gemfile → jasmine/Gemfile} +2 -2
- data/{Guardfile → jasmine/Guardfile} +0 -0
- data/{config.ru → jasmine/config.ru} +0 -0
- data/lib/generators/partystreusel/styleguide_generator.rb +30 -0
- data/lib/partystreusel/engine.rb +18 -0
- data/lib/partystreusel/helpers/icon_helper.rb +9 -0
- data/lib/partystreusel/helpers.rb +1 -0
- data/lib/partystreusel/version.rb +1 -1
- data/lib/partystreusel.rb +4 -16
- data/package.json +22 -0
- data/partystreusel.gemspec +0 -1
- data/spec/javascripts/partystreusel/readmore_spec.js.coffee +1 -1
- data/styleguide/Gemfile +24 -0
- data/styleguide/config.rb +110 -0
- data/styleguide/source/index.html.haml +8 -0
- data/styleguide/source/javascripts/application.js.coffee +30 -0
- data/styleguide/source/javascripts/modernizr.js +306 -0
- data/styleguide/source/javascripts/views/_initializer.js.coffee +15 -0
- data/styleguide/source/layouts/_favicons.html.haml +3 -0
- data/styleguide/source/layouts/_icons.html.erb +31 -0
- data/styleguide/source/layouts/_typekit.html.haml +4 -0
- data/styleguide/source/layouts/application.html.haml +58 -0
- data/styleguide/source/partials/_footer.html.haml +0 -0
- data/styleguide/source/partials/_google_analytics.html.erb +9 -0
- data/styleguide/source/partials/_header.html.haml +3 -0
- data/styleguide/source/partials/_offcanvas.html.haml +6 -0
- data/styleguide/source/partials/_offcanvas_nav.html.haml +22 -0
- data/styleguide/source/styleguide/_styleguide_nav.html.haml +80 -0
- data/styleguide/source/styleguide/accordion.html.haml +27 -0
- data/styleguide/source/styleguide/breadcrumb.html.haml +18 -0
- data/styleguide/source/styleguide/buttons.html.haml +70 -0
- data/styleguide/source/styleguide/content.html.haml +20 -0
- data/styleguide/source/styleguide/dropdowns.html.haml +30 -0
- data/styleguide/source/styleguide/embeds.html.haml +12 -0
- data/styleguide/source/styleguide/form.html.haml +71 -0
- data/styleguide/source/styleguide/iconbar.html.haml +34 -0
- data/styleguide/source/styleguide/icons.html.haml +67 -0
- data/styleguide/source/styleguide/image.html.haml +17 -0
- data/styleguide/source/styleguide/index.html.haml +6 -0
- data/styleguide/source/styleguide/linklist.html.haml +47 -0
- data/styleguide/source/styleguide/options.html.haml +28 -0
- data/styleguide/source/styleguide/readmore.html.haml +21 -0
- data/styleguide/source/styleguide/slider.html.haml +21 -0
- data/styleguide/source/styleguide/switches.html.haml +10 -0
- data/styleguide/source/styleguide/tab.html.haml +34 -0
- data/styleguide/source/styleguide/table.html.haml +51 -0
- data/styleguide/source/styleguide/teaser.html.haml +55 -0
- data/styleguide/source/styleguide/teaser_assets.html.haml +55 -0
- data/styleguide/source/styleguide/teaser_card.html.haml +79 -0
- data/styleguide/source/styleguide/teaser_list.html.haml +55 -0
- data/styleguide/source/styleguide/topbar.html.haml +72 -0
- data/styleguide/source/styleguide/two_column.html.haml +18 -0
- data/styleguide/source/styleguide/typo.html.haml +71 -0
- data/styleguide/source/stylesheets/fallbacks/grunticon.loader.js +3 -0
- data/styleguide/source/stylesheets/partystreusel/_helpers.sass +10 -0
- data/styleguide/source/stylesheets/partystreusel/_mixins.sass +14 -0
- data/styleguide/source/stylesheets/partystreusel/_settings.sass +129 -0
- data/styleguide/source/stylesheets/partystreusel/_styleguide.sass +32 -0
- data/styleguide/source/stylesheets/partystreusel/all.css +55 -0
- data/styleguide/source/stylesheets/partystreusel/application.css.sass +94 -0
- data/styleguide/source/stylesheets/partystreusel/fallbacks/_icons_preview_template.hbs +25 -0
- data/styleguide/source/stylesheets/partystreusel/fallbacks/_icons_stylesheet_template.hbs +1 -0
- data/styleguide/source/stylesheets/partystreusel/fallbacks/icons.data.png.css +21 -0
- data/styleguide/source/stylesheets/partystreusel/fallbacks/icons.data.svg.css +21 -0
- data/styleguide/source/stylesheets/partystreusel/fallbacks/icons.fallback.css.scss +21 -0
- data/styleguide/source/stylesheets/partystreusel/ie8.css.sass +18 -0
- data/styleguide/source/stylesheets/partystreusel/large/_layout.sass +3 -0
- data/styleguide/source/stylesheets/partystreusel/large/_states.sass +0 -0
- data/styleguide/source/stylesheets/partystreusel/large/_typo.sass +21 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_accordion.sass +19 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_breadcrumb.sass +2 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_content.sass +5 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_form.sass +2 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_image.sass +3 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_links.sass +6 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_readmore.sass +2 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_slider.sass +47 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_tab.sass +8 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_teaser--assets.sass +12 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_teaser--card.sass +8 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_teaser--list.sass +11 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_teaser.sass +10 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_topbar.sass +65 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_two_column.sass +3 -0
- data/styleguide/source/stylesheets/partystreusel/medium/_typo.sass +24 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_content.sass +2 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_form.sass +16 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_iconbar.sass +7 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_links.sass +5 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_teaser--assets.sass +15 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_teaser--card.sass +7 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_teaser--list.sass +9 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_teaser.sass +13 -0
- data/styleguide/source/stylesheets/partystreusel/normalize.css +375 -0
- data/styleguide/source/stylesheets/partystreusel/partystreusel.css.sass +2 -0
- data/styleguide/source/stylesheets/partystreusel/small/_layout.sass +18 -0
- data/styleguide/source/stylesheets/partystreusel/small/_states.sass +0 -0
- data/styleguide/source/stylesheets/partystreusel/small/_typo.sass +81 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_accordion.sass +68 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_breadcrumb.sass +36 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_button.sass +145 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_content.sass +5 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_dropdown.sass +33 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_embeds.sass +24 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_form.sass +115 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_grid.sass +5 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_iconbar.sass +41 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_icons.sass +23 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_image.sass +18 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_links.sass +49 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_offcanvas.sass +109 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_offcanvas_nav.sass +35 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_options.sass +117 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_readmore.sass +36 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_slider.sass +49 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_switch.sass +70 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_tab.sass +39 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_table.sass +43 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_teaser--assets.sass +57 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_teaser--card.sass +18 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_teaser--list.sass +20 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_teaser.sass +50 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_topbar.sass +80 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_two_column.sass +2 -0
- data/styleguide/source/stylesheets/partystreusel/xlarge/modules/_teaser_assets.sass +9 -0
- data/styleguide/source/stylesheets/partystreusel/xlarge/modules/_teaser_card.sass +8 -0
- metadata +148 -38
@@ -0,0 +1,375 @@
|
|
1
|
+
/*! normalize.css v2.0.1 | MIT License | git.io/normalize */
|
2
|
+
|
3
|
+
/* ==========================================================================
|
4
|
+
HTML5 display definitions
|
5
|
+
========================================================================== */
|
6
|
+
|
7
|
+
/*
|
8
|
+
* Corrects `block` display not defined in IE 8/9.
|
9
|
+
*/
|
10
|
+
|
11
|
+
article,
|
12
|
+
aside,
|
13
|
+
details,
|
14
|
+
figcaption,
|
15
|
+
figure,
|
16
|
+
footer,
|
17
|
+
header,
|
18
|
+
hgroup,
|
19
|
+
nav,
|
20
|
+
section,
|
21
|
+
summary {
|
22
|
+
display: block;
|
23
|
+
}
|
24
|
+
|
25
|
+
/*
|
26
|
+
* Corrects `inline-block` display not defined in IE 8/9.
|
27
|
+
*/
|
28
|
+
|
29
|
+
audio,
|
30
|
+
canvas,
|
31
|
+
video {
|
32
|
+
display: inline-block;
|
33
|
+
}
|
34
|
+
|
35
|
+
/*
|
36
|
+
* Prevents modern browsers from displaying `audio` without controls.
|
37
|
+
* Remove excess height in iOS 5 devices.
|
38
|
+
*/
|
39
|
+
|
40
|
+
audio:not([controls]) {
|
41
|
+
display: none;
|
42
|
+
height: 0;
|
43
|
+
}
|
44
|
+
|
45
|
+
/*
|
46
|
+
* Addresses styling for `hidden` attribute not present in IE 8/9.
|
47
|
+
*/
|
48
|
+
|
49
|
+
[hidden] {
|
50
|
+
display: none;
|
51
|
+
}
|
52
|
+
|
53
|
+
/* ==========================================================================
|
54
|
+
Base
|
55
|
+
========================================================================== */
|
56
|
+
|
57
|
+
/*
|
58
|
+
* 1. Sets default font family to sans-serif.
|
59
|
+
* 2. Prevents iOS text size adjust after orientation change, without disabling
|
60
|
+
* user zoom.
|
61
|
+
*/
|
62
|
+
|
63
|
+
html {
|
64
|
+
font-family: sans-serif; /* 1 */
|
65
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
66
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
67
|
+
}
|
68
|
+
|
69
|
+
/*
|
70
|
+
* Removes default margin.
|
71
|
+
*/
|
72
|
+
|
73
|
+
body {
|
74
|
+
margin: 0;
|
75
|
+
}
|
76
|
+
|
77
|
+
/* ==========================================================================
|
78
|
+
Links
|
79
|
+
========================================================================== */
|
80
|
+
|
81
|
+
/*
|
82
|
+
* Addresses `outline` inconsistency between Chrome and other browsers.
|
83
|
+
*/
|
84
|
+
|
85
|
+
a:focus {
|
86
|
+
outline: thin dotted;
|
87
|
+
}
|
88
|
+
|
89
|
+
/*
|
90
|
+
* Improves readability when focused and also mouse hovered in all browsers.
|
91
|
+
*/
|
92
|
+
|
93
|
+
a:active,
|
94
|
+
a:hover {
|
95
|
+
outline: 0;
|
96
|
+
}
|
97
|
+
|
98
|
+
/* ==========================================================================
|
99
|
+
Typography
|
100
|
+
========================================================================== */
|
101
|
+
|
102
|
+
/*
|
103
|
+
* Addresses `h1` font sizes within `section` and `article` in Firefox 4+,
|
104
|
+
* Safari 5, and Chrome.
|
105
|
+
*/
|
106
|
+
|
107
|
+
h1 {
|
108
|
+
font-size: 2em;
|
109
|
+
}
|
110
|
+
|
111
|
+
/*
|
112
|
+
* Addresses styling not present in IE 8/9, Safari 5, and Chrome.
|
113
|
+
*/
|
114
|
+
|
115
|
+
abbr[title] {
|
116
|
+
border-bottom: 1px dotted;
|
117
|
+
}
|
118
|
+
|
119
|
+
/*
|
120
|
+
* Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
121
|
+
*/
|
122
|
+
|
123
|
+
b,
|
124
|
+
strong {
|
125
|
+
font-weight: bold;
|
126
|
+
}
|
127
|
+
|
128
|
+
/*
|
129
|
+
* Addresses styling not present in Safari 5 and Chrome.
|
130
|
+
*/
|
131
|
+
|
132
|
+
dfn {
|
133
|
+
font-style: italic;
|
134
|
+
}
|
135
|
+
|
136
|
+
/*
|
137
|
+
* Addresses styling not present in IE 8/9.
|
138
|
+
*/
|
139
|
+
|
140
|
+
mark {
|
141
|
+
background: #ff0;
|
142
|
+
color: #000;
|
143
|
+
}
|
144
|
+
|
145
|
+
|
146
|
+
/*
|
147
|
+
* Corrects font family set oddly in Safari 5 and Chrome.
|
148
|
+
*/
|
149
|
+
|
150
|
+
code,
|
151
|
+
kbd,
|
152
|
+
pre,
|
153
|
+
samp {
|
154
|
+
font-family: monospace, serif;
|
155
|
+
font-size: 1em;
|
156
|
+
}
|
157
|
+
|
158
|
+
/*
|
159
|
+
* Improves readability of pre-formatted text in all browsers.
|
160
|
+
*/
|
161
|
+
|
162
|
+
pre {
|
163
|
+
white-space: pre;
|
164
|
+
white-space: pre-wrap;
|
165
|
+
word-wrap: break-word;
|
166
|
+
}
|
167
|
+
|
168
|
+
/*
|
169
|
+
* Sets consistent quote types.
|
170
|
+
*/
|
171
|
+
|
172
|
+
q {
|
173
|
+
quotes: "\201C" "\201D" "\2018" "\2019";
|
174
|
+
}
|
175
|
+
|
176
|
+
/*
|
177
|
+
* Addresses inconsistent and variable font size in all browsers.
|
178
|
+
*/
|
179
|
+
|
180
|
+
small {
|
181
|
+
font-size: 80%;
|
182
|
+
}
|
183
|
+
|
184
|
+
/*
|
185
|
+
* Prevents `sub` and `sup` affecting `line-height` in all browsers.
|
186
|
+
*/
|
187
|
+
|
188
|
+
sub,
|
189
|
+
sup {
|
190
|
+
font-size: 75%;
|
191
|
+
line-height: 0;
|
192
|
+
position: relative;
|
193
|
+
vertical-align: baseline;
|
194
|
+
}
|
195
|
+
|
196
|
+
sup {
|
197
|
+
top: -0.5em;
|
198
|
+
}
|
199
|
+
|
200
|
+
sub {
|
201
|
+
bottom: -0.25em;
|
202
|
+
}
|
203
|
+
|
204
|
+
/* ==========================================================================
|
205
|
+
Embedded content
|
206
|
+
========================================================================== */
|
207
|
+
|
208
|
+
/*
|
209
|
+
* Removes border when inside `a` element in IE 8/9.
|
210
|
+
*/
|
211
|
+
|
212
|
+
img {
|
213
|
+
border: 0;
|
214
|
+
}
|
215
|
+
|
216
|
+
/*
|
217
|
+
* Corrects overflow displayed oddly in IE 9.
|
218
|
+
*/
|
219
|
+
|
220
|
+
svg:not(:root) {
|
221
|
+
overflow: hidden;
|
222
|
+
}
|
223
|
+
|
224
|
+
/* ==========================================================================
|
225
|
+
Figures
|
226
|
+
========================================================================== */
|
227
|
+
|
228
|
+
/*
|
229
|
+
* Addresses margin not present in IE 8/9 and Safari 5.
|
230
|
+
*/
|
231
|
+
|
232
|
+
figure {
|
233
|
+
margin: 0;
|
234
|
+
}
|
235
|
+
|
236
|
+
/* ==========================================================================
|
237
|
+
Forms
|
238
|
+
========================================================================== */
|
239
|
+
|
240
|
+
/*
|
241
|
+
* Define consistent border, margin, and padding.
|
242
|
+
*/
|
243
|
+
|
244
|
+
fieldset {
|
245
|
+
border: 1px solid #c0c0c0;
|
246
|
+
margin: 0 2px;
|
247
|
+
padding: 0.35em 0.625em 0.75em;
|
248
|
+
}
|
249
|
+
|
250
|
+
/*
|
251
|
+
* 1. Corrects color not being inherited in IE 8/9.
|
252
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
253
|
+
*/
|
254
|
+
|
255
|
+
legend {
|
256
|
+
border: 0; /* 1 */
|
257
|
+
padding: 0; /* 2 */
|
258
|
+
}
|
259
|
+
|
260
|
+
/*
|
261
|
+
* 1. Corrects font family not being inherited in all browsers.
|
262
|
+
* 2. Corrects font size not being inherited in all browsers.
|
263
|
+
* 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
|
264
|
+
*/
|
265
|
+
|
266
|
+
button,
|
267
|
+
input,
|
268
|
+
select,
|
269
|
+
textarea {
|
270
|
+
font-family: inherit; /* 1 */
|
271
|
+
font-size: 100%; /* 2 */
|
272
|
+
margin: 0; /* 3 */
|
273
|
+
}
|
274
|
+
|
275
|
+
/*
|
276
|
+
* Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
|
277
|
+
* the UA stylesheet.
|
278
|
+
*/
|
279
|
+
|
280
|
+
button,
|
281
|
+
input {
|
282
|
+
line-height: normal;
|
283
|
+
}
|
284
|
+
|
285
|
+
/*
|
286
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
287
|
+
* and `video` controls.
|
288
|
+
* 2. Corrects inability to style clickable `input` types in iOS.
|
289
|
+
* 3. Improves usability and consistency of cursor style between image-type
|
290
|
+
* `input` and others.
|
291
|
+
*/
|
292
|
+
|
293
|
+
button,
|
294
|
+
html input[type="button"], /* 1 */
|
295
|
+
input[type="reset"],
|
296
|
+
input[type="submit"] {
|
297
|
+
-webkit-appearance: button; /* 2 */
|
298
|
+
cursor: pointer; /* 3 */
|
299
|
+
}
|
300
|
+
|
301
|
+
/*
|
302
|
+
* Re-set default cursor for disabled elements.
|
303
|
+
*/
|
304
|
+
|
305
|
+
button[disabled],
|
306
|
+
input[disabled] {
|
307
|
+
cursor: default;
|
308
|
+
}
|
309
|
+
|
310
|
+
/*
|
311
|
+
* 1. Addresses box sizing set to `content-box` in IE 8/9.
|
312
|
+
* 2. Removes excess padding in IE 8/9.
|
313
|
+
*/
|
314
|
+
|
315
|
+
input[type="checkbox"],
|
316
|
+
input[type="radio"] {
|
317
|
+
box-sizing: border-box; /* 1 */
|
318
|
+
padding: 0; /* 2 */
|
319
|
+
}
|
320
|
+
|
321
|
+
/*
|
322
|
+
* 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
|
323
|
+
* 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
|
324
|
+
* (include `-moz` to future-proof).
|
325
|
+
*/
|
326
|
+
|
327
|
+
input[type="search"] {
|
328
|
+
-webkit-appearance: textfield; /* 1 */
|
329
|
+
-moz-box-sizing: content-box;
|
330
|
+
-webkit-box-sizing: content-box; /* 2 */
|
331
|
+
box-sizing: content-box;
|
332
|
+
}
|
333
|
+
|
334
|
+
/*
|
335
|
+
* Removes inner padding and search cancel button in Safari 5 and Chrome
|
336
|
+
* on OS X.
|
337
|
+
*/
|
338
|
+
|
339
|
+
input[type="search"]::-webkit-search-cancel-button,
|
340
|
+
input[type="search"]::-webkit-search-decoration {
|
341
|
+
-webkit-appearance: none;
|
342
|
+
}
|
343
|
+
|
344
|
+
/*
|
345
|
+
* Removes inner padding and border in Firefox 4+.
|
346
|
+
*/
|
347
|
+
|
348
|
+
button::-moz-focus-inner,
|
349
|
+
input::-moz-focus-inner {
|
350
|
+
border: 0;
|
351
|
+
padding: 0;
|
352
|
+
}
|
353
|
+
|
354
|
+
/*
|
355
|
+
* 1. Removes default vertical scrollbar in IE 8/9.
|
356
|
+
* 2. Improves readability and alignment in all browsers.
|
357
|
+
*/
|
358
|
+
|
359
|
+
textarea {
|
360
|
+
overflow: auto; /* 1 */
|
361
|
+
vertical-align: top; /* 2 */
|
362
|
+
}
|
363
|
+
|
364
|
+
/* ==========================================================================
|
365
|
+
Tables
|
366
|
+
========================================================================== */
|
367
|
+
|
368
|
+
/*
|
369
|
+
* Remove most spacing between table cells.
|
370
|
+
*/
|
371
|
+
|
372
|
+
table {
|
373
|
+
border-collapse: collapse;
|
374
|
+
border-spacing: 0;
|
375
|
+
}
|
File without changes
|
@@ -0,0 +1,81 @@
|
|
1
|
+
body
|
2
|
+
font-family: $body-font-family
|
3
|
+
font-weight: $body-font-weight
|
4
|
+
font-style: $body-font-style
|
5
|
+
font-size: $body-font-size
|
6
|
+
line-height: $body-line-height
|
7
|
+
background-color: $body-bg
|
8
|
+
color: $body-font-color
|
9
|
+
|
10
|
+
h1, h2, h3, h4, h5, h6
|
11
|
+
font-family: $header-font-family
|
12
|
+
font-weight: $header-font-weight
|
13
|
+
font-style: $header-font-style
|
14
|
+
text-rendering: $header-text-rendering
|
15
|
+
color: $header-font-color
|
16
|
+
text-transform: uppercase
|
17
|
+
|
18
|
+
h1
|
19
|
+
font-size: $h1-font-size
|
20
|
+
line-height: $h1-line-height
|
21
|
+
margin: rem(30) 0 rem(12)
|
22
|
+
|
23
|
+
h2
|
24
|
+
font-size: $h2-font-size
|
25
|
+
line-height: $h2-line-height
|
26
|
+
margin: rem(27) 0 rem(9)
|
27
|
+
|
28
|
+
h3
|
29
|
+
font-size: $h3-font-size
|
30
|
+
line-height: $h3-line-height
|
31
|
+
margin: rem(24) 0 rem(3)
|
32
|
+
|
33
|
+
%h4-styles-s,
|
34
|
+
h4, h5, h6
|
35
|
+
font-size: $h4-font-size
|
36
|
+
line-height: $h4-line-height
|
37
|
+
margin: rem(21) 0 rem(3)
|
38
|
+
|
39
|
+
p
|
40
|
+
font-family: $paragraph-font-family
|
41
|
+
font-weight: $paragraph-font-weight
|
42
|
+
font-size: $paragraph-font-size
|
43
|
+
line-height: $paragraph-line-height
|
44
|
+
margin-top: 0
|
45
|
+
margin-bottom: $paragraph-margin-bottom
|
46
|
+
text-rendering: $paragraph-text-rendering
|
47
|
+
|
48
|
+
a
|
49
|
+
text-decoration: $anchor-text-decoration
|
50
|
+
color: $anchor-font-color
|
51
|
+
|
52
|
+
&:hover
|
53
|
+
color: $anchor-font-color-hover
|
54
|
+
|
55
|
+
ul, ol
|
56
|
+
list-style-position: $list-style-position
|
57
|
+
margin-left: $list-side-margin
|
58
|
+
padding-left: $list-side-padding
|
59
|
+
|
60
|
+
ol
|
61
|
+
padding-left: $list-ol-side-padding
|
62
|
+
|
63
|
+
ul ul,
|
64
|
+
ol ol
|
65
|
+
margin-left: $list-nested-margin
|
66
|
+
|
67
|
+
hr
|
68
|
+
border-width: $hr-border-width
|
69
|
+
border-style: $hr-border-style
|
70
|
+
border-color: $hr-border-color
|
71
|
+
margin-top: $hr-margin-top
|
72
|
+
margin-bottom: $hr-margin-bottom
|
73
|
+
|
74
|
+
small
|
75
|
+
color: $small-font-color
|
76
|
+
|
77
|
+
blockquote
|
78
|
+
font-family: $blockquote-font-family
|
79
|
+
font-size: $blockquote-font-size
|
80
|
+
font-style: $blockquote-font-style
|
81
|
+
margin: $blockquote-margin
|
@@ -0,0 +1,68 @@
|
|
1
|
+
.accordion
|
2
|
+
display: block
|
3
|
+
margin: 0
|
4
|
+
padding: 0
|
5
|
+
|
6
|
+
.accordion__item
|
7
|
+
display: block
|
8
|
+
border-top: rem(2) solid $secondary-color
|
9
|
+
|
10
|
+
.accordion__title
|
11
|
+
display: block
|
12
|
+
min-height: rem(66)
|
13
|
+
margin: 0
|
14
|
+
padding: rem(15) rem(50) rem(15) 0
|
15
|
+
position: relative
|
16
|
+
font-size: rem(16)
|
17
|
+
line-height: 1.125
|
18
|
+
font-weight: $header-font-weight
|
19
|
+
cursor: pointer
|
20
|
+
color: $body-font-color
|
21
|
+
|
22
|
+
&:before,
|
23
|
+
&:after
|
24
|
+
content: ''
|
25
|
+
display: block
|
26
|
+
position: absolute
|
27
|
+
|
28
|
+
&:before
|
29
|
+
width: rem(40)
|
30
|
+
height: rem(40)
|
31
|
+
position: absolute
|
32
|
+
top: rem(13)
|
33
|
+
right: 0
|
34
|
+
border: rem(1) solid $grey
|
35
|
+
border-radius: 100%
|
36
|
+
|
37
|
+
&:after
|
38
|
+
top: rem(31)
|
39
|
+
right: rem(15)
|
40
|
+
+triangle(rem(10), currentColor, down)
|
41
|
+
|
42
|
+
&:hover
|
43
|
+
color: $grey
|
44
|
+
|
45
|
+
.accordion__content
|
46
|
+
display: none
|
47
|
+
|
48
|
+
// ----------------------------------------------------------
|
49
|
+
// STATES
|
50
|
+
// ----------------------------------------------------------
|
51
|
+
.accordion__item--open
|
52
|
+
.accordion__title
|
53
|
+
color: $primary-color
|
54
|
+
|
55
|
+
&:after
|
56
|
+
top: rem(30)
|
57
|
+
border-top: 0
|
58
|
+
+triangle(rem(10), currentColor, up)
|
59
|
+
|
60
|
+
.accordion__content
|
61
|
+
display: block
|
62
|
+
|
63
|
+
// ----------------------------------------------------------
|
64
|
+
// NO-JS Fallback
|
65
|
+
// ----------------------------------------------------------
|
66
|
+
.no-js
|
67
|
+
.accordion__content
|
68
|
+
display: block
|
@@ -0,0 +1,36 @@
|
|
1
|
+
.breadcrumb
|
2
|
+
+clearfix
|
3
|
+
display: block
|
4
|
+
list-style: none
|
5
|
+
padding: 0
|
6
|
+
margin: 0 0 rem(12) 0
|
7
|
+
|
8
|
+
.breadcrumb__item
|
9
|
+
display: inline-block
|
10
|
+
padding: rem(8) 0
|
11
|
+
|
12
|
+
&:after
|
13
|
+
content: '|'
|
14
|
+
margin: 0 rem(12)
|
15
|
+
color: $grey-dark
|
16
|
+
|
17
|
+
&:last-child
|
18
|
+
&:after
|
19
|
+
content: ''
|
20
|
+
display: none
|
21
|
+
|
22
|
+
a
|
23
|
+
color: $primary-color
|
24
|
+
|
25
|
+
a
|
26
|
+
display: inline-block
|
27
|
+
color: $grey-dark
|
28
|
+
|
29
|
+
&:hover
|
30
|
+
color: $tertiary-color
|
31
|
+
|
32
|
+
// ----------------------------------------------------------
|
33
|
+
// STATES
|
34
|
+
// ----------------------------------------------------------
|
35
|
+
.breadcrumb__item--active
|
36
|
+
color: $primary-color
|
@@ -0,0 +1,145 @@
|
|
1
|
+
.btn
|
2
|
+
$btn-size: rem(23)
|
3
|
+
|
4
|
+
display: inline-block
|
5
|
+
position: relative
|
6
|
+
cursor: pointer
|
7
|
+
margin: 0 0 rem(18) 0
|
8
|
+
padding: rem(7) rem(12) rem(8)
|
9
|
+
background-color: $primary-color
|
10
|
+
border: rem(1) solid $primary-color
|
11
|
+
text-decoration: none
|
12
|
+
text-align: center
|
13
|
+
font-size: rem(18)
|
14
|
+
font-weight: bold
|
15
|
+
line-height: 1.33
|
16
|
+
text-transform: uppercase
|
17
|
+
color: $white
|
18
|
+
box-shadow: $grey-light rem(2) rem(2) rem(2) 0
|
19
|
+
+user-select(none)
|
20
|
+
+appearance(none)
|
21
|
+
+transition( all .1s ease-in-out )
|
22
|
+
|
23
|
+
.icon
|
24
|
+
width: $btn-size
|
25
|
+
height: $btn-size
|
26
|
+
vertical-align: top
|
27
|
+
|
28
|
+
&:hover
|
29
|
+
color: $white
|
30
|
+
background: $grey-dark
|
31
|
+
border-color: $grey-dark
|
32
|
+
|
33
|
+
&:active,
|
34
|
+
&.btn--active
|
35
|
+
color: $white
|
36
|
+
background: $black
|
37
|
+
border-color: $black
|
38
|
+
box-shadow: none
|
39
|
+
+transition( none)
|
40
|
+
|
41
|
+
&:focus
|
42
|
+
outline: 0
|
43
|
+
|
44
|
+
// ----------------------------------------------------------
|
45
|
+
// SECONDARY STYLE
|
46
|
+
// ----------------------------------------------------------
|
47
|
+
&--secondary
|
48
|
+
|
49
|
+
&,
|
50
|
+
&.btn--active
|
51
|
+
background-color: $white
|
52
|
+
box-shadow: $secondary-color rem(1) rem(1) rem(2) 0
|
53
|
+
|
54
|
+
&,
|
55
|
+
&:hover
|
56
|
+
color: $body-font-color
|
57
|
+
border-color: $secondary-color
|
58
|
+
|
59
|
+
&:hover
|
60
|
+
background-color: $grey-light
|
61
|
+
|
62
|
+
&:active,
|
63
|
+
&.btn--active
|
64
|
+
box-shadow: none
|
65
|
+
background-color: $grey-light
|
66
|
+
color: $primary-color
|
67
|
+
border-color: $grey-light
|
68
|
+
|
69
|
+
// ----------------------------------------------------------
|
70
|
+
// TERTIARY STYLE
|
71
|
+
// ----------------------------------------------------------
|
72
|
+
&--tertiary
|
73
|
+
|
74
|
+
&,
|
75
|
+
&.btn--active
|
76
|
+
box-shadow: none
|
77
|
+
color: $secondary-color
|
78
|
+
|
79
|
+
&,
|
80
|
+
&:hover,
|
81
|
+
&:active,
|
82
|
+
&.btn--active
|
83
|
+
border-color: transparent
|
84
|
+
background-color: transparent
|
85
|
+
|
86
|
+
&:hover
|
87
|
+
color: $body-font-color
|
88
|
+
|
89
|
+
&:active,
|
90
|
+
&.btn--active
|
91
|
+
color: $primary-color
|
92
|
+
|
93
|
+
// ----------------------------------------------------------
|
94
|
+
// ONLY ICON STYLE
|
95
|
+
// ----------------------------------------------------------
|
96
|
+
&--icon
|
97
|
+
width: rem(40)
|
98
|
+
height: rem(40)
|
99
|
+
padding: rem(8) 0
|
100
|
+
background: transparent
|
101
|
+
border: none
|
102
|
+
box-shadow: none
|
103
|
+
color: $secondary-color
|
104
|
+
|
105
|
+
&:hover,
|
106
|
+
&:active
|
107
|
+
border-radius: 100%
|
108
|
+
background-color: $grey-light
|
109
|
+
|
110
|
+
&:hover
|
111
|
+
color: $body-font-color
|
112
|
+
|
113
|
+
&:active
|
114
|
+
color: $primary-color
|
115
|
+
|
116
|
+
// ----------------------------------------------------------
|
117
|
+
// SMALL STYLE
|
118
|
+
// ----------------------------------------------------------
|
119
|
+
&--small
|
120
|
+
padding-top: rem(5)
|
121
|
+
padding-bottom: rem(5)
|
122
|
+
|
123
|
+
// ----------------------------------------------------------
|
124
|
+
// EXPANDED STYLE
|
125
|
+
// ----------------------------------------------------------
|
126
|
+
&--expanded
|
127
|
+
width: 100%
|
128
|
+
|
129
|
+
// ----------------------------------------------------------
|
130
|
+
// GROUP CONTAINER
|
131
|
+
// ----------------------------------------------------------
|
132
|
+
&__group
|
133
|
+
position: relative
|
134
|
+
display: inline-block
|
135
|
+
vertical-align: middle
|
136
|
+
margin: rem(12) 0 rem(18)
|
137
|
+
|
138
|
+
> .btn
|
139
|
+
position: relative
|
140
|
+
float: left
|
141
|
+
margin-right: rem(1)
|
142
|
+
margin-bottom: rem(1)
|
143
|
+
|
144
|
+
&:last-child
|
145
|
+
margin-right: 0
|