focalboard/webapp/src/components/modal.scss

34 lines
745 B
SCSS
Raw Normal View History

2021-01-13 19:12:22 +01:00
.Modal {
position: absolute;
top: 25px;
2021-01-13 19:37:17 +01:00
left: -230px;
2021-01-13 19:12:22 +01:00
z-index: 10;
min-width: 430px;
box-shadow: rgba(var(--main-fg), 0.1) 0px 0px 0px 1px, rgba(var(--main-fg), 0.1) 0px 2px 4px;
background-color: rgb(var(--main-bg));
padding: 10px;
@media screen and (max-width: 430px) {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
min-width: 0;
}
.hideOnWidescreen {
/* Hide controls (e.g. close button) on larger screens */
@media not screen and (max-width: 430px) {
display: none !important;
}
}
> .toolbar {
display: flex;
flex-direction: row;
height: 30px;
margin-bottom: 10px;
}
}