|
|
|
@font-face {
|
|
|
|
font-family: 'SpaceMono';
|
|
|
|
src: url('../fonts/SpaceMono-Regular.ttf') format('truetype');
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'SpaceMono';
|
|
|
|
src: url('../fonts/SpaceMono-Bold.ttf') format('truetype');
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'SpaceMono';
|
|
|
|
src: url('../fonts/SpaceMono-Italic.ttf') format('truetype');
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'SpaceMono';
|
|
|
|
src: url('../fonts/SpaceMono-BoldItalic.ttf') format('truetype');
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Wasa';
|
|
|
|
src: url('../fonts/Wasa-Bold.otf') format('truetype');
|
|
|
|
}
|
|
|
|
|
|
|
|
// Session Colors
|
|
|
|
$session-color-green: #00f782;
|
|
|
|
$session-color-green-alt-1: #00f480;
|
|
|
|
$session-color-green-alt-2: #00fd73;
|
|
|
|
$session-color-green-alt-3: #00f782;
|
|
|
|
|
|
|
|
$session-shade-1: #0c0c0c;
|
|
|
|
$session-shade-2: #161616;
|
|
|
|
$session-shade-3: #191818;
|
|
|
|
$session-shade-4: #1b1b1b;
|
|
|
|
$session-shade-5: #222325;
|
|
|
|
$session-shade-6: #232323;
|
|
|
|
$session-shade-7: #2e2e2e;
|
|
|
|
$session-shade-8: #2f2f2f;
|
|
|
|
$session-shade-9: #313131;
|
|
|
|
$session-shade-10: #3e3e3e;
|
|
|
|
$session-shade-11: #3f3f3f;
|
|
|
|
$session-shade-12: #3f4146;
|
|
|
|
$session-shade-13: #474646;
|
|
|
|
$session-shade-14: #535865;
|
|
|
|
$session-shade-15: #5b6c72;
|
|
|
|
$session-shade-16: #979797;
|
|
|
|
$session-shade-17: #d8d8d8;
|
|
|
|
|
|
|
|
$session-opaque-dark-1: rgba(0, 0, 0, 0.25);
|
|
|
|
$session-opaque-dark-2: rgba(0, 0, 0, 0.37);
|
|
|
|
$session-opaque-dark-3: rgba(0, 0, 0, 0.5);
|
|
|
|
|
|
|
|
$session-color-white: #fff;
|
|
|
|
$session-color-black: #000;
|
|
|
|
$session-color-danger: #ff4538;
|
|
|
|
$session-color-primary: $session-shade-13;
|
|
|
|
$session-color-secondary: $session-shade-16;
|
|
|
|
$session-color-warning: $session-shade-17;
|
|
|
|
|
|
|
|
$session-shadow-opacity: 0.15;
|
|
|
|
$session-overlay-opacity: 0.3;
|
|
|
|
|
|
|
|
@mixin session-color-subtle($color) {
|
|
|
|
color: rgba($color, 0.6);
|
|
|
|
}
|
|
|
|
|
|
|
|
$session-font-family: 'Wasa';
|
|
|
|
$session-transition-duration: 0.25s;
|
|
|
|
|
|
|
|
$session-icon-size-sm: 15px;
|
|
|
|
$session-icon-size-md: 20px;
|
|
|
|
$session-icon-size-lg: 30px;
|
|
|
|
|
|
|
|
$session-conversation-header-height: 60px;
|
|
|
|
|
|
|
|
$session-gradient-green: linear-gradient(
|
|
|
|
270deg,
|
|
|
|
rgba($session-color-green-alt-1, 1),
|
|
|
|
rgba($session-color-green-alt-1, 0.6)
|
|
|
|
);
|
|
|
|
$session-gradient-black: linear-gradient(
|
|
|
|
90deg,
|
|
|
|
rgba($session-shade-3, 1),
|
|
|
|
rgba($session-shade-4, 0.6)
|
|
|
|
);
|
|
|
|
|
|
|
|
$session-dark-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.37);
|
|
|
|
|
|
|
|
$session_message-container-border-radius: 5px;
|
|
|
|
|
|
|
|
.shadowed {
|
|
|
|
opacity: $session-shadow-opacity;
|
|
|
|
}
|
|
|
|
.overlayed {
|
|
|
|
opacity: $session-overlay-opacity;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.overlay {
|
|
|
|
display: block !important;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-group > div {
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.session-button {
|
|
|
|
@mixin transparent-background($textAndBorderColor) {
|
|
|
|
background-color: Transparent;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
overflow: hidden;
|
|
|
|
outline: none;
|
|
|
|
color: $textAndBorderColor;
|
|
|
|
border: 2px solid $textAndBorderColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
width: auto;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
font-weight: 700;
|
|
|
|
user-select: none;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&.default,
|
|
|
|
&.square,
|
|
|
|
&.brand {
|
|
|
|
color: $session-color-white;
|
|
|
|
|
|
|
|
&.green {
|
|
|
|
background-color: $session-color-green;
|
|
|
|
}
|
|
|
|
&.white {
|
|
|
|
background-color: $session-color-white;
|
|
|
|
}
|
|
|
|
&.primary {
|
|
|
|
background-color: $session-color-primary;
|
|
|
|
}
|
|
|
|
&.secondary {
|
|
|
|
background-color: $session-color-secondary;
|
|
|
|
}
|
|
|
|
&.danger {
|
|
|
|
background-color: $session-color-danger;
|
|
|
|
}
|
|
|
|
&.warning {
|
|
|
|
background-color: $session-color-warning;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.brand-outline,
|
|
|
|
&.default-outline,
|
|
|
|
&.square-outline {
|
|
|
|
&.green {
|
|
|
|
@include transparent-background($session-color-green);
|
|
|
|
}
|
|
|
|
&.white {
|
|
|
|
@include transparent-background($session-color-white);
|
|
|
|
}
|
|
|
|
&.primary {
|
|
|
|
@include transparent-background($session-color-primary);
|
|
|
|
}
|
|
|
|
&.secondary {
|
|
|
|
@include transparent-background($session-color-secondary);
|
|
|
|
}
|
|
|
|
&.danger {
|
|
|
|
@include transparent-background($session-color-danger);
|
|
|
|
}
|
|
|
|
&.warning {
|
|
|
|
@include transparent-background($session-color-warning);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.brand {
|
|
|
|
min-width: 165px;
|
|
|
|
height: 45px;
|
|
|
|
line-height: 45px;
|
|
|
|
padding: 0 35px 0 35px;
|
|
|
|
font-size: 15px;
|
|
|
|
font-family: $session-font-family;
|
|
|
|
border-radius: 500px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.default,
|
|
|
|
&.square,
|
|
|
|
&.default-outline,
|
|
|
|
&.square-outline {
|
|
|
|
border-radius: 2px;
|
|
|
|
height: 33px;
|
|
|
|
padding: 0px 18px;
|
|
|
|
line-height: 33px;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.square,
|
|
|
|
&.square-outline {
|
|
|
|
border-radius: 0px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin set-icon-margin($size) {
|
|
|
|
margin: $size / 3;
|
|
|
|
}
|
|
|
|
.session-icon {
|
|
|
|
&.padded-left {
|
|
|
|
@include set-icon-margin($session-icon-size-md);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.session-icon-button {
|
|
|
|
opacity: 0.4;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
transition: opacity $session-transition-duration;
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.small.padded {
|
|
|
|
@include set-icon-margin($session-icon-size-sm);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.medium.padded {
|
|
|
|
@include set-icon-margin($session-icon-size-md);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.large.padded {
|
|
|
|
@include set-icon-margin($session-icon-size-lg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.session-icon {
|
|
|
|
fill: $session-color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* CONVERSATION AND MESSAGES */
|
|
|
|
|
|
|
|
@mixin standard-icon-button() {
|
|
|
|
color: $session-color-white;
|
|
|
|
opacity: 0.9;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-header__title-flex,
|
|
|
|
.module-conversation-header__title {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.module-contact-name {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-contact-name__profile-number {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__author__profile-name {
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__author-avatar {
|
|
|
|
flex-direction: column;
|
|
|
|
display: inline-flex;
|
|
|
|
margin-right: 20px;
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__container {
|
|
|
|
border-radius: $session_message-container-border-radius;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__attachment-container,
|
|
|
|
.module-image--curved-bottom-right,
|
|
|
|
.module-image--curved-bottom-left {
|
|
|
|
border-top-left-radius: 0px;
|
|
|
|
border-top-right-radius: 0px;
|
|
|
|
border-bottom-left-radius: $session_message-container-border-radius;
|
|
|
|
border-bottom-right-radius: $session_message-container-border-radius;
|
|
|
|
}
|
|
|
|
|
|
|
|
.conversation-header .session-icon-button {
|
|
|
|
@include standard-icon-button();
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-header,
|
|
|
|
.message-selection-overlay {
|
|
|
|
height: $session-conversation-header-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-selection-overlay {
|
|
|
|
position: absolute;
|
|
|
|
left: 15px;
|
|
|
|
right: 15px;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
.close-button {
|
|
|
|
float: left;
|
|
|
|
margin-top: 17px;
|
|
|
|
margin-left: 7px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.message-selection-overlay div[role='button'] {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-selection-overlay .button-group {
|
|
|
|
float: right;
|
|
|
|
margin-top: 13.5px;
|
|
|
|
}
|