BetterDiscordApp-v2/client/src/styles/partials/modals/modals.scss

98 lines
1.9 KiB
SCSS
Raw Normal View History

2018-08-15 04:03:56 +02:00
.bd-modalWrap {
2018-08-15 11:42:43 +02:00
transition: all .2s ease;
2018-02-13 18:50:01 +01:00
width: 100%;
height: 100%;
position: absolute;
z-index: 9000;
2018-08-15 04:03:56 +02:00
.bd-modalCloseArea {
2018-02-13 18:50:01 +01:00
width: 100%;
height: 100%;
}
}
.bd-modal {
position: fixed;
align-content: space-around;
border-radius: 8px;
width: 100%;
height: 100%;
left: 0;
top: 0;
user-select: none;
padding: 60px;
2018-08-15 11:42:43 +02:00
transform: scale(1) translateZ(0);
2018-02-13 18:50:01 +01:00
-webkit-box-direction: normal;
-webkit-box-orient: vertical;
display: flex;
align-items: center;
box-sizing: border-box;
pointer-events: none;
z-index: 9001;
justify-content: center;
2018-08-15 11:42:43 +02:00
animation: bd-modalIn .22s ease;
2018-02-13 18:50:01 +01:00
2018-08-15 04:03:56 +02:00
&.bd-modalOut {
2018-08-15 11:42:43 +02:00
animation: bd-modalOut .22s ease;
2018-02-13 18:50:01 +01:00
}
2018-08-15 04:03:56 +02:00
.bd-modalInner {
2018-02-13 18:50:01 +01:00
background: #36393e;
contain: layout;
flex-direction: column;
pointer-events: auto;
-webkit-box-direction: normal;
-webkit-box-orient: vertical;
display: flex;
flex-grow: 1;
border-radius: 4px;
max-height: 100%;
max-width: 500px;
width: 500px;
}
2018-08-15 04:03:56 +02:00
.bd-modalBody {
2018-02-13 18:50:01 +01:00
padding: 0 15px;
display: flex;
2018-08-15 11:42:43 +02:00
.bd-scrollerWrap {
.bd-scroller {
color: #fff;
margin: 0;
padding: 0;
}
2018-02-13 18:50:01 +01:00
}
}
2018-08-15 04:03:56 +02:00
.bd-modalTitlelink {
2018-02-13 18:50:01 +01:00
cursor: pointer;
2018-08-15 09:45:10 +02:00
color: $colbdgreen;
2018-02-13 18:50:01 +01:00
&:hover {
text-decoration: underline;
2018-08-15 09:45:10 +02:00
color: lighten($colbdgreen, 5%);
2018-02-13 18:50:01 +01:00
}
}
2018-08-15 04:03:56 +02:00
.bd-modalControls {
2018-02-13 18:50:01 +01:00
display: flex;
padding: 15px;
border-top: 1px solid #4a4a4a;
2018-08-15 04:03:56 +02:00
.bd-modalTip {
2018-02-13 18:50:01 +01:00
flex-grow: 1;
line-height: 26px;
color: #fff;
2018-02-13 18:50:01 +01:00
}
.bd-button {
padding: 5px 10px;
border-radius: 3px;
+ .bd-button {
margin-left: 15px;
}
2018-02-13 18:50:01 +01:00
}
}
}