]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - static/scss/style.scss
Bootstrap 4 migration: downloads.dev.ipfire.org
[people/shoehn/ipfire.org.git] / static / scss / style.scss
CommitLineData
b2051dd7
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";
22cfab2d 20//@import "bootstrap-4.0.0-alpha.6/scss/images";
b2051dd7
S
21// @import "bootstrap-4.0.0-alpha.6/scss/code";
22@import "bootstrap-4.0.0-alpha.6/scss/grid";
6b18ec4c 23@import "bootstrap-4.0.0-alpha.6/scss/tables";
a33e1b4b 24@import "bootstrap-4.0.0-alpha.6/scss/forms";
b2051dd7
S
25@import "bootstrap-4.0.0-alpha.6/scss/buttons";
26
27// Components
28@import "bootstrap-4.0.0-alpha.6/scss/transitions";
b6d1f3b7 29//@import "bootstrap-4.0.0-alpha.6/scss/dropdown";
b2051dd7 30@import "bootstrap-4.0.0-alpha.6/scss/button-group";
b6d1f3b7
S
31//@import "bootstrap-4.0.0-alpha.6/scss/input-group";
32//@import "bootstrap-4.0.0-alpha.6/scss/custom-forms";
b2051dd7
S
33@import "bootstrap-4.0.0-alpha.6/scss/nav";
34@import "bootstrap-4.0.0-alpha.6/scss/navbar";
b6d1f3b7 35//@import "bootstrap-4.0.0-alpha.6/scss/card";
b2051dd7
S
36// @import "bootstrap-4.0.0-alpha.6/scss/breadcrumb";
37// @import "bootstrap-4.0.0-alpha.6/scss/pagination";
3c77f292 38@import "bootstrap-4.0.0-alpha.6/scss/badge";
b2051dd7 39// @import "bootstrap-4.0.0-alpha.6/scss/jumbotron";
e9131ad6 40@import "bootstrap-4.0.0-alpha.6/scss/alert";
b2051dd7
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";
97ed546d
S
44// @import "bootstrap-4.0.0-alpha.6/scss/responsive-embed";
45// @import "bootstrap-4.0.0-alpha.6/scss/close";
b2051dd7
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
97ed546d
S
54@import "bootstrap-4.0.0-alpha.6/scss/utilities";
55
3878736e
SH
56// Lightbox
57@import "photoswipe/main";
58@import "photoswipe/default-skin/default-skin";
9581b35d 59
a33e1b4b
SH
60// Donation Box
61@import "_donation";
62
9581b35d
SH
63body {
64 min-height: 100vh;
65 display: flex;
66 flex-direction: column;
67}
68
49baba87
S
69.container {
70 width: 100%;
71 max-width: 1200px;
9581b35d 72 flex: 1;
49baba87
S
73}
74
55edf6f3 75// Custom stuff
2d8cbd13
S
76@import '_fonts';
77@import '_nav';
55edf6f3 78@import '_buttons';
9581b35d 79@import '_icons';
55edf6f3 80
22cfab2d 81
49baba87 82
a6a4d1cf 83// Colors
a6a4d1cf
S
84.amber-800 {
85 color: $amber-800;
3c77f292
SH
86 border-color: $amber-800;
87}
88
89.green-600 {
90 color: $green-600;
91 border-color: $green-600;
92}
93
94.red-900 {
95 color: $red_900;
96 border-color: $red_900;
97}
98
99.blue-700{
100 color: $blue-700;
101 border-color: $blue-700;
a6a4d1cf
S
102}
103
0c707f0b
SH
104.blue_grey_300 {
105 color: $blue_grey_300;
106}
107
a33e1b4b
SH
108.bg-blue-grey-900 {
109 background-color: $blue-grey-900;
110}
111
112.bg-blue-grey-50 {
113 background-color: $blue-grey-50;
114}
115
22cfab2d
S
116// Images
117img {
118 &.img-fluid {
119 width: 100%;
120 max-width: 100%;
121 height: auto;
122 }
123}
124
22cfab2d
S
125
126footer {
127 .btn-toolbar .icon {
efb8b657
S
128 height: 2.25rem;
129 width: 2.25rem;
22cfab2d
S
130 fill: rgba($blue-grey-900, .6);
131 }
132 .i_heart {
efb8b657
S
133 vertical-align: top;
134 transform: translateY(-.15rem);
135 @include media-breakpoint-down(sm) {
136 transform: translateY(-.75rem);
137 }
22cfab2d
S
138 }
139}
140
97ed546d 141
22cfab2d 142// Sections
97ed546d
S
143section.intro {
144 min-height: 100vh;
145 background-image: url('../img/header-background.jpg');
146 background-size: cover;
147 background-attachment: fixed;
148 background-position: center top;
149 position: relative;
150 .branding {
69a9b33d 151 padding-top: 6rem;
7a9f7ff6 152 @include media-breakpoint-up(sm) {
69a9b33d
S
153 padding-top: 192px;
154 }
97ed546d
S
155 margin-bottom: 64px;
156 text-align: center;
157 color: $blue-grey-600;
158 h1 {
159 font-weight: 300 !important;
160 color: $blue-grey-900;
7a9f7ff6 161 @include media-breakpoint-down(xs) {
49baba87
S
162 font-size: 72px;
163 line-height: 88px;
164 margin-bottom: 0;
69a9b33d 165 }
97ed546d
S
166 strong {
167 font-weight: 700 !important;
168 }
169 }
170 h1:before {
171 content: "";
69a9b33d
S
172 height: 60px;
173 width: 76px;
97ed546d
S
174 background-image: url('../img/ipfire-tux.png');
175 background-repeat: no-repeat;
176 background-position: center center;
177 background-size: contain;
97ed546d
S
178 display: inline-block;
179 position: relative;
69a9b33d 180 top: 4px;
7a9f7ff6 181 @include media-breakpoint-up(sm) {
69a9b33d
S
182 height: 120px;
183 width: 93px;
184 margin-right: 32px;
185 top: 8px;
186 }
97ed546d
S
187 }
188 }
49baba87
S
189}
190
191.page-scroll {
192 display: block;
193 visibility: visible;
194 position: absolute;
195 bottom: 48px;
196 left: 50%;
197 transform: translateX(-50%);
198 .btn {
199 width: 36px;
200 height: 36px;
201 fill: $red_900;
202 @include media-breakpoint-up(sm) {
203 width: 64px;
204 height: 64px;
205 }
206 &:hover .i_arrow_down {
207 fill: white;
97ed546d
S
208 }
209 }
1e5bc9c9
S
210}
211
212section.content-section {
6a63d20a 213 padding: 3rem 0;
7a9f7ff6 214 @include media-breakpoint-up(sm) {
22cfab2d 215 padding: 72px 0;
ccd81281 216 }
1e5bc9c9
S
217}
218
22cfab2d
S
219.feature_icons {
220 width: 40px;
221 height: 100%;
222 float: left;
223 margin-right: .75rem;
1e5bc9c9
S
224}
225
b6d1f3b7 226section#news,
ae6a2da5 227section#support,
b6d1f3b7 228footer {
22cfab2d
S
229 background-color: rgba($blue-grey-900, .06);
230}
231
232section#news {
233 color: rgba($blue-grey-900, .6);
234 h2 {
235 color: $blue-grey-900;
236 }
1e5bc9c9
S
237}
238
239section#wishlist {
240 background-image: url('../img/wishlist-background.jpg');
241 background-size: cover;
242 background-position: center center;
b6d1f3b7
S
243}
244
3d770ad7
S
245.progress {
246 background-color: rgba(255, 255, 255, .2);
247}
248
22cfab2d
S
249.bg-progress {
250 background-image: linear-gradient(to right, $yellow-700, $amber-800);
251}
252
b6d1f3b7
S
253section#fireinfo {
254 border-bottom: 1px solid rgba($blue-grey-900, .2);
255}
256
22cfab2d
S
257.circle {
258 position: relative;
49baba87 259 p.fireinfo_per {
22cfab2d
S
260 color: $blue-grey-600;
261 position: absolute;
bf75d6d5 262 top: calc(50% - 18px);
22cfab2d
S
263 width: 100%;
264 }
b6d1f3b7
S
265}
266
7a9f7ff6
S
267section#appliances {
268 padding-bottom: 48px;
269}
270
9280b190 271.features-content {
4a416dd3 272 padding-top: 88px;
9280b190 273 margin-bottom: 40px;
3c77f292 274 @include media-breakpoint-up(lg) {
4a416dd3
SH
275 padding-top: 161px;
276 }
9280b190
S
277 .content {
278 background: white;
279 border-radius: 4px;
280 box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
281 padding: 40px 24px;
aa44ed56 282 position: relative;
9280b190
S
283 }
284}
285
8842c9d0 286.divider {
9280b190 287 width: 128px;
8842c9d0
S
288 height: 4px;
289 border-radius: 2px;
290 background-image: linear-gradient(to right, $red_900, $deep_orange_a400);
4a416dd3
SH
291 margin: 40px auto 24px auto;
292 @include media-breakpoint-up(sm) {
293 margin: 56px auto 40px auto;
294 }
9280b190
S
295}
296
b6d1f3b7
S
297footer {
298 padding: 3rem 0 0 0;
7a9f7ff6
S
299 @include media-breakpoint-down(md) {
300 padding-top: 31px;
301 }
9ce2074c
S
302 h4 {
303 margin-bottom: 1.25rem;
22cfab2d 304 color: rgba($blue-grey-900, .6);
49baba87
S
305 font-size: 20px;
306 line-height: 28px;
9ce2074c
S
307 }
308 ul {
309 li {
49baba87 310 font-size: 14px;
9ce2074c
S
311 margin-bottom: .75rem;
312 a {
22cfab2d 313 color: rgba($blue-grey-900, .6);
9ce2074c
S
314 text-decoration: none;
315 &:hover {
22cfab2d 316 color: $blue-grey-900;
9ce2074c
S
317 text-decoration: underline;
318 }
319 }
320 }
321 }
322 .btn-lg {
323 margin-bottom: 2.75rem;
9ce2074c
S
324 }
325 .btn-sm {
326 box-shadow: none;
327 &:hover {
328 box-shadow: none;
329 }
9ce2074c 330 }
b6d1f3b7
S
331}
332
22cfab2d
S
333#copyright {
334 background-color: rgba($blue-grey-900, .06);
335 padding: 1rem 0;
49baba87
S
336 p {
337 font-size: 12px;
338 line-height: 16px;
339 }
b6eb5162
S
340}
341
22cfab2d 342// Animation
22cfab2d 343@keyframes scroll {
eafb8738 344 0%, 100% { transform: translateY(30%); }
efb8b657 345 50% { transform: translateY(50%); }
97ed546d 346}