session-desktop/stylesheets/_session_signin.scss

240 lines
4.7 KiB
SCSS
Raw Normal View History

.session {
&-fullscreen {
overflow-y: auto;
height: 100%;
background: linear-gradient(90deg, #121212 100%, #171717 0%);
}
&-content {
width: 100%;
height: 100%;
display: flex;
align-items: center;
&-accent {
flex-grow: 1;
padding-left: 20px;
&-text {
color: $session-color-white;
font-family: $session-font-family;
.title {
font-size: 100px;
font-weight: 700;
line-height: 120px;
}
.subtitle {
font-size: 18px;
font-weight: 700;
.redacted {
background: $session-color-white;
white-space: nowrap;
transition: background-color $session-transition-duration ease;
border-radius: 100px;
padding-left: 7px;
padding-right: 7px;
&:hover {
background-color: $session-color-black;
}
}
}
}
}
&-registration {
height: 60%;
padding-right: 128px;
}
}
&-registration {
&-container {
display: flex;
flex-direction: column;
width: 289px;
}
&__content {
width: 100%;
overflow-y: auto;
padding-top: 20px;
}
&__sections {
display: flex;
flex-grow: 1;
flex-direction: column;
}
&__tab-container {
display: flex;
flex-grow: 0;
flex-shrink: 0;
cursor: pointer;
width: 289px;
height: 30px;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
color: $session-color-white;
}
&__tab {
@include fontWasaBold();
width: 100%;
padding-bottom: 10px;
background-color: transparent;
text-align: center;
color: $session-color-white;
border-bottom: 2px solid $session-color-dark-grey;
transition: border-color $session-transition-duration linear;
line-height: 17px;
font-size: 15px;
&--active {
border-bottom: 4px solid $session-color-green;
}
}
@mixin registration-label-mixin {
color: $session-color-white;
text-align: center;
font-size: 17px;
font-weight: 700;
line-height: 17px;
padding: 12px;
}
&__or {
@include registration-label-mixin;
}
&__unique-session-id {
@include registration-label-mixin;
padding-top: 3em;
}
&__entry-fields {
margin: 0px;
padding-bottom: 30px;
}
}
&-input-floating-label-show-hide {
2019-12-11 04:05:56 +01:00
padding-right: 30px;
}
&-input-with-label-container {
height: 46.5px;
width: 280px;
color: $session-color-white;
padding: 2px 0 2px 0;
transition: opacity $session-transition-duration;
opacity: 1;
position: relative;
label {
line-height: 14px;
opacity: 0;
color: #737373;
font-size: 10px;
line-height: 11px;
position: absolute;
top: 0px;
}
&.filled {
opacity: 1;
}
input {
border: none;
outline: 0;
height: 14px;
width: 280px;
background: transparent;
color: $session-color-white;
font-size: 12px;
line-height: 14px;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
hr {
border: 1px solid $session-color-white;
width: 100%;
position: absolute;
bottom: 0px;
}
.session-icon-button {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 0px;
}
}
&-terms-conditions-agreement {
padding-top: 10px;
color: $session-color-light-grey;
text-align: center;
font-size: 12px;
a {
white-space: nowrap;
font-weight: bold;
color: $session-color-light-grey;
transition: $session-transition-duration;
&:visited &:link {
color: $session-color-light-grey;
}
&:hover {
color: $session-color-white;
}
}
}
&-signup-header,
&-signin-device-pairing-header {
padding-top: 10px;
padding-bottom: 10px;
color: $session-color-light-grey;
text-align: center;
font-size: 12px;
line-height: 20px;
}
&-signin-enter-session-id {
height: auto;
width: 289px;
border-radius: 8px;
border: 2px solid $session-color-dark-grey;
outline: 0;
background: transparent;
color: $session-color-white;
font-size: 12px;
line-height: 14px;
text-align: center;
margin-bottom: 20px;
overflow-wrap: break-word;
padding: 20px 5px 20px 5px;
display: inline-block;
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
}
[contenteditable='true']:empty::before {
content: attr(placeholder);
color: $session-color-light-grey;
}