1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-31 01:39:50 +02:00

full dialog build + script fix

This commit is contained in:
soph-iest
2018-12-11 11:08:46 -05:00
parent ac13679413
commit 2ff76ad8c6
4 changed files with 71 additions and 2 deletions

View File

@@ -0,0 +1,52 @@
dialog {
position: relative;
padding: 1.5rem 2rem;
> :last-child {
margin-bottom: 0;
}
&::before,
&::after {
position: absolute;
z-index: -1;
content: "";
}
&::before {
top: 0;
right: 0;
bottom: 0;
left: 0;
}
&::after {
top: 2px;
right: 2px;
bottom: 2px;
left: 2px;
border-color: $base-color;
border-style: solid;
border-width: 4px;
border-radius: 4px;
}
&.is-center.is-dark {
color: $background-color;
background-color: $base-color;
// &::before {
// background-color: $base-color;
// }
// &::after {
// border-color: #fff;
// }
// &.with-title {
// > .title {
// color: $background-color;
// background-color: $base-color;
// }
// }
}
}