session-desktop/stylesheets/_modal.scss

81 lines
1.2 KiB
SCSS
Raw Normal View History

.modal {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: rgba(0, 0, 0, 0.3);
padding: 0 20px;
z-index: 100;
overflow-y: auto;
.content {
position: relative;
max-width: 350px;
margin: 100px auto;
padding: 1em;
background-color: $color-white;
border-radius: $border-radius;
overflow: auto;
2018-05-04 22:07:52 +02:00
box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
}
}
2020-08-25 08:58:24 +02:00
/* remove scroll bars */
.loki-dialog .add-moderators-dialog .content {
padding: 1.1em;
}
.create-group-dialog,
.add-moderators-dialog,
.remove-moderators-dialog,
.invite-friends-dialog {
.content {
max-width: 100% !important;
}
.buttons {
margin: 8px;
}
.group-name {
font-size: larger;
}
.titleText {
font-size: large;
text-align: center;
}
.no-friends {
text-align: center;
}
.hidden {
display: none;
}
}
.create-group-dialog,
.add-moderators-dialog,
.remove-moderators-dialog,
.edit-profile-dialog {
.error-message {
text-align: center;
color: red;
display: block;
user-select: none;
}
.error-faded {
opacity: 0;
margin-top: -5px;
transition: all 100ms linear;
}
.error-shown {
opacity: 1;
transition: all 250ms linear;
}
}