signal-desktop/stylesheets/_modal.scss

33 lines
679 B
SCSS
Raw Normal View History

2020-10-30 20:34:04 +00:00
// Copyright 2016-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.modal {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
2019-10-04 18:06:17 +00:00
background-color: $color-black-alpha-20;
padding: 0 20px;
z-index: 100;
overflow-y: auto;
.content {
position: relative;
max-width: 350px;
margin: 100px auto;
padding: 1em;
2019-10-04 18:06:17 +00:00
border-radius: 5px;
overflow: auto;
2019-10-04 18:06:17 +00:00
@include light-theme {
background-color: $color-white;
box-shadow: 0px 3px 5px 0px $color-black-alpha-20;
}
@include dark-theme {
background-color: $color-gray-95;
box-shadow: 0px 3px 5px 0px $color-white-alpha-20;
}
}
}