mirror of
https://github.com/lux-tel/session-desktop.git
synced 2026-10-30 20:33:24 +00:00
137 lines
1.9 KiB
SCSS
137 lines
1.9 KiB
SCSS
#root {
|
|
height: 100%;
|
|
}
|
|
.subtle {
|
|
opacity: $session-subtle-factor;
|
|
}
|
|
|
|
.soft {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.fullwidth {
|
|
width: 100%;
|
|
}
|
|
|
|
.break-word {
|
|
word-break: break-all;
|
|
}
|
|
|
|
input,
|
|
textarea {
|
|
caret-color: var(--input-text-color) !important;
|
|
}
|
|
|
|
* {
|
|
user-select: none;
|
|
|
|
.text-selectable,
|
|
input,
|
|
textarea {
|
|
a {
|
|
word-break: break-all;
|
|
}
|
|
}
|
|
}
|
|
|
|
::selection {
|
|
background: var(--text-selection-color);
|
|
}
|
|
|
|
.overlay {
|
|
display: flex !important;
|
|
z-index: 1;
|
|
}
|
|
|
|
#main-view {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-grow: 1;
|
|
position: relative;
|
|
}
|
|
|
|
.button-group > div {
|
|
display: inline-flex;
|
|
margin-inline-start: 5px;
|
|
margin-inline-end: 5px;
|
|
}
|
|
|
|
.session-label {
|
|
font-weight: 700;
|
|
color: var(--white-color);
|
|
padding: var(--margins-sm);
|
|
width: 100%;
|
|
border-radius: 2px;
|
|
text-align: center;
|
|
&.primary {
|
|
background-color: var(--primary-color);
|
|
}
|
|
&.danger {
|
|
background-color: var(--danger-color);
|
|
}
|
|
}
|
|
|
|
.session-icon-button {
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
position: relative;
|
|
transform: translateZ(0);
|
|
}
|
|
|
|
/* CONVERSATION AND MESSAGES */
|
|
|
|
.module-message--incoming {
|
|
margin-inline-start: 0;
|
|
margin-inline-end: auto;
|
|
}
|
|
.module-message--outgoing {
|
|
margin-inline-end: 0;
|
|
margin-inline-start: auto;
|
|
}
|
|
|
|
.module-message__container {
|
|
position: relative;
|
|
display: inline-block;
|
|
min-width: 30px;
|
|
// To limit messages with things forcing them wider, like long attachment names.
|
|
width: 100%;
|
|
align-items: center;
|
|
border-radius: var(--border-radius-message-box);
|
|
}
|
|
|
|
label {
|
|
user-select: none;
|
|
}
|
|
|
|
.title-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.conversation-loader {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin: -40px 0 0 -40px;
|
|
|
|
& > div {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.messages li {
|
|
transition: var(--default-duration) !important;
|
|
}
|
|
|
|
input {
|
|
user-select: text;
|
|
}
|