|
|
|
@ -72,148 +72,6 @@ textarea {
|
|
|
|
|
margin-inline-end: 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;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
user-select: none;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: var(--default-duration);
|
|
|
|
|
background-color: var(--color-transparent-color);
|
|
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.default,
|
|
|
|
|
&.square,
|
|
|
|
|
&.brand {
|
|
|
|
|
color: var(--color-foreground-primary);
|
|
|
|
|
|
|
|
|
|
&:not(.disabled):hover {
|
|
|
|
|
background: var(--color-clickable-hovered);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.green {
|
|
|
|
|
background-color: var(--color-accent-button);
|
|
|
|
|
color: var(--color-text-opposite);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.white {
|
|
|
|
|
color: var(--color-text);
|
|
|
|
|
}
|
|
|
|
|
&.primary {
|
|
|
|
|
background-color: var(--color-background-primary);
|
|
|
|
|
color: var(--color-white-color);
|
|
|
|
|
|
|
|
|
|
.session-icon {
|
|
|
|
|
fill: var(--color-foreground-primary);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
&.secondary {
|
|
|
|
|
background-color: var(--color-darkest-gray-color);
|
|
|
|
|
}
|
|
|
|
|
&.success {
|
|
|
|
|
/* TODO is this correct? */
|
|
|
|
|
background-color: var(--color-text);
|
|
|
|
|
}
|
|
|
|
|
&.danger {
|
|
|
|
|
background-color: var(--color-destructive);
|
|
|
|
|
}
|
|
|
|
|
&.danger-alt {
|
|
|
|
|
background-color: var(--color-destructive-alt);
|
|
|
|
|
}
|
|
|
|
|
&.warning {
|
|
|
|
|
background-color: var(--color-light-gray-color);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.brand-outline,
|
|
|
|
|
&.default-outline,
|
|
|
|
|
&.square-outline {
|
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
|
|
&.green {
|
|
|
|
|
@include transparent-background(var(--color-button-green));
|
|
|
|
|
}
|
|
|
|
|
&.white {
|
|
|
|
|
@include transparent-background(var(--color-text));
|
|
|
|
|
}
|
|
|
|
|
&.primary {
|
|
|
|
|
@include transparent-background(var(--color-dark-gray-color));
|
|
|
|
|
}
|
|
|
|
|
&.secondary {
|
|
|
|
|
@include transparent-background(var(--color-darkest-gray-color));
|
|
|
|
|
}
|
|
|
|
|
&.danger {
|
|
|
|
|
@include transparent-background(var(--color-destructive));
|
|
|
|
|
}
|
|
|
|
|
&.warning {
|
|
|
|
|
@include transparent-background(var(--color-warning));
|
|
|
|
|
}
|
|
|
|
|
&.warning,
|
|
|
|
|
&.danger,
|
|
|
|
|
&.secondary,
|
|
|
|
|
&.primary,
|
|
|
|
|
&.white,
|
|
|
|
|
&.green {
|
|
|
|
|
&.disabled {
|
|
|
|
|
@include transparent-background(var(--color-text-subtle));
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
@include transparent-background(var(--color-text-subtle));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.brand {
|
|
|
|
|
min-width: 165px;
|
|
|
|
|
height: 34px;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0px var(--margins-lg);
|
|
|
|
|
font-size: $session-font-md;
|
|
|
|
|
font-family: $session-font-accent;
|
|
|
|
|
border-radius: 500px;
|
|
|
|
|
|
|
|
|
|
&:not(.disabled):hover {
|
|
|
|
|
color: var(--color-text);
|
|
|
|
|
border-color: var(--color-text);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.default,
|
|
|
|
|
&.square,
|
|
|
|
|
&.default-outline,
|
|
|
|
|
&.square-outline {
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
height: 33px;
|
|
|
|
|
padding: 0px 18px;
|
|
|
|
|
font-size: $session-font-sm;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.square,
|
|
|
|
|
&.square-outline {
|
|
|
|
|
border-radius: 0px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
& > *:hover:not(svg) {
|
|
|
|
|
filter: brightness(80%);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.session-label {
|
|
|
|
|
color: var(--color-white-color);
|
|
|
|
|
padding: var(--margins-sm);
|
|
|
|
@ -365,10 +223,6 @@ label {
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.session-button div[role='button'] {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.Toastify__toast {
|
|
|
|
|
background: var(--color-cell-background);
|
|
|
|
|
color: var(--color-text);
|
|
|
|
|