session-desktop/stylesheets/_session_signin.scss

334 lines
6.4 KiB
SCSS
Raw Normal View History

.session {
&-fullscreen {
@include themify($themes) {
background: themed('cellBackground');
}
overflow-y: auto;
height: 100%;
}
&-content {
width: 100%;
height: 100%;
display: flex;
align-items: center;
2020-05-26 04:34:04 +02:00
flex-direction: column;
&-accent {
flex-grow: 1;
padding-left: 20px;
&-text {
@include themify($themes) {
color: themed('textColor');
}
2020-04-23 09:41:07 +02:00
font-family: $session-font-accent;
.title {
font-size: 100px;
font-weight: 700;
line-height: 120px;
}
}
}
&-registration {
padding-right: 128px;
}
2020-05-26 04:34:04 +02:00
&-header {
display: flex;
flex-direction: row;
width: 100%;
justify-content: space-between;
padding: 17px 20px;
}
&-body {
display: flex;
flex-direction: row;
flex: 1;
align-items: center;
width: 100%;
padding-bottom: 20px;
}
&-close-button {
2020-05-26 04:34:04 +02:00
display: flex;
align-items: center;
}
&-session-button {
img {
width: 30px;
}
}
}
&-registration {
&-container {
display: flex;
flex-direction: column;
width: 289px;
2020-01-05 23:53:18 +01:00
.session-button {
width: 100%;
}
}
&__content {
width: 100%;
padding-top: 20px;
2020-07-06 08:06:24 +02:00
&__secret-words {
display: flex;
flex-direction: column;
align-items: center;
@include themify($themes) {
background: themed('inputBackground');
}
2020-07-06 08:06:24 +02:00
padding: $session-margin-sm $session-margin-lg;
border-radius: 8px;
2020-07-06 08:31:33 +02:00
margin-bottom: 0px;
2020-07-06 08:06:24 +02:00
label {
margin-bottom: 5px;
}
}
}
&__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;
@include themify($themes) {
background: themed('cellBackground');
}
}
&__tab {
2020-04-23 09:41:07 +02:00
@include fontAccentBold();
width: 100%;
padding-bottom: 10px;
background-color: transparent;
text-align: center;
@include themify($themes) {
border-bottom: themed('sessionBorder');
color: themed('textColor');
}
transition: border-color $session-transition-duration linear;
line-height: 17px;
font-size: 15px;
&--active {
@include themify($themes) {
border-bottom: 4px solid themed('accent');
}
}
}
@mixin registration-label-mixin {
@include themify($themes) {
color: themed('textColor');
}
2019-12-19 01:56:30 +01:00
font-weight: bold;
padding: 12px;
}
&__welcome-session {
@include registration-label-mixin;
2020-01-06 01:30:22 +01:00
font-size: 14px;
font-weight: 700;
2020-01-06 01:30:22 +01:00
line-height: 14px;
padding-top: 2em;
2020-01-06 01:30:22 +01:00
text-align: center;
}
2019-12-30 06:10:45 +01:00
&__unique-session-id {
@include registration-label-mixin;
padding-top: 3em;
text-align: center;
}
&__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;
@include themify($themes) {
color: themed('textColor');
}
padding: 2px 0 2px 0;
transition: opacity $session-transition-duration;
opacity: 1;
position: relative;
label {
line-height: 14px;
opacity: 0;
@include themify($themes) {
color: themed('textColor');
}
font-size: 10px;
line-height: 11px;
position: absolute;
top: 0px;
}
&.filled {
opacity: 1;
}
2020-01-06 01:30:22 +01:00
&.error {
@include themify($themes) {
color: themed('destructive');
}
2020-01-06 01:30:22 +01:00
}
input {
border: none;
outline: 0;
height: 14px;
width: 280px;
background: transparent;
@include themify($themes) {
color: themed('textColor');
}
font-size: 12px;
line-height: 14px;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
hr {
@include themify($themes) {
border: themed('sessionBorder');
}
width: 100%;
position: absolute;
bottom: 0px;
}
.session-icon-button {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 0px;
}
}
&-terms-conditions-agreement {
2020-02-14 04:12:03 +01:00
padding-top: $session-margin-md;
@include themify($themes) {
@include session-color-subtle(themed('textColor'));
}
text-align: center;
font-size: 12px;
a {
white-space: nowrap;
font-weight: bold;
2020-01-07 00:08:02 +01:00
text-decoration: none;
@include themify($themes) {
@include session-color-subtle(themed('textColor'));
}
transition: $session-transition-duration;
&:visited &:link {
@include themify($themes) {
@include session-color-subtle(themed('textColor'));
}
}
&:hover {
@include themify($themes) {
color: themed('textColor');
}
}
}
}
2019-12-19 00:05:34 +01:00
&-description-long,
&-signin-device-pairing-header {
padding-top: 10px;
2020-07-06 08:06:24 +02:00
padding-bottom: 20px;
@include themify($themes) {
@include session-color-subtle(themed('textColor'));
}
text-align: center;
font-size: 12px;
line-height: 20px;
2020-07-06 08:06:24 +02:00
ol {
margin-left: 20px;
padding: 0px;
text-align: justify;
}
}
&-id-editable {
2020-01-30 00:55:28 +01:00
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
border-radius: 8px;
2020-01-30 00:55:28 +01:00
border: 2px solid #353535;
margin-bottom: 20px;
2020-01-30 00:55:28 +01:00
textarea {
width: 100%;
outline: 0;
border: none;
background: transparent;
2020-08-24 06:41:37 +02:00
@include themify($themes) {
color: themed('textColor');
}
2020-01-30 00:55:28 +01:00
font-size: 15px;
line-height: 18px;
text-align: center;
overflow-wrap: break-word;
2020-02-14 04:12:03 +01:00
padding: 0px 5px 20px 5px;
2020-01-30 00:55:28 +01:00
display: inline-block;
2020-04-07 03:35:56 +02:00
font-family: $session-font-mono;
2020-01-30 00:55:28 +01:00
user-select: all;
2020-05-26 04:34:04 +02:00
overflow: hidden;
resize: none;
2020-01-30 00:55:28 +01:00
}
}
}
[contenteditable='true']:empty::before {
content: attr(placeholder);
@include themify($themes) {
@include session-color-subtle(themed('textColor'));
}
font-size: 13px;
}
.registration-content-centered {
text-align: center;
}