]>
Commit | Line | Data |
---|---|---|
91e44d91 S |
1 | /*! |
2 | * Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com) | |
3 | * Copyright 2011-2017 The Bootstrap Authors | |
4 | * Copyright 2011-2017 Twitter, Inc. | |
5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
6 | */ | |
7 | ||
8 | // Core variables and mixins | |
9 | @import "bootstrap-4.0.0-alpha.6/scss/variables"; | |
10 | @import "bootstrap-4.0.0-alpha.6/scss/mixins"; | |
11 | @import "bootstrap-4.0.0-alpha.6/scss/custom"; | |
12 | ||
13 | // Reset and dependencies | |
14 | @import "bootstrap-4.0.0-alpha.6/scss/normalize"; | |
15 | // @import "bootstrap-4.0.0-alpha.6/scss/print"; | |
16 | ||
17 | // Core CSS | |
18 | @import "bootstrap-4.0.0-alpha.6/scss/reboot"; | |
19 | @import "bootstrap-4.0.0-alpha.6/scss/type"; | |
20 | @import "bootstrap-4.0.0-alpha.6/scss/images"; | |
21 | // @import "bootstrap-4.0.0-alpha.6/scss/code"; | |
22 | @import "bootstrap-4.0.0-alpha.6/scss/grid"; | |
23 | // @import "bootstrap-4.0.0-alpha.6/scss/tables"; | |
24 | // @import "bootstrap-4.0.0-alpha.6/scss/forms"; | |
25 | @import "bootstrap-4.0.0-alpha.6/scss/buttons"; | |
26 | ||
27 | // Components | |
28 | @import "bootstrap-4.0.0-alpha.6/scss/transitions"; | |
20df8773 | 29 | //@import "bootstrap-4.0.0-alpha.6/scss/dropdown"; |
91e44d91 | 30 | @import "bootstrap-4.0.0-alpha.6/scss/button-group"; |
20df8773 S |
31 | //@import "bootstrap-4.0.0-alpha.6/scss/input-group"; |
32 | //@import "bootstrap-4.0.0-alpha.6/scss/custom-forms"; | |
91e44d91 S |
33 | @import "bootstrap-4.0.0-alpha.6/scss/nav"; |
34 | @import "bootstrap-4.0.0-alpha.6/scss/navbar"; | |
20df8773 | 35 | //@import "bootstrap-4.0.0-alpha.6/scss/card"; |
91e44d91 S |
36 | // @import "bootstrap-4.0.0-alpha.6/scss/breadcrumb"; |
37 | // @import "bootstrap-4.0.0-alpha.6/scss/pagination"; | |
38 | // @import "bootstrap-4.0.0-alpha.6/scss/badge"; | |
39 | // @import "bootstrap-4.0.0-alpha.6/scss/jumbotron"; | |
1423222c | 40 | // @import "bootstrap-4.0.0-alpha.6/scss/alert"; |
91e44d91 S |
41 | @import "bootstrap-4.0.0-alpha.6/scss/progress"; |
42 | @import "bootstrap-4.0.0-alpha.6/scss/media"; | |
43 | @import "bootstrap-4.0.0-alpha.6/scss/list-group"; | |
1423222c S |
44 | // @import "bootstrap-4.0.0-alpha.6/scss/responsive-embed"; |
45 | // @import "bootstrap-4.0.0-alpha.6/scss/close"; | |
91e44d91 S |
46 | |
47 | // Components w/ JavaScript | |
48 | // @import "bootstrap-4.0.0-alpha.6/scss/modal"; | |
49 | // @import "bootstrap-4.0.0-alpha.6/scss/tooltip"; | |
50 | // @import "bootstrap-4.0.0-alpha.6/scss/popover"; | |
51 | // @import "bootstrap-4.0.0-alpha.6/scss/carousel"; | |
52 | ||
53 | // Utility classes | |
1423222c S |
54 | @import "bootstrap-4.0.0-alpha.6/scss/utilities"; |
55 | ||
d8c9a4d4 S |
56 | h4 { |
57 | font-weight: 600; | |
58 | } | |
59 | ||
60 | button.navbar-toggler div { | |
61 | font-family: 'Ubuntu', sans-serif; | |
62 | font-size: 1rem; | |
63 | display: inline-block; | |
64 | margin-left: 12px; | |
65 | } | |
66 | ||
1423222c S |
67 | .btn { |
68 | text-transform: uppercase; | |
6aa3b1ec S |
69 | box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .15), 0 1px 2px 0 rgba(0, 0, 0, .25); |
70 | transition: box-shadow .25s ease-in-out; | |
71 | &:hover { | |
72 | box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .15), 0 3px 6px 0 rgba(0, 0, 0, .25); | |
73 | transition: box-shadow .25s ease-in-out; | |
74 | } | |
75 | svg { | |
76 | margin-right: .75rem; | |
77 | height: 17px; | |
78 | width: auto; | |
79 | transform: translateY(2px); | |
80 | } | |
1423222c S |
81 | } |
82 | ||
82468973 S |
83 | .btn-outline-primary, |
84 | .btn-outline-secondary { | |
85 | transition: background-color .25s ease-in-out; | |
86 | &:hover { | |
87 | transition: background-color .25s ease-in-out; | |
88 | } | |
89 | } | |
90 | ||
4b4334da S |
91 | .btn-lg { |
92 | margin: 0 24px; | |
82468973 S |
93 | @include media-breakpoint-down(md) { |
94 | margin: 0 8px; | |
95 | font-size: 14px; | |
96 | } | |
97 | } | |
98 | ||
99 | .btn-sm small { | |
100 | display: inline-block; | |
101 | transform: translateY(-2px); | |
4b4334da S |
102 | } |
103 | ||
20df8773 | 104 | .btn-block { |
d8c9a4d4 S |
105 | margin: 0 0 1.5rem 0; |
106 | @include media-breakpoint-up(md) { | |
107 | margin: 0 0 2rem 0; | |
108 | } | |
20df8773 S |
109 | } |
110 | ||
4b4334da S |
111 | .fixed-top { |
112 | transition: background-color 700ms linear; | |
82468973 S |
113 | .navbar { |
114 | width: 100%; | |
115 | } | |
116 | .navbar-brand { | |
117 | opacity: 0; | |
118 | transition: opacity 700ms linear; | |
119 | @include media-breakpoint-up(lg) { | |
120 | opacity: 1; | |
121 | } | |
122 | } | |
4b4334da S |
123 | } |
124 | ||
125 | .scrolled { | |
126 | background-color: rgba(255, 255, 255, .96); | |
82468973 S |
127 | .navbar-brand { |
128 | opacity: 1; | |
129 | transition: opacity 700ms linear; | |
130 | } | |
4b4334da S |
131 | } |
132 | ||
d8c9a4d4 S |
133 | .menu-text.hidden { |
134 | display: none; | |
135 | visibility: hidden; | |
136 | } | |
137 | ||
4b4334da S |
138 | .navbar { |
139 | a { | |
140 | color: $blue-grey-900; | |
141 | } | |
20df8773 S |
142 | .btn { |
143 | margin-top: .15rem; | |
144 | } | |
4b4334da S |
145 | } |
146 | ||
1423222c | 147 | .navbar-brand { |
d8c9a4d4 S |
148 | font-size: 1.25rem; |
149 | @include media-breakpoint-up(sm) { | |
150 | font-size: 2rem; | |
151 | } | |
1423222c S |
152 | font-weight: 300; |
153 | img { | |
154 | margin-right: 1rem; | |
155 | transform: translateY(-5px); | |
156 | } | |
157 | } | |
158 | ||
20df8773 S |
159 | .display-2 { |
160 | margin-bottom: 4rem; | |
82468973 S |
161 | @include media-breakpoint-down(md) { |
162 | font-size: 32px; | |
163 | } | |
164 | } | |
165 | ||
166 | .display-4 { | |
167 | @include media-breakpoint-down(md) { | |
168 | font-size: 14px; | |
169 | } | |
20df8773 S |
170 | } |
171 | ||
172 | .bg-progress { | |
173 | background-image: linear-gradient(to right, $yellow-700, $amber-800); | |
174 | } | |
1423222c S |
175 | |
176 | section.intro { | |
177 | min-height: 100vh; | |
178 | background-image: url('../img/header-background.jpg'); | |
179 | background-size: cover; | |
180 | background-attachment: fixed; | |
181 | background-position: center top; | |
182 | position: relative; | |
183 | .branding { | |
82468973 S |
184 | padding-top: 6rem; |
185 | @include media-breakpoint-up(md) { | |
186 | padding-top: 192px; | |
187 | } | |
1423222c S |
188 | margin-bottom: 64px; |
189 | text-align: center; | |
190 | color: $blue-grey-600; | |
191 | h1 { | |
192 | font-weight: 300 !important; | |
193 | color: $blue-grey-900; | |
82468973 S |
194 | @include media-breakpoint-down(md) { |
195 | font-size: 4.5rem; | |
196 | } | |
1423222c S |
197 | strong { |
198 | font-weight: 700 !important; | |
199 | } | |
200 | } | |
201 | h1:before { | |
202 | content: ""; | |
82468973 S |
203 | height: 60px; |
204 | width: 76px; | |
1423222c S |
205 | background-image: url('../img/ipfire-tux.png'); |
206 | background-repeat: no-repeat; | |
207 | background-position: center center; | |
208 | background-size: contain; | |
1423222c S |
209 | display: inline-block; |
210 | position: relative; | |
82468973 S |
211 | top: 4px; |
212 | @include media-breakpoint-up(md) { | |
213 | height: 120px; | |
214 | width: 93px; | |
215 | margin-right: 32px; | |
216 | top: 8px; | |
217 | } | |
1423222c S |
218 | } |
219 | } | |
1423222c S |
220 | .page-scroll { |
221 | position: absolute; | |
222 | bottom: 48px; | |
1423222c S |
223 | left: 50%; |
224 | transform: translateX(-50%); | |
225 | .btn { | |
82468973 S |
226 | width: 32px; |
227 | height: 32px; | |
1423222c | 228 | fill: $red_900; |
82468973 S |
229 | @include media-breakpoint-up(md) { |
230 | width: 64px; | |
231 | height: 64px; | |
232 | } | |
1423222c S |
233 | &:hover { |
234 | fill: white; | |
235 | } | |
236 | svg { | |
82468973 | 237 | width: 12px; |
1423222c S |
238 | height: auto; |
239 | position: absolute; | |
240 | top: 50%; | |
20df8773 S |
241 | transform: translate(-50%, -60%); |
242 | animation: scroll 3s infinite; | |
82468973 S |
243 | @include media-breakpoint-up(md) { |
244 | width: 24px; | |
245 | } | |
1423222c S |
246 | } |
247 | } | |
248 | } | |
4b4334da S |
249 | } |
250 | ||
251 | section.content-section { | |
d8c9a4d4 S |
252 | padding: 3rem 0; |
253 | @include media-breakpoint-up(md) { | |
254 | padding: 96px 0; | |
255 | } | |
4b4334da S |
256 | } |
257 | ||
258 | section#features, | |
20df8773 S |
259 | section#appliances, |
260 | section#fireinfo { | |
4b4334da S |
261 | background-color: $blue-grey-50; |
262 | } | |
263 | ||
20df8773 S |
264 | section#news, |
265 | footer { | |
4b4334da S |
266 | background-color: rgba($blue-grey-900, .2); |
267 | } | |
268 | ||
269 | section#wishlist { | |
270 | background-image: url('../img/wishlist-background.jpg'); | |
271 | background-size: cover; | |
272 | background-position: center center; | |
20df8773 S |
273 | } |
274 | ||
275 | section#fireinfo { | |
276 | border-bottom: 1px solid rgba($blue-grey-900, .2); | |
277 | } | |
278 | ||
279 | #copyright { | |
280 | background-color: rgba($blue-grey-900, .3); | |
281 | padding: 1rem 0; | |
282 | } | |
283 | ||
284 | footer { | |
285 | padding: 3rem 0 0 0; | |
6aa3b1ec S |
286 | h4 { |
287 | margin-bottom: 1.25rem; | |
288 | } | |
289 | ul { | |
290 | li { | |
291 | font-size: $small-font-size; | |
292 | margin-bottom: .75rem; | |
293 | a { | |
294 | color: $blue-grey-900; | |
295 | text-decoration: none; | |
296 | &:hover { | |
297 | color: $blue-grey-600; | |
298 | text-decoration: underline; | |
299 | } | |
300 | } | |
301 | } | |
302 | } | |
303 | .btn-lg { | |
304 | margin-bottom: 2.75rem; | |
305 | svg { | |
306 | width: 20px; | |
307 | height: auto; | |
308 | margin-right: 1.125rem; | |
309 | transform: translateY(2px); | |
310 | } | |
311 | } | |
312 | .btn-sm { | |
313 | box-shadow: none; | |
314 | &:hover { | |
315 | box-shadow: none; | |
316 | } | |
317 | svg { | |
318 | width: auto; | |
319 | height: 28px; | |
320 | } | |
321 | } | |
20df8773 S |
322 | } |
323 | ||
324 | .feature_icons { | |
325 | width: 40px; | |
326 | height: 100%; | |
327 | float: left; | |
328 | margin-right: .5rem; | |
329 | svg { | |
330 | width: 32px; | |
331 | height: auto; | |
332 | transform: translateY(-4px); | |
333 | fill: $red_900; | |
334 | } | |
335 | } | |
336 | ||
337 | @keyframes scroll { | |
338 | 0% { transform: translate(-50%, -60%); } | |
339 | 50% { transform: translate(-50%, -30%); } | |
340 | 100% { transform: translate(-50%, -60%); } | |
341 | } | |
342 | ||
20df8773 S |
343 | .btn-red900 { |
344 | @include button-variant($btn-red900-color, $btn-red900-bg, $btn-red900-border); | |
6aa3b1ec S |
345 | } |
346 | .btn-white { | |
347 | @include button-variant($btn-white-color, $btn-white-bg, $btn-white-border); | |
348 | } | |
349 | .btn-bluegrey900 { | |
350 | @include button-variant($btn-bluegrey900-color, $btn-bluegrey900-bg, $btn-bluegrey900-border); | |
82468973 S |
351 | } |
352 | ||
353 | p.lead { | |
354 | @include media-breakpoint-down(md) { | |
355 | font-size: 1rem; | |
356 | } | |
ac7f3ec6 S |
357 | } |
358 | ||
359 | .circle { | |
360 | position: relative; | |
361 | p.lead { | |
362 | color: $blue-grey-600; | |
363 | position: absolute; | |
364 | top: calc(50% - 1.25rem); | |
365 | width: 100%; | |
366 | } | |
367 | } | |
368 | ||
369 | .truncate { | |
370 | width: 100%; | |
371 | white-space: nowrap; | |
372 | overflow: hidden; | |
373 | text-overflow: ellipsis; | |
1423222c | 374 | } |