TeaWeb/shared/css/static/modal-newcomer.scss

161 lines
4.2 KiB
SCSS
Raw Normal View History

2020-03-27 15:15:15 +00:00
@import "mixin";
@import "properties";
2020-06-13 16:47:05 +00:00
html:root {
--modal-newcomer-header-color: hsla(222, 5%, 39%, 1);
--modal-newcomer-divider: #313135;
}
:global {
.modal-body.modal-newcomer {
display: flex!important;
flex-direction: column!important;
justify-content: stretch!important;
2020-03-27 15:15:15 +00:00
padding: 0!important;
2020-03-27 15:15:15 +00:00
min-width: 20em;
width: 60em;
2020-03-27 15:15:15 +00:00
@include user-select(none);
2020-03-27 15:15:15 +00:00
.container-header {
flex-shrink: 0;
flex-grow: 0;
2020-03-27 15:15:15 +00:00
color: var(--modal-newcommer-header-color);
padding: .5em .5em .25em;
2020-03-27 15:15:15 +00:00
position: relative;
font-size: 1.5em;
text-transform: uppercase;
2020-03-27 15:15:15 +00:00
.step {
&.hidden {
display: none;
}
2020-03-27 15:15:15 +00:00
&::after {
content: ' ';
position: absolute;
2020-03-27 15:15:15 +00:00
left: 0;
right: 0;
bottom: 0;
2020-03-27 15:15:15 +00:00
height: 1.25px;
//background: linear-gradient(90deg, rgba(49,49,53,1) 80%, rgba(49,49,53,0) 100%);
background: var(--modal-newcomer-divider);
}
2020-03-27 15:15:15 +00:00
&.hidden {
&::after {
content: unset;
}
2020-03-27 15:15:15 +00:00
}
}
}
.container-body {
//flex-grow: 1;
//flex-shrink: 1;
flex-shrink: 1;
min-height: 18em;
2020-03-27 15:15:15 +00:00
display: flex;
flex-direction: column;
justify-content: center;
2020-03-27 15:15:15 +00:00
overflow: auto;
@include chat-scrollbar-horizontal();
@include chat-scrollbar-vertical();
2020-03-27 15:15:15 +00:00
background-color: #19191b;
.body {
display: flex;
flex-direction: column;
justify-content: stretch;
2020-03-27 15:15:15 +00:00
padding: .5em .5em .5em;
2020-03-27 15:15:15 +00:00
&.height-transition {
@include transition(max-height .25s ease-in-out, min-height .25s ease-in-out);
overflow: hidden;
}
2020-03-27 15:15:15 +00:00
.step {
&.step-welcome, &.step-finish {
display: flex;
flex-direction: row;
justify-content: center;
2020-03-27 15:15:15 +00:00
.text {
align-self: center;
h1 {
line-height: 1.1em;
2020-03-27 15:15:15 +00:00
margin-bottom: .8em;
margin-top: 0;
}
2020-03-27 15:15:15 +00:00
flex-shrink: 0;
}
2020-03-27 15:15:15 +00:00
&.step-welcome h1 {
margin-bottom: 0;
}
.logo {
max-height: 15em;
max-width: 15em;
2020-03-27 15:15:15 +00:00
align-self: center;
margin-right: 1em;
img {
max-height: 100%;
max-width: 100%;
}
2020-03-27 15:15:15 +00:00
}
}
/* for step-identity or step-microphone */
.container-settings-identity-profile {
padding: .5em;
2020-03-27 15:15:15 +00:00
.left .body {
2020-06-13 16:47:05 +00:00
background-color: #202122;
.overlay {
background-color: #202122;
}
2020-06-13 16:47:05 +00:00
.profile.selected {
background-color: #141415;
}
2020-03-27 15:15:15 +00:00
}
}
&.step-identity { }
2020-03-27 15:15:15 +00:00
&.hidden {
display: none;
}
2020-03-27 15:15:15 +00:00
}
}
}
.buttons {
flex-shrink: 0;
flex-grow: 0;
2020-03-27 15:15:15 +00:00
display: flex;
flex-direction: row;
justify-content: space-between;
2020-03-27 15:15:15 +00:00
border-top: 1.25px solid var(--modal-newcomer-divider);
padding: .5em;
}
2020-03-27 15:15:15 +00:00
}
}