]> git.ipfire.org Git - ipfire.org.git/blame - src/scss/style.scss
Drop everything that is unused
[ipfire.org.git] / src / scss / style.scss
CommitLineData
bc5b7100 1@import "variables";
91e44d91 2
8e1ad516 3// Use all Bootstrap modules that we want
bc5b7100
MT
4@import "../bootstrap/scss/functions";
5@import "../bootstrap/scss/variables";
6@import "../bootstrap/scss/mixins";
8e1ad516 7@import "../bootstrap/scss/root";
bc5b7100 8@import "../bootstrap/scss/reboot";
bc5b7100 9@import "../bootstrap/scss/type";
8e1ad516
MT
10@import "../bootstrap/scss/images";
11@import "../bootstrap/scss/code";
bc5b7100
MT
12@import "../bootstrap/scss/grid";
13@import "../bootstrap/scss/tables";
14@import "../bootstrap/scss/forms";
15@import "../bootstrap/scss/buttons";
bc5b7100 16@import "../bootstrap/scss/transitions";
8e1ad516 17@import "../bootstrap/scss/dropdown";
bc5b7100 18@import "../bootstrap/scss/button-group";
8e1ad516 19@import "../bootstrap/scss/input-group";
bc5b7100
MT
20@import "../bootstrap/scss/nav";
21@import "../bootstrap/scss/navbar";
8e1ad516
MT
22@import "../bootstrap/scss/card";
23@import "../bootstrap/scss/pagination";
bc5b7100 24@import "../bootstrap/scss/badge";
8e1ad516 25@import "../bootstrap/scss/alert";
bc5b7100
MT
26@import "../bootstrap/scss/progress";
27@import "../bootstrap/scss/media";
28@import "../bootstrap/scss/list-group";
8e1ad516 29@import "../bootstrap/scss/close";
95b30f84 30@import "../bootstrap/scss/modal";
bc5b7100 31@import "../bootstrap/scss/utilities";
8e1ad516 32@import "../bootstrap/scss/print";
1423222c 33
616bd6a5
MT
34// Include fonts
35@import "fonts";
36
5236a99a 37// Custom stuff
7ca46dd8 38@import '_icons';
5236a99a 39
60ad7705
MT
40// Makes everything white with dark text on it
41.inverse {
42 background-color: $body-color;
43 color: $body-bg;
44}
45
d5389cd7 46html {
9f043320 47 position: relative;
d5389cd7
MT
48 min-height: 100%;
49}
9f043320 50
d5389cd7 51body {
d5389cd7 52 margin-bottom: $footer-height;
cc59f0e1
MT
53}
54
41f3d31d
MT
55// Buttons
56.btn {
57 text-transform: uppercase;
58}
59
dd06f761 60@each $color, $value in $theme-colors {
3e486013 61 .btn-glow-#{$color} {
dcaed004 62 color: white;
dd06f761
MT
63 background-color: rgba($value, .15);
64 }
65}
66
25346297 67.card {
60ad7705 68 @extend .inverse;
25346297
MT
69}
70
9f043320
MT
71.nav {
72 .nav-link {
25346297 73 color: $white;
9f043320
MT
74
75 &.active {
76 color: $link-color;
77 border-left: 2px solid $link-color;
78 }
79 }
80}
81
56fdd02c 82.navbar {
c56cbe8c
MT
83 background-color: rgba($gray-400, .06);
84
a9a5d02b
MT
85 .navbar-brand {
86 color: inherit;
56fdd02c 87 }
dce6f905
MT
88
89 .navbar-nav {
90 .nav-link {
a9a5d02b 91 color: inherit;
dce6f905
MT
92
93 &.active {
94 border-bottom: 2px solid $link-color;
95 }
96 }
97 }
56fdd02c
MT
98}
99
c2cbe16d 100footer {
d5389cd7
MT
101 position: absolute;
102 bottom: 0;
103 width: 100%;
104 height: $footer-height;
105
252d95b6
MT
106 padding: 3rem 0 0 0;
107
108 @include media-breakpoint-down(md) {
109 padding-top: 31px;
110 }
111
112 h4 {
113 margin-bottom: 1.25rem;
114 color: rgba($gray-400, .6);
115 font-size: 20px;
116 line-height: 28px;
117 }
118
119 ul {
120 li {
121 font-size: 14px;
122 margin-bottom: .75rem;
123
124 a {
125 color: rgba($gray-400, .6);
126 text-decoration: none;
127 &:hover {
128 color: $gray-400;
129 text-decoration: underline;
130 }
131 }
132 }
133 }
134
135 .btn-lg {
136 margin-bottom: 2.75rem;
137 }
138
139 .copyright {
140 background-color: rgba($gray-400, .06);
141 padding: $spacer 0;
142
143 font-size: $small-font-size;
144
145 a {
146 color: $text-muted;
147 }
148 }
c2cbe16d
S
149}
150
c2cbe16d 151// Sections
319dd276 152
cc59f0e1 153.main {
30b0d61a
MT
154 .intro {
155 min-height: 100%;
156 min-height: 100vh;
157
158 margin-top: -6rem;
159
35c610f8
MT
160 @include media-breakpoint-down(sm) {
161 padding-top: 6rem;
162 }
163
30b0d61a
MT
164 display: flex;
165 align-items: center;
166 }
167
cc59f0e1
MT
168 section {
169 padding: 3rem 0;
319dd276 170
cc59f0e1
MT
171 @include media-breakpoint-up(sm) {
172 padding: 72px 0;
173 }
319dd276 174 }
319dd276
MT
175}
176
12e5de7e 177.blog-post {
4b2975d2
MT
178 .blog-header {
179 h5 {
180 a {
9632ca8b 181 color: $dark;
4b2975d2 182 }
60e77f07
MT
183 }
184 }
8ebc98d4 185
fb37ac29
MT
186 .blog-content {
187 h1, h2, h3, h4, h5, h6 {
2ee63634 188 font-size: 1.375rem;
fb37ac29 189 font-weight: $headings-font-weight;
2ee63634 190 line-height: $headings-line-height;
fb37ac29
MT
191 margin-bottom: 0.25rem;
192 }
c5cfd0d5
MT
193
194 img {
195 @include img-fluid;
196 }
fb37ac29
MT
197 }
198
8ebc98d4 199 &.lightning-wire-labs {
4b2975d2
MT
200 .blog-header {
201 h5 {
202 a {
203 color: $lwl;
204 }
205 }
206
207 a {
208 color: $lwl;
209 }
210 }
211
212 .blog-content {
213 a {
214 color: $lwl;
215 }
8ebc98d4
MT
216 }
217 }
12e5de7e
MT
218}
219
8bc72662
MT
220// Donations
221
161b0c22 222.donation-explanation {
bddae05d
MT
223 color: $text-muted;
224 padding: 1.5rem;
161b0c22 225
bddae05d
MT
226 .faq {
227 a {
161b0c22
MT
228 color: inherit;
229 }
230 }
231}
232
9f043320
MT
233// Sidebar navigation
234
235#sidebar .nav {
236 position: fixed;
237}
238
c2cbe16d
S
239.feature_icons {
240 width: 40px;
241 height: 100%;
242 float: left;
243 margin-right: .75rem;
4b4334da
S
244}
245
61975d93
S
246.progress {
247 background-color: rgba(255, 255, 255, .2);
248}
249
c2cbe16d
S
250.circle {
251 position: relative;
f8c4f791 252 p.fireinfo_per {
25346297 253 color: $gray-800;
c2cbe16d 254 position: absolute;
d56f505e 255 top: calc(50% - 18px);
c2cbe16d
S
256 width: 100%;
257 }
20df8773
S
258}
259
bf5b46d4 260.divider {
0955047d 261 width: 128px;
bf5b46d4
S
262 height: 4px;
263 border-radius: 2px;
25346297 264 background-image: linear-gradient(to right, $red, $gray-400);
96dd6875
SH
265 margin: 40px auto 24px auto;
266 @include media-breakpoint-up(sm) {
267 margin: 56px auto 40px auto;
268 }
0955047d
S
269}
270
c2cbe16d 271// Animation
c2cbe16d 272@keyframes scroll {
61eaa9b2 273 0%, 100% { transform: translateY(30%); }
fdae1aac 274 50% { transform: translateY(50%); }
7c0605e8 275}