Files
lucent-laravel/front/sass/_dialog.scss
T

54 lines
742 B
SCSS
Raw Normal View History

2024-08-15 22:11:26 +03:00
//
//:modal {
// background-color: beige;
// border: 2px solid burlywood;
// border-radius: 5px;
//}
2024-08-16 14:34:39 +03:00
html {
//scrollbar-gutter: stable;
}
2024-08-15 22:11:26 +03:00
body:has(dialog[open]) {
overflow: hidden;
}
2024-08-16 14:34:39 +03:00
dialog {
2024-08-16 16:00:48 +03:00
margin: 2vh auto;
2024-08-15 22:11:26 +03:00
background-color: #fff;
padding: 34px;
border: none;
2024-08-17 19:23:19 +03:00
border-radius: 12px;
2024-08-15 22:11:26 +03:00
overflow: auto;
2024-08-16 16:00:48 +03:00
max-height: 96vh;
2024-08-17 19:23:19 +03:00
box-shadow: none;
2024-08-16 14:34:39 +03:00
//position: relative;
2024-08-17 19:23:19 +03:00
2024-08-16 14:34:39 +03:00
.close {
2024-08-15 22:11:26 +03:00
position: absolute;
2024-08-16 16:00:48 +03:00
top: 10px;
right: 0px;
2024-08-15 22:11:26 +03:00
}
2024-08-16 14:34:39 +03:00
.dialog-body {
2024-08-15 22:11:26 +03:00
width: fit-content;
}
}
dialog::backdrop {
backdrop-filter: blur(3px);
}
2024-08-16 14:34:39 +03:00
.dialog-header {
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 8px;
2024-08-16 16:00:48 +03:00
position: sticky;
top: -34px;
z-index: 999;
background: #fff;
padding: 10px 0;
2024-08-16 14:34:39 +03:00
}