-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy path_emphasis-box.scss
More file actions
29 lines (24 loc) · 896 Bytes
/
_emphasis-box.scss
File metadata and controls
29 lines (24 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
@use '../includes/lib' as *;
// * -------------------------------------------------------------------------- */
// Base emphasis Box class
.mzp-c-emphasis-box {
background-color: $background-color;
border-radius: $border-radius-md;
box-shadow: $box-shadow-sm;
margin: $spacing-md;
padding: $spacing-xl;
&.mzp-t-dark {
background-color: $background-color-inverse;
color: $body-text-color-inverse;
}
@supports (--css: variables) {
background-color: var(--background-color);
&.mzp-t-dark {
background-color: var(--background-color-inverse);
color: var(--token-body-text-color-inverse);
}
}
}