plate-tool/assets/scss/default_theme/components/_dialog.scss

38 lines
571 B
SCSS
Raw Permalink Normal View History

2023-06-06 22:46:04 +00:00
@use "sass:color";
@use "../variables" as *;
dialog {
border: 3px solid $color-dark;
border-radius: 2%;
2023-06-06 22:52:37 +00:00
color: $color-dark;
background: $color-white;
2023-06-06 22:46:04 +00:00
}
dialog > form[method="dialog"] {
position: absolute;
top: 0;
right: 0;
line-height: 0px;
button {
2023-06-06 22:52:37 +00:00
padding-top: 6px;
2023-06-06 22:46:04 +00:00
padding-left: 3px;
2023-06-06 22:52:37 +00:00
font-size: 150%;
2023-06-06 22:46:04 +00:00
line-height: 0px;
2023-06-06 22:52:37 +00:00
color: $color-dark;
2023-06-06 22:46:04 +00:00
border: 0;
background: transparent;
&::before {
text-align: center;
vertical-align: middle;
content: "\00d7"; // Nicer X
}
2023-06-06 22:52:37 +00:00
&:hover {
color: black;
transition: color 0.1s;
}
2023-06-06 22:46:04 +00:00
}
}