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