session-desktop/stylesheets/_session_signin.scss
Audric Ackermann e17b5e0671
Fix attachment dl freeze (#2086)
* fix attachment download freezing app for some opengroups

* make registration page work with smaller height
2021-12-15 15:56:29 +11:00

230 lines
4.2 KiB
SCSS

.session {
&-fullscreen {
width: 100%;
height: 100%;
background-color: white;
}
&-content {
.session-button.brand-outline.brand.green:hover {
background-color: var(--color-accent);
}
&-accent {
&-text {
font-family: $session-font-accent;
.title {
font-size: 90px;
font-weight: 700;
line-height: 100px;
}
}
}
&-registration {
padding-inline-end: 128px;
}
&-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;
}
}
&-registration {
&-container {
display: flex;
flex-direction: column;
width: 289px;
.session-button {
width: 100%;
}
}
&__content {
width: 100%;
padding-top: 20px;
}
@mixin registration-label-mixin {
color: var(--color-text);
font-weight: bold;
padding: 20px;
}
&__welcome-session {
@include registration-label-mixin;
font-size: 14px;
font-weight: 700;
line-height: 14px;
padding-top: 2em;
text-align: center;
}
&__unique-session-id {
@include registration-label-mixin;
text-align: center;
}
&__entry-fields {
margin: 0px;
padding-bottom: 30px;
}
}
&-input-floating-label-show-hide {
padding-inline-end: 30px;
}
&-input-with-label-container {
height: 46.5px;
width: 280px;
font-family: $session-font-default;
color: var(--color-text);
padding: 2px 0 2px 0;
transition: opacity $session-transition-duration;
opacity: 1;
position: relative;
label {
line-height: 14px;
opacity: 0;
color: var(--color-text);
font-size: 10px;
line-height: 11px;
position: absolute;
top: 0px;
}
&.filled {
opacity: 1;
}
&.error {
color: var(--color-destructive);
}
input {
border: none;
outline: 0;
height: 14px;
width: 280px;
background: transparent;
color: var(--color-text);
font-family: $session-font-default;
font-size: 12px;
line-height: 14px;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
hr {
border: var(--border-session);
width: 100%;
position: absolute;
bottom: 0px;
}
.session-icon-button {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 0px;
}
}
&-terms-conditions-agreement {
padding-top: $session-margin-md;
@include session-color-subtle(var(--color-text));
text-align: center;
font-size: 12px;
a {
white-space: nowrap;
font-weight: bold;
text-decoration: none;
@include session-color-subtle(var(--color-text));
transition: $session-transition-duration;
&:visited &:link {
@include session-color-subtle(var(--color-text));
}
&:hover {
color: var(--color-text);
}
}
}
&-description-long {
padding-top: 0;
padding-bottom: 20px;
@include session-color-subtle(var(--color-text));
text-align: center;
font-size: 12px;
line-height: 20px;
ol {
margin-inline-start: 20px;
padding: 0px;
text-align: justify;
}
}
&-id-editable {
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
border-radius: 8px;
border: 1px solid subtle(#353535);
margin-bottom: 20px;
textarea {
width: 100%;
outline: 0;
border: none;
background: transparent;
color: var(--color-text);
font-size: 15px;
line-height: 18px;
text-align: center;
overflow-wrap: break-word;
padding: 0px 5px 20px 5px;
display: inline-block;
font-family: $session-font-mono;
user-select: all;
overflow: hidden;
resize: none;
}
}
}
[contenteditable='true']:empty::before {
content: attr(placeholder);
@include session-color-subtle(var(--color-text));
font-size: 13px;
}