First release
This commit is contained in:
commit
fa6c85266e
2339 changed files with 761050 additions and 0 deletions
37
node_modules/nes.css/scss/elements/dialogs.scss
generated
vendored
Normal file
37
node_modules/nes.css/scss/elements/dialogs.scss
generated
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
.nes-dialog {
|
||||
padding: 1.5rem 2rem;
|
||||
border-width: $border-size;
|
||||
|
||||
> .backdrop,
|
||||
&::backdrop {
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
> :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
&.is-rounded {
|
||||
@include rounded-corners();
|
||||
|
||||
&.is-dark {
|
||||
@include rounded-corners(true);
|
||||
}
|
||||
}
|
||||
&.is-dark {
|
||||
color: $background-color;
|
||||
background-color: $base-color;
|
||||
border-color: $background-color;
|
||||
|
||||
&:not(.is-rounded)::before {
|
||||
position: absolute;
|
||||
top: -$border-size * 2;
|
||||
right: -$border-size * 2;
|
||||
bottom: -$border-size * 2;
|
||||
left: -$border-size * 2;
|
||||
z-index: -1;
|
||||
content: "";
|
||||
border: $border-size solid $base-color;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue