focalboard/webapp/src/components/dialog.scss

75 lines
1.8 KiB
SCSS
Raw Normal View History

.Dialog {
&.dialog-back {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
2021-01-22 13:24:08 +01:00
background-color: rgba(var(--body-color), 0.5);
}
.dialog {
display: flex;
flex-direction: column;
2020-10-27 11:40:32 +01:00
background-color: rgb(var(--main-bg));
2021-01-22 13:24:08 +01:00
box-shadow: rgba(var(--body-color), 0.1) 0px 0px 0px 1px, rgba(var(--body-color), 0.1) 0px 2px 4px;
border-radius: var(--modal-rad);
padding: 0;
overflow-x: hidden;
overflow-y: auto;
@media not screen and (max-width: 975px) {
margin: 72px auto;
max-width: 975px;
height: calc(100% - 144px);
2020-12-03 01:54:06 +01:00
.hideOnWidescreen {
2021-01-28 20:24:39 +01:00
/* Hide elements on larger screens */
2020-12-03 01:54:06 +01:00
display: none !important;
}
}
@media screen and (max-width: 975px) {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
2020-11-20 20:35:56 +01:00
> * {
flex-shrink: 0;
}
2020-11-10 20:23:08 +01:00
> .banner {
background-color: rgba(230, 220, 192, 0.9);
text-align: center;
padding: 10px;
}
> .banner.error {
background-color: rgba(230, 192, 192, 0.9);
}
> .toolbar {
display: flex;
flex-direction: row;
2021-01-22 13:24:08 +01:00
padding: 16px;
}
> .content {
display: flex;
flex-direction: column;
align-items: flex-start;
@media not screen and (max-width: 975px) {
padding: 10px 126px;
}
@media screen and (max-width: 975px) {
padding: 10px 10px;
}
}
> .content.fullwidth {
padding: 10px 0 10px 0;
}
}
}