2020-03-30 21:43:27 +02:00
|
|
|
.ReactModal__Body--open {
|
|
|
|
#app {
|
2020-04-13 21:16:07 +02:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
height: 100vh;
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
2020-03-30 21:43:27 +02:00
|
|
|
}
|
2021-02-09 17:05:56 +01:00
|
|
|
|
|
|
|
[data-reach-menu] {
|
|
|
|
z-index: 10000;
|
|
|
|
}
|
2020-03-30 21:43:27 +02:00
|
|
|
}
|
|
|
|
|
2019-01-14 19:40:06 +01:00
|
|
|
.modal-overlay {
|
2018-10-17 00:29:55 +02:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
2018-10-17 19:14:24 +02:00
|
|
|
right: 0;
|
|
|
|
align-items: center;
|
2019-11-22 22:13:00 +01:00
|
|
|
background-color: var(--color-background-overlay);
|
2018-10-17 19:14:24 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
position: fixed;
|
2017-04-12 22:23:20 +02:00
|
|
|
z-index: 9999;
|
2022-02-11 19:50:55 +01:00
|
|
|
z-index: 9999;
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
2022-06-13 09:16:31 +02:00
|
|
|
// background-color: rgba(var(--color-header-background-base), 0.95);
|
|
|
|
background-color: rgba(var(--color-header-background-base), 0.4);
|
|
|
|
padding: var(--spacing-s);
|
|
|
|
// // border:
|
|
|
|
-webkit-backdrop-filter: blur(4px);
|
|
|
|
backdrop-filter: blur(4px);
|
|
|
|
// border: 2px solid black;
|
|
|
|
|
|
|
|
.ReactModal__Content {
|
|
|
|
border: 2px solid black;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
.card {
|
2022-06-22 14:23:40 +02:00
|
|
|
padding: var(--spacing-s);
|
2022-06-13 09:16:31 +02:00
|
|
|
border: unset;
|
|
|
|
.card__title {
|
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
}
|
2017-04-12 22:23:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
2019-11-22 22:13:00 +01:00
|
|
|
@extend .card;
|
2020-01-02 17:30:27 +01:00
|
|
|
background-color: var(--color-modal-background);
|
2018-12-19 06:44:53 +01:00
|
|
|
line-height: 1.55;
|
2022-04-01 18:40:04 +02:00
|
|
|
min-width: 580px;
|
2018-10-17 19:14:24 +02:00
|
|
|
max-width: var(--modal-width);
|
2017-04-12 22:23:20 +02:00
|
|
|
overflow: auto;
|
2022-04-01 18:40:04 +02:00
|
|
|
overflow-x: hidden;
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: var(--spacing-l);
|
2017-07-29 18:59:47 +02:00
|
|
|
word-break: break-word;
|
2022-02-11 19:50:55 +01:00
|
|
|
background-color: var(--color-modal-background) !important;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
border: 2px solid #000;
|
|
|
|
-webkit-backdrop-filter: blur(4px);
|
|
|
|
backdrop-filter: blur(4px);
|
|
|
|
|
|
|
|
.card {
|
|
|
|
.card__main-actions {
|
|
|
|
border-top: unset;
|
|
|
|
}
|
2018-04-17 04:21:19 +02:00
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
input {
|
|
|
|
background: var(--color-header-button) !important;
|
|
|
|
&:focus {
|
|
|
|
border: 1px solid var(--color-primary);
|
|
|
|
box-shadow: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:focus-visible {
|
|
|
|
box-shadow: none !important;
|
|
|
|
background-color: var(--color-modal-background) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-preview__wrapper {
|
2022-04-05 16:02:32 +02:00
|
|
|
padding-top: 0;
|
|
|
|
|
|
|
|
.claim-preview-info {
|
|
|
|
padding-top: var(--spacing-s);
|
|
|
|
}
|
|
|
|
.claim__menu-button {
|
|
|
|
right: var(--spacing-xxs) !important;
|
|
|
|
}
|
2022-05-31 11:14:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.repost-wrapper {
|
|
|
|
.claim-preview__wrapper {
|
|
|
|
padding-top: var(--spacing-m);
|
|
|
|
border: 2px solid var(--color-border);
|
|
|
|
.claim-preview__actions {
|
|
|
|
margin-top: unset;
|
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
}
|
2019-11-22 22:13:00 +01:00
|
|
|
}
|
|
|
|
|
2019-12-18 06:27:08 +01:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2019-12-19 21:43:49 +01:00
|
|
|
max-width: 100%;
|
2019-12-22 23:52:21 +01:00
|
|
|
min-width: auto;
|
2019-12-18 06:27:08 +01:00
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
|
2019-12-19 21:43:49 +01:00
|
|
|
.card {
|
|
|
|
box-shadow: none;
|
2020-03-30 21:43:27 +02:00
|
|
|
border: none;
|
2019-12-19 21:43:49 +01:00
|
|
|
}
|
2022-02-15 09:43:39 +01:00
|
|
|
|
|
|
|
.card__main-actions {
|
|
|
|
.section__actions {
|
|
|
|
.button {
|
2022-06-13 09:16:31 +02:00
|
|
|
margin-top: var(--spacing-m);
|
2022-06-22 14:23:40 +02:00
|
|
|
margin-right: var(--spacing-s);
|
2022-06-13 09:16:31 +02:00
|
|
|
padding: 0;
|
2022-02-15 09:43:39 +01:00
|
|
|
.button__content {
|
|
|
|
.button__label {
|
2022-06-23 13:53:19 +02:00
|
|
|
margin-left: var(--spacing-s);
|
2022-02-15 09:43:39 +01:00
|
|
|
font-size: var(--font-small);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-06-13 09:16:31 +02:00
|
|
|
.button--primary {
|
|
|
|
.button__content {
|
|
|
|
.icon {
|
|
|
|
margin-left: var(--spacing-s);
|
|
|
|
}
|
|
|
|
.button__label {
|
|
|
|
margin-right: var(--spacing-s);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-02-15 09:43:39 +01:00
|
|
|
}
|
|
|
|
.help {
|
|
|
|
font-size: var(--font-small);
|
|
|
|
}
|
|
|
|
.checkbox {
|
2022-02-15 11:08:22 +01:00
|
|
|
label {
|
|
|
|
font-size: var(--font-xsmall) !important;
|
2022-02-15 09:43:39 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
2020-12-11 19:33:27 +01:00
|
|
|
|
|
|
|
.button--close {
|
|
|
|
z-index: 10000;
|
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
}
|
2022-03-02 15:44:01 +01:00
|
|
|
|
|
|
|
.radio,
|
|
|
|
.radio + h1 {
|
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
}
|
2017-04-12 22:23:20 +02:00
|
|
|
}
|
|
|
|
|
2019-11-22 22:13:00 +01:00
|
|
|
.modal--card-internal {
|
|
|
|
padding: 0;
|
2020-05-21 17:38:28 +02:00
|
|
|
border: none;
|
2019-11-22 22:13:00 +01:00
|
|
|
|
|
|
|
.card {
|
|
|
|
margin: 0;
|
2020-05-21 17:38:28 +02:00
|
|
|
border: none;
|
2022-02-11 19:50:55 +01:00
|
|
|
|
|
|
|
padding: var(--spacing-l);
|
|
|
|
border: 2px solid black;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
|
|
|
|
.form-field--copyable {
|
|
|
|
background: rgba(var(--color-primary-dynamic), 0.1);
|
|
|
|
border-top: 1px solid var(--color-border);
|
|
|
|
border-bottom: 1px solid var(--color-border);
|
|
|
|
border-left: 1px solid var(--color-border);
|
|
|
|
}
|
|
|
|
|
2022-06-01 12:39:32 +02:00
|
|
|
button.button-toggle {
|
2022-05-31 11:14:59 +02:00
|
|
|
// background-color: rgba(var(--color-header-button-base), 0.4) !important;
|
|
|
|
background-color: var(--color-header-background) !important;
|
2022-06-01 12:39:32 +02:00
|
|
|
border: 2px solid var(--color-border);
|
|
|
|
border-right: 0px;
|
2022-02-11 19:50:55 +01:00
|
|
|
&:hover {
|
2022-06-01 12:39:32 +02:00
|
|
|
background-color: var(--color-border) !important;
|
|
|
|
border: 2px solid transparent;
|
|
|
|
border-right: 0px;
|
|
|
|
}
|
|
|
|
&:last-of-type {
|
|
|
|
border-right: 2px solid var(--color-border);
|
|
|
|
&:hover {
|
|
|
|
border-right: 2px solid transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button__label {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button.button-toggle--active {
|
|
|
|
background-color: var(--color-border) !important;
|
|
|
|
border: 2px solid transparent;
|
|
|
|
border-right: 0px;
|
|
|
|
&:last-child {
|
|
|
|
border-right: 2px solid transparent;
|
2022-02-11 19:50:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.channel__list-item,
|
2022-05-31 11:14:59 +02:00
|
|
|
.button--secondary {
|
|
|
|
// background-color: rgba(var(--color-header-button-base), 0.9) !important;
|
|
|
|
box-shadow: 0 0 0 2px var(--color-border) inset;
|
2022-02-11 19:50:55 +01:00
|
|
|
}
|
|
|
|
.channel__list-item {
|
|
|
|
&:hover {
|
2022-05-31 11:14:59 +02:00
|
|
|
box-shadow: unset;
|
2022-02-11 19:50:55 +01:00
|
|
|
background-color: var(--color-primary);
|
|
|
|
color: var(--color-primary-contrast);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-31 11:14:59 +02:00
|
|
|
input,
|
|
|
|
select {
|
|
|
|
background-color: var(--color-header-background) !important;
|
|
|
|
box-shadow: 0 0 0 2px var(--color-border) inset;
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-input-toggle-bg-hover) !important;
|
|
|
|
}
|
|
|
|
&:focus-visible {
|
|
|
|
border: unset;
|
|
|
|
background-color: var(--color-input-toggle-bg-hover) !important;
|
|
|
|
box-shadow: 0 0 0 2px var(--color-primary) inset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
label {
|
|
|
|
color: var(--color-text);
|
|
|
|
font-size: var(--font-medium);
|
|
|
|
}
|
|
|
|
|
2022-05-31 11:14:59 +02:00
|
|
|
.checkbox,
|
|
|
|
.radio {
|
|
|
|
label {
|
|
|
|
&::before {
|
|
|
|
top: unset;
|
|
|
|
border: unset;
|
|
|
|
box-shadow: 0 0 0 2px var(--color-border) inset;
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
top: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
input {
|
|
|
|
border: unset !important;
|
|
|
|
// outline:unset !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.checkbox {
|
|
|
|
label {
|
|
|
|
&::after {
|
|
|
|
top: 8px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
[data-reach-menu-button] {
|
|
|
|
&:hover {
|
|
|
|
.channel__list-item--selected {
|
|
|
|
background-color: var(--color-primary) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
.card__main-actions {
|
|
|
|
border-top: unset !important;
|
|
|
|
}
|
|
|
|
}
|
2019-11-22 22:13:00 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-12 22:23:20 +02:00
|
|
|
.error-modal__content {
|
|
|
|
display: flex;
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: 0 var(--spacing-m) var(--spacing-m) var(--spacing-m);
|
2017-04-12 22:23:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.error-modal {
|
|
|
|
max-width: none;
|
2017-11-07 15:35:49 +01:00
|
|
|
width: var(--modal-width);
|
2019-02-01 09:23:34 +01:00
|
|
|
white-space: pre-wrap;
|
2017-04-12 22:23:20 +02:00
|
|
|
}
|
2018-03-26 23:32:43 +02:00
|
|
|
|
2017-12-21 18:32:51 +01:00
|
|
|
.error-modal__error-list {
|
2018-10-17 19:14:24 +02:00
|
|
|
max-width: var(--modal-width);
|
|
|
|
max-height: 400px;
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
padding: var(--spacing-s);
|
2018-10-17 19:14:24 +02:00
|
|
|
|
2019-12-09 18:25:13 +01:00
|
|
|
background-color: var(--color-error);
|
|
|
|
border-left: 2px solid var(--color-text-error);
|
|
|
|
color: var(--color-text-error);
|
2018-10-17 19:14:24 +02:00
|
|
|
list-style: none;
|
|
|
|
overflow-y: scroll;
|
2019-02-01 09:23:34 +01:00
|
|
|
white-space: pre-wrap;
|
2018-03-26 23:32:43 +02:00
|
|
|
}
|