2017-04-24 01:38:37 +03:00
|
|
|
.app-body {
|
2017-05-07 21:47:31 +03:00
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
2017-04-05 19:10:25 +03:00
|
|
|
}
|
|
|
|
|
2020-01-25 06:23:05 +02:00
|
|
|
.animated-number {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2020-07-07 02:24:03 +03:00
|
|
|
.inline-alert {
|
|
|
|
color: $valid-value-color;
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
|
|
.no-reduce-motion & {
|
|
|
|
transition: opacity 200ms ease;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-15 16:13:26 +03:00
|
|
|
.link-button {
|
|
|
|
display: block;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 20px;
|
|
|
|
color: $ui-highlight-color;
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
padding: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
color: $ui-primary-color;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-31 23:58:10 +03:00
|
|
|
.button {
|
2022-06-19 09:18:08 +03:00
|
|
|
background-color: darken($ui-highlight-color, 2%);
|
2016-09-28 00:12:33 +03:00
|
|
|
border: 10px none;
|
2017-04-23 05:26:55 +03:00
|
|
|
border-radius: 4px;
|
|
|
|
box-sizing: border-box;
|
2017-05-08 16:57:49 +03:00
|
|
|
color: $primary-text-color;
|
2017-04-23 05:26:55 +03:00
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
font-family: inherit;
|
2022-03-07 12:38:52 +02:00
|
|
|
font-size: 15px;
|
2016-09-28 00:12:33 +03:00
|
|
|
font-weight: 500;
|
2017-04-23 05:26:55 +03:00
|
|
|
letter-spacing: 0;
|
2022-02-23 21:03:46 +02:00
|
|
|
line-height: 22px;
|
2017-04-23 05:26:55 +03:00
|
|
|
overflow: hidden;
|
2022-02-23 21:03:46 +02:00
|
|
|
padding: 7px 18px;
|
2017-04-23 05:26:55 +03:00
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
2016-09-28 00:12:33 +03:00
|
|
|
text-decoration: none;
|
2017-04-23 05:26:55 +03:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2017-05-19 12:42:54 +03:00
|
|
|
width: auto;
|
2016-08-31 23:58:10 +03:00
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2022-06-19 09:18:08 +03:00
|
|
|
background-color: $ui-highlight-color;
|
2016-08-31 23:58:10 +03:00
|
|
|
}
|
|
|
|
|
2018-08-19 04:28:43 +03:00
|
|
|
&--destructive {
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background-color: $error-red;
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-07 05:59:13 +03:00
|
|
|
&:disabled,
|
|
|
|
&.disabled {
|
2017-05-08 16:57:49 +03:00
|
|
|
background-color: $ui-primary-color;
|
2016-10-02 16:28:47 +03:00
|
|
|
cursor: default;
|
2016-08-31 23:58:10 +03:00
|
|
|
}
|
2016-09-07 19:17:15 +03:00
|
|
|
|
2018-04-19 03:36:31 +03:00
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
|
2018-02-22 02:03:48 +02:00
|
|
|
&.button-alternative {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2018-02-22 02:03:48 +02:00
|
|
|
background: $ui-primary-color;
|
2017-07-11 16:27:59 +03:00
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background-color: lighten($ui-primary-color, 4%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-22 02:03:48 +02:00
|
|
|
&.button-alternative-2 {
|
|
|
|
background: $ui-base-lighter-color;
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background-color: lighten($ui-base-lighter-color, 4%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-07 19:17:15 +03:00
|
|
|
&.button-secondary {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $darker-text-color;
|
2017-07-11 16:27:59 +03:00
|
|
|
background: transparent;
|
2022-02-23 21:03:46 +02:00
|
|
|
padding: 6px 17px;
|
2017-07-11 16:27:59 +03:00
|
|
|
border: 1px solid $ui-primary-color;
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
border-color: lighten($ui-primary-color, 4%);
|
2018-04-21 22:35:55 +03:00
|
|
|
color: lighten($darker-text-color, 4%);
|
2017-07-11 16:27:59 +03:00
|
|
|
}
|
2019-03-03 23:18:23 +02:00
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2016-09-07 19:17:15 +03:00
|
|
|
}
|
2017-05-19 12:42:54 +03:00
|
|
|
|
|
|
|
&.button--block {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-12-27 00:50:34 +02:00
|
|
|
|
|
|
|
.layout-multiple-columns &.button--with-bell {
|
|
|
|
font-size: 12px;
|
|
|
|
padding: 0 8px;
|
|
|
|
}
|
2017-05-19 12:42:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.column__wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
position: relative;
|
2016-08-31 23:58:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon-button {
|
2020-10-04 16:02:36 +03:00
|
|
|
display: inline-block;
|
2017-03-25 01:01:43 +02:00
|
|
|
padding: 0;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $action-button-color;
|
2019-06-06 19:51:46 +03:00
|
|
|
border: 0;
|
2019-08-03 20:10:50 +03:00
|
|
|
border-radius: 4px;
|
2016-11-02 21:18:39 +02:00
|
|
|
background: transparent;
|
2016-12-23 00:03:57 +02:00
|
|
|
cursor: pointer;
|
2019-08-03 20:10:50 +03:00
|
|
|
transition: all 100ms ease-in;
|
|
|
|
transition-property: background-color, color;
|
2020-10-04 16:02:36 +03:00
|
|
|
text-decoration: none;
|
2016-08-31 23:58:10 +03:00
|
|
|
|
2022-02-25 02:20:41 +02:00
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: lighten($action-button-color, 7%);
|
2019-08-03 20:10:50 +03:00
|
|
|
background-color: rgba($action-button-color, 0.15);
|
|
|
|
transition: all 200ms ease-out;
|
|
|
|
transition-property: background-color, color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-color: rgba($action-button-color, 0.3);
|
2016-08-31 23:58:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: darken($action-button-color, 13%);
|
2019-08-03 20:10:50 +03:00
|
|
|
background-color: transparent;
|
2016-08-31 23:58:10 +03:00
|
|
|
cursor: default;
|
|
|
|
}
|
2016-09-01 14:21:48 +03:00
|
|
|
|
|
|
|
&.active {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $highlight-text-color;
|
2016-09-01 14:21:48 +03:00
|
|
|
}
|
2017-03-01 01:53:11 +02:00
|
|
|
|
2017-03-25 01:01:43 +02:00
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2017-03-25 01:01:43 +02:00
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.inverted {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $lighter-text-color;
|
2017-03-25 01:01:43 +02:00
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: darken($lighter-text-color, 7%);
|
2019-08-03 20:10:50 +03:00
|
|
|
background-color: rgba($lighter-text-color, 0.15);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-color: rgba($lighter-text-color, 0.3);
|
2017-03-25 01:01:43 +02:00
|
|
|
}
|
|
|
|
|
2017-07-31 06:06:56 +03:00
|
|
|
&.disabled {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: lighten($lighter-text-color, 7%);
|
2019-08-03 20:10:50 +03:00
|
|
|
background-color: transparent;
|
2017-07-31 06:06:56 +03:00
|
|
|
}
|
|
|
|
|
2017-03-25 01:01:43 +02:00
|
|
|
&.active {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $highlight-text-color;
|
2017-03-25 01:01:43 +02:00
|
|
|
|
2017-07-31 06:06:56 +03:00
|
|
|
&.disabled {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: lighten($highlight-text-color, 13%);
|
2017-07-31 06:06:56 +03:00
|
|
|
}
|
2017-03-25 01:01:43 +02:00
|
|
|
}
|
|
|
|
}
|
2017-04-13 18:01:09 +03:00
|
|
|
|
|
|
|
&.overlayed {
|
|
|
|
box-sizing: content-box;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: rgba($base-overlay-background, 0.6);
|
|
|
|
color: rgba($primary-text-color, 0.7);
|
2017-04-13 18:01:09 +03:00
|
|
|
border-radius: 4px;
|
|
|
|
padding: 2px;
|
|
|
|
|
|
|
|
&:hover {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: rgba($base-overlay-background, 0.9);
|
2017-04-13 18:01:09 +03:00
|
|
|
}
|
|
|
|
}
|
2020-09-28 14:29:43 +03:00
|
|
|
|
2020-10-04 16:02:36 +03:00
|
|
|
&--with-counter {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
width: auto !important;
|
|
|
|
}
|
|
|
|
|
2020-09-28 14:29:43 +03:00
|
|
|
&__counter {
|
|
|
|
display: inline-block;
|
|
|
|
width: 14px;
|
|
|
|
margin-left: 4px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2017-03-25 01:01:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.text-icon-button {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $lighter-text-color;
|
2019-06-06 19:51:46 +03:00
|
|
|
border: 0;
|
2019-08-03 20:10:50 +03:00
|
|
|
border-radius: 4px;
|
2017-03-25 01:01:43 +02:00
|
|
|
background: transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
font-weight: 600;
|
2017-03-26 14:08:15 +03:00
|
|
|
font-size: 11px;
|
2017-03-25 01:01:43 +02:00
|
|
|
padding: 0 3px;
|
|
|
|
line-height: 27px;
|
|
|
|
outline: 0;
|
2019-08-03 20:10:50 +03:00
|
|
|
transition: all 100ms ease-in;
|
|
|
|
transition-property: background-color, color;
|
2017-03-25 01:01:43 +02:00
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: darken($lighter-text-color, 7%);
|
2019-08-03 20:10:50 +03:00
|
|
|
background-color: rgba($lighter-text-color, 0.15);
|
|
|
|
transition: all 200ms ease-out;
|
|
|
|
transition-property: background-color, color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-color: rgba($lighter-text-color, 0.3);
|
2017-03-25 01:01:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: lighten($lighter-text-color, 20%);
|
2019-08-03 20:10:50 +03:00
|
|
|
background-color: transparent;
|
2017-03-25 01:01:43 +02:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $highlight-text-color;
|
2017-03-25 01:01:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2017-03-25 01:01:43 +02:00
|
|
|
outline: 0 !important;
|
2017-03-01 01:53:11 +02:00
|
|
|
}
|
2016-08-31 23:58:10 +03:00
|
|
|
}
|
|
|
|
|
2017-09-22 05:59:17 +03:00
|
|
|
.dropdown-menu {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2017-01-24 18:05:44 +02:00
|
|
|
.invisible {
|
|
|
|
font-size: 0;
|
|
|
|
line-height: 0;
|
2017-01-24 21:07:46 +02:00
|
|
|
display: inline-block;
|
|
|
|
width: 0;
|
2017-08-21 18:59:34 +03:00
|
|
|
height: 0;
|
|
|
|
position: absolute;
|
2017-11-05 14:05:50 +02:00
|
|
|
|
|
|
|
img,
|
|
|
|
svg {
|
|
|
|
margin: 0 !important;
|
|
|
|
border: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
width: 0 !important;
|
|
|
|
height: 0 !important;
|
|
|
|
}
|
2017-01-24 18:05:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ellipsis {
|
2017-05-07 21:47:31 +03:00
|
|
|
&::after {
|
2017-01-24 18:05:44 +02:00
|
|
|
content: "…";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.compose-form {
|
|
|
|
padding: 10px;
|
2017-02-13 19:38:00 +02:00
|
|
|
|
2019-05-03 05:34:55 +03:00
|
|
|
&__sensitive-button {
|
|
|
|
padding: 10px;
|
|
|
|
padding-top: 0;
|
2019-05-10 18:59:57 +03:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: $highlight-text-color;
|
|
|
|
}
|
|
|
|
|
2022-06-01 20:22:35 +03:00
|
|
|
input[type="checkbox"] {
|
2019-05-10 18:59:57 +03:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
border: 1px solid $ui-primary-color;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin-right: 10px;
|
|
|
|
top: -1px;
|
|
|
|
border-radius: 4px;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
border-color: $highlight-text-color;
|
|
|
|
background: $highlight-text-color;
|
|
|
|
}
|
2019-05-03 21:44:20 +03:00
|
|
|
}
|
2019-05-03 05:34:55 +03:00
|
|
|
}
|
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.compose-form__warning {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2018-06-01 20:19:30 +03:00
|
|
|
margin-bottom: 10px;
|
2017-12-13 18:37:23 +02:00
|
|
|
background: $ui-primary-color;
|
|
|
|
box-shadow: 0 2px 6px rgba($base-shadow-color, 0.3);
|
|
|
|
padding: 8px 10px;
|
|
|
|
border-radius: 4px;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 400;
|
2017-12-07 17:01:52 +02:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
strong {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2017-12-13 18:37:23 +02:00
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $lighter-text-color;
|
2017-12-13 18:37:23 +02:00
|
|
|
font-weight: 500;
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
2017-12-07 17:01:52 +02:00
|
|
|
}
|
|
|
|
}
|
2017-02-13 19:38:00 +02:00
|
|
|
}
|
2017-04-24 01:38:37 +03:00
|
|
|
|
2019-06-02 11:05:54 +03:00
|
|
|
.emoji-picker-dropdown {
|
|
|
|
position: absolute;
|
2020-03-08 16:36:50 +02:00
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2019-06-02 11:05:54 +03:00
|
|
|
}
|
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.compose-form__autosuggest-wrapper {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autosuggest-textarea,
|
2019-05-09 23:10:27 +03:00
|
|
|
.autosuggest-input,
|
2017-12-13 18:37:23 +02:00
|
|
|
.spoiler-input {
|
|
|
|
position: relative;
|
2019-11-07 09:06:06 +02:00
|
|
|
width: 100%;
|
2017-12-13 18:37:23 +02:00
|
|
|
}
|
|
|
|
|
2018-05-31 16:16:31 +03:00
|
|
|
.spoiler-input {
|
|
|
|
height: 0;
|
|
|
|
transform-origin: bottom;
|
2019-06-06 19:51:46 +03:00
|
|
|
opacity: 0;
|
2018-05-31 16:16:31 +03:00
|
|
|
|
|
|
|
&.spoiler-input--visible {
|
2019-06-02 11:05:54 +03:00
|
|
|
height: 36px;
|
|
|
|
margin-bottom: 11px;
|
2019-06-06 19:51:46 +03:00
|
|
|
opacity: 1;
|
2018-05-31 16:16:31 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.autosuggest-textarea__textarea,
|
|
|
|
.spoiler-input__input {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2017-12-13 18:37:23 +02:00
|
|
|
background: $simple-background-color;
|
|
|
|
padding: 10px;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 14px;
|
|
|
|
resize: vertical;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
2017-04-24 01:38:37 +03:00
|
|
|
|
2019-09-19 20:58:40 +03:00
|
|
|
&::placeholder {
|
|
|
|
color: $dark-text-color;
|
|
|
|
}
|
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
&:focus {
|
2017-12-13 18:37:23 +02:00
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
font-size: 16px;
|
2017-04-24 01:38:37 +03:00
|
|
|
}
|
|
|
|
}
|
2017-02-13 19:38:00 +02:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.spoiler-input__input {
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2017-03-25 01:01:43 +02:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.autosuggest-textarea__textarea {
|
|
|
|
min-height: 100px;
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
padding-right: 10px + 22px;
|
|
|
|
resize: none;
|
2019-03-16 21:10:42 +02:00
|
|
|
scrollbar-color: initial;
|
|
|
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
all: unset;
|
|
|
|
}
|
2017-12-13 18:37:23 +02:00
|
|
|
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
height: 100px !important; // prevent auto-resize textarea
|
|
|
|
resize: vertical;
|
|
|
|
}
|
|
|
|
}
|
2017-04-23 05:26:55 +03:00
|
|
|
|
2019-06-02 11:05:54 +03:00
|
|
|
.autosuggest-textarea__suggestions-wrapper {
|
|
|
|
position: relative;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.autosuggest-textarea__suggestions {
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 99;
|
|
|
|
box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
|
|
|
|
background: $ui-secondary-color;
|
|
|
|
border-radius: 0 0 4px 4px;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $inverted-text-color;
|
2017-12-13 18:37:23 +02:00
|
|
|
font-size: 14px;
|
|
|
|
padding: 6px;
|
2017-03-25 01:01:43 +02:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
&.autosuggest-textarea__suggestions--visible {
|
|
|
|
display: block;
|
|
|
|
}
|
2017-03-25 01:01:43 +02:00
|
|
|
}
|
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.autosuggest-textarea__suggestions__item {
|
|
|
|
padding: 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 4px;
|
2017-04-23 05:26:55 +03:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
|
|
|
&.selected {
|
|
|
|
background: darken($ui-secondary-color, 10%);
|
|
|
|
}
|
|
|
|
}
|
2017-06-20 20:43:09 +03:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.autosuggest-account,
|
2019-07-28 15:37:52 +03:00
|
|
|
.autosuggest-emoji,
|
|
|
|
.autosuggest-hashtag {
|
2017-12-13 18:37:23 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
|
|
|
line-height: 18px;
|
|
|
|
font-size: 14px;
|
2017-06-20 20:43:09 +03:00
|
|
|
}
|
|
|
|
|
2019-07-28 15:37:52 +03:00
|
|
|
.autosuggest-hashtag {
|
|
|
|
justify-content: space-between;
|
|
|
|
|
2019-08-17 23:04:31 +03:00
|
|
|
&__name {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2019-09-05 07:14:06 +03:00
|
|
|
white-space: nowrap;
|
2019-08-17 23:04:31 +03:00
|
|
|
}
|
|
|
|
|
2019-07-28 15:37:52 +03:00
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2019-08-17 23:04:31 +03:00
|
|
|
|
|
|
|
&__uses {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
text-align: right;
|
2019-09-05 07:14:06 +03:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2019-08-17 23:04:31 +03:00
|
|
|
}
|
2019-07-28 15:37:52 +03:00
|
|
|
}
|
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.autosuggest-account-icon,
|
|
|
|
.autosuggest-emoji img {
|
|
|
|
display: block;
|
|
|
|
margin-right: 8px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2017-06-20 20:43:09 +03:00
|
|
|
}
|
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.autosuggest-account .display-name__account {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $lighter-text-color;
|
2017-12-13 18:37:23 +02:00
|
|
|
}
|
2017-04-23 05:26:55 +03:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.compose-form__modifiers {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2017-12-13 18:37:23 +02:00
|
|
|
font-family: inherit;
|
|
|
|
font-size: 14px;
|
|
|
|
background: $simple-background-color;
|
2017-04-23 05:26:55 +03:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.compose-form__upload-wrapper {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2017-09-28 16:31:31 +03:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.compose-form__uploads-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
padding: 5px;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2017-09-28 16:31:31 +03:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.compose-form__upload {
|
|
|
|
flex: 1 1 0;
|
|
|
|
min-width: 40%;
|
|
|
|
margin: 5px;
|
|
|
|
|
2018-02-22 01:35:46 +02:00
|
|
|
&__actions {
|
|
|
|
background: linear-gradient(180deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: space-between;
|
2022-03-22 10:48:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon-button {
|
|
|
|
flex: 0 1 auto;
|
|
|
|
color: $secondary-text-color;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
padding: 10px;
|
|
|
|
font-family: inherit;
|
2018-02-22 01:35:46 +02:00
|
|
|
|
2022-03-22 10:48:12 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
color: lighten($secondary-text-color, 7%);
|
2018-02-22 01:35:46 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-22 10:48:12 +02:00
|
|
|
&__warning {
|
2017-12-13 18:37:23 +02:00
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background: linear-gradient(0deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
|
2017-09-28 16:31:31 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.compose-form__upload-thumbnail {
|
|
|
|
border-radius: 4px;
|
2019-06-21 23:59:44 +03:00
|
|
|
background-color: $base-shadow-color;
|
2017-12-13 18:37:23 +02:00
|
|
|
background-position: center;
|
|
|
|
background-size: cover;
|
|
|
|
background-repeat: no-repeat;
|
2018-02-22 01:35:46 +02:00
|
|
|
height: 140px;
|
2017-12-13 18:37:23 +02:00
|
|
|
width: 100%;
|
2018-02-22 01:35:46 +02:00
|
|
|
overflow: hidden;
|
2017-09-28 16:31:31 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.compose-form__buttons-wrapper {
|
|
|
|
padding: 10px;
|
|
|
|
background: darken($simple-background-color, 8%);
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2019-06-02 11:05:54 +03:00
|
|
|
flex: 0 0 auto;
|
2017-04-23 05:26:55 +03:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.compose-form__buttons {
|
|
|
|
display: flex;
|
2017-04-23 15:18:58 +03:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.compose-form__upload-button-icon {
|
|
|
|
line-height: 27px;
|
|
|
|
}
|
2017-02-09 02:20:09 +02:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.compose-form__sensitive-button {
|
|
|
|
display: none;
|
2017-02-09 02:20:09 +02:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
&.compose-form__sensitive-button--visible {
|
|
|
|
display: block;
|
|
|
|
}
|
2017-02-09 02:20:09 +02:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.compose-form__sensitive-button__icon {
|
|
|
|
line-height: 27px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-08-31 23:58:10 +03:00
|
|
|
|
2019-08-03 20:10:50 +03:00
|
|
|
.icon-button,
|
|
|
|
.text-icon-button {
|
2017-12-13 18:37:23 +02:00
|
|
|
box-sizing: content-box;
|
|
|
|
padding: 0 3px;
|
|
|
|
}
|
2016-08-31 23:58:10 +03:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.character-counter__wrapper {
|
|
|
|
align-self: center;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2017-05-01 19:13:10 +03:00
|
|
|
}
|
2017-04-23 05:26:55 +03:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.compose-form__publish {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
min-width: 0;
|
2019-06-02 11:05:54 +03:00
|
|
|
flex: 0 0 auto;
|
2017-04-23 05:26:55 +03:00
|
|
|
|
2017-12-13 18:37:23 +02:00
|
|
|
.compose-form__publish-button-wrapper {
|
|
|
|
overflow: hidden;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
2019-08-15 16:13:26 +03:00
|
|
|
.character-counter {
|
|
|
|
cursor: default;
|
|
|
|
font-family: $font-sans-serif, sans-serif;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 600;
|
|
|
|
color: $lighter-text-color;
|
|
|
|
|
|
|
|
&.character-counter--over {
|
|
|
|
color: $warning-red;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-22 00:05:01 +03:00
|
|
|
.no-reduce-motion .spoiler-input {
|
|
|
|
transition: height 0.4s ease, opacity 0.4s ease;
|
|
|
|
}
|
|
|
|
|
2016-11-08 22:45:51 +02:00
|
|
|
.emojione {
|
|
|
|
font-size: inherit;
|
|
|
|
vertical-align: middle;
|
2017-09-20 04:38:38 +03:00
|
|
|
object-fit: contain;
|
2022-06-01 20:22:35 +03:00
|
|
|
margin: -0.2ex 0.15em 0.2ex;
|
2016-11-15 19:38:57 +02:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2016-11-08 22:45:51 +02:00
|
|
|
|
|
|
|
img {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-09 02:20:09 +02:00
|
|
|
.reply-indicator {
|
2018-05-31 16:16:31 +03:00
|
|
|
border-radius: 4px;
|
2018-06-01 20:19:30 +03:00
|
|
|
margin-bottom: 10px;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $ui-primary-color;
|
2017-02-09 02:20:09 +02:00
|
|
|
padding: 10px;
|
2019-06-02 11:05:54 +03:00
|
|
|
min-height: 23px;
|
|
|
|
overflow-y: auto;
|
|
|
|
flex: 0 2 auto;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
2017-02-09 02:20:09 +02:00
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.reply-indicator__header {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reply-indicator__cancel {
|
|
|
|
float: right;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reply-indicator__display-name {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $inverted-text-color;
|
2017-04-23 05:26:55 +03:00
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
line-height: 24px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-right: 25px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reply-indicator__display-avatar {
|
|
|
|
float: left;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2017-06-19 19:27:07 +03:00
|
|
|
.status__content--with-action {
|
2017-04-23 05:26:55 +03:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2020-10-27 14:34:02 +02:00
|
|
|
.status__content {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.status__content,
|
|
|
|
.reply-indicator__content {
|
2018-09-27 18:04:33 +03:00
|
|
|
position: relative;
|
2016-08-31 17:48:21 +03:00
|
|
|
font-size: 15px;
|
|
|
|
line-height: 20px;
|
|
|
|
word-wrap: break-word;
|
2017-01-27 00:34:40 +02:00
|
|
|
font-weight: 400;
|
2016-10-06 22:56:07 +03:00
|
|
|
overflow: hidden;
|
2018-09-27 18:04:33 +03:00
|
|
|
text-overflow: ellipsis;
|
2017-12-13 23:58:31 +02:00
|
|
|
padding-top: 2px;
|
2018-08-18 04:03:12 +03:00
|
|
|
color: $primary-text-color;
|
2016-08-31 17:48:21 +03:00
|
|
|
|
2017-12-08 01:03:25 +02:00
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2017-10-17 21:07:44 +03:00
|
|
|
&.status__content--with-spoiler {
|
|
|
|
white-space: normal;
|
|
|
|
|
|
|
|
.status__content__text {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-08 22:45:51 +02:00
|
|
|
.emojione {
|
2017-11-07 20:09:53 +02:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2017-12-06 18:53:25 +02:00
|
|
|
margin: -3px 0 0;
|
2016-11-08 22:45:51 +02:00
|
|
|
}
|
|
|
|
|
2016-09-10 11:14:36 +03:00
|
|
|
p {
|
|
|
|
margin-bottom: 20px;
|
2019-02-05 05:46:18 +02:00
|
|
|
white-space: pre-wrap;
|
2020-12-15 13:56:43 +02:00
|
|
|
unicode-bidi: plaintext;
|
2016-09-10 11:14:36 +03:00
|
|
|
|
|
|
|
&:last-child {
|
2019-07-31 11:06:58 +03:00
|
|
|
margin-bottom: 0;
|
2016-09-10 11:14:36 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-24 22:08:00 +03:00
|
|
|
a {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $secondary-text-color;
|
2016-08-24 22:08:00 +03:00
|
|
|
text-decoration: none;
|
2020-12-15 13:56:43 +02:00
|
|
|
unicode-bidi: isolate;
|
2016-08-24 22:08:00 +03:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
2017-02-05 16:25:55 +02:00
|
|
|
|
2018-09-28 03:11:14 +03:00
|
|
|
.fa {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: lighten($dark-text-color, 7%);
|
2017-02-05 16:25:55 +02:00
|
|
|
}
|
2016-08-24 22:08:00 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&.mention {
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
span {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-02-05 16:25:55 +02:00
|
|
|
|
2018-09-28 03:11:14 +03:00
|
|
|
.fa {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2017-02-05 16:25:55 +02:00
|
|
|
}
|
2016-08-24 22:08:00 +03:00
|
|
|
}
|
2017-01-26 15:52:07 +02:00
|
|
|
|
2019-07-28 07:00:51 +03:00
|
|
|
a.unhandled-link {
|
2022-06-19 09:18:08 +03:00
|
|
|
color: $highlight-text-color;
|
2019-07-28 07:00:51 +03:00
|
|
|
}
|
|
|
|
|
2017-01-26 15:52:07 +02:00
|
|
|
.status__content__spoiler-link {
|
2018-04-18 17:52:15 +03:00
|
|
|
background: $action-button-color;
|
2017-01-26 15:52:07 +02:00
|
|
|
|
2022-03-22 07:08:05 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2018-04-18 17:52:15 +03:00
|
|
|
background: lighten($action-button-color, 7%);
|
2017-01-26 15:52:07 +02:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2018-04-19 03:36:31 +03:00
|
|
|
|
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
2017-01-26 15:52:07 +02:00
|
|
|
}
|
2017-05-19 12:42:54 +03:00
|
|
|
|
|
|
|
.status__content__text {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
&.status__content__text--visible {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2016-08-24 22:08:00 +03:00
|
|
|
}
|
2016-08-31 23:58:10 +03:00
|
|
|
|
2020-01-23 23:00:13 +02:00
|
|
|
.announcements__item__content {
|
|
|
|
word-wrap: break-word;
|
2020-03-06 16:20:14 +02:00
|
|
|
overflow-y: auto;
|
2020-01-23 23:00:13 +02:00
|
|
|
|
|
|
|
.emojione {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin: -3px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2020-01-26 23:26:50 +02:00
|
|
|
color: $secondary-text-color;
|
2020-01-23 23:00:13 +02:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mention {
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
span {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-26 23:26:50 +02:00
|
|
|
|
|
|
|
&.unhandled-link {
|
2022-06-19 09:18:08 +03:00
|
|
|
color: $highlight-text-color;
|
2020-01-26 23:26:50 +02:00
|
|
|
}
|
2020-01-23 23:00:13 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-27 18:04:33 +03:00
|
|
|
.status__content.status__content--collapsed {
|
|
|
|
max-height: 20px * 15; // 15 lines is roughly above 500 characters
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content__read-more-button {
|
|
|
|
display: block;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 20px;
|
2022-06-19 09:18:08 +03:00
|
|
|
color: $highlight-text-color;
|
2018-09-27 18:04:33 +03:00
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
padding: 0;
|
|
|
|
padding-top: 8px;
|
2020-01-29 18:35:54 +02:00
|
|
|
text-decoration: none;
|
2018-09-27 18:04:33 +03:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-19 23:37:27 +02:00
|
|
|
.status__content__edited-label {
|
|
|
|
display: block;
|
|
|
|
cursor: default;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 20px;
|
|
|
|
padding: 0;
|
|
|
|
padding-top: 8px;
|
|
|
|
color: $dark-text-color;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2017-05-11 01:28:10 +03:00
|
|
|
.status__content__spoiler-link {
|
2017-02-09 02:20:09 +02:00
|
|
|
display: inline-block;
|
|
|
|
border-radius: 2px;
|
2017-05-11 01:28:10 +03:00
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
2018-04-22 15:29:40 +03:00
|
|
|
color: $inverted-text-color;
|
2018-02-19 03:39:18 +02:00
|
|
|
font-weight: 700;
|
2020-01-27 14:44:29 +02:00
|
|
|
font-size: 11px;
|
2017-05-07 21:47:31 +03:00
|
|
|
padding: 0 6px;
|
2020-01-27 14:44:29 +02:00
|
|
|
text-transform: uppercase;
|
2018-02-19 03:39:18 +02:00
|
|
|
line-height: 20px;
|
2017-05-11 01:28:10 +03:00
|
|
|
cursor: pointer;
|
2022-03-22 07:08:05 +02:00
|
|
|
vertical-align: top;
|
2017-02-09 02:20:09 +02:00
|
|
|
}
|
|
|
|
|
2018-06-29 16:34:36 +03:00
|
|
|
.status__wrapper--filtered {
|
|
|
|
color: $dark-text-color;
|
|
|
|
border: 0;
|
|
|
|
font-size: inherit;
|
|
|
|
text-align: center;
|
|
|
|
line-height: inherit;
|
|
|
|
margin: 0;
|
|
|
|
padding: 15px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
clear: both;
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
Revamp post filtering system (#18058)
* Add model for custom filter keywords
* Use CustomFilterKeyword internally
Does not change the API
* Fix /filters/edit and /filters/new
* Add migration tests
* Remove whole_word column from custom_filters (covered by custom_filter_keywords)
* Redesign /filters
Instead of a list, present a card that displays more information and handles
multiple keywords per filter.
* Redesign /filters/new and /filters/edit to add and remove keywords
This adds a new gem dependency: cocoon, as well as a npm dependency:
cocoon-js-vanilla. Those are used to easily populate and remove form fields
from the user interface when manipulating multiple keyword filters at once.
* Add /api/v2/filters to edit filter with multiple keywords
Entities:
- `Filter`: `id`, `title`, `filter_action` (either `hide` or `warn`), `context`
`keywords`
- `FilterKeyword`: `id`, `keyword`, `whole_word`
API endpoits:
- `GET /api/v2/filters` to list filters (including keywords)
- `POST /api/v2/filters` to create a new filter
`keywords_attributes` can also be passed to create keywords in one request
- `GET /api/v2/filters/:id` to read a particular filter
- `PUT /api/v2/filters/:id` to update a new filter
`keywords_attributes` can also be passed to edit, delete or add keywords in
one request
- `DELETE /api/v2/filters/:id` to delete a particular filter
- `GET /api/v2/filters/:id/keywords` to list keywords for a filter
- `POST /api/v2/filters/:filter_id/keywords/:id` to add a new keyword to a
filter
- `GET /api/v2/filter_keywords/:id` to read a particular keyword
- `PUT /api/v2/filter_keywords/:id` to edit a particular keyword
- `DELETE /api/v2/filter_keywords/:id` to delete a particular keyword
* Change from `irreversible` boolean to `action` enum
* Remove irrelevent `irreversible_must_be_within_context` check
* Fix /filters/new and /filters/edit with update for filter_action
* Fix Rubocop/Codeclimate complaining about task names
* Refactor FeedManager#phrase_filtered?
This moves regexp building and filter caching to the `CustomFilter` class.
This does not change the functional behavior yet, but this changes how the
cache is built, doing per-custom_filter regexps so that filters can be matched
independently, while still offering caching.
* Perform server-side filtering and output result in REST API
* Fix numerous filters_changed events being sent when editing multiple keywords at once
* Add some tests
* Use the new API in the WebUI
- use client-side logic for filters we have fetched rules for.
This is so that filter changes can be retroactively applied without
reloading the UI.
- use server-side logic for filters we haven't fetched rules for yet
(e.g. network error, or initial timeline loading)
* Minor optimizations and refactoring
* Perform server-side filtering on the streaming server
* Change the wording of filter action labels
* Fix issues pointed out by linter
* Change design of “Show anyway” link in accordence to review comments
* Drop “irreversible” filtering behavior
* Move /api/v2/filter_keywords to /api/v1/filters/keywords
* Rename `filter_results` attribute to `filtered`
* Rename REST::LegacyFilterSerializer to REST::V1::FilterSerializer
* Fix systemChannelId value in streaming server
* Simplify code by removing client-side filtering code
The simplifcation comes at a cost though: filters aren't retroactively
applied anymore.
2022-06-28 10:42:13 +03:00
|
|
|
|
|
|
|
&__button {
|
|
|
|
display: inline;
|
|
|
|
color: lighten($ui-highlight-color, 8%);
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
padding: 0;
|
|
|
|
font-size: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2018-06-29 16:34:36 +03:00
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.status__prepend-icon-wrapper {
|
|
|
|
left: -26px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2017-10-06 02:07:59 +03:00
|
|
|
.focusable {
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
|
|
|
|
.detailed-status,
|
|
|
|
.detailed-status__action-bar {
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-09 02:20:09 +02:00
|
|
|
.status {
|
|
|
|
padding: 8px 10px;
|
|
|
|
padding-left: 68px;
|
|
|
|
position: relative;
|
2018-10-20 03:23:58 +03:00
|
|
|
min-height: 54px;
|
2017-05-08 16:57:49 +03:00
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
2020-07-01 14:52:05 +03:00
|
|
|
cursor: auto;
|
2017-02-09 02:20:09 +02:00
|
|
|
|
2017-10-29 17:11:32 +02:00
|
|
|
@supports (-ms-overflow-style: -ms-autohiding-scrollbar) {
|
|
|
|
// Add margin to avoid Edge auto-hiding scrollbar appearing over content.
|
|
|
|
// On Edge 16 this is 16px and Edge <=15 it's 12px, so aim for 16px.
|
|
|
|
padding-right: 26px; // 10px + 16px
|
|
|
|
}
|
|
|
|
|
2017-05-24 18:55:00 +03:00
|
|
|
@keyframes fade {
|
|
|
|
0% { opacity: 0; }
|
|
|
|
100% { opacity: 1; }
|
|
|
|
}
|
|
|
|
|
|
|
|
opacity: 1;
|
2017-05-27 01:53:25 +03:00
|
|
|
animation: fade 150ms linear;
|
2017-05-24 18:55:00 +03:00
|
|
|
|
2019-08-23 23:38:02 +03:00
|
|
|
.video-player,
|
|
|
|
.audio-player {
|
2017-09-14 04:39:10 +03:00
|
|
|
margin-top: 8px;
|
|
|
|
}
|
2022-03-29 23:55:37 +03:00
|
|
|
|
|
|
|
&.light {
|
|
|
|
.status__relative-time,
|
|
|
|
.status__visibility-icon {
|
|
|
|
color: $light-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__display-name {
|
|
|
|
color: $inverted-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-name {
|
|
|
|
color: $light-text-color;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
color: $inverted-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content {
|
|
|
|
color: $inverted-text-color;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $highlight-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.status__content__spoiler-link {
|
|
|
|
color: $primary-text-color;
|
|
|
|
background: $ui-primary-color;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background: lighten($ui-primary-color, 8%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-02-09 02:20:09 +02:00
|
|
|
}
|
|
|
|
|
2018-12-08 01:40:11 +02:00
|
|
|
.status__relative-time,
|
|
|
|
.notification__relative_time {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2017-05-20 17:48:49 +03:00
|
|
|
float: right;
|
|
|
|
font-size: 14px;
|
2020-10-27 04:00:47 +02:00
|
|
|
padding-bottom: 1px;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
2020-06-25 23:43:59 +03:00
|
|
|
.status__visibility-icon {
|
2020-10-27 04:00:47 +02:00
|
|
|
padding: 0 4px;
|
2020-06-25 23:43:59 +03:00
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.status__display-name {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2017-04-23 22:34:33 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__info .status__display-name {
|
2017-04-23 05:26:55 +03:00
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
padding-right: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__info {
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
|
2022-02-23 21:03:46 +02:00
|
|
|
.status-check-box__status {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0 10px;
|
2017-02-14 21:59:26 +02:00
|
|
|
|
2022-02-23 21:03:46 +02:00
|
|
|
.detailed-status__display-name {
|
|
|
|
color: lighten($inverted-text-color, 16%);
|
2018-03-04 21:29:12 +02:00
|
|
|
|
2022-02-23 21:03:46 +02:00
|
|
|
span {
|
|
|
|
display: inline;
|
2018-03-04 21:29:12 +02:00
|
|
|
}
|
|
|
|
|
2022-02-23 21:03:46 +02:00
|
|
|
&:hover strong {
|
|
|
|
text-decoration: none;
|
2018-03-04 21:29:12 +02:00
|
|
|
}
|
2022-02-23 21:03:46 +02:00
|
|
|
}
|
2018-03-04 21:29:12 +02:00
|
|
|
|
2022-02-23 21:03:46 +02:00
|
|
|
.media-gallery,
|
|
|
|
.audio-player,
|
|
|
|
.video-player {
|
2022-03-09 22:15:24 +02:00
|
|
|
margin-top: 15px;
|
2022-02-23 21:03:46 +02:00
|
|
|
max-width: 250px;
|
|
|
|
}
|
2018-03-04 21:29:12 +02:00
|
|
|
|
2022-02-23 21:03:46 +02:00
|
|
|
.status__content {
|
|
|
|
padding: 0;
|
|
|
|
white-space: normal;
|
2017-02-14 21:59:26 +02:00
|
|
|
}
|
|
|
|
|
2022-02-23 21:03:46 +02:00
|
|
|
.media-gallery__item-thumbnail {
|
|
|
|
cursor: default;
|
|
|
|
}
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
2017-02-09 02:20:09 +02:00
|
|
|
.status__prepend {
|
|
|
|
margin-left: 68px;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2017-02-09 02:20:09 +02:00
|
|
|
padding: 8px 0;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
font-size: 14px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.status__display-name strong {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2017-02-09 02:20:09 +02:00
|
|
|
}
|
2017-10-06 21:40:17 +03:00
|
|
|
|
|
|
|
> span {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2017-02-09 02:20:09 +02:00
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.status__action-bar {
|
2017-04-25 16:16:09 +03:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2017-12-13 23:58:31 +02:00
|
|
|
margin-top: 8px;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
2017-05-25 15:15:12 +03:00
|
|
|
.status__action-bar-button {
|
2017-04-23 05:26:55 +03:00
|
|
|
margin-right: 18px;
|
2020-10-04 16:02:36 +03:00
|
|
|
|
|
|
|
&.icon-button--with-counter {
|
|
|
|
margin-right: 14px;
|
|
|
|
}
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__action-bar-dropdown {
|
2017-09-22 05:59:17 +03:00
|
|
|
height: 23.15px;
|
|
|
|
width: 23.15px;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
2017-05-11 01:28:10 +03:00
|
|
|
.detailed-status__action-bar-dropdown {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2016-09-25 15:20:29 +03:00
|
|
|
.detailed-status {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-base-color, 4%);
|
2017-04-23 05:26:55 +03:00
|
|
|
padding: 14px 10px;
|
2017-02-10 23:58:29 +02:00
|
|
|
|
2018-07-28 20:25:33 +03:00
|
|
|
&--flex {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
|
|
.status__content,
|
|
|
|
.detailed-status__meta {
|
|
|
|
flex: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-25 15:20:29 +03:00
|
|
|
.status__content {
|
|
|
|
font-size: 19px;
|
|
|
|
line-height: 24px;
|
2016-11-08 22:45:51 +02:00
|
|
|
|
|
|
|
.emojione {
|
2017-11-07 20:09:53 +02:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2017-12-10 18:56:05 +02:00
|
|
|
margin: -1px 0 0;
|
2016-11-08 22:45:51 +02:00
|
|
|
}
|
2018-02-19 03:39:18 +02:00
|
|
|
|
|
|
|
.status__content__spoiler-link {
|
|
|
|
line-height: 24px;
|
|
|
|
margin: -1px 0 0;
|
|
|
|
}
|
2016-09-25 15:20:29 +03:00
|
|
|
}
|
2017-09-14 04:39:10 +03:00
|
|
|
|
2019-08-23 23:38:02 +03:00
|
|
|
.video-player,
|
|
|
|
.audio-player {
|
2017-09-14 04:39:10 +03:00
|
|
|
margin-top: 8px;
|
|
|
|
}
|
2016-09-25 15:20:29 +03:00
|
|
|
}
|
|
|
|
|
2017-02-10 23:58:29 +02:00
|
|
|
.detailed-status__meta {
|
|
|
|
margin-top: 15px;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2017-02-10 23:58:29 +02:00
|
|
|
font-size: 14px;
|
|
|
|
line-height: 18px;
|
|
|
|
}
|
|
|
|
|
2017-02-09 02:20:09 +02:00
|
|
|
.detailed-status__action-bar {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
border-top: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
2017-04-25 16:16:09 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2017-02-09 02:20:09 +02:00
|
|
|
padding: 10px 0;
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.detailed-status__link {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__favorites,
|
|
|
|
.detailed-status__reblogs {
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 12px;
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
|
2016-08-31 23:58:10 +03:00
|
|
|
.reply-indicator__content {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2016-08-31 23:58:10 +03:00
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
a {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $lighter-text-color;
|
2016-08-31 23:58:10 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-30 13:38:00 +03:00
|
|
|
.domain {
|
|
|
|
padding: 10px;
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
|
|
|
|
.domain__domain-name {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: block;
|
|
|
|
color: $primary-text-color;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.domain__wrapper {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.domain_buttons {
|
|
|
|
height: 18px;
|
|
|
|
padding: 10px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2017-02-09 02:20:09 +02:00
|
|
|
.account {
|
|
|
|
padding: 10px;
|
2017-05-08 16:57:49 +03:00
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
2017-02-09 02:20:09 +02:00
|
|
|
|
2018-04-20 03:28:48 +03:00
|
|
|
&.compact {
|
|
|
|
padding: 0;
|
|
|
|
border-bottom: 0;
|
|
|
|
|
|
|
|
.account__avatar-wrapper {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-09 02:20:09 +02:00
|
|
|
.account__display-name {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: block;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $darker-text-color;
|
2017-02-09 02:20:09 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 14px;
|
2021-04-19 15:45:15 +03:00
|
|
|
|
|
|
|
&--with-note {
|
|
|
|
strong {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__note {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
color: $ui-secondary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.follow-recommendations-account {
|
|
|
|
.icon-button {
|
|
|
|
color: $ui-primary-color;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: $valid-value-color;
|
|
|
|
}
|
2017-02-09 02:20:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.account__wrapper {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.account__avatar-wrapper {
|
|
|
|
float: left;
|
|
|
|
margin-left: 12px;
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.account__avatar {
|
2019-06-06 19:51:46 +03:00
|
|
|
@include avatar-radius;
|
2022-06-01 20:22:35 +03:00
|
|
|
|
2020-05-03 23:04:18 +03:00
|
|
|
display: block;
|
2017-04-23 05:26:55 +03:00
|
|
|
position: relative;
|
2020-05-03 23:04:18 +03:00
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
background-size: 36px 36px;
|
|
|
|
|
2017-05-03 12:43:37 +03:00
|
|
|
&-inline {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2018-10-20 03:23:58 +03:00
|
|
|
|
|
|
|
&-composite {
|
2019-06-06 19:51:46 +03:00
|
|
|
@include avatar-radius;
|
2022-06-01 20:22:35 +03:00
|
|
|
|
2019-09-21 21:01:16 +03:00
|
|
|
border-radius: 50%;
|
2018-10-20 03:23:58 +03:00
|
|
|
overflow: hidden;
|
2019-09-21 21:01:16 +03:00
|
|
|
position: relative;
|
2018-10-20 03:23:58 +03:00
|
|
|
|
|
|
|
& > div {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2019-09-21 21:01:16 +03:00
|
|
|
|
|
|
|
&__label {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
color: $primary-text-color;
|
|
|
|
text-shadow: 1px 1px 2px $base-shadow-color;
|
|
|
|
font-weight: 700;
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
2018-10-20 03:23:58 +03:00
|
|
|
}
|
2017-05-03 12:43:37 +03:00
|
|
|
}
|
|
|
|
|
2018-04-20 03:28:48 +03:00
|
|
|
a .account__avatar {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2017-05-03 12:43:37 +03:00
|
|
|
.account__avatar-overlay {
|
|
|
|
@include avatar-size(48px);
|
|
|
|
|
2022-06-27 10:30:15 +03:00
|
|
|
position: relative;
|
|
|
|
|
2017-05-03 12:43:37 +03:00
|
|
|
&-base {
|
2019-06-06 19:51:46 +03:00
|
|
|
@include avatar-radius;
|
2017-05-03 12:43:37 +03:00
|
|
|
@include avatar-size(36px);
|
2020-04-28 11:16:55 +03:00
|
|
|
|
|
|
|
img {
|
|
|
|
@include avatar-radius;
|
2022-06-01 20:22:35 +03:00
|
|
|
|
2020-04-28 11:16:55 +03:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2017-05-03 12:43:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&-overlay {
|
2019-06-06 19:51:46 +03:00
|
|
|
@include avatar-radius;
|
2017-05-03 12:43:37 +03:00
|
|
|
@include avatar-size(24px);
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 1;
|
2020-04-28 11:16:55 +03:00
|
|
|
|
|
|
|
img {
|
|
|
|
@include avatar-radius;
|
2022-06-01 20:22:35 +03:00
|
|
|
|
2020-04-28 11:16:55 +03:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2017-05-03 12:43:37 +03:00
|
|
|
}
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.account__relationship {
|
|
|
|
height: 18px;
|
|
|
|
padding: 10px;
|
2017-11-15 04:56:41 +02:00
|
|
|
white-space: nowrap;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
2017-07-24 21:05:29 +03:00
|
|
|
.account__disclaimer {
|
|
|
|
padding: 10px;
|
|
|
|
border-top: 1px solid lighten($ui-base-color, 8%);
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2017-07-24 21:05:29 +03:00
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
2017-12-07 17:01:52 +02:00
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
2017-07-24 21:05:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-weight: 500;
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-09 02:20:09 +02:00
|
|
|
.account__action-bar {
|
2017-05-08 16:57:49 +03:00
|
|
|
border-top: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
2017-02-09 02:20:09 +02:00
|
|
|
line-height: 36px;
|
|
|
|
overflow: hidden;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.account__action-bar-dropdown {
|
|
|
|
padding: 10px;
|
2017-05-01 19:13:10 +03:00
|
|
|
|
2018-06-16 13:57:25 +03:00
|
|
|
.icon-button {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2017-05-01 19:13:10 +03:00
|
|
|
.dropdown--active {
|
|
|
|
.dropdown__content.dropdown__right {
|
|
|
|
left: 6px;
|
|
|
|
right: initial;
|
|
|
|
}
|
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
&::after {
|
2017-05-01 19:13:10 +03:00
|
|
|
bottom: initial;
|
|
|
|
margin-left: 11px;
|
|
|
|
margin-top: -7px;
|
|
|
|
right: initial;
|
|
|
|
}
|
|
|
|
}
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.account__action-bar-links {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
line-height: 18px;
|
2018-06-16 13:57:25 +03:00
|
|
|
text-align: center;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
2017-02-09 02:20:09 +02:00
|
|
|
.account__action-bar__tab {
|
|
|
|
text-decoration: none;
|
|
|
|
overflow: hidden;
|
2018-07-28 21:09:58 +03:00
|
|
|
flex: 0 1 100%;
|
2018-06-16 13:57:25 +03:00
|
|
|
border-right: 1px solid lighten($ui-base-color, 8%);
|
2018-07-28 21:09:58 +03:00
|
|
|
padding: 10px 0;
|
2018-09-13 02:50:41 +03:00
|
|
|
border-bottom: 4px solid transparent;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
border-bottom: 4px solid $ui-highlight-color;
|
|
|
|
}
|
2017-02-09 02:20:09 +02:00
|
|
|
|
|
|
|
& > span {
|
|
|
|
display: block;
|
2020-01-27 14:44:29 +02:00
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 11px;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $darker-text-color;
|
2017-02-09 02:20:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
display: block;
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 500;
|
2017-05-08 16:57:49 +03:00
|
|
|
color: $primary-text-color;
|
2017-12-07 17:01:52 +02:00
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
2017-02-09 02:20:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.account-authorize {
|
|
|
|
padding: 14px 10px;
|
|
|
|
|
|
|
|
.detailed-status__display-name {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.account-authorize__avatar {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__display-name,
|
|
|
|
.status__relative-time,
|
|
|
|
.detailed-status__display-name,
|
|
|
|
.detailed-status__datetime,
|
|
|
|
.detailed-status__application,
|
|
|
|
.account__display-name {
|
2016-08-31 23:58:10 +03:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.status__display-name,
|
|
|
|
.account__display-name {
|
2016-09-01 15:12:11 +03:00
|
|
|
strong {
|
2017-05-08 16:57:49 +03:00
|
|
|
color: $primary-text-color;
|
2016-09-01 15:12:11 +03:00
|
|
|
}
|
2017-10-06 02:07:59 +03:00
|
|
|
}
|
2016-11-19 01:28:42 +02:00
|
|
|
|
2017-10-06 02:07:59 +03:00
|
|
|
.muted {
|
|
|
|
.emojione {
|
|
|
|
opacity: 0.5;
|
2016-11-19 01:28:42 +02:00
|
|
|
}
|
2016-09-01 15:12:11 +03:00
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.status__display-name,
|
|
|
|
.reply-indicator__display-name,
|
|
|
|
.detailed-status__display-name,
|
2018-04-20 03:28:48 +03:00
|
|
|
a.account__display-name {
|
2017-04-23 05:26:55 +03:00
|
|
|
&:hover strong {
|
|
|
|
text-decoration: underline;
|
2016-08-31 23:58:10 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.account__display-name strong {
|
|
|
|
display: block;
|
2017-10-06 21:40:17 +03:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__application,
|
|
|
|
.detailed-status__datetime {
|
|
|
|
color: inherit;
|
2016-10-28 21:05:44 +03:00
|
|
|
}
|
|
|
|
|
2019-10-03 04:17:29 +03:00
|
|
|
.detailed-status .button.logo-button {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
2016-09-25 15:20:29 +03:00
|
|
|
.detailed-status__display-name {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $secondary-text-color;
|
2017-04-23 05:26:55 +03:00
|
|
|
display: block;
|
2016-09-25 15:20:29 +03:00
|
|
|
line-height: 24px;
|
2017-04-23 05:26:55 +03:00
|
|
|
margin-bottom: 15px;
|
|
|
|
overflow: hidden;
|
2016-09-25 15:20:29 +03:00
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
strong,
|
|
|
|
span {
|
2016-09-25 15:20:29 +03:00
|
|
|
display: block;
|
2017-08-28 01:01:07 +03:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2016-09-25 15:20:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-size: 16px;
|
2017-05-08 16:57:49 +03:00
|
|
|
color: $primary-text-color;
|
2016-09-25 15:20:29 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.detailed-status__display-avatar {
|
2017-04-23 22:34:33 +03:00
|
|
|
float: left;
|
2017-04-23 05:26:55 +03:00
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__avatar {
|
|
|
|
height: 48px;
|
|
|
|
left: 10px;
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
width: 48px;
|
|
|
|
}
|
|
|
|
|
2019-05-15 07:53:23 +03:00
|
|
|
.status__expand {
|
|
|
|
width: 68px;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2016-11-20 20:39:18 +02:00
|
|
|
.muted {
|
2019-09-29 17:54:24 +03:00
|
|
|
.status__content,
|
2017-04-23 05:26:55 +03:00
|
|
|
.status__content p,
|
|
|
|
.status__content a {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2016-11-20 20:39:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__display-name strong {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2016-11-20 20:39:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__avatar {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2017-01-26 19:48:56 +02:00
|
|
|
|
2017-04-23 22:34:33 +03:00
|
|
|
a.status__content__spoiler-link {
|
2018-04-21 22:35:55 +03:00
|
|
|
background: $ui-base-lighter-color;
|
|
|
|
color: $inverted-text-color;
|
2017-01-26 19:48:56 +02:00
|
|
|
|
2022-03-22 07:08:05 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2018-04-21 22:35:55 +03:00
|
|
|
background: lighten($ui-base-lighter-color, 7%);
|
2017-01-26 19:48:56 +02:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2016-11-20 20:39:18 +02:00
|
|
|
}
|
|
|
|
|
2022-06-27 10:30:15 +03:00
|
|
|
.notification__report {
|
|
|
|
padding: 8px 10px;
|
|
|
|
padding-left: 68px;
|
|
|
|
position: relative;
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
min-height: 54px;
|
|
|
|
|
|
|
|
&__details {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
color: $darker-text-color;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 22px;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__avatar {
|
|
|
|
position: absolute;
|
|
|
|
left: 10px;
|
|
|
|
top: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-10 23:58:29 +02:00
|
|
|
.notification__message {
|
2018-05-26 11:53:53 +03:00
|
|
|
margin: 0 10px 0 68px;
|
|
|
|
padding: 8px 0 0;
|
2017-02-10 23:58:29 +02:00
|
|
|
cursor: default;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $darker-text-color;
|
2017-02-10 23:58:29 +02:00
|
|
|
font-size: 15px;
|
2018-12-05 06:08:43 +02:00
|
|
|
line-height: 22px;
|
2017-02-10 23:58:29 +02:00
|
|
|
position: relative;
|
|
|
|
|
2018-09-28 03:11:14 +03:00
|
|
|
.fa {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $highlight-text-color;
|
2017-02-10 23:58:29 +02:00
|
|
|
}
|
2017-10-06 21:40:17 +03:00
|
|
|
|
|
|
|
> span {
|
2018-12-05 06:08:43 +02:00
|
|
|
display: inline;
|
2017-10-06 21:40:17 +03:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2017-02-10 23:58:29 +02:00
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.notification__favourite-icon-wrapper {
|
|
|
|
left: -26px;
|
|
|
|
position: absolute;
|
2017-04-23 22:34:33 +03:00
|
|
|
|
|
|
|
.star-icon {
|
2017-05-08 16:57:49 +03:00
|
|
|
color: $gold-star;
|
2017-04-23 22:34:33 +03:00
|
|
|
}
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
2020-11-27 04:24:11 +02:00
|
|
|
.icon-button.star-icon.active {
|
2017-05-08 16:57:49 +03:00
|
|
|
color: $gold-star;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
2020-11-27 04:24:11 +02:00
|
|
|
.icon-button.bookmark-icon.active {
|
2019-11-14 00:02:10 +02:00
|
|
|
color: $red-bookmark;
|
|
|
|
}
|
|
|
|
|
2019-10-24 23:47:48 +03:00
|
|
|
.no-reduce-motion .icon-button.star-icon {
|
|
|
|
&.activate {
|
|
|
|
& > .fa-star {
|
|
|
|
animation: spring-rotate-in 1s linear;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.deactivate {
|
|
|
|
& > .fa-star {
|
|
|
|
animation: spring-rotate-out 1s linear;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-20 20:39:18 +02:00
|
|
|
.notification__display-name {
|
|
|
|
color: inherit;
|
2017-04-23 05:26:55 +03:00
|
|
|
font-weight: 500;
|
2016-11-20 20:39:18 +02:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
2017-05-08 16:57:49 +03:00
|
|
|
color: $primary-text-color;
|
2016-11-20 20:39:18 +02:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-05 06:08:43 +02:00
|
|
|
.notification__relative_time {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.display-name {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-name__html {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-name__account {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__relative-time,
|
|
|
|
.detailed-status__datetime {
|
2016-08-31 23:58:10 +03:00
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2016-09-07 19:17:15 +03:00
|
|
|
|
2017-06-06 20:30:17 +03:00
|
|
|
.image-loader {
|
|
|
|
position: relative;
|
2018-03-04 21:32:24 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2018-03-26 14:59:21 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2018-07-15 02:18:09 +03:00
|
|
|
flex-direction: column;
|
2020-11-02 22:16:38 +02:00
|
|
|
scrollbar-width: none; /* Firefox */
|
|
|
|
-ms-overflow-style: none; /* IE 10+ */
|
|
|
|
|
|
|
|
* {
|
|
|
|
scrollbar-width: none; /* Firefox */
|
|
|
|
-ms-overflow-style: none; /* IE 10+ */
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar,
|
|
|
|
*::-webkit-scrollbar {
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
background: transparent; /* Chrome/Safari/Webkit */
|
|
|
|
}
|
2016-09-30 01:00:45 +03:00
|
|
|
|
2018-03-26 14:59:21 +03:00
|
|
|
.image-loader__preview-canvas {
|
|
|
|
max-width: $media-modal-media-max-width;
|
|
|
|
max-height: $media-modal-media-max-height;
|
|
|
|
background: url('../images/void.png') repeat;
|
|
|
|
object-fit: contain;
|
|
|
|
}
|
2018-03-04 21:32:24 +02:00
|
|
|
|
2018-07-15 02:18:09 +03:00
|
|
|
.loading-bar {
|
|
|
|
position: relative;
|
2017-06-27 14:43:53 +03:00
|
|
|
}
|
2017-06-06 20:30:17 +03:00
|
|
|
|
2018-03-04 21:32:24 +02:00
|
|
|
&.image-loader--amorphous .image-loader__preview-canvas {
|
|
|
|
display: none;
|
2017-06-27 14:43:53 +03:00
|
|
|
}
|
2018-03-04 21:32:24 +02:00
|
|
|
}
|
2017-07-08 18:21:59 +03:00
|
|
|
|
2018-03-04 21:32:24 +02:00
|
|
|
.zoomable-image {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2018-04-04 12:58:15 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2018-03-26 14:59:21 +03:00
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: $media-modal-media-max-width;
|
|
|
|
max-height: $media-modal-media-max-height;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
object-fit: contain;
|
|
|
|
}
|
2017-01-28 05:04:09 +02:00
|
|
|
}
|
|
|
|
|
2017-02-09 02:20:09 +02:00
|
|
|
.navigation-bar {
|
|
|
|
padding: 10px;
|
|
|
|
display: flex;
|
2018-06-15 19:00:03 +03:00
|
|
|
align-items: center;
|
2017-02-09 02:20:09 +02:00
|
|
|
flex-shrink: 0;
|
|
|
|
cursor: default;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $darker-text-color;
|
2017-02-09 02:20:09 +02:00
|
|
|
|
|
|
|
strong {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $secondary-text-color;
|
2017-02-09 02:20:09 +02:00
|
|
|
}
|
2017-04-23 05:26:55 +03:00
|
|
|
|
2018-01-20 02:32:37 +02:00
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.permalink {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2017-07-21 02:38:24 +03:00
|
|
|
|
2018-06-13 15:44:50 +03:00
|
|
|
.navigation-bar__actions {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.icon-button.close {
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
2019-06-06 19:51:46 +03:00
|
|
|
transform: scale(0, 1) translate(-100%, 0);
|
2018-06-13 15:44:50 +03:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compose__action-bar .icon-button {
|
|
|
|
pointer-events: auto;
|
2019-06-06 19:51:46 +03:00
|
|
|
transform: scale(1, 1) translate(0, 0);
|
2018-06-13 15:44:50 +03:00
|
|
|
opacity: 1;
|
|
|
|
}
|
2017-07-21 02:38:24 +03:00
|
|
|
}
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-bar__profile {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
margin-left: 8px;
|
2018-06-15 19:00:03 +03:00
|
|
|
line-height: 20px;
|
|
|
|
margin-top: -1px;
|
2017-10-06 21:40:17 +03:00
|
|
|
overflow: hidden;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-bar__profile-account {
|
|
|
|
display: block;
|
|
|
|
font-weight: 500;
|
2017-10-06 21:40:17 +03:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-bar__profile-edit {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
2017-02-09 02:20:09 +02:00
|
|
|
}
|
|
|
|
|
2016-09-30 01:00:45 +03:00
|
|
|
.dropdown {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown__content {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2017-09-22 05:59:17 +03:00
|
|
|
.dropdown-menu__separator {
|
2017-05-08 16:57:49 +03:00
|
|
|
border-bottom: 1px solid darken($ui-secondary-color, 8%);
|
2017-03-01 01:53:11 +02:00
|
|
|
margin: 5px 7px 6px;
|
2017-09-22 05:59:17 +03:00
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
background: $ui-secondary-color;
|
|
|
|
padding: 4px 0;
|
|
|
|
border-radius: 4px;
|
2017-10-01 13:20:00 +03:00
|
|
|
box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
|
2018-10-28 07:39:59 +02:00
|
|
|
z-index: 9999;
|
2017-09-22 05:59:17 +03:00
|
|
|
|
2022-02-09 02:17:07 +02:00
|
|
|
&__text-button {
|
|
|
|
display: inline;
|
|
|
|
color: inherit;
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 1px dotted;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__container {
|
|
|
|
&__header {
|
|
|
|
border-bottom: 1px solid darken($ui-secondary-color, 8%);
|
|
|
|
padding: 4px 14px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 18px;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__list {
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
&--scrollable {
|
|
|
|
max-height: 300px;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--loading {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 30px 45px;
|
|
|
|
}
|
2017-09-22 05:59:17 +03:00
|
|
|
}
|
2018-08-19 18:11:12 +03:00
|
|
|
|
|
|
|
&.left {
|
|
|
|
transform-origin: 100% 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.top {
|
|
|
|
transform-origin: 50% 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.bottom {
|
|
|
|
transform-origin: 50% 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.right {
|
|
|
|
transform-origin: 0 50%;
|
|
|
|
}
|
2017-09-22 05:59:17 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu__arrow {
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border: 0 solid transparent;
|
|
|
|
|
|
|
|
&.left {
|
|
|
|
right: -5px;
|
|
|
|
margin-top: -5px;
|
|
|
|
border-width: 5px 0 5px 5px;
|
|
|
|
border-left-color: $ui-secondary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.top {
|
|
|
|
bottom: -5px;
|
2018-09-07 02:18:46 +03:00
|
|
|
margin-left: -7px;
|
2017-09-24 01:40:10 +03:00
|
|
|
border-width: 5px 7px 0;
|
2017-09-22 05:59:17 +03:00
|
|
|
border-top-color: $ui-secondary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.bottom {
|
|
|
|
top: -5px;
|
2018-09-07 02:18:46 +03:00
|
|
|
margin-left: -7px;
|
2017-09-24 01:40:10 +03:00
|
|
|
border-width: 0 7px 5px;
|
2017-09-22 05:59:17 +03:00
|
|
|
border-bottom-color: $ui-secondary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.right {
|
|
|
|
left: -5px;
|
|
|
|
margin-top: -5px;
|
|
|
|
border-width: 5px 5px 5px 0;
|
|
|
|
border-right-color: $ui-secondary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu__item {
|
2022-02-09 02:17:07 +02:00
|
|
|
font-size: 13px;
|
|
|
|
line-height: 18px;
|
|
|
|
display: block;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
|
|
|
|
a,
|
|
|
|
button {
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
line-height: inherit;
|
2017-09-22 05:59:17 +03:00
|
|
|
display: block;
|
2022-02-09 02:17:07 +02:00
|
|
|
width: 100%;
|
2017-09-22 05:59:17 +03:00
|
|
|
padding: 4px 14px;
|
2022-02-09 02:17:07 +02:00
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
2017-09-22 05:59:17 +03:00
|
|
|
box-sizing: border-box;
|
|
|
|
text-decoration: none;
|
|
|
|
background: $ui-secondary-color;
|
2022-02-09 02:17:07 +02:00
|
|
|
color: inherit;
|
2017-09-22 05:59:17 +03:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2022-02-09 02:17:07 +02:00
|
|
|
text-align: inherit;
|
2017-09-22 05:59:17 +03:00
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
background: $ui-highlight-color;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $secondary-text-color;
|
2017-09-22 05:59:17 +03:00
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-03-01 01:53:11 +02:00
|
|
|
}
|
|
|
|
|
2022-02-09 02:17:07 +02:00
|
|
|
.dropdown-menu__item--text {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
padding: 4px 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu__item.edited-timestamp__history__item {
|
|
|
|
border-bottom: 1px solid darken($ui-secondary-color, 8%);
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.dropdown-menu__item--text,
|
|
|
|
a,
|
|
|
|
button {
|
|
|
|
padding: 8px 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-account {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
vertical-align: top;
|
|
|
|
|
|
|
|
.account__avatar {
|
|
|
|
margin-right: 5px;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-30 01:00:45 +03:00
|
|
|
.dropdown--active .dropdown__content {
|
|
|
|
display: block;
|
2017-04-23 05:26:55 +03:00
|
|
|
line-height: 18px;
|
2017-05-01 19:13:10 +03:00
|
|
|
max-width: 311px;
|
|
|
|
right: 0;
|
2017-04-23 05:26:55 +03:00
|
|
|
text-align: left;
|
2016-09-30 01:00:45 +03:00
|
|
|
z-index: 9999;
|
|
|
|
|
2017-03-02 01:57:55 +02:00
|
|
|
& > ul {
|
2016-09-30 01:00:45 +03:00
|
|
|
list-style: none;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $ui-secondary-color;
|
2016-10-03 19:49:52 +03:00
|
|
|
padding: 4px 0;
|
|
|
|
border-radius: 4px;
|
2017-05-08 16:57:49 +03:00
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.4);
|
2017-03-01 01:53:11 +02:00
|
|
|
min-width: 140px;
|
|
|
|
position: relative;
|
2017-05-01 19:13:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&.dropdown__right {
|
|
|
|
right: 0;
|
2017-03-01 01:53:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.dropdown__left {
|
2017-03-02 01:57:55 +02:00
|
|
|
& > ul {
|
2017-03-01 01:53:11 +02:00
|
|
|
left: -98px;
|
|
|
|
}
|
2016-09-30 01:00:45 +03:00
|
|
|
}
|
|
|
|
|
2017-03-02 01:57:55 +02:00
|
|
|
& > ul > li > a {
|
2016-09-30 01:00:45 +03:00
|
|
|
font-size: 13px;
|
2017-03-01 01:53:11 +02:00
|
|
|
line-height: 18px;
|
2016-09-30 01:00:45 +03:00
|
|
|
display: block;
|
2017-03-01 01:53:11 +02:00
|
|
|
padding: 4px 14px;
|
|
|
|
box-sizing: border-box;
|
2016-09-30 01:00:45 +03:00
|
|
|
text-decoration: none;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $ui-secondary-color;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2017-03-01 01:53:11 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2017-03-01 02:43:29 +02:00
|
|
|
white-space: nowrap;
|
2017-03-01 01:53:11 +02:00
|
|
|
|
|
|
|
&:focus {
|
2017-03-25 01:01:43 +02:00
|
|
|
outline: 0;
|
2017-03-01 01:53:11 +02:00
|
|
|
}
|
2016-09-30 01:00:45 +03:00
|
|
|
|
|
|
|
&:hover {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $ui-highlight-color;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $secondary-text-color;
|
2016-09-30 01:00:45 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-10-06 23:47:35 +03:00
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.dropdown__icon {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2016-10-12 14:17:17 +03:00
|
|
|
.columns-area {
|
2017-04-23 05:26:55 +03:00
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
2016-10-12 20:14:47 +03:00
|
|
|
flex-direction: row;
|
2017-01-26 19:48:56 +02:00
|
|
|
justify-content: flex-start;
|
2017-04-23 05:26:55 +03:00
|
|
|
overflow-x: auto;
|
2017-05-07 21:47:31 +03:00
|
|
|
position: relative;
|
2018-01-15 07:51:00 +02:00
|
|
|
|
|
|
|
&.unscrollable {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
2019-05-23 21:01:10 +03:00
|
|
|
|
|
|
|
&__panels {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2019-07-19 10:25:22 +03:00
|
|
|
min-height: 100vh;
|
2019-05-23 21:01:10 +03:00
|
|
|
|
|
|
|
&__pane {
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
pointer-events: none;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
2019-09-20 11:51:52 +03:00
|
|
|
min-width: 285px;
|
2019-05-23 21:01:10 +03:00
|
|
|
|
2019-05-25 22:27:00 +03:00
|
|
|
&--start {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
2019-05-23 21:01:10 +03:00
|
|
|
&__inner {
|
2019-07-19 10:25:22 +03:00
|
|
|
position: fixed;
|
2019-05-25 22:27:00 +03:00
|
|
|
width: 285px;
|
2019-05-23 21:01:10 +03:00
|
|
|
pointer-events: auto;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__main {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 600px;
|
2019-09-20 11:51:52 +03:00
|
|
|
flex: 0 0 auto;
|
2019-05-23 21:01:10 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2019-06-08 23:32:59 +03:00
|
|
|
@media screen and (min-width: $no-gap-breakpoint) {
|
2019-05-23 21:01:10 +03:00
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-10-12 14:17:17 +03:00
|
|
|
}
|
|
|
|
|
2019-08-01 13:26:58 +03:00
|
|
|
.tabs-bar__wrapper {
|
|
|
|
background: darken($ui-base-color, 8%);
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 2;
|
|
|
|
padding-top: 0;
|
|
|
|
|
|
|
|
@media screen and (min-width: $no-gap-breakpoint) {
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-bar {
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
|
|
@media screen and (min-width: $no-gap-breakpoint) {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-09 16:02:26 +03:00
|
|
|
.react-swipeable-view-container {
|
|
|
|
&,
|
|
|
|
.columns-area,
|
|
|
|
.drawer,
|
|
|
|
.column {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-swipeable-view-container > * {
|
2017-07-14 01:49:01 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-07-14 23:31:25 +03:00
|
|
|
justify-content: center;
|
2017-07-09 16:02:26 +03:00
|
|
|
height: 100%;
|
2017-01-05 03:25:48 +02:00
|
|
|
}
|
|
|
|
|
2016-10-12 14:17:17 +03:00
|
|
|
.column {
|
2018-11-08 08:42:17 +02:00
|
|
|
width: 350px;
|
2016-12-28 00:30:11 +02:00
|
|
|
position: relative;
|
2017-02-09 02:20:09 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2017-04-10 17:27:30 +03:00
|
|
|
|
|
|
|
> .scrollable {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $ui-base-color;
|
2017-04-10 17:27:30 +03:00
|
|
|
}
|
2017-02-09 02:20:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2016-10-12 14:17:17 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.drawer {
|
2017-03-26 14:08:15 +03:00
|
|
|
width: 300px;
|
2017-02-09 02:20:09 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.drawer__tab {
|
|
|
|
display: block;
|
|
|
|
flex: 1 1 auto;
|
2017-07-11 15:36:27 +03:00
|
|
|
padding: 15px 5px 13px;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $darker-text-color;
|
2017-02-09 02:20:09 +02:00
|
|
|
text-decoration: none;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 16px;
|
|
|
|
border-bottom: 2px solid transparent;
|
2016-10-12 14:17:17 +03:00
|
|
|
}
|
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
.column,
|
|
|
|
.drawer {
|
2017-04-10 17:27:30 +03:00
|
|
|
flex: 1 1 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2017-09-24 02:25:07 +03:00
|
|
|
@media screen and (min-width: 631px) {
|
2017-04-10 17:27:30 +03:00
|
|
|
.columns-area {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
.column,
|
|
|
|
.drawer {
|
2017-04-10 17:27:30 +03:00
|
|
|
flex: 0 0 auto;
|
|
|
|
padding: 10px;
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
2017-04-26 05:40:27 +03:00
|
|
|
|
|
|
|
.columns-area > div {
|
2017-05-07 21:47:31 +03:00
|
|
|
.column,
|
|
|
|
.drawer {
|
2017-04-26 05:40:27 +03:00
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2017-04-10 17:27:30 +03:00
|
|
|
}
|
|
|
|
|
2019-05-23 02:35:22 +03:00
|
|
|
.tabs-bar {
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
flex: 0 0 auto;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-bar__link {
|
|
|
|
display: block;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
padding: 15px 10px;
|
2019-05-25 22:27:00 +03:00
|
|
|
padding-bottom: 13px;
|
2019-05-23 02:35:22 +03:00
|
|
|
color: $primary-text-color;
|
|
|
|
text-decoration: none;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
border-bottom: 2px solid lighten($ui-base-color, 8%);
|
|
|
|
transition: all 50ms linear;
|
|
|
|
transition-property: border-bottom, background, color;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
@media screen and (min-width: 631px) {
|
|
|
|
background: lighten($ui-base-color, 14%);
|
2019-05-25 22:27:00 +03:00
|
|
|
border-bottom-color: lighten($ui-base-color, 14%);
|
2019-05-23 02:35:22 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-13 01:14:27 +03:00
|
|
|
&.active {
|
|
|
|
border-bottom: 2px solid $highlight-text-color;
|
|
|
|
color: $highlight-text-color;
|
|
|
|
}
|
|
|
|
|
2019-05-23 02:35:22 +03:00
|
|
|
span {
|
|
|
|
margin-left: 5px;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 600px) {
|
|
|
|
.tabs-bar__link {
|
|
|
|
span {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.columns-area--mobile {
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
2019-05-29 12:03:56 +03:00
|
|
|
height: 100%;
|
2019-05-23 02:35:22 +03:00
|
|
|
margin: 0 auto;
|
|
|
|
|
|
|
|
.column,
|
|
|
|
.drawer {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2022-03-07 12:38:52 +02:00
|
|
|
.account-card {
|
2019-08-30 01:14:36 +03:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter-form {
|
|
|
|
display: flex;
|
|
|
|
}
|
2019-08-01 13:26:58 +03:00
|
|
|
|
2019-05-23 02:35:22 +03:00
|
|
|
.autosuggest-textarea__textarea {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
2019-05-25 22:27:00 +03:00
|
|
|
.search__input {
|
|
|
|
line-height: 18px;
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 15px;
|
|
|
|
padding-right: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search__icon .fa {
|
|
|
|
top: 15px;
|
|
|
|
}
|
|
|
|
|
2019-07-19 10:25:22 +03:00
|
|
|
.scrollable {
|
|
|
|
overflow: visible;
|
2019-07-23 16:47:18 +03:00
|
|
|
|
2022-06-01 20:22:35 +03:00
|
|
|
@supports (display: grid) {
|
2019-07-23 16:47:18 +03:00
|
|
|
contain: content;
|
|
|
|
}
|
2019-07-19 10:25:22 +03:00
|
|
|
}
|
|
|
|
|
2019-06-08 23:32:59 +03:00
|
|
|
@media screen and (min-width: $no-gap-breakpoint) {
|
2019-05-23 21:01:10 +03:00
|
|
|
padding: 10px 0;
|
2019-08-01 13:26:58 +03:00
|
|
|
padding-top: 0;
|
2019-05-23 02:35:22 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 630px) {
|
|
|
|
.detailed-status {
|
|
|
|
padding: 15px;
|
|
|
|
|
|
|
|
.media-gallery,
|
2019-08-23 23:38:02 +03:00
|
|
|
.video-player,
|
|
|
|
.audio-player {
|
2019-05-23 02:35:22 +03:00
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.account__header__bar {
|
|
|
|
padding: 5px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-bar,
|
|
|
|
.compose-form {
|
|
|
|
padding: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compose-form .compose-form__publish .compose-form__publish-button-wrapper {
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
|
|
|
|
2022-06-27 10:30:15 +03:00
|
|
|
.notification__report {
|
|
|
|
padding: 15px 15px 15px (48px + 15px * 2);
|
|
|
|
min-height: 48px + 2px;
|
|
|
|
|
|
|
|
&__avatar {
|
|
|
|
left: 15px;
|
|
|
|
top: 17px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-23 02:35:22 +03:00
|
|
|
.status {
|
|
|
|
padding: 15px 15px 15px (48px + 15px * 2);
|
|
|
|
min-height: 48px + 2px;
|
|
|
|
|
|
|
|
&__avatar {
|
|
|
|
left: 15px;
|
|
|
|
top: 17px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__prepend {
|
|
|
|
margin-left: 48px + 15px * 2;
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__prepend-icon-wrapper {
|
|
|
|
left: -32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery,
|
|
|
|
&__action-bar,
|
2019-08-23 23:38:02 +03:00
|
|
|
.video-player,
|
|
|
|
.audio-player {
|
2019-05-23 02:35:22 +03:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-25 22:27:00 +03:00
|
|
|
|
|
|
|
.account {
|
|
|
|
padding: 15px 10px;
|
2019-06-05 00:11:57 +03:00
|
|
|
|
|
|
|
&__header__bio {
|
|
|
|
margin: 0 -10px;
|
|
|
|
}
|
2019-05-25 22:27:00 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.notification {
|
|
|
|
&__message {
|
|
|
|
margin-left: 48px + 15px * 2;
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__favourite-icon-wrapper {
|
|
|
|
left: -32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status {
|
|
|
|
padding-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.account {
|
|
|
|
padding-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.account__avatar-wrapper {
|
|
|
|
margin-left: 17px;
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.floating-action-button {
|
|
|
|
position: fixed;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: 3.9375rem;
|
|
|
|
height: 3.9375rem;
|
|
|
|
bottom: 1.3125rem;
|
|
|
|
right: 1.3125rem;
|
2022-06-19 09:18:08 +03:00
|
|
|
background: darken($ui-highlight-color, 2%);
|
2019-05-25 22:27:00 +03:00
|
|
|
color: $white;
|
|
|
|
border-radius: 50%;
|
|
|
|
font-size: 21px;
|
|
|
|
line-height: 21px;
|
|
|
|
text-decoration: none;
|
|
|
|
box-shadow: 2px 3px 9px rgba($base-shadow-color, 0.4);
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2022-06-19 09:18:08 +03:00
|
|
|
background: $ui-highlight-color;
|
2019-05-23 02:35:22 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-08 23:32:59 +03:00
|
|
|
@media screen and (min-width: $no-gap-breakpoint) {
|
2019-05-23 02:35:22 +03:00
|
|
|
.tabs-bar {
|
2019-05-23 21:01:10 +03:00
|
|
|
width: 100%;
|
2019-05-23 02:35:22 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.react-swipeable-view-container .columns-area--mobile {
|
2019-08-01 13:26:58 +03:00
|
|
|
height: calc(100% - 10px) !important;
|
2019-05-23 02:35:22 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.getting-started__wrapper,
|
|
|
|
.search {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-25 22:27:00 +03:00
|
|
|
@media screen and (max-width: 600px + (285px * 1) + (10px * 1)) {
|
|
|
|
.columns-area__panels__pane--compositional {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-05-06 22:40:49 +03:00
|
|
|
|
|
|
|
.with-fab .scrollable .item-list:last-child {
|
|
|
|
padding-bottom: 5.25rem;
|
|
|
|
}
|
2019-05-25 22:27:00 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 600px + (285px * 1) + (10px * 1)) {
|
|
|
|
.floating-action-button,
|
|
|
|
.tabs-bar__link.optional {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-page .search {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 600px + (285px * 2) + (10px * 2)) {
|
|
|
|
.columns-area__panels__pane--navigational {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 600px + (285px * 2) + (10px * 2)) {
|
|
|
|
.tabs-bar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-23 02:35:22 +03:00
|
|
|
.icon-with-badge {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&__badge {
|
|
|
|
position: absolute;
|
2019-05-25 22:27:00 +03:00
|
|
|
left: 9px;
|
2019-05-23 02:35:22 +03:00
|
|
|
top: -13px;
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
border: 2px solid lighten($ui-base-color, 8%);
|
|
|
|
padding: 1px 6px;
|
|
|
|
border-radius: 6px;
|
|
|
|
font-size: 10px;
|
|
|
|
font-weight: 500;
|
|
|
|
line-height: 14px;
|
|
|
|
color: $primary-text-color;
|
|
|
|
}
|
2020-10-13 01:37:21 +03:00
|
|
|
|
|
|
|
&__issue-badge {
|
|
|
|
position: absolute;
|
|
|
|
left: 11px;
|
|
|
|
bottom: 1px;
|
|
|
|
display: block;
|
|
|
|
background: $error-red;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 0.625rem;
|
|
|
|
height: 0.625rem;
|
|
|
|
}
|
2019-05-23 02:35:22 +03:00
|
|
|
}
|
|
|
|
|
2019-05-25 22:27:00 +03:00
|
|
|
.column-link--transparent .icon-with-badge__badge {
|
|
|
|
border-color: darken($ui-base-color, 8%);
|
|
|
|
}
|
|
|
|
|
2021-04-19 15:45:15 +03:00
|
|
|
.column-title {
|
|
|
|
text-align: center;
|
|
|
|
padding: 40px;
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
width: 50px;
|
|
|
|
margin: 0 auto;
|
|
|
|
margin-bottom: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 24px;
|
|
|
|
line-height: 1.5;
|
|
|
|
font-weight: 700;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 24px;
|
|
|
|
font-weight: 400;
|
|
|
|
color: $darker-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-11 22:16:24 +03:00
|
|
|
.follow-recommendations-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2021-04-19 15:45:15 +03:00
|
|
|
.column-actions {
|
|
|
|
display: flex;
|
2021-05-11 22:16:24 +03:00
|
|
|
align-items: start;
|
2021-04-19 15:45:15 +03:00
|
|
|
justify-content: center;
|
|
|
|
padding: 40px;
|
|
|
|
padding-top: 40px;
|
|
|
|
padding-bottom: 200px;
|
2021-05-11 22:16:24 +03:00
|
|
|
flex-grow: 1;
|
|
|
|
position: relative;
|
2021-04-19 15:45:15 +03:00
|
|
|
|
|
|
|
&__background {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
height: 220px;
|
|
|
|
width: auto;
|
|
|
|
}
|
2021-05-06 00:57:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.column-list {
|
|
|
|
margin: 0 20px;
|
|
|
|
border: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
background: darken($ui-base-color, 2%);
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
&__empty-message {
|
|
|
|
padding: 40px;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 24px;
|
|
|
|
font-weight: 400;
|
|
|
|
color: $darker-text-color;
|
|
|
|
}
|
2021-04-19 15:45:15 +03:00
|
|
|
}
|
|
|
|
|
2019-05-25 22:27:00 +03:00
|
|
|
.compose-panel {
|
|
|
|
width: 285px;
|
|
|
|
margin-top: 10px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-06-02 11:05:54 +03:00
|
|
|
height: calc(100% - 10px);
|
|
|
|
overflow-y: hidden;
|
2019-05-25 22:27:00 +03:00
|
|
|
|
|
|
|
.navigation-bar {
|
|
|
|
padding-top: 20px;
|
|
|
|
padding-bottom: 20px;
|
2019-06-02 11:05:54 +03:00
|
|
|
flex: 0 1 48px;
|
|
|
|
min-height: 20px;
|
2019-05-25 22:27:00 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.flex-spacer {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2019-06-02 11:05:54 +03:00
|
|
|
.compose-form {
|
|
|
|
flex: 1;
|
|
|
|
overflow-y: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 310px;
|
|
|
|
padding-bottom: 71px;
|
|
|
|
margin-bottom: -71px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compose-form__autosuggest-wrapper {
|
|
|
|
overflow-y: auto;
|
|
|
|
background-color: $white;
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
}
|
|
|
|
|
2019-05-25 22:27:00 +03:00
|
|
|
.autosuggest-textarea__textarea {
|
2019-06-02 11:05:54 +03:00
|
|
|
overflow-y: hidden;
|
2019-05-25 22:27:00 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.compose-form__upload-thumbnail {
|
|
|
|
height: 80px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-panel {
|
|
|
|
margin-top: 10px;
|
2019-06-02 11:05:54 +03:00
|
|
|
margin-bottom: 10px;
|
|
|
|
height: calc(100% - 20px);
|
|
|
|
overflow-y: auto;
|
2019-08-06 18:57:52 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
& > a {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
2019-05-25 22:27:00 +03:00
|
|
|
|
|
|
|
hr {
|
2019-08-06 18:57:52 +03:00
|
|
|
flex: 0 0 auto;
|
2019-05-25 22:27:00 +03:00
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
border-top: 1px solid lighten($ui-base-color, 4%);
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
2019-08-06 18:57:52 +03:00
|
|
|
|
|
|
|
.flex-spacer {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2019-05-25 22:27:00 +03:00
|
|
|
}
|
|
|
|
|
2017-03-31 20:59:54 +03:00
|
|
|
.drawer__pager {
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2017-01-06 23:09:55 +02:00
|
|
|
.drawer__inner {
|
2017-03-31 20:59:54 +03:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2018-02-02 11:32:41 +02:00
|
|
|
background: lighten($ui-base-color, 13%);
|
2017-02-09 02:20:09 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2017-03-29 23:27:24 +03:00
|
|
|
overflow: hidden;
|
2017-02-09 02:20:09 +02:00
|
|
|
overflow-y: auto;
|
2017-03-31 20:59:54 +03:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
&.darker {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $ui-base-color;
|
2017-03-31 20:59:54 +03:00
|
|
|
}
|
2018-02-02 11:32:41 +02:00
|
|
|
}
|
|
|
|
|
2018-02-02 12:56:50 +02:00
|
|
|
.drawer__inner__mastodon {
|
2018-02-02 11:32:41 +02:00
|
|
|
background: lighten($ui-base-color, 13%) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 234.80078 31.757813" width="234.80078" height="31.757812"><path d="M19.599609 0c-1.05 0-2.10039.375-2.90039 1.125L0 16.925781v14.832031h234.80078V17.025391l-16.5-15.900391c-1.6-1.5-4.20078-1.5-5.80078 0l-13.80078 13.099609c-1.6 1.5-4.19883 1.5-5.79883 0L179.09961 1.125c-1.6-1.5-4.19883-1.5-5.79883 0L159.5 14.224609c-1.6 1.5-4.20078 1.5-5.80078 0L139.90039 1.125c-1.6-1.5-4.20078-1.5-5.80078 0l-13.79883 13.099609c-1.6 1.5-4.20078 1.5-5.80078 0L100.69922 1.125c-1.600001-1.5-4.198829-1.5-5.798829 0l-13.59961 13.099609c-1.6 1.5-4.200781 1.5-5.800781 0L61.699219 1.125c-1.6-1.5-4.198828-1.5-5.798828 0L42.099609 14.224609c-1.6 1.5-4.198828 1.5-5.798828 0L22.5 1.125C21.7.375 20.649609 0 19.599609 0z" fill="#{hex-color($ui-base-color)}"/></svg>') no-repeat bottom / 100% auto;
|
2018-02-02 12:56:50 +02:00
|
|
|
flex: 1;
|
|
|
|
min-height: 47px;
|
2019-05-23 02:35:22 +03:00
|
|
|
display: none;
|
2017-12-27 04:31:30 +02:00
|
|
|
|
2018-02-10 00:04:47 +02:00
|
|
|
> img {
|
2018-02-02 12:56:50 +02:00
|
|
|
display: block;
|
|
|
|
object-fit: contain;
|
|
|
|
object-position: bottom left;
|
2020-01-29 17:18:33 +02:00
|
|
|
width: 85%;
|
2018-02-02 12:56:50 +02:00
|
|
|
height: 100%;
|
2018-03-18 21:32:44 +02:00
|
|
|
pointer-events: none;
|
|
|
|
user-drag: none;
|
|
|
|
user-select: none;
|
2017-12-27 04:31:30 +02:00
|
|
|
}
|
2019-05-23 02:35:22 +03:00
|
|
|
|
|
|
|
@media screen and (min-height: 640px) {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-16 21:32:00 +03:00
|
|
|
.pseudo-drawer {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-base-color, 13%);
|
2017-04-16 21:32:00 +03:00
|
|
|
font-size: 13px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2017-01-06 23:09:55 +02:00
|
|
|
.drawer__header {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
font-size: 16px;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-base-color, 8%);
|
2017-01-06 23:09:55 +02:00
|
|
|
margin-bottom: 10px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
a {
|
2017-04-24 05:49:08 +03:00
|
|
|
transition: background 100ms ease-in;
|
2017-01-06 23:09:55 +02:00
|
|
|
|
|
|
|
&:hover {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-base-color, 3%);
|
2017-04-24 05:49:08 +03:00
|
|
|
transition: background 200ms ease-out;
|
2017-01-06 23:09:55 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-04 14:32:14 +02:00
|
|
|
.scrollable {
|
|
|
|
overflow-y: scroll;
|
|
|
|
overflow-x: hidden;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
2017-01-05 04:14:33 +02:00
|
|
|
|
|
|
|
&.optionally-scrollable {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
2017-10-02 04:01:01 +03:00
|
|
|
|
2022-06-01 20:22:35 +03:00
|
|
|
@supports (display: grid) { // hack to fix Chrome <57
|
2017-10-02 04:01:01 +03:00
|
|
|
contain: strict;
|
|
|
|
}
|
2018-11-08 22:35:06 +02:00
|
|
|
|
|
|
|
&--flex {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__append {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
position: relative;
|
2018-12-17 18:02:59 +02:00
|
|
|
min-height: 120px;
|
2018-11-08 22:35:06 +02:00
|
|
|
}
|
2022-02-25 01:34:33 +02:00
|
|
|
|
|
|
|
.scrollable {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
2017-10-02 04:01:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.scrollable.fullscreen {
|
2022-06-01 20:22:35 +03:00
|
|
|
@supports (display: grid) { // hack to fix Chrome <57
|
2017-10-02 04:01:01 +03:00
|
|
|
contain: none;
|
|
|
|
}
|
2016-11-04 14:32:14 +02:00
|
|
|
}
|
2016-11-11 00:21:24 +02:00
|
|
|
|
|
|
|
.column-back-button {
|
2019-08-01 20:17:17 +03:00
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-base-color, 4%);
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $highlight-text-color;
|
2017-04-23 15:18:58 +03:00
|
|
|
cursor: pointer;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
font-size: 16px;
|
2018-07-26 05:49:45 +03:00
|
|
|
line-height: inherit;
|
2017-07-31 01:18:15 +03:00
|
|
|
border: 0;
|
2017-08-02 14:09:37 +03:00
|
|
|
text-align: unset;
|
2017-06-09 17:22:28 +03:00
|
|
|
padding: 15px;
|
2017-08-02 14:09:37 +03:00
|
|
|
margin: 0;
|
2017-02-23 03:14:35 +02:00
|
|
|
z-index: 3;
|
2018-05-22 14:24:54 +03:00
|
|
|
outline: 0;
|
2017-02-09 02:20:09 +02:00
|
|
|
|
2016-11-11 00:21:24 +02:00
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2016-11-23 19:53:23 +02:00
|
|
|
|
2017-06-04 02:39:38 +03:00
|
|
|
.column-header__back-button {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
border: 0;
|
|
|
|
font-family: inherit;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $highlight-text-color;
|
2017-06-04 02:39:38 +03:00
|
|
|
cursor: pointer;
|
2018-02-01 18:17:17 +02:00
|
|
|
white-space: nowrap;
|
2017-06-04 02:39:38 +03:00
|
|
|
font-size: 16px;
|
2017-06-09 17:22:28 +03:00
|
|
|
padding: 0 5px 0 0;
|
2017-06-04 02:39:38 +03:00
|
|
|
z-index: 3;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2017-09-06 18:32:15 +03:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
padding: 0 15px 0 0;
|
|
|
|
}
|
2017-06-04 02:39:38 +03:00
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.column-back-button__icon {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column-back-button--slim {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column-back-button--slim-button {
|
|
|
|
cursor: pointer;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 15px;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2017-05-10 21:32:26 +03:00
|
|
|
top: -48px;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
2016-11-23 19:53:23 +02:00
|
|
|
.react-toggle {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
user-select: none;
|
2017-05-08 16:57:49 +03:00
|
|
|
-webkit-tap-highlight-color: rgba($base-overlay-background, 0);
|
2016-11-23 19:53:23 +02:00
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-toggle-screenreader-only {
|
|
|
|
border: 0;
|
|
|
|
clip: rect(0 0 0 0);
|
|
|
|
height: 1px;
|
|
|
|
margin: -1px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-toggle--disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
opacity: 0.5;
|
|
|
|
transition: opacity 0.25s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-toggle-track {
|
|
|
|
width: 50px;
|
|
|
|
height: 24px;
|
|
|
|
padding: 0;
|
|
|
|
border-radius: 30px;
|
2017-05-08 16:57:49 +03:00
|
|
|
background-color: $ui-base-color;
|
2019-05-04 18:39:53 +03:00
|
|
|
transition: background-color 0.2s ease;
|
2016-11-23 19:53:23 +02:00
|
|
|
}
|
|
|
|
|
2021-10-01 01:55:51 +03:00
|
|
|
.react-toggle:is(:hover, :focus-within):not(.react-toggle--disabled) .react-toggle-track {
|
2017-05-08 16:57:49 +03:00
|
|
|
background-color: darken($ui-base-color, 10%);
|
2016-11-23 19:53:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.react-toggle--checked .react-toggle-track {
|
2022-06-19 09:18:08 +03:00
|
|
|
background-color: darken($ui-highlight-color, 2%);
|
2016-11-23 19:53:23 +02:00
|
|
|
}
|
|
|
|
|
2021-10-01 01:55:51 +03:00
|
|
|
.react-toggle--checked:is(:hover, :focus-within):not(.react-toggle--disabled) .react-toggle-track {
|
2022-06-19 09:18:08 +03:00
|
|
|
background-color: $ui-highlight-color;
|
2016-11-23 19:53:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.react-toggle-track-check {
|
|
|
|
position: absolute;
|
|
|
|
width: 14px;
|
|
|
|
height: 10px;
|
2017-05-07 21:47:31 +03:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2016-11-23 19:53:23 +02:00
|
|
|
margin-top: auto;
|
|
|
|
margin-bottom: auto;
|
|
|
|
line-height: 0;
|
|
|
|
left: 8px;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.25s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-toggle--checked .react-toggle-track-check {
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 0.25s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-toggle-track-x {
|
|
|
|
position: absolute;
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
2017-05-07 21:47:31 +03:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2016-11-23 19:53:23 +02:00
|
|
|
margin-top: auto;
|
|
|
|
margin-bottom: auto;
|
|
|
|
line-height: 0;
|
|
|
|
right: 10px;
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 0.25s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-toggle--checked .react-toggle-track-x {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-toggle-thumb {
|
|
|
|
position: absolute;
|
|
|
|
top: 1px;
|
|
|
|
left: 1px;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
2017-05-08 16:57:49 +03:00
|
|
|
border: 1px solid $ui-base-color;
|
2016-11-23 19:53:23 +02:00
|
|
|
border-radius: 50%;
|
2017-05-08 16:57:49 +03:00
|
|
|
background-color: darken($simple-background-color, 2%);
|
2016-11-23 19:53:23 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
transition: all 0.25s ease;
|
2019-05-04 18:39:53 +03:00
|
|
|
transition-property: border-color, left;
|
2016-11-23 19:53:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.react-toggle--checked .react-toggle-thumb {
|
|
|
|
left: 27px;
|
2017-05-08 16:57:49 +03:00
|
|
|
border-color: $ui-highlight-color;
|
2016-11-23 19:53:23 +02:00
|
|
|
}
|
2016-12-12 15:27:52 +02:00
|
|
|
|
|
|
|
.column-link {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
color: $primary-text-color;
|
2017-04-21 19:17:55 +03:00
|
|
|
display: block;
|
2017-04-23 05:26:55 +03:00
|
|
|
font-size: 16px;
|
|
|
|
padding: 15px;
|
|
|
|
text-decoration: none;
|
2017-02-10 23:58:29 +02:00
|
|
|
|
2019-05-25 22:27:00 +03:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-base-color, 11%);
|
2016-12-12 15:27:52 +02:00
|
|
|
}
|
2019-05-25 22:27:00 +03:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--transparent {
|
|
|
|
background: transparent;
|
|
|
|
color: $ui-secondary-color;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
background: transparent;
|
|
|
|
color: $primary-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
2022-06-19 09:18:08 +03:00
|
|
|
color: $highlight-text-color;
|
2019-05-25 22:27:00 +03:00
|
|
|
}
|
|
|
|
}
|
2016-12-12 15:27:52 +02:00
|
|
|
}
|
2016-12-14 19:21:31 +02:00
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.column-link__icon {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2018-01-21 14:20:20 +02:00
|
|
|
.column-link__badge {
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 4px;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 19px;
|
|
|
|
font-weight: 500;
|
|
|
|
background: $ui-base-color;
|
|
|
|
padding: 4px 8px;
|
|
|
|
margin: -6px 10px;
|
|
|
|
}
|
|
|
|
|
2017-04-26 02:21:05 +03:00
|
|
|
.column-subheading {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $ui-base-color;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2017-04-26 02:21:05 +03:00
|
|
|
padding: 8px 20px;
|
2020-01-27 14:44:29 +02:00
|
|
|
font-size: 12px;
|
2017-04-26 05:40:27 +03:00
|
|
|
font-weight: 500;
|
2020-01-27 14:44:29 +02:00
|
|
|
text-transform: uppercase;
|
2017-04-26 05:40:27 +03:00
|
|
|
cursor: default;
|
2017-04-26 02:21:05 +03:00
|
|
|
}
|
|
|
|
|
2018-01-03 05:39:14 +02:00
|
|
|
.getting-started__wrapper,
|
2018-05-30 19:41:47 +03:00
|
|
|
.getting-started,
|
|
|
|
.flex-spacer {
|
2018-01-03 05:39:14 +02:00
|
|
|
background: $ui-base-color;
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.getting-started__wrapper {
|
2018-06-01 20:18:37 +03:00
|
|
|
flex: 0 0 auto;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
2018-05-30 19:41:47 +03:00
|
|
|
.flex-spacer {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
2017-01-05 03:33:05 +02:00
|
|
|
.getting-started {
|
2018-05-30 19:41:47 +03:00
|
|
|
color: $dark-text-color;
|
2019-02-27 16:03:28 +02:00
|
|
|
overflow: auto;
|
2017-01-26 04:17:48 +02:00
|
|
|
|
2018-05-30 19:41:47 +03:00
|
|
|
&__footer {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
padding: 10px;
|
|
|
|
padding-top: 20px;
|
2021-01-05 20:57:32 +02:00
|
|
|
z-index: 1;
|
2018-05-30 19:41:47 +03:00
|
|
|
|
|
|
|
ul {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul li {
|
|
|
|
display: inline;
|
|
|
|
}
|
2018-08-31 04:43:02 +03:00
|
|
|
|
|
|
|
p {
|
|
|
|
color: $dark-text-color;
|
|
|
|
font-size: 13px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $dark-text-color;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: $darker-text-color;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2018-05-30 19:41:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&__trends {
|
2018-06-01 20:18:37 +03:00
|
|
|
flex: 0 1 auto;
|
2019-08-06 18:57:52 +03:00
|
|
|
opacity: 1;
|
|
|
|
animation: fade 150ms linear;
|
|
|
|
margin-top: 10px;
|
2018-06-01 20:18:37 +03:00
|
|
|
|
2019-08-23 06:05:21 +03:00
|
|
|
h4 {
|
2020-01-27 14:44:29 +02:00
|
|
|
font-size: 12px;
|
|
|
|
text-transform: uppercase;
|
2019-08-23 06:05:21 +03:00
|
|
|
color: $darker-text-color;
|
|
|
|
padding: 10px;
|
|
|
|
font-weight: 500;
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
}
|
|
|
|
|
2018-06-01 20:18:37 +03:00
|
|
|
@media screen and (max-height: 810px) {
|
2021-08-05 14:05:32 +03:00
|
|
|
.trends__item:nth-of-type(3) {
|
2018-06-01 20:18:37 +03:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-height: 720px) {
|
2021-08-05 14:05:32 +03:00
|
|
|
.trends__item:nth-of-type(2) {
|
2018-06-01 20:18:37 +03:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-height: 670px) {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-05-30 19:41:47 +03:00
|
|
|
|
2019-08-06 18:57:52 +03:00
|
|
|
.trends__item {
|
|
|
|
border-bottom: 0;
|
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
&__current {
|
|
|
|
color: $darker-text-color;
|
|
|
|
}
|
|
|
|
}
|
2017-02-09 02:20:09 +02:00
|
|
|
}
|
2017-01-01 20:52:25 +02:00
|
|
|
}
|
2017-01-08 13:32:37 +02:00
|
|
|
|
2017-11-27 22:31:58 +02:00
|
|
|
.keyboard-shortcuts {
|
|
|
|
padding: 8px 0 0;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
thead {
|
|
|
|
position: absolute;
|
|
|
|
left: -9999px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 0 10px 8px;
|
|
|
|
}
|
|
|
|
|
2017-12-20 04:46:25 +02:00
|
|
|
kbd {
|
2017-11-27 22:31:58 +02:00
|
|
|
display: inline-block;
|
|
|
|
padding: 3px 5px;
|
|
|
|
background-color: lighten($ui-base-color, 8%);
|
|
|
|
border: 1px solid darken($ui-base-color, 4%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-10 18:25:10 +02:00
|
|
|
.setting-text {
|
2017-04-23 05:26:55 +03:00
|
|
|
display: block;
|
2019-06-08 11:23:41 +03:00
|
|
|
box-sizing: border-box;
|
2017-04-23 05:26:55 +03:00
|
|
|
width: 100%;
|
2019-06-08 11:23:41 +03:00
|
|
|
margin: 0;
|
2021-12-18 00:00:05 +02:00
|
|
|
color: $darker-text-color;
|
|
|
|
background: transparent;
|
|
|
|
padding: 7px 0;
|
2019-06-08 11:23:41 +03:00
|
|
|
font-family: inherit;
|
|
|
|
font-size: 14px;
|
|
|
|
resize: vertical;
|
|
|
|
border: 0;
|
2021-12-18 00:00:05 +02:00
|
|
|
border-bottom: 2px solid $ui-primary-color;
|
2019-06-08 11:23:41 +03:00
|
|
|
outline: 0;
|
2017-01-10 18:25:10 +02:00
|
|
|
|
2021-12-18 00:00:05 +02:00
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
color: $primary-text-color;
|
|
|
|
border-bottom-color: $ui-highlight-color;
|
2019-06-08 11:23:41 +03:00
|
|
|
outline: 0;
|
2017-01-10 18:25:10 +02:00
|
|
|
}
|
2017-04-16 15:05:16 +03:00
|
|
|
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2017-01-10 18:25:10 +02:00
|
|
|
}
|
2017-04-24 01:38:37 +03:00
|
|
|
|
2020-07-22 23:48:51 +03:00
|
|
|
button.icon-button i.fa-retweet {
|
2017-01-15 17:55:31 +02:00
|
|
|
background-position: 0 0;
|
2017-05-02 03:15:14 +03:00
|
|
|
height: 19px;
|
2017-01-24 04:02:13 +02:00
|
|
|
transition: background-position 0.9s steps(10);
|
2017-01-15 17:55:31 +02:00
|
|
|
transition-duration: 0s;
|
2017-05-02 03:15:14 +03:00
|
|
|
vertical-align: middle;
|
|
|
|
width: 22px;
|
2017-01-15 17:55:31 +02:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-22 23:48:51 +03:00
|
|
|
button.icon-button.active i.fa-retweet {
|
2017-01-15 17:55:31 +02:00
|
|
|
transition-duration: 0.9s;
|
2017-01-24 04:02:13 +02:00
|
|
|
background-position: 0 100%;
|
2017-01-15 17:55:31 +02:00
|
|
|
}
|
2017-01-20 02:00:14 +02:00
|
|
|
|
2020-07-22 23:48:51 +03:00
|
|
|
.reduce-motion button.icon-button i.fa-retweet,
|
2017-12-24 05:48:31 +02:00
|
|
|
.reduce-motion button.icon-button.active i.fa-retweet {
|
2020-07-22 23:48:51 +03:00
|
|
|
transition: none;
|
2017-12-24 05:48:31 +02:00
|
|
|
}
|
|
|
|
|
2017-01-20 02:00:14 +02:00
|
|
|
.status-card {
|
2020-06-25 23:42:01 +03:00
|
|
|
position: relative;
|
2017-02-10 23:58:29 +02:00
|
|
|
display: flex;
|
|
|
|
font-size: 14px;
|
2017-05-08 16:57:49 +03:00
|
|
|
border: 1px solid lighten($ui-base-color, 8%);
|
2017-02-10 23:58:29 +02:00
|
|
|
border-radius: 4px;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2017-02-10 23:58:29 +02:00
|
|
|
margin-top: 14px;
|
|
|
|
text-decoration: none;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2018-02-15 08:04:28 +02:00
|
|
|
&__actions {
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
background: rgba($base-shadow-color, 0.6);
|
2019-04-27 04:24:09 +03:00
|
|
|
border-radius: 8px;
|
2018-02-15 08:04:28 +02:00
|
|
|
padding: 12px 9px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
button,
|
|
|
|
a {
|
|
|
|
display: inline;
|
2019-04-27 04:24:09 +03:00
|
|
|
color: $secondary-text-color;
|
2018-02-15 08:04:28 +02:00
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
2019-04-27 04:24:09 +03:00
|
|
|
padding: 0 8px;
|
2018-02-15 08:04:28 +02:00
|
|
|
text-decoration: none;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 18px;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2019-04-27 04:24:09 +03:00
|
|
|
color: $primary-text-color;
|
2018-02-15 08:04:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-size: 19px;
|
|
|
|
position: relative;
|
|
|
|
bottom: -1px;
|
|
|
|
}
|
2017-01-20 02:00:14 +02:00
|
|
|
}
|
|
|
|
}
|
2017-01-30 19:04:15 +02:00
|
|
|
|
2018-02-15 08:04:28 +02:00
|
|
|
a.status-card {
|
|
|
|
cursor: pointer;
|
2017-04-27 15:42:22 +03:00
|
|
|
|
2018-02-15 08:04:28 +02:00
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-base-color, 8%);
|
2017-04-27 15:42:22 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card-photo {
|
2017-11-25 16:41:45 +02:00
|
|
|
cursor: zoom-in;
|
2017-04-27 15:42:22 +03:00
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
2017-11-25 16:41:45 +02:00
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
margin: 0;
|
2017-04-27 15:42:22 +03:00
|
|
|
}
|
|
|
|
|
2017-05-07 16:21:46 +03:00
|
|
|
.status-card-video {
|
|
|
|
iframe {
|
2017-10-08 03:34:49 +03:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-05-07 16:21:46 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-10 23:58:29 +02:00
|
|
|
.status-card__title {
|
|
|
|
display: block;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-bottom: 5px;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $darker-text-color;
|
2017-02-10 23:58:29 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2018-02-15 08:04:28 +02:00
|
|
|
text-decoration: none;
|
2017-02-10 23:58:29 +02:00
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.status-card__content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 14px 14px 14px 8px;
|
|
|
|
}
|
|
|
|
|
2017-02-10 23:58:29 +02:00
|
|
|
.status-card__description {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $darker-text-color;
|
2017-02-10 23:58:29 +02:00
|
|
|
}
|
|
|
|
|
2017-05-04 16:52:08 +03:00
|
|
|
.status-card__host {
|
|
|
|
display: block;
|
|
|
|
margin-top: 5px;
|
|
|
|
font-size: 13px;
|
2018-10-28 07:35:03 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2017-05-04 16:52:08 +03:00
|
|
|
}
|
|
|
|
|
2017-02-10 23:58:29 +02:00
|
|
|
.status-card__image {
|
|
|
|
flex: 0 0 100px;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-base-color, 8%);
|
2018-02-15 08:04:28 +02:00
|
|
|
position: relative;
|
2019-01-04 13:44:46 +02:00
|
|
|
|
2019-01-07 00:54:01 +02:00
|
|
|
& > .fa {
|
2019-01-04 13:44:46 +02:00
|
|
|
font-size: 21px;
|
|
|
|
position: absolute;
|
|
|
|
transform-origin: 50% 50%;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
2017-02-10 23:58:29 +02:00
|
|
|
}
|
|
|
|
|
2017-09-01 17:20:16 +03:00
|
|
|
.status-card.horizontal {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
.status-card__image {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-06-06 18:41:56 +03:00
|
|
|
.status-card__image-image,
|
|
|
|
.status-card__image-preview {
|
2017-09-01 17:20:16 +03:00
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
}
|
2017-12-09 01:56:16 +02:00
|
|
|
|
|
|
|
.status-card__title {
|
|
|
|
white-space: inherit;
|
|
|
|
}
|
2017-09-01 17:20:16 +03:00
|
|
|
}
|
|
|
|
|
2018-10-28 07:35:03 +02:00
|
|
|
.status-card.compact {
|
|
|
|
border-color: lighten($ui-base-color, 4%);
|
|
|
|
|
|
|
|
&.interactive {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__content {
|
|
|
|
padding: 8px;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__title {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-card__image {
|
|
|
|
flex: 0 0 60px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.status-card.compact:hover {
|
|
|
|
background-color: lighten($ui-base-color, 4%);
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.status-card__image-image {
|
2017-05-07 21:47:31 +03:00
|
|
|
border-radius: 4px 0 0 4px;
|
2017-04-23 05:26:55 +03:00
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
2017-12-09 01:56:16 +02:00
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
2018-02-15 08:04:28 +02:00
|
|
|
background-size: cover;
|
|
|
|
background-position: center center;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
2020-06-06 18:41:56 +03:00
|
|
|
.status-card__image-preview {
|
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: fill;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 0;
|
|
|
|
background: $base-overlay-background;
|
|
|
|
|
|
|
|
&--hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-30 19:04:15 +02:00
|
|
|
.load-more {
|
2017-02-09 02:20:09 +02:00
|
|
|
display: block;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2017-05-26 15:10:37 +03:00
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
font-size: inherit;
|
2017-02-09 02:20:09 +02:00
|
|
|
text-align: center;
|
2017-05-26 15:10:37 +03:00
|
|
|
line-height: inherit;
|
|
|
|
margin: 0;
|
2017-02-09 02:20:09 +02:00
|
|
|
padding: 15px;
|
2018-06-01 20:18:37 +03:00
|
|
|
box-sizing: border-box;
|
2017-05-26 15:10:37 +03:00
|
|
|
width: 100%;
|
2017-05-25 06:22:46 +03:00
|
|
|
clear: both;
|
2018-06-01 20:18:37 +03:00
|
|
|
text-decoration: none;
|
2017-02-09 02:20:09 +02:00
|
|
|
|
2017-01-30 19:04:15 +02:00
|
|
|
&:hover {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-base-color, 2%);
|
2017-01-30 19:04:15 +02:00
|
|
|
}
|
|
|
|
}
|
2017-02-09 02:20:09 +02:00
|
|
|
|
2018-04-10 18:12:10 +03:00
|
|
|
.load-gap {
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
}
|
|
|
|
|
2020-06-14 23:29:40 +03:00
|
|
|
.timeline-hint {
|
|
|
|
text-align: center;
|
|
|
|
color: $darker-text-color;
|
|
|
|
padding: 15px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2022-06-19 09:18:08 +03:00
|
|
|
color: $highlight-text-color;
|
2020-06-14 23:29:40 +03:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
text-decoration: underline;
|
2022-06-19 09:18:08 +03:00
|
|
|
color: lighten($highlight-text-color, 4%);
|
2020-06-14 23:29:40 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-18 00:56:03 +02:00
|
|
|
.regeneration-indicator {
|
2017-02-09 02:20:09 +02:00
|
|
|
text-align: center;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 500;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $ui-base-color;
|
2017-02-28 01:43:36 +02:00
|
|
|
cursor: default;
|
2017-05-03 03:04:16 +03:00
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
2019-10-06 23:11:17 +03:00
|
|
|
flex-direction: column;
|
2017-05-03 03:04:16 +03:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2018-01-18 00:56:03 +02:00
|
|
|
padding: 20px;
|
2017-05-03 03:04:16 +03:00
|
|
|
|
2018-01-18 00:56:03 +02:00
|
|
|
&__figure {
|
2019-10-06 23:11:17 +03:00
|
|
|
&,
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
width: auto;
|
|
|
|
height: 160px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-01-18 00:56:03 +02:00
|
|
|
}
|
|
|
|
|
2019-10-06 23:11:17 +03:00
|
|
|
&--without-header {
|
2018-01-18 00:56:03 +02:00
|
|
|
padding-top: 20px + 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__label {
|
2019-10-06 23:11:17 +03:00
|
|
|
margin-top: 30px;
|
2018-01-18 00:56:03 +02:00
|
|
|
|
|
|
|
strong {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 10px;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2018-01-18 00:56:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
2017-05-03 03:04:16 +03:00
|
|
|
}
|
2017-02-09 02:20:09 +02:00
|
|
|
}
|
|
|
|
|
2017-06-12 21:02:17 +03:00
|
|
|
.column-header__wrapper {
|
|
|
|
position: relative;
|
|
|
|
flex: 0 0 auto;
|
2020-01-25 20:40:36 +02:00
|
|
|
z-index: 1;
|
2017-06-12 21:02:17 +03:00
|
|
|
|
|
|
|
&.active {
|
2020-01-25 20:40:36 +02:00
|
|
|
box-shadow: 0 1px 0 rgba($highlight-text-color, 0.3);
|
|
|
|
|
2017-06-12 21:02:17 +03:00
|
|
|
&::before {
|
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
2020-01-25 20:40:36 +02:00
|
|
|
bottom: -13px;
|
2017-06-12 21:02:17 +03:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 60%;
|
|
|
|
pointer-events: none;
|
|
|
|
height: 28px;
|
|
|
|
z-index: 1;
|
|
|
|
background: radial-gradient(ellipse, rgba($ui-highlight-color, 0.23) 0%, rgba($ui-highlight-color, 0) 60%);
|
|
|
|
}
|
|
|
|
}
|
2020-01-25 20:40:36 +02:00
|
|
|
|
|
|
|
.announcements {
|
|
|
|
z-index: 1;
|
|
|
|
position: relative;
|
|
|
|
}
|
2017-06-12 21:02:17 +03:00
|
|
|
}
|
|
|
|
|
2017-02-09 02:20:09 +02:00
|
|
|
.column-header {
|
2017-10-26 16:52:48 +03:00
|
|
|
display: flex;
|
2017-02-09 02:20:09 +02:00
|
|
|
font-size: 16px;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-base-color, 4%);
|
2017-02-09 02:20:09 +02:00
|
|
|
flex: 0 0 auto;
|
|
|
|
cursor: pointer;
|
2017-02-23 03:14:35 +02:00
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
2017-04-24 01:38:37 +03:00
|
|
|
outline: 0;
|
2018-01-15 05:33:06 +02:00
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
& > button {
|
|
|
|
margin: 0;
|
2019-06-06 19:51:46 +03:00
|
|
|
border: 0;
|
2018-02-01 18:17:17 +02:00
|
|
|
padding: 15px 0 15px 15px;
|
2018-01-15 05:33:06 +02:00
|
|
|
color: inherit;
|
|
|
|
background: transparent;
|
|
|
|
font: inherit;
|
|
|
|
text-align: left;
|
2018-02-01 18:17:17 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
2018-02-02 14:31:28 +02:00
|
|
|
flex: 1;
|
2018-01-15 05:33:06 +02:00
|
|
|
}
|
2017-02-23 03:14:35 +02:00
|
|
|
|
2018-03-11 10:52:59 +02:00
|
|
|
& > .column-header__back-button {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $highlight-text-color;
|
2018-03-11 10:52:59 +02:00
|
|
|
}
|
|
|
|
|
2017-02-23 03:14:35 +02:00
|
|
|
&.active {
|
2017-06-12 21:02:17 +03:00
|
|
|
.column-header__icon {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $highlight-text-color;
|
|
|
|
text-shadow: 0 0 10px rgba($highlight-text-color, 0.4);
|
2017-06-12 21:02:17 +03:00
|
|
|
}
|
2017-02-21 01:10:49 +02:00
|
|
|
}
|
2017-04-21 19:17:55 +03:00
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
&:focus,
|
|
|
|
&:active {
|
2017-04-24 01:38:37 +03:00
|
|
|
outline: 0;
|
|
|
|
}
|
2017-02-09 02:20:09 +02:00
|
|
|
}
|
|
|
|
|
2017-06-04 02:39:38 +03:00
|
|
|
.column-header__buttons {
|
2017-06-06 17:56:10 +03:00
|
|
|
height: 48px;
|
2017-10-26 16:52:48 +03:00
|
|
|
display: flex;
|
2017-06-04 02:39:38 +03:00
|
|
|
}
|
|
|
|
|
2019-06-11 03:26:37 +03:00
|
|
|
.column-header__links {
|
|
|
|
margin-bottom: 14px;
|
|
|
|
}
|
|
|
|
|
2017-12-06 00:02:27 +02:00
|
|
|
.column-header__links .text-btn {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2017-06-04 02:39:38 +03:00
|
|
|
.column-header__button {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
border: 0;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $darker-text-color;
|
2017-06-04 02:39:38 +03:00
|
|
|
cursor: pointer;
|
|
|
|
font-size: 16px;
|
2017-06-04 15:52:02 +03:00
|
|
|
padding: 0 15px;
|
2017-06-04 02:39:38 +03:00
|
|
|
|
|
|
|
&:hover {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: lighten($darker-text-color, 7%);
|
2017-06-04 02:39:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: $primary-text-color;
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $primary-text-color;
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.column-header__collapsible {
|
|
|
|
max-height: 70vh;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow-y: auto;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $darker-text-color;
|
2017-06-04 02:39:38 +03:00
|
|
|
transition: max-height 150ms ease-in-out, opacity 300ms linear;
|
|
|
|
opacity: 1;
|
2020-01-25 20:40:36 +02:00
|
|
|
z-index: 1;
|
|
|
|
position: relative;
|
2017-06-04 02:39:38 +03:00
|
|
|
|
|
|
|
&.collapsed {
|
|
|
|
max-height: 0;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.animating {
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
2017-12-06 00:02:27 +02:00
|
|
|
|
|
|
|
hr {
|
|
|
|
height: 0;
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid lighten($ui-base-color, 12%);
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
2017-06-04 02:39:38 +03:00
|
|
|
}
|
|
|
|
|
2017-06-25 00:18:11 +03:00
|
|
|
.column-header__collapsible-inner {
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
padding: 15px;
|
|
|
|
}
|
|
|
|
|
2017-06-04 02:39:38 +03:00
|
|
|
.column-header__setting-btn {
|
2021-10-01 01:55:51 +03:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $darker-text-color;
|
2017-06-04 02:39:38 +03:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-01 01:55:51 +03:00
|
|
|
.column-header__collapsible__extra + .column-header__setting-btn {
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
2020-12-15 19:43:54 +02:00
|
|
|
.column-header__permission-btn {
|
|
|
|
display: inline;
|
|
|
|
font-weight: inherit;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2017-06-04 02:39:38 +03:00
|
|
|
.column-header__setting-arrows {
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
.column-header__setting-btn {
|
2021-10-01 01:55:51 +03:00
|
|
|
padding: 5px;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
padding-right: 7px;
|
|
|
|
}
|
2017-06-04 02:39:38 +03:00
|
|
|
|
|
|
|
&:last-child {
|
2021-10-01 01:55:51 +03:00
|
|
|
padding-left: 7px;
|
|
|
|
margin-left: 5px;
|
2017-06-04 02:39:38 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-btn {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
color: inherit;
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2020-10-13 01:37:21 +03:00
|
|
|
.column-header__issue-btn {
|
|
|
|
color: $warning-red;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $error-red;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.column-header__icon {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2017-02-10 17:35:19 +02:00
|
|
|
.loading-indicator {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2020-01-27 14:44:29 +02:00
|
|
|
font-size: 12px;
|
2017-07-23 21:28:18 +03:00
|
|
|
font-weight: 400;
|
2020-01-27 14:44:29 +02:00
|
|
|
text-transform: uppercase;
|
2017-07-23 21:28:18 +03:00
|
|
|
overflow: visible;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
2022-02-09 02:17:07 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2017-07-23 21:28:18 +03:00
|
|
|
|
2022-02-09 02:17:07 +02:00
|
|
|
.circular-progress {
|
|
|
|
color: lighten($ui-base-color, 26%);
|
|
|
|
animation: 1.4s linear 0s infinite normal none running simple-rotate;
|
|
|
|
|
|
|
|
circle {
|
|
|
|
stroke: currentColor;
|
|
|
|
stroke-dasharray: 80px, 200px;
|
|
|
|
stroke-dashoffset: 0;
|
|
|
|
animation: circular-progress 1.4s ease-in-out infinite;
|
2017-07-23 21:28:18 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-09 02:17:07 +02:00
|
|
|
@keyframes circular-progress {
|
|
|
|
0% {
|
|
|
|
stroke-dasharray: 1px, 200px;
|
|
|
|
stroke-dashoffset: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
50% {
|
|
|
|
stroke-dasharray: 100px, 200px;
|
|
|
|
stroke-dashoffset: -15px;
|
|
|
|
}
|
2018-12-17 18:02:59 +02:00
|
|
|
|
2022-02-09 02:17:07 +02:00
|
|
|
100% {
|
|
|
|
stroke-dasharray: 100px, 200px;
|
|
|
|
stroke-dashoffset: -125px;
|
|
|
|
}
|
2018-12-17 18:02:59 +02:00
|
|
|
}
|
|
|
|
|
2022-02-09 02:17:07 +02:00
|
|
|
@keyframes simple-rotate {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
2017-07-23 21:28:18 +03:00
|
|
|
}
|
|
|
|
|
2019-10-24 23:47:48 +03:00
|
|
|
@keyframes spring-rotate-in {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
30% {
|
|
|
|
transform: rotate(-484.8deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
60% {
|
|
|
|
transform: rotate(-316.7deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
90% {
|
|
|
|
transform: rotate(-375deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: rotate(-360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes spring-rotate-out {
|
|
|
|
0% {
|
|
|
|
transform: rotate(-360deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
30% {
|
|
|
|
transform: rotate(124.8deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
60% {
|
|
|
|
transform: rotate(-43.27deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
90% {
|
|
|
|
transform: rotate(15deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.video-error-cover {
|
|
|
|
align-items: center;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $base-overlay-background;
|
|
|
|
color: $primary-text-color;
|
2017-04-23 05:26:55 +03:00
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
justify-content: center;
|
|
|
|
margin-top: 8px;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
|
2017-05-02 21:03:00 +03:00
|
|
|
.media-spoiler {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $base-overlay-background;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $darker-text-color;
|
2017-07-31 01:18:15 +03:00
|
|
|
border: 0;
|
2018-02-19 03:39:18 +02:00
|
|
|
padding: 0;
|
2017-07-31 01:18:15 +03:00
|
|
|
width: 100%;
|
2017-05-02 21:03:00 +03:00
|
|
|
height: 100%;
|
2018-02-19 03:39:18 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
appearance: none;
|
2017-09-14 04:39:10 +03:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2018-02-19 03:39:18 +02:00
|
|
|
padding: 0;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: lighten($darker-text-color, 8%);
|
2017-09-14 04:39:10 +03:00
|
|
|
}
|
2017-05-02 21:03:00 +03:00
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.media-spoiler__warning {
|
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-spoiler__trigger {
|
|
|
|
display: block;
|
|
|
|
font-size: 11px;
|
2018-02-19 03:39:18 +02:00
|
|
|
font-weight: 700;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.spoiler-button {
|
2019-04-27 04:24:09 +03:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-04-23 05:26:55 +03:00
|
|
|
position: absolute;
|
2017-04-24 21:20:16 +03:00
|
|
|
z-index: 100;
|
2017-05-19 12:42:54 +03:00
|
|
|
|
2019-04-27 04:24:09 +03:00
|
|
|
&--minified {
|
|
|
|
display: block;
|
|
|
|
left: 4px;
|
|
|
|
top: 4px;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2019-09-03 05:56:40 +03:00
|
|
|
&--click-thru {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2019-04-27 04:24:09 +03:00
|
|
|
&--hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__overlay {
|
2017-05-19 12:42:54 +03:00
|
|
|
display: block;
|
2019-04-27 04:24:09 +03:00
|
|
|
background: transparent;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
&__label {
|
|
|
|
display: inline-block;
|
|
|
|
background: rgba($base-overlay-background, 0.5);
|
|
|
|
border-radius: 8px;
|
|
|
|
padding: 8px 12px;
|
|
|
|
color: $primary-text-color;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
.spoiler-button__overlay__label {
|
|
|
|
background: rgba($base-overlay-background, 0.8);
|
|
|
|
}
|
|
|
|
}
|
2019-09-01 20:43:35 +03:00
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
.spoiler-button__overlay__label {
|
|
|
|
background: rgba($base-overlay-background, 0.5);
|
|
|
|
}
|
|
|
|
}
|
2017-05-19 12:42:54 +03:00
|
|
|
}
|
2017-02-10 18:30:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal-container--preloader {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-base-color, 8%);
|
2017-02-10 18:30:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.account--panel {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
border-top: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
2017-04-23 05:26:55 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2017-05-07 21:47:31 +03:00
|
|
|
padding: 10px 0;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.account--panel__button,
|
|
|
|
.detailed-status__button {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
text-align: center;
|
2017-02-10 18:30:06 +02:00
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.column-settings__outer {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-base-color, 8%);
|
2017-04-23 05:26:55 +03:00
|
|
|
padding: 15px;
|
2017-02-10 18:30:06 +02:00
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.column-settings__section {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $darker-text-color;
|
2017-04-23 05:26:55 +03:00
|
|
|
cursor: default;
|
|
|
|
display: block;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-bottom: 10px;
|
2019-02-13 19:34:58 +02:00
|
|
|
}
|
|
|
|
|
2020-10-15 17:24:47 +03:00
|
|
|
.column-settings__row--with-margin {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
2019-02-13 19:34:58 +02:00
|
|
|
.column-settings__hashtags {
|
|
|
|
.column-settings__row {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
2018-11-05 19:53:25 +02:00
|
|
|
|
2019-02-13 19:34:58 +02:00
|
|
|
.column-select {
|
2018-11-05 19:53:25 +02:00
|
|
|
&__control {
|
2019-06-06 19:51:46 +03:00
|
|
|
@include search-input;
|
2019-09-19 20:58:40 +03:00
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: lighten($darker-text-color, 4%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2018-11-05 19:53:25 +02:00
|
|
|
}
|
|
|
|
|
2019-02-13 19:34:58 +02:00
|
|
|
&__placeholder {
|
|
|
|
color: $dark-text-color;
|
|
|
|
padding-left: 2px;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__value-container {
|
|
|
|
padding-left: 6px;
|
|
|
|
}
|
|
|
|
|
2018-11-05 19:53:25 +02:00
|
|
|
&__multi-value {
|
|
|
|
background: lighten($ui-base-color, 8%);
|
2019-02-13 19:34:58 +02:00
|
|
|
|
|
|
|
&__remove {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
background: lighten($ui-base-color, 12%);
|
|
|
|
color: lighten($darker-text-color, 4%);
|
|
|
|
}
|
|
|
|
}
|
2018-11-05 19:53:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__multi-value__label,
|
2021-11-26 23:09:11 +02:00
|
|
|
&__input,
|
|
|
|
&__input-container {
|
2018-11-05 19:53:25 +02:00
|
|
|
color: $darker-text-color;
|
|
|
|
}
|
|
|
|
|
2019-02-13 19:34:58 +02:00
|
|
|
&__clear-indicator,
|
2018-11-05 19:53:25 +02:00
|
|
|
&__dropdown-indicator {
|
2019-02-13 19:34:58 +02:00
|
|
|
cursor: pointer;
|
|
|
|
transition: none;
|
|
|
|
color: $dark-text-color;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
color: lighten($dark-text-color, 4%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__indicator-separator {
|
|
|
|
background-color: lighten($ui-base-color, 8%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__menu {
|
2019-06-06 19:51:46 +03:00
|
|
|
@include search-popout;
|
2022-06-01 20:22:35 +03:00
|
|
|
|
2019-02-13 19:34:58 +02:00
|
|
|
padding: 0;
|
|
|
|
background: $ui-secondary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__menu-list {
|
|
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__option {
|
|
|
|
color: $inverted-text-color;
|
|
|
|
border-radius: 4px;
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
&--is-focused,
|
|
|
|
&--is-selected {
|
|
|
|
background: darken($ui-secondary-color, 10%);
|
|
|
|
}
|
2018-11-05 19:53:25 +02:00
|
|
|
}
|
|
|
|
}
|
2017-02-10 17:35:19 +02:00
|
|
|
}
|
2017-02-10 18:30:06 +02:00
|
|
|
|
2017-06-12 13:26:23 +03:00
|
|
|
.column-settings__row {
|
2020-12-15 19:43:54 +02:00
|
|
|
.text-btn:not(.column-header__permission-btn) {
|
2017-06-12 13:26:23 +03:00
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-26 01:36:25 +02:00
|
|
|
.relationship-tag {
|
2017-05-08 16:57:49 +03:00
|
|
|
color: $primary-text-color;
|
2019-03-26 01:36:25 +02:00
|
|
|
margin-bottom: 4px;
|
|
|
|
display: block;
|
2019-03-28 19:33:26 +02:00
|
|
|
background-color: $base-overlay-background;
|
2020-01-27 14:44:29 +02:00
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 11px;
|
2018-03-05 06:09:35 +02:00
|
|
|
font-weight: 500;
|
|
|
|
padding: 4px;
|
|
|
|
border-radius: 4px;
|
2019-03-28 19:33:26 +02:00
|
|
|
opacity: 0.7;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2018-03-05 06:09:35 +02:00
|
|
|
}
|
|
|
|
|
2017-06-03 15:40:24 +03:00
|
|
|
.setting-toggle {
|
2017-04-23 05:26:55 +03:00
|
|
|
display: block;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
2018-09-25 16:59:19 +03:00
|
|
|
.setting-toggle__label {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $darker-text-color;
|
2017-04-23 05:26:55 +03:00
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: 14px;
|
|
|
|
margin-left: 8px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2022-05-10 10:44:35 +03:00
|
|
|
.limited-account-hint {
|
|
|
|
p {
|
|
|
|
color: $secondary-text-color;
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-08 01:06:02 +03:00
|
|
|
.empty-column-indicator,
|
2020-04-04 20:02:10 +03:00
|
|
|
.error-column,
|
|
|
|
.follow_requests-unlocked_explanation {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $ui-base-color;
|
2017-02-18 03:37:59 +02:00
|
|
|
text-align: center;
|
|
|
|
padding: 20px;
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 400;
|
|
|
|
cursor: default;
|
2017-04-10 17:27:30 +03:00
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
align-items: center;
|
2017-05-11 01:28:10 +03:00
|
|
|
justify-content: center;
|
2018-01-20 02:32:37 +02:00
|
|
|
|
2022-06-01 20:22:35 +03:00
|
|
|
@supports (display: grid) { // hack to fix Chrome <57
|
2017-05-25 22:14:56 +03:00
|
|
|
contain: strict;
|
|
|
|
}
|
2017-02-18 03:37:59 +02:00
|
|
|
|
2019-05-23 02:35:22 +03:00
|
|
|
& > span {
|
2022-05-03 10:09:09 +03:00
|
|
|
max-width: 500px;
|
2019-05-23 02:35:22 +03:00
|
|
|
}
|
|
|
|
|
2017-02-18 03:37:59 +02:00
|
|
|
a {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $highlight-text-color;
|
2017-02-18 03:37:59 +02:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-02-21 01:10:49 +02:00
|
|
|
|
2020-04-04 20:02:10 +03:00
|
|
|
.follow_requests-unlocked_explanation {
|
|
|
|
background: darken($ui-base-color, 4%);
|
|
|
|
contain: initial;
|
|
|
|
}
|
|
|
|
|
2017-07-08 01:06:02 +03:00
|
|
|
.error-column {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2017-10-07 20:02:30 +03:00
|
|
|
@keyframes heartbeat {
|
|
|
|
from {
|
|
|
|
transform: scale(1);
|
|
|
|
animation-timing-function: ease-out;
|
2017-05-07 03:42:38 +03:00
|
|
|
}
|
2017-05-07 21:47:31 +03:00
|
|
|
|
2017-10-07 20:02:30 +03:00
|
|
|
10% {
|
|
|
|
transform: scale(0.91);
|
|
|
|
animation-timing-function: ease-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
17% {
|
|
|
|
transform: scale(0.98);
|
|
|
|
animation-timing-function: ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
33% {
|
|
|
|
transform: scale(0.87);
|
|
|
|
animation-timing-function: ease-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
45% {
|
|
|
|
transform: scale(1);
|
|
|
|
animation-timing-function: ease-out;
|
2017-05-07 03:42:38 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-20 02:32:37 +02:00
|
|
|
.no-reduce-motion .pulse-loading {
|
2018-01-18 00:56:03 +02:00
|
|
|
transform-origin: center center;
|
2017-10-07 20:02:30 +03:00
|
|
|
animation: heartbeat 1.5s ease-in-out infinite both;
|
2017-05-07 03:42:38 +03:00
|
|
|
}
|
|
|
|
|
2018-01-20 02:32:37 +02:00
|
|
|
@keyframes shake-bottom {
|
|
|
|
0%,
|
|
|
|
100% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
transform-origin: 50% 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
10% {
|
|
|
|
transform: rotate(2deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
20%,
|
|
|
|
40%,
|
|
|
|
60% {
|
|
|
|
transform: rotate(-4deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
30%,
|
|
|
|
50%,
|
|
|
|
70% {
|
|
|
|
transform: rotate(4deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
80% {
|
|
|
|
transform: rotate(-2deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
90% {
|
|
|
|
transform: rotate(2deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-reduce-motion .shake-bottom {
|
|
|
|
transform-origin: 50% 100%;
|
2019-06-06 19:51:46 +03:00
|
|
|
animation: shake-bottom 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) 2s 2 both;
|
2018-01-20 02:32:37 +02:00
|
|
|
}
|
|
|
|
|
2017-09-23 02:41:00 +03:00
|
|
|
.emoji-picker-dropdown__menu {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $simple-background-color;
|
2017-09-23 02:41:00 +03:00
|
|
|
position: absolute;
|
|
|
|
box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
|
2017-04-12 00:23:34 +03:00
|
|
|
border-radius: 4px;
|
2017-09-23 02:41:00 +03:00
|
|
|
margin-top: 5px;
|
2019-05-22 19:00:34 +03:00
|
|
|
z-index: 2;
|
2017-03-02 01:57:55 +02:00
|
|
|
|
2017-09-23 02:41:00 +03:00
|
|
|
.emoji-mart-scroll {
|
|
|
|
transition: opacity 200ms ease;
|
2017-03-02 01:57:55 +02:00
|
|
|
}
|
|
|
|
|
2017-09-23 02:41:00 +03:00
|
|
|
&.selecting .emoji-mart-scroll {
|
|
|
|
opacity: 0.5;
|
2017-03-02 01:57:55 +02:00
|
|
|
}
|
2017-09-23 02:41:00 +03:00
|
|
|
}
|
2017-03-02 01:57:55 +02:00
|
|
|
|
2017-09-23 02:41:00 +03:00
|
|
|
.emoji-picker-dropdown__modifiers {
|
|
|
|
position: absolute;
|
|
|
|
top: 60px;
|
|
|
|
right: 11px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2017-03-02 01:57:55 +02:00
|
|
|
|
2017-09-23 02:41:00 +03:00
|
|
|
.emoji-picker-dropdown__modifiers__menu {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 4;
|
|
|
|
top: -4px;
|
|
|
|
left: -8px;
|
|
|
|
background: $simple-background-color;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
|
|
|
|
overflow: hidden;
|
2017-03-02 01:57:55 +02:00
|
|
|
|
2019-03-30 02:41:35 +02:00
|
|
|
button {
|
2017-04-12 00:23:34 +03:00
|
|
|
display: block;
|
2017-09-23 02:41:00 +03:00
|
|
|
cursor: pointer;
|
|
|
|
border: 0;
|
2019-03-30 02:41:35 +02:00
|
|
|
padding: 4px 8px;
|
2017-09-23 02:41:00 +03:00
|
|
|
background: transparent;
|
2017-04-12 00:23:34 +03:00
|
|
|
|
2017-09-23 02:41:00 +03:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
background: rgba($ui-secondary-color, 0.4);
|
2017-04-12 00:23:34 +03:00
|
|
|
}
|
2017-03-02 01:57:55 +02:00
|
|
|
}
|
|
|
|
|
2017-09-23 02:41:00 +03:00
|
|
|
.emoji-mart-emoji {
|
2017-03-02 01:57:55 +02:00
|
|
|
height: 22px;
|
|
|
|
}
|
|
|
|
}
|
2017-03-22 18:36:34 +02:00
|
|
|
|
2017-09-23 06:40:28 +03:00
|
|
|
.emoji-mart-emoji {
|
|
|
|
span {
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-24 04:50:30 +02:00
|
|
|
.upload-area {
|
2017-04-23 05:26:55 +03:00
|
|
|
align-items: center;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: rgba($base-overlay-background, 0.8);
|
2017-03-24 04:50:30 +02:00
|
|
|
display: flex;
|
2017-04-23 05:26:55 +03:00
|
|
|
height: 100%;
|
2017-03-24 04:50:30 +02:00
|
|
|
justify-content: center;
|
2017-04-23 05:26:55 +03:00
|
|
|
left: 0;
|
2017-03-24 04:50:30 +02:00
|
|
|
opacity: 0;
|
2017-04-23 05:26:55 +03:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
width: 100%;
|
2017-03-24 04:50:30 +02:00
|
|
|
z-index: 2000;
|
|
|
|
|
|
|
|
* {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.upload-area__drop {
|
|
|
|
width: 320px;
|
|
|
|
height: 160px;
|
|
|
|
display: flex;
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: relative;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.upload-area__background {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: -1;
|
|
|
|
border-radius: 4px;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $ui-base-color;
|
|
|
|
box-shadow: 0 0 5px rgba($base-shadow-color, 0.2);
|
2017-03-24 04:50:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.upload-area__content {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $secondary-text-color;
|
2017-03-24 04:50:30 +02:00
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 500;
|
2017-07-24 16:09:08 +03:00
|
|
|
border: 2px dashed $ui-base-lighter-color;
|
2017-03-24 04:50:30 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.upload-progress {
|
2017-03-25 01:01:43 +02:00
|
|
|
padding: 10px;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $lighter-text-color;
|
2017-03-24 04:50:30 +02:00
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
|
2018-09-28 03:11:14 +03:00
|
|
|
.fa {
|
2017-03-24 04:50:30 +02:00
|
|
|
font-size: 34px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
2020-01-27 14:44:29 +02:00
|
|
|
font-size: 12px;
|
|
|
|
text-transform: uppercase;
|
2017-03-24 04:50:30 +02:00
|
|
|
font-weight: 500;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-06 23:51:40 +02:00
|
|
|
.upload-progress__message {
|
2017-04-23 05:26:55 +03:00
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
2017-03-24 04:50:30 +02:00
|
|
|
.upload-progress__backdrop {
|
|
|
|
width: 100%;
|
|
|
|
height: 6px;
|
|
|
|
border-radius: 6px;
|
2017-07-24 16:09:08 +03:00
|
|
|
background: $ui-base-lighter-color;
|
2017-03-24 04:50:30 +02:00
|
|
|
position: relative;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.upload-progress__tracker {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
height: 6px;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $ui-highlight-color;
|
2017-03-24 04:50:30 +02:00
|
|
|
border-radius: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-button {
|
2017-05-19 12:42:54 +03:00
|
|
|
display: block;
|
2020-03-08 16:36:50 +02:00
|
|
|
padding: 5px 5px 2px 2px;
|
2017-03-25 01:01:43 +02:00
|
|
|
outline: 0;
|
2017-07-14 20:47:53 +03:00
|
|
|
cursor: pointer;
|
2017-03-25 01:01:43 +02:00
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
&:active,
|
|
|
|
&:focus {
|
2017-03-25 01:01:43 +02:00
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
|
2017-03-24 04:50:30 +02:00
|
|
|
img {
|
|
|
|
filter: grayscale(100%);
|
2017-03-25 01:01:43 +02:00
|
|
|
opacity: 0.8;
|
2017-03-24 04:50:30 +02:00
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
}
|
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2017-03-24 04:50:30 +02:00
|
|
|
img {
|
|
|
|
opacity: 1;
|
|
|
|
filter: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown--active .emoji-button img {
|
|
|
|
opacity: 1;
|
|
|
|
filter: none;
|
|
|
|
}
|
2017-03-25 01:01:43 +02:00
|
|
|
|
|
|
|
.privacy-dropdown__dropdown {
|
|
|
|
position: absolute;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $simple-background-color;
|
2017-10-01 13:20:00 +03:00
|
|
|
box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
|
|
|
|
border-radius: 4px;
|
2017-03-25 01:01:43 +02:00
|
|
|
overflow: hidden;
|
2021-02-11 01:53:12 +02:00
|
|
|
z-index: 2;
|
2018-08-19 18:11:12 +03:00
|
|
|
|
|
|
|
&.top {
|
|
|
|
transform-origin: 50% 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.bottom {
|
|
|
|
transform-origin: 50% 0;
|
|
|
|
}
|
2017-03-25 01:01:43 +02:00
|
|
|
}
|
|
|
|
|
2021-02-11 01:53:12 +02:00
|
|
|
.modal-root__container .privacy-dropdown {
|
|
|
|
flex-grow: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-root__container .privacy-dropdown__dropdown {
|
|
|
|
pointer-events: auto;
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
|
2017-03-25 01:01:43 +02:00
|
|
|
.privacy-dropdown__option {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $inverted-text-color;
|
2017-03-25 01:01:43 +02:00
|
|
|
padding: 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
&:hover,
|
|
|
|
&.active {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $ui-highlight-color;
|
|
|
|
color: $primary-text-color;
|
2018-05-19 13:16:52 +03:00
|
|
|
outline: 0;
|
2017-03-25 01:01:43 +02:00
|
|
|
|
|
|
|
.privacy-dropdown__option__content {
|
2017-05-08 16:57:49 +03:00
|
|
|
color: $primary-text-color;
|
2017-03-25 01:01:43 +02:00
|
|
|
|
|
|
|
strong {
|
2017-05-08 16:57:49 +03:00
|
|
|
color: $primary-text-color;
|
2017-03-25 01:01:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active:hover {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-highlight-color, 4%);
|
2017-03-25 01:01:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy-dropdown__option__icon {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy-dropdown__option__content {
|
|
|
|
flex: 1 1 auto;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $lighter-text-color;
|
2017-03-25 01:01:43 +02:00
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
display: block;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2017-12-07 17:01:52 +02:00
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
2017-03-25 01:01:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy-dropdown.active {
|
|
|
|
.privacy-dropdown__value {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $simple-background-color;
|
2017-03-25 01:01:43 +02:00
|
|
|
border-radius: 4px 4px 0 0;
|
2017-05-08 16:57:49 +03:00
|
|
|
box-shadow: 0 -4px 4px rgba($base-shadow-color, 0.1);
|
2017-10-01 13:20:00 +03:00
|
|
|
|
|
|
|
.icon-button {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
|
|
|
|
.icon-button {
|
|
|
|
color: $primary-text-color;
|
|
|
|
}
|
|
|
|
}
|
2017-03-25 01:01:43 +02:00
|
|
|
}
|
|
|
|
|
2018-08-19 18:11:12 +03:00
|
|
|
&.top .privacy-dropdown__value {
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
}
|
|
|
|
|
2017-03-25 01:01:43 +02:00
|
|
|
.privacy-dropdown__dropdown {
|
|
|
|
display: block;
|
2017-05-08 16:57:49 +03:00
|
|
|
box-shadow: 2px 4px 6px rgba($base-shadow-color, 0.1);
|
2017-03-25 01:01:43 +02:00
|
|
|
}
|
|
|
|
}
|
2017-03-31 20:59:54 +03:00
|
|
|
|
2022-05-16 12:18:35 +03:00
|
|
|
.language-dropdown {
|
|
|
|
&__dropdown {
|
|
|
|
position: absolute;
|
|
|
|
background: $simple-background-color;
|
|
|
|
box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
|
|
|
|
border-radius: 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
&.top {
|
|
|
|
transform-origin: 50% 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.bottom {
|
|
|
|
transform-origin: 50% 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-search {
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-search-icon {
|
|
|
|
right: 10px + 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-scroll {
|
|
|
|
padding: 0 10px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__results {
|
|
|
|
&__item {
|
|
|
|
cursor: pointer;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
font-weight: 500;
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
|
|
|
&:hover {
|
|
|
|
background: $ui-secondary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__common-name {
|
|
|
|
color: $darker-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
color: $primary-text-color;
|
|
|
|
outline: 0;
|
|
|
|
|
|
|
|
.language-dropdown__dropdown__results__item__common-name {
|
|
|
|
color: $secondary-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-highlight-color, 4%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-31 20:59:54 +03:00
|
|
|
.search {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search__input {
|
2019-06-06 19:51:46 +03:00
|
|
|
@include search-input;
|
|
|
|
|
2017-03-31 20:59:54 +03:00
|
|
|
display: block;
|
2019-06-08 11:23:41 +03:00
|
|
|
padding: 15px;
|
2017-03-31 20:59:54 +03:00
|
|
|
padding-right: 30px;
|
2019-06-08 11:23:41 +03:00
|
|
|
line-height: 18px;
|
|
|
|
font-size: 16px;
|
2019-09-19 20:58:40 +03:00
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: lighten($darker-text-color, 4%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2017-03-31 20:59:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.search__icon {
|
2018-05-29 03:01:24 +03:00
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus {
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
|
2018-09-28 03:11:14 +03:00
|
|
|
.fa {
|
2017-03-31 20:59:54 +03:00
|
|
|
position: absolute;
|
2019-06-09 02:59:42 +03:00
|
|
|
top: 16px;
|
2017-03-31 20:59:54 +03:00
|
|
|
right: 10px;
|
|
|
|
z-index: 2;
|
|
|
|
display: inline-block;
|
|
|
|
opacity: 0;
|
|
|
|
transition: all 100ms linear;
|
2019-05-04 18:39:53 +03:00
|
|
|
transition-property: transform, opacity;
|
2017-03-31 20:59:54 +03:00
|
|
|
font-size: 18px;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $secondary-text-color;
|
2017-03-31 20:59:54 +03:00
|
|
|
cursor: default;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
pointer-events: auto;
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-search {
|
2017-10-19 19:27:55 +03:00
|
|
|
transform: rotate(90deg);
|
2017-03-31 20:59:54 +03:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
pointer-events: none;
|
2017-10-19 19:27:55 +03:00
|
|
|
transform: rotate(0deg);
|
2017-03-31 20:59:54 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-times-circle {
|
2019-06-09 02:59:42 +03:00
|
|
|
top: 17px;
|
2017-10-19 19:27:55 +03:00
|
|
|
transform: rotate(0deg);
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $action-button-color;
|
2017-03-31 20:59:54 +03:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&.active {
|
2017-10-19 19:27:55 +03:00
|
|
|
transform: rotate(90deg);
|
2017-03-31 20:59:54 +03:00
|
|
|
}
|
2017-03-31 23:44:12 +03:00
|
|
|
|
|
|
|
&:hover {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: lighten($action-button-color, 7%);
|
2017-03-31 23:44:12 +03:00
|
|
|
}
|
2017-03-31 20:59:54 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-results__header {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-base-color, 2%);
|
2018-05-27 22:45:30 +03:00
|
|
|
padding: 15px;
|
2017-03-31 20:59:54 +03:00
|
|
|
font-weight: 500;
|
2018-05-27 22:45:30 +03:00
|
|
|
font-size: 16px;
|
|
|
|
cursor: default;
|
|
|
|
|
2018-09-28 03:11:14 +03:00
|
|
|
.fa {
|
2018-05-27 22:45:30 +03:00
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2017-03-31 20:59:54 +03:00
|
|
|
}
|
|
|
|
|
2018-02-10 00:04:47 +02:00
|
|
|
.search-results__section {
|
2018-05-29 03:01:24 +03:00
|
|
|
margin-bottom: 5px;
|
2018-02-10 00:04:47 +02:00
|
|
|
|
|
|
|
h5 {
|
2018-05-29 03:01:24 +03:00
|
|
|
background: darken($ui-base-color, 4%);
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
cursor: default;
|
|
|
|
display: flex;
|
|
|
|
padding: 15px;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 16px;
|
|
|
|
color: $dark-text-color;
|
2018-02-10 00:04:47 +02:00
|
|
|
|
2018-09-28 03:11:14 +03:00
|
|
|
.fa {
|
2018-02-10 00:04:47 +02:00
|
|
|
display: inline-block;
|
2018-05-29 03:01:24 +03:00
|
|
|
margin-right: 5px;
|
2018-02-10 00:04:47 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.account:last-child,
|
|
|
|
& > div:last-child .status {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-31 20:59:54 +03:00
|
|
|
.search-results__hashtag {
|
|
|
|
display: block;
|
|
|
|
padding: 10px;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $secondary-text-color;
|
2017-03-31 20:59:54 +03:00
|
|
|
text-decoration: none;
|
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: lighten($secondary-text-color, 4%);
|
2017-03-31 20:59:54 +03:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2017-04-01 23:11:28 +03:00
|
|
|
|
2019-06-27 22:12:26 +03:00
|
|
|
.search-results__info {
|
2019-07-27 06:49:50 +03:00
|
|
|
padding: 20px;
|
|
|
|
color: $darker-text-color;
|
|
|
|
text-align: center;
|
2019-06-27 22:12:26 +03:00
|
|
|
}
|
|
|
|
|
2017-09-28 21:43:18 +03:00
|
|
|
.modal-root {
|
2018-03-24 13:52:26 +02:00
|
|
|
position: relative;
|
2017-09-28 21:43:18 +03:00
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
|
2017-04-01 23:11:28 +03:00
|
|
|
.modal-root__overlay {
|
2018-03-24 13:52:26 +02:00
|
|
|
position: fixed;
|
2017-04-01 23:11:28 +03:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: rgba($base-overlay-background, 0.7);
|
2021-03-24 14:51:32 +02:00
|
|
|
transition: background 0.5s;
|
2017-04-01 23:11:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal-root__container {
|
2018-03-24 13:52:26 +02:00
|
|
|
position: fixed;
|
2017-04-01 23:11:28 +03:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
align-content: space-around;
|
|
|
|
z-index: 9999;
|
|
|
|
pointer-events: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-root__modal {
|
|
|
|
pointer-events: auto;
|
|
|
|
display: flex;
|
2017-04-16 21:32:00 +03:00
|
|
|
z-index: 9999;
|
2017-04-01 23:11:28 +03:00
|
|
|
}
|
|
|
|
|
2019-10-03 04:34:58 +03:00
|
|
|
.video-modal__container {
|
2018-03-04 21:32:24 +02:00
|
|
|
max-width: 100vw;
|
|
|
|
max-height: 100vh;
|
2019-10-03 04:34:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.audio-modal__container {
|
|
|
|
width: 50vw;
|
2018-03-04 21:32:24 +02:00
|
|
|
}
|
|
|
|
|
2017-04-01 23:11:28 +03:00
|
|
|
.media-modal {
|
2018-03-04 21:32:24 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-04-01 23:11:28 +03:00
|
|
|
position: relative;
|
2018-03-27 13:30:28 +03:00
|
|
|
|
2020-11-27 04:24:11 +02:00
|
|
|
&__close,
|
|
|
|
&__zoom-button {
|
|
|
|
color: rgba($white, 0.7);
|
2018-03-27 13:30:28 +03:00
|
|
|
|
2020-11-27 04:24:11 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
color: $white;
|
|
|
|
background-color: rgba($white, 0.15);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-color: rgba($white, 0.3);
|
2018-03-27 13:30:28 +03:00
|
|
|
}
|
|
|
|
}
|
2017-04-01 23:11:28 +03:00
|
|
|
}
|
2017-04-11 05:28:52 +03:00
|
|
|
|
2018-03-04 21:32:24 +02:00
|
|
|
.media-modal__closer {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal__navigation {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
transition: opacity 0.3s linear;
|
|
|
|
will-change: opacity;
|
|
|
|
|
|
|
|
* {
|
|
|
|
pointer-events: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.media-modal__navigation--hidden {
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
* {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal__nav {
|
2020-11-27 04:24:11 +02:00
|
|
|
background: transparent;
|
2018-03-04 21:32:24 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
border: 0;
|
2020-11-27 04:24:11 +02:00
|
|
|
color: rgba($primary-text-color, 0.7);
|
2018-03-04 21:32:24 +02:00
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 24px;
|
|
|
|
height: 20vmax;
|
|
|
|
margin: auto 0;
|
|
|
|
padding: 30px 15px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2020-11-27 04:24:11 +02:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
color: $primary-text-color;
|
|
|
|
}
|
2018-03-04 21:32:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal__nav--left {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal__nav--right {
|
|
|
|
right: 0;
|
2017-07-23 21:28:31 +03:00
|
|
|
}
|
|
|
|
|
2020-11-27 04:24:11 +02:00
|
|
|
.media-modal__overlay {
|
|
|
|
max-width: 600px;
|
2017-10-03 18:11:22 +03:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
2020-11-27 04:24:11 +02:00
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
margin: 0 auto;
|
2017-10-03 18:11:22 +03:00
|
|
|
|
2020-11-27 04:24:11 +02:00
|
|
|
.picture-in-picture__footer {
|
|
|
|
border-radius: 0;
|
|
|
|
background: transparent;
|
|
|
|
padding: 20px 0;
|
2019-05-03 17:16:30 +03:00
|
|
|
|
2020-11-27 04:24:11 +02:00
|
|
|
.icon-button {
|
|
|
|
color: $white;
|
2019-05-03 17:16:30 +03:00
|
|
|
|
2020-11-27 04:24:11 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
color: $white;
|
|
|
|
background-color: rgba($white, 0.15);
|
|
|
|
}
|
2019-05-03 17:16:30 +03:00
|
|
|
|
2020-11-27 04:24:11 +02:00
|
|
|
&:focus {
|
|
|
|
background-color: rgba($white, 0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: $highlight-text-color;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
background: rgba($highlight-text-color, 0.15);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: rgba($highlight-text-color, 0.3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.star-icon.active {
|
|
|
|
color: $gold-star;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
background: rgba($gold-star, 0.15);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: rgba($gold-star, 0.3);
|
|
|
|
}
|
|
|
|
}
|
2021-06-25 05:45:30 +03:00
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
color: $white;
|
|
|
|
background-color: transparent;
|
|
|
|
cursor: default;
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
2019-05-03 17:16:30 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-27 04:24:11 +02:00
|
|
|
.media-modal__pagination {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
margin-bottom: 20px;
|
2017-10-03 18:11:22 +03:00
|
|
|
}
|
|
|
|
|
2020-11-27 04:24:11 +02:00
|
|
|
.media-modal__page-dot {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
background-color: $white;
|
|
|
|
opacity: 0.4;
|
|
|
|
height: 6px;
|
|
|
|
width: 6px;
|
|
|
|
border-radius: 50%;
|
|
|
|
margin: 0 4px;
|
2017-10-03 18:11:22 +03:00
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
font-size: 0;
|
2022-06-01 20:22:35 +03:00
|
|
|
transition: opacity 0.2s ease-in-out;
|
2017-10-03 18:11:22 +03:00
|
|
|
|
2020-11-27 04:24:11 +02:00
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2017-10-03 18:11:22 +03:00
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.media-modal__close {
|
|
|
|
position: absolute;
|
2018-03-04 21:32:24 +02:00
|
|
|
right: 8px;
|
|
|
|
top: 8px;
|
2017-04-23 05:26:55 +03:00
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
|
2020-11-02 22:16:38 +02:00
|
|
|
.media-modal__zoom-button {
|
|
|
|
position: absolute;
|
|
|
|
right: 64px;
|
|
|
|
top: 8px;
|
|
|
|
z-index: 100;
|
|
|
|
pointer-events: auto;
|
|
|
|
transition: opacity 0.3s linear;
|
|
|
|
will-change: opacity;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal__zoom-button--hidden {
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2018-01-20 02:32:37 +02:00
|
|
|
.onboarding-modal,
|
2017-08-31 04:38:35 +03:00
|
|
|
.error-modal,
|
|
|
|
.embed-modal {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $ui-secondary-color;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2017-04-16 21:32:00 +03:00
|
|
|
border-radius: 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2017-07-08 01:06:02 +03:00
|
|
|
.error-modal__body {
|
2017-04-16 21:32:00 +03:00
|
|
|
height: 80vh;
|
|
|
|
width: 80vw;
|
2017-04-18 02:02:02 +03:00
|
|
|
max-width: 520px;
|
|
|
|
max-height: 420px;
|
2017-04-16 21:32:00 +03:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 25px;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
display: flex;
|
|
|
|
opacity: 0;
|
|
|
|
user-select: text;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-08 01:06:02 +03:00
|
|
|
.error-modal__body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2018-01-20 02:32:37 +02:00
|
|
|
.onboarding-modal__paginator,
|
2017-07-08 01:06:02 +03:00
|
|
|
.error-modal__footer {
|
2017-04-16 21:32:00 +03:00
|
|
|
flex: 0 0 auto;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: darken($ui-secondary-color, 8%);
|
2017-04-16 21:32:00 +03:00
|
|
|
display: flex;
|
|
|
|
padding: 25px;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
min-width: 33px;
|
|
|
|
}
|
|
|
|
|
2018-01-20 02:32:37 +02:00
|
|
|
.onboarding-modal__nav,
|
2017-07-08 01:06:02 +03:00
|
|
|
.error-modal__nav {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $lighter-text-color;
|
2017-05-26 15:10:37 +03:00
|
|
|
border: 0;
|
2017-04-16 21:32:00 +03:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
2018-01-20 02:32:37 +02:00
|
|
|
padding: 10px 25px;
|
2017-05-26 15:10:37 +03:00
|
|
|
line-height: inherit;
|
|
|
|
height: auto;
|
2018-01-20 02:32:37 +02:00
|
|
|
margin: -10px;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: transparent;
|
2017-04-16 21:32:00 +03:00
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: darken($lighter-text-color, 4%);
|
2018-01-20 02:32:37 +02:00
|
|
|
background-color: darken($ui-secondary-color, 16%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.onboarding-modal__done,
|
|
|
|
&.onboarding-modal__next {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2018-01-20 02:32:37 +02:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: lighten($inverted-text-color, 4%);
|
2018-01-20 02:32:37 +02:00
|
|
|
}
|
2017-04-16 21:32:00 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-08 01:06:02 +03:00
|
|
|
.error-modal__footer {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2018-01-20 02:32:37 +02:00
|
|
|
.display-case {
|
|
|
|
text-align: center;
|
|
|
|
font-size: 15px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
|
|
|
&__label {
|
|
|
|
font-weight: 500;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2018-01-20 02:32:37 +02:00
|
|
|
margin-bottom: 5px;
|
2020-01-27 14:44:29 +02:00
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 12px;
|
2018-01-20 02:32:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__case {
|
|
|
|
background: $ui-base-color;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $secondary-text-color;
|
2018-01-20 02:32:37 +02:00
|
|
|
font-weight: 500;
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.onboard-sliders {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 30px;
|
|
|
|
max-height: auto;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
.boost-modal,
|
2017-06-27 19:07:21 +03:00
|
|
|
.confirmation-modal,
|
2017-07-27 23:31:59 +03:00
|
|
|
.report-modal,
|
2017-11-15 04:56:41 +02:00
|
|
|
.actions-modal,
|
2019-09-29 22:46:05 +03:00
|
|
|
.mute-modal,
|
2022-02-09 02:17:07 +02:00
|
|
|
.block-modal,
|
|
|
|
.compare-history-modal {
|
2017-05-08 16:57:49 +03:00
|
|
|
background: lighten($ui-secondary-color, 8%);
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2017-04-11 22:24:17 +03:00
|
|
|
border-radius: 8px;
|
|
|
|
overflow: hidden;
|
2017-04-11 05:28:52 +03:00
|
|
|
max-width: 90vw;
|
|
|
|
width: 480px;
|
|
|
|
position: relative;
|
2017-04-11 22:24:17 +03:00
|
|
|
flex-direction: column;
|
2017-04-23 05:26:55 +03:00
|
|
|
|
|
|
|
.status__display-name {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
padding-right: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__avatar {
|
|
|
|
height: 28px;
|
|
|
|
left: 10px;
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
width: 48px;
|
|
|
|
}
|
2018-04-19 03:36:31 +03:00
|
|
|
|
|
|
|
.status__content__spoiler-link {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: lighten($secondary-text-color, 8%);
|
2018-04-19 03:36:31 +03:00
|
|
|
}
|
2017-04-11 22:24:17 +03:00
|
|
|
}
|
2017-04-11 05:28:52 +03:00
|
|
|
|
2017-07-28 16:30:53 +03:00
|
|
|
.actions-modal {
|
|
|
|
.status {
|
|
|
|
background: $white;
|
|
|
|
border-bottom-color: $ui-secondary-color;
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
2017-09-22 05:59:17 +03:00
|
|
|
|
|
|
|
.dropdown-menu__separator {
|
|
|
|
border-bottom-color: $ui-secondary-color;
|
|
|
|
}
|
2017-07-28 16:30:53 +03:00
|
|
|
}
|
|
|
|
|
2017-04-11 22:24:17 +03:00
|
|
|
.boost-modal__container {
|
2017-04-17 13:27:19 +03:00
|
|
|
overflow-x: scroll;
|
2017-04-11 22:24:17 +03:00
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
.status {
|
|
|
|
user-select: text;
|
|
|
|
border-bottom: 0;
|
2017-04-11 05:28:52 +03:00
|
|
|
}
|
2017-04-11 22:24:17 +03:00
|
|
|
}
|
2017-04-11 05:28:52 +03:00
|
|
|
|
2017-05-07 21:47:31 +03:00
|
|
|
.boost-modal__action-bar,
|
2017-06-27 19:07:21 +03:00
|
|
|
.confirmation-modal__action-bar,
|
2019-09-29 22:46:05 +03:00
|
|
|
.mute-modal__action-bar,
|
|
|
|
.block-modal__action-bar {
|
2017-04-11 22:24:17 +03:00
|
|
|
display: flex;
|
2017-05-23 14:10:41 +03:00
|
|
|
justify-content: space-between;
|
2017-05-08 16:57:49 +03:00
|
|
|
background: $ui-secondary-color;
|
2017-04-11 22:24:17 +03:00
|
|
|
padding: 10px;
|
|
|
|
line-height: 36px;
|
2017-04-11 05:28:52 +03:00
|
|
|
|
2017-04-11 22:24:17 +03:00
|
|
|
& > div {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
text-align: right;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $lighter-text-color;
|
2017-04-11 22:24:17 +03:00
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
flex: 0 0 auto;
|
2017-04-11 05:28:52 +03:00
|
|
|
}
|
|
|
|
}
|
2017-04-15 14:17:54 +03:00
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.boost-modal__status-header {
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.boost-modal__status-time {
|
|
|
|
float: right;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2019-09-29 22:46:05 +03:00
|
|
|
.mute-modal,
|
|
|
|
.block-modal {
|
2017-11-15 04:56:41 +02:00
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
2019-09-29 22:46:05 +03:00
|
|
|
.mute-modal .react-toggle,
|
|
|
|
.block-modal .react-toggle {
|
2017-11-15 04:56:41 +02:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2018-02-28 07:54:55 +02:00
|
|
|
.report-modal {
|
|
|
|
width: 90vw;
|
|
|
|
max-width: 700px;
|
|
|
|
}
|
|
|
|
|
2022-02-23 21:03:46 +02:00
|
|
|
.report-dialog-modal {
|
|
|
|
max-width: 90vw;
|
|
|
|
width: 480px;
|
|
|
|
height: 80vh;
|
|
|
|
background: lighten($ui-secondary-color, 8%);
|
|
|
|
color: $inverted-text-color;
|
|
|
|
border-radius: 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
flex-direction: column;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
&__container {
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-top: 1px solid $ui-secondary-color;
|
|
|
|
padding: 20px;
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 0;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
font-size: 28px;
|
|
|
|
line-height: 33px;
|
|
|
|
font-weight: 700;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
|
|
|
@media screen and (max-height: 800px) {
|
|
|
|
font-size: 22px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__subtitle {
|
|
|
|
font-size: 17px;
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 22px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__lead {
|
|
|
|
font-size: 17px;
|
|
|
|
line-height: 22px;
|
|
|
|
color: lighten($inverted-text-color, 16%);
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__actions {
|
|
|
|
margin-top: 30px;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.button {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__statuses {
|
|
|
|
flex-grow: 1;
|
|
|
|
min-height: 0;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content a {
|
|
|
|
color: $highlight-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content,
|
|
|
|
.status__content p {
|
|
|
|
color: $inverted-text-color;
|
|
|
|
}
|
|
|
|
|
2022-03-22 07:08:05 +02:00
|
|
|
.status__content__spoiler-link {
|
|
|
|
color: $primary-text-color;
|
|
|
|
background: $ui-primary-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-primary-color, 8%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-23 21:03:46 +02:00
|
|
|
.dialog-option .poll__input {
|
|
|
|
border-color: $inverted-text-color;
|
|
|
|
color: $ui-secondary-color;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 8px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
border-color: lighten($inverted-text-color, 15%);
|
|
|
|
border-width: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
border-color: $inverted-text-color;
|
|
|
|
background: $inverted-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.poll__option.dialog-option {
|
|
|
|
padding: 15px 0;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
border-bottom: 1px solid $ui-secondary-color;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .poll__option__text {
|
|
|
|
font-size: 13px;
|
|
|
|
color: lighten($inverted-text-color, 16%);
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-size: 17px;
|
|
|
|
font-weight: 500;
|
|
|
|
line-height: 22px;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-spacer {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__textarea {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
background: $simple-background-color;
|
|
|
|
padding: 10px;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 17px;
|
|
|
|
line-height: 22px;
|
|
|
|
resize: vertical;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
margin: 20px 0;
|
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: $dark-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__toggle {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
& > span {
|
|
|
|
font-size: 17px;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button.button-secondary {
|
|
|
|
border-color: $inverted-text-color;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
border-color: lighten($inverted-text-color, 15%);
|
|
|
|
color: lighten($inverted-text-color, 15%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
margin: 15px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-28 07:54:55 +02:00
|
|
|
.report-modal__container {
|
|
|
|
display: flex;
|
|
|
|
border-top: 1px solid $ui-secondary-color;
|
|
|
|
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-27 19:07:21 +03:00
|
|
|
.report-modal__statuses,
|
|
|
|
.report-modal__comment {
|
2018-02-28 07:54:55 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
width: 50%;
|
|
|
|
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-06-27 19:07:21 +03:00
|
|
|
}
|
|
|
|
|
2019-08-15 23:49:00 +03:00
|
|
|
.report-modal__statuses,
|
|
|
|
.focal-point-modal__content {
|
2018-02-28 07:54:55 +02:00
|
|
|
flex: 1 1 auto;
|
2017-06-27 19:07:21 +03:00
|
|
|
min-height: 20vh;
|
2018-05-06 21:38:17 +03:00
|
|
|
max-height: 80vh;
|
2017-06-27 19:07:21 +03:00
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
2018-02-28 07:54:55 +02:00
|
|
|
|
2018-04-22 15:29:40 +03:00
|
|
|
.status__content a {
|
|
|
|
color: $highlight-text-color;
|
|
|
|
}
|
|
|
|
|
2019-01-04 14:54:56 +02:00
|
|
|
.status__content,
|
2018-08-19 16:51:57 +03:00
|
|
|
.status__content p {
|
|
|
|
color: $inverted-text-color;
|
|
|
|
}
|
|
|
|
|
2018-02-28 07:54:55 +02:00
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
max-height: 10vh;
|
|
|
|
}
|
2017-06-27 19:07:21 +03:00
|
|
|
}
|
|
|
|
|
2019-08-15 23:49:00 +03:00
|
|
|
.focal-point-modal__content {
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
max-height: 40vh;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-07 13:14:19 +03:00
|
|
|
.setting-divider {
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
margin-bottom: 29px;
|
|
|
|
}
|
|
|
|
|
2017-06-27 19:07:21 +03:00
|
|
|
.report-modal__comment {
|
2018-02-28 07:54:55 +02:00
|
|
|
padding: 20px;
|
|
|
|
border-right: 1px solid $ui-secondary-color;
|
|
|
|
max-width: 320px;
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 20px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2017-06-27 19:07:21 +03:00
|
|
|
.setting-text {
|
2018-02-28 07:54:55 +02:00
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2018-02-28 07:54:55 +02:00
|
|
|
background: $white;
|
|
|
|
padding: 10px;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 14px;
|
2019-08-15 16:13:26 +03:00
|
|
|
resize: none;
|
2018-02-28 07:54:55 +02:00
|
|
|
outline: 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid $ui-secondary-color;
|
2019-08-15 16:13:26 +03:00
|
|
|
min-height: 100px;
|
|
|
|
max-height: 50vh;
|
|
|
|
margin-bottom: 10px;
|
2018-02-28 07:54:55 +02:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border: 1px solid darken($ui-secondary-color, 8%);
|
|
|
|
}
|
2019-08-15 16:13:26 +03:00
|
|
|
|
|
|
|
&__wrapper {
|
|
|
|
background: $white;
|
|
|
|
border: 1px solid $ui-secondary-color;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
.setting-text {
|
|
|
|
border: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__modifiers {
|
|
|
|
color: $inverted-text-color;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 14px;
|
|
|
|
background: $white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__toolbar {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2018-02-28 07:54:55 +02:00
|
|
|
}
|
|
|
|
|
2019-08-14 05:07:32 +03:00
|
|
|
.setting-text-label {
|
|
|
|
display: block;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2018-02-28 07:54:55 +02:00
|
|
|
.setting-toggle {
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
|
|
|
&__label {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2018-02-28 07:54:55 +02:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
padding: 10px;
|
|
|
|
max-width: 100%;
|
|
|
|
order: 2;
|
|
|
|
|
|
|
|
.setting-toggle {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
2017-06-27 19:07:21 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-27 23:31:59 +03:00
|
|
|
.actions-modal {
|
2019-06-06 19:51:46 +03:00
|
|
|
max-height: 80vh;
|
|
|
|
max-width: 80vw;
|
|
|
|
|
2017-07-27 23:31:59 +03:00
|
|
|
.status {
|
|
|
|
overflow-y: auto;
|
|
|
|
max-height: 300px;
|
|
|
|
}
|
|
|
|
|
2017-09-22 05:59:17 +03:00
|
|
|
.actions-modal__item-label {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2017-07-27 23:31:59 +03:00
|
|
|
ul {
|
|
|
|
overflow-y: auto;
|
|
|
|
flex-shrink: 0;
|
2019-04-22 15:55:50 +03:00
|
|
|
max-height: 80vh;
|
|
|
|
|
|
|
|
&.with-status {
|
|
|
|
max-height: calc(80vh - 75px);
|
|
|
|
}
|
2017-07-27 23:31:59 +03:00
|
|
|
|
2017-07-28 14:34:06 +03:00
|
|
|
li:empty {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2017-07-27 23:31:59 +03:00
|
|
|
li:not(:empty) {
|
|
|
|
a {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $inverted-text-color;
|
2017-07-27 23:31:59 +03:00
|
|
|
display: flex;
|
2017-09-22 05:59:17 +03:00
|
|
|
padding: 12px 16px;
|
|
|
|
font-size: 15px;
|
2017-07-27 23:31:59 +03:00
|
|
|
align-items: center;
|
|
|
|
text-decoration: none;
|
|
|
|
|
2017-09-22 05:59:17 +03:00
|
|
|
&,
|
|
|
|
button {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active,
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2017-07-27 23:31:59 +03:00
|
|
|
&,
|
|
|
|
button {
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
color: $primary-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button:first-child {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-15 04:56:41 +02:00
|
|
|
.confirmation-modal__action-bar,
|
2019-09-29 22:46:05 +03:00
|
|
|
.mute-modal__action-bar,
|
|
|
|
.block-modal__action-bar {
|
2019-04-16 02:23:07 +03:00
|
|
|
.confirmation-modal__secondary-button {
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
2017-04-23 05:39:50 +03:00
|
|
|
}
|
|
|
|
|
2019-09-29 22:46:05 +03:00
|
|
|
.confirmation-modal__secondary-button,
|
|
|
|
.confirmation-modal__cancel-button,
|
|
|
|
.mute-modal__cancel-button,
|
|
|
|
.block-modal__cancel-button {
|
|
|
|
background-color: transparent;
|
|
|
|
color: $lighter-text-color;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
color: darken($lighter-text-color, 4%);
|
2019-10-03 04:17:29 +03:00
|
|
|
background-color: transparent;
|
2019-09-29 22:46:05 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-27 19:07:21 +03:00
|
|
|
.confirmation-modal__container,
|
2017-11-15 04:56:41 +02:00
|
|
|
.mute-modal__container,
|
2019-09-29 22:46:05 +03:00
|
|
|
.block-modal__container,
|
2017-06-27 19:07:21 +03:00
|
|
|
.report-modal__target {
|
2017-04-23 05:39:50 +03:00
|
|
|
padding: 30px;
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
2017-12-07 17:01:52 +02:00
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
2017-04-23 05:39:50 +03:00
|
|
|
}
|
2020-10-13 02:01:14 +03:00
|
|
|
|
|
|
|
select {
|
|
|
|
appearance: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
font-size: 14px;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
display: inline-block;
|
|
|
|
width: auto;
|
|
|
|
outline: 0;
|
|
|
|
font-family: inherit;
|
|
|
|
background: $simple-background-color url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.933 18.467' height='19.698' width='15.929'><path d='M3.467 14.967l-3.393-3.5H14.86l-3.392 3.5c-1.866 1.925-3.666 3.5-4 3.5-.335 0-2.135-1.575-4-3.5zm.266-11.234L7.467 0 11.2 3.733l3.733 3.734H0l3.733-3.734z' fill='#{hex-color(darken($simple-background-color, 14%))}'/></svg>") no-repeat right 8px center / auto 16px;
|
|
|
|
border: 1px solid darken($simple-background-color, 14%);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 6px 10px;
|
|
|
|
padding-right: 30px;
|
|
|
|
}
|
2017-04-23 05:39:50 +03:00
|
|
|
}
|
|
|
|
|
2019-09-29 22:46:05 +03:00
|
|
|
.confirmation-modal__container,
|
|
|
|
.report-modal__target {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.block-modal,
|
|
|
|
.mute-modal {
|
|
|
|
&__explanation {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.setting-toggle {
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&__label {
|
|
|
|
color: $inverted-text-color;
|
|
|
|
margin: 0;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-28 07:54:55 +02:00
|
|
|
.report-modal__target {
|
2019-08-15 23:49:00 +03:00
|
|
|
padding: 15px;
|
2018-03-02 05:36:00 +02:00
|
|
|
|
2021-05-11 22:15:57 +03:00
|
|
|
.report-modal__close {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
2018-03-02 05:36:00 +02:00
|
|
|
}
|
2018-02-28 07:54:55 +02:00
|
|
|
}
|
|
|
|
|
2022-02-09 02:17:07 +02:00
|
|
|
.compare-history-modal {
|
|
|
|
.report-modal__target {
|
|
|
|
border-bottom: 1px solid $ui-secondary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__container {
|
|
|
|
padding: 30px;
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content {
|
|
|
|
color: $inverted-text-color;
|
|
|
|
font-size: 19px;
|
|
|
|
line-height: 24px;
|
|
|
|
|
|
|
|
.emojione {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
margin: -1px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $highlight-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
height: 0.25rem;
|
|
|
|
padding: 0;
|
|
|
|
background-color: $ui-secondary-color;
|
|
|
|
border: 0;
|
|
|
|
margin: 20px 0;
|
|
|
|
}
|
|
|
|
}
|
2022-03-09 22:15:24 +02:00
|
|
|
|
|
|
|
.media-gallery,
|
|
|
|
.audio-player,
|
|
|
|
.video-player {
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
2022-02-09 02:17:07 +02:00
|
|
|
}
|
|
|
|
|
2017-04-15 14:17:54 +03:00
|
|
|
.loading-bar {
|
2018-04-18 17:52:15 +03:00
|
|
|
background-color: $highlight-text-color;
|
2017-04-15 14:17:54 +03:00
|
|
|
height: 3px;
|
2022-04-29 01:15:27 +03:00
|
|
|
position: fixed;
|
2017-04-15 14:17:54 +03:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2019-08-18 15:57:05 +03:00
|
|
|
z-index: 9999;
|
2017-04-15 14:17:54 +03:00
|
|
|
}
|
2017-04-18 02:57:50 +03:00
|
|
|
|
|
|
|
.media-gallery__gifv__label {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2017-05-08 16:57:49 +03:00
|
|
|
color: $primary-text-color;
|
|
|
|
background: rgba($base-overlay-background, 0.5);
|
2017-04-18 02:57:50 +03:00
|
|
|
bottom: 6px;
|
|
|
|
left: 6px;
|
|
|
|
padding: 2px 6px;
|
|
|
|
border-radius: 2px;
|
|
|
|
font-size: 11px;
|
|
|
|
font-weight: 600;
|
|
|
|
z-index: 1;
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0.9;
|
|
|
|
transition: opacity 0.1s ease;
|
2019-05-02 09:34:32 +03:00
|
|
|
line-height: 18px;
|
2017-04-18 02:57:50 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery__gifv {
|
|
|
|
&:hover {
|
|
|
|
.media-gallery__gifv__label {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-04-19 16:37:18 +03:00
|
|
|
|
|
|
|
.attachment-list {
|
|
|
|
display: flex;
|
|
|
|
font-size: 14px;
|
2017-05-08 16:57:49 +03:00
|
|
|
border: 1px solid lighten($ui-base-color, 8%);
|
2017-04-19 16:37:18 +03:00
|
|
|
border-radius: 4px;
|
|
|
|
margin-top: 14px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2018-03-08 05:54:26 +02:00
|
|
|
&__icon {
|
|
|
|
flex: 0 0 auto;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2018-03-08 05:54:26 +02:00
|
|
|
padding: 8px 18px;
|
|
|
|
cursor: default;
|
|
|
|
border-right: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
font-size: 26px;
|
2017-04-19 16:37:18 +03:00
|
|
|
|
2018-09-28 03:11:14 +03:00
|
|
|
.fa {
|
2018-03-08 05:54:26 +02:00
|
|
|
display: block;
|
|
|
|
}
|
2017-04-19 16:37:18 +03:00
|
|
|
}
|
|
|
|
|
2018-03-08 05:54:26 +02:00
|
|
|
&__list {
|
|
|
|
list-style: none;
|
2017-04-19 16:37:18 +03:00
|
|
|
padding: 4px 0;
|
2018-03-08 05:54:26 +02:00
|
|
|
padding-left: 8px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
padding: 4px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2018-03-08 05:54:26 +02:00
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2017-04-19 16:37:18 +03:00
|
|
|
}
|
|
|
|
|
2018-03-08 05:54:26 +02:00
|
|
|
&.compact {
|
|
|
|
border: 0;
|
|
|
|
margin-top: 4px;
|
2017-04-19 16:37:18 +03:00
|
|
|
|
2018-03-08 05:54:26 +02:00
|
|
|
.attachment-list__list {
|
|
|
|
padding: 0;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2018-09-28 03:11:14 +03:00
|
|
|
.fa {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2017-04-19 16:37:18 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-04-23 05:26:55 +03:00
|
|
|
|
|
|
|
/* Media Gallery */
|
|
|
|
.media-gallery {
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin-top: 8px;
|
|
|
|
overflow: hidden;
|
2018-02-19 03:39:18 +02:00
|
|
|
border-radius: 4px;
|
2017-04-23 05:26:55 +03:00
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
2020-06-23 18:24:29 +03:00
|
|
|
min-height: 64px;
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery__item {
|
2019-06-06 19:51:46 +03:00
|
|
|
border: 0;
|
2017-04-23 05:26:55 +03:00
|
|
|
box-sizing: border-box;
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
2018-02-19 03:39:18 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
overflow: hidden;
|
2017-09-24 06:58:30 +03:00
|
|
|
|
|
|
|
&.standalone {
|
|
|
|
.media-gallery__item-gifv-thumbnail {
|
|
|
|
transform: none;
|
2018-03-01 03:48:44 +02:00
|
|
|
top: 0;
|
2017-09-24 06:58:30 +03:00
|
|
|
}
|
|
|
|
}
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery__item-thumbnail {
|
|
|
|
cursor: zoom-in;
|
2017-06-30 14:40:00 +03:00
|
|
|
display: block;
|
2017-04-23 05:26:55 +03:00
|
|
|
text-decoration: none;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $secondary-text-color;
|
2019-04-27 04:24:09 +03:00
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2017-06-27 14:46:37 +03:00
|
|
|
|
|
|
|
&,
|
|
|
|
img {
|
2018-03-11 16:12:33 +02:00
|
|
|
height: 100%;
|
2017-06-27 14:46:37 +03:00
|
|
|
width: 100%;
|
2018-02-22 01:35:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2017-06-30 14:40:00 +03:00
|
|
|
object-fit: cover;
|
2017-06-27 14:46:37 +03:00
|
|
|
}
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
|
|
|
|
2019-04-27 04:24:09 +03:00
|
|
|
.media-gallery__preview {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 0;
|
|
|
|
background: $base-overlay-background;
|
|
|
|
|
|
|
|
&--hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
.media-gallery__gifv {
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery__item-gifv-thumbnail {
|
|
|
|
cursor: zoom-in;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
position: relative;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
width: 100%;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-gallery__item-thumbnail-label {
|
|
|
|
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
}
|
2022-06-01 20:22:35 +03:00
|
|
|
|
2017-04-23 05:26:55 +03:00
|
|
|
/* End Media Gallery */
|
|
|
|
|
2018-11-27 13:25:38 +02:00
|
|
|
.detailed,
|
|
|
|
.fullscreen {
|
|
|
|
.video-player__volume__current,
|
|
|
|
.video-player__volume::before {
|
|
|
|
bottom: 27px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-player__volume__handle {
|
|
|
|
bottom: 23px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-23 23:38:02 +03:00
|
|
|
.audio-player {
|
2020-06-21 03:27:19 +03:00
|
|
|
overflow: hidden;
|
2019-08-23 23:38:02 +03:00
|
|
|
box-sizing: border-box;
|
|
|
|
position: relative;
|
|
|
|
background: darken($ui-base-color, 8%);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding-bottom: 44px;
|
2019-10-03 04:17:41 +03:00
|
|
|
direction: ltr;
|
2019-08-23 23:38:02 +03:00
|
|
|
|
|
|
|
&.editable {
|
|
|
|
border-radius: 0;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2020-06-23 13:20:14 +03:00
|
|
|
.video-player__volume::before,
|
|
|
|
.video-player__seek::before {
|
2020-07-05 19:28:25 +03:00
|
|
|
background: currentColor;
|
|
|
|
opacity: 0.15;
|
2020-06-23 13:20:14 +03:00
|
|
|
}
|
|
|
|
|
2020-07-05 19:28:25 +03:00
|
|
|
.video-player__seek__buffer {
|
|
|
|
background: currentColor;
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
2020-06-21 03:27:19 +03:00
|
|
|
|
2021-08-11 18:48:55 +03:00
|
|
|
.video-player__buttons button,
|
|
|
|
.video-player__buttons a {
|
2020-07-05 19:28:25 +03:00
|
|
|
color: currentColor;
|
|
|
|
opacity: 0.75;
|
2020-06-21 03:27:19 +03:00
|
|
|
|
2020-07-05 19:28:25 +03:00
|
|
|
&:active,
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: currentColor;
|
|
|
|
opacity: 1;
|
2020-06-21 03:27:19 +03:00
|
|
|
}
|
2020-07-05 19:28:25 +03:00
|
|
|
}
|
2020-06-21 03:27:19 +03:00
|
|
|
|
2020-07-05 19:28:25 +03:00
|
|
|
.video-player__time-sep,
|
|
|
|
.video-player__time-total,
|
|
|
|
.video-player__time-current {
|
|
|
|
color: currentColor;
|
2019-08-23 23:38:02 +03:00
|
|
|
}
|
|
|
|
|
2020-06-21 03:27:19 +03:00
|
|
|
.video-player__seek::before,
|
|
|
|
.video-player__seek__buffer,
|
|
|
|
.video-player__seek__progress {
|
|
|
|
top: 0;
|
2019-08-23 23:38:02 +03:00
|
|
|
}
|
|
|
|
|
2020-06-21 03:27:19 +03:00
|
|
|
.video-player__seek__handle {
|
|
|
|
top: -4px;
|
2019-08-23 23:38:02 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.video-player__controls {
|
|
|
|
padding-top: 10px;
|
2020-06-21 03:27:19 +03:00
|
|
|
background: transparent;
|
2019-08-23 23:38:02 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-14 04:39:10 +03:00
|
|
|
.video-player {
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
background: $base-shadow-color;
|
2017-09-14 05:03:00 +03:00
|
|
|
max-width: 100%;
|
2017-12-09 01:55:58 +02:00
|
|
|
border-radius: 4px;
|
2019-08-23 23:38:02 +03:00
|
|
|
box-sizing: border-box;
|
2019-10-03 04:17:41 +03:00
|
|
|
direction: ltr;
|
2020-06-23 13:20:14 +03:00
|
|
|
color: $white;
|
2017-09-14 04:39:10 +03:00
|
|
|
|
2019-08-14 05:07:32 +03:00
|
|
|
&.editable {
|
|
|
|
border-radius: 0;
|
2019-08-23 23:38:02 +03:00
|
|
|
height: 100% !important;
|
2019-08-14 05:07:32 +03:00
|
|
|
}
|
|
|
|
|
2018-05-13 14:48:14 +03:00
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2017-09-14 04:39:10 +03:00
|
|
|
video {
|
2020-06-20 14:30:27 +03:00
|
|
|
display: block;
|
2018-03-27 13:30:28 +03:00
|
|
|
max-width: 100vw;
|
|
|
|
max-height: 80vh;
|
2017-09-14 04:39:10 +03:00
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.fullscreen {
|
|
|
|
width: 100% !important;
|
|
|
|
height: 100% !important;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
video {
|
|
|
|
max-width: 100% !important;
|
|
|
|
max-height: 100% !important;
|
2018-04-23 21:12:16 +03:00
|
|
|
width: 100% !important;
|
|
|
|
height: 100% !important;
|
2019-10-24 23:47:37 +03:00
|
|
|
outline: 0;
|
2017-09-14 04:39:10 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.inline {
|
|
|
|
video {
|
2018-03-02 08:00:04 +02:00
|
|
|
object-fit: contain;
|
2017-09-14 04:39:10 +03:00
|
|
|
position: relative;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__controls {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
box-sizing: border-box;
|
2017-12-09 01:55:58 +02:00
|
|
|
background: linear-gradient(0deg, rgba($base-shadow-color, 0.85) 0, rgba($base-shadow-color, 0.45) 60%, transparent);
|
|
|
|
padding: 0 15px;
|
2017-09-14 04:39:10 +03:00
|
|
|
opacity: 0;
|
2022-06-01 20:22:35 +03:00
|
|
|
transition: opacity 0.1s ease;
|
2017-09-14 04:39:10 +03:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.inactive {
|
|
|
|
video,
|
|
|
|
.video-player__controls {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__spoiler {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 4;
|
|
|
|
border: 0;
|
2018-06-10 17:54:22 +03:00
|
|
|
background: $base-overlay-background;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $darker-text-color;
|
2017-09-14 04:39:10 +03:00
|
|
|
transition: none;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
display: block;
|
|
|
|
pointer-events: auto;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: lighten($darker-text-color, 7%);
|
2017-09-14 04:39:10 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__subtitle {
|
|
|
|
display: block;
|
|
|
|
font-size: 11px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-09 01:55:58 +02:00
|
|
|
&__buttons-bar {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2020-10-27 03:58:47 +02:00
|
|
|
padding-bottom: 8px;
|
|
|
|
margin: 0 -5px;
|
2019-10-25 12:48:20 +03:00
|
|
|
|
|
|
|
.video-player__download__icon {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2017-12-09 01:55:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__buttons {
|
2020-06-23 13:20:14 +03:00
|
|
|
display: flex;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
min-width: 30px;
|
|
|
|
align-items: center;
|
2017-09-14 04:39:10 +03:00
|
|
|
font-size: 16px;
|
2017-12-09 01:55:58 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2017-09-14 04:39:10 +03:00
|
|
|
|
2020-10-27 03:58:47 +02:00
|
|
|
.player-button {
|
|
|
|
display: inline-block;
|
|
|
|
outline: 0;
|
2020-06-23 13:20:14 +03:00
|
|
|
flex: 0 0 auto;
|
2017-09-14 04:39:10 +03:00
|
|
|
background: transparent;
|
2020-10-27 03:58:47 +02:00
|
|
|
padding: 5px;
|
2017-12-09 01:55:58 +02:00
|
|
|
font-size: 16px;
|
2017-09-14 04:39:10 +03:00
|
|
|
border: 0;
|
2017-12-09 01:55:58 +02:00
|
|
|
color: rgba($white, 0.75);
|
2017-09-14 04:39:10 +03:00
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2017-12-09 01:55:58 +02:00
|
|
|
color: $white;
|
2017-09-14 04:39:10 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-23 13:20:14 +03:00
|
|
|
&__time {
|
|
|
|
display: inline;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2020-10-27 03:58:47 +02:00
|
|
|
margin: 0 5px;
|
2020-06-23 13:20:14 +03:00
|
|
|
}
|
|
|
|
|
2017-12-09 01:55:58 +02:00
|
|
|
&__time-sep,
|
|
|
|
&__time-total,
|
|
|
|
&__time-current {
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__time-current {
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__time-sep {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__time-sep,
|
|
|
|
&__time-total {
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
|
2018-11-27 13:25:38 +02:00
|
|
|
&__volume {
|
2020-06-23 13:20:14 +03:00
|
|
|
flex: 0 0 auto;
|
|
|
|
display: inline-flex;
|
2018-11-27 13:25:38 +02:00
|
|
|
cursor: pointer;
|
|
|
|
height: 24px;
|
2020-06-23 13:20:14 +03:00
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.no-reduce-motion & {
|
|
|
|
transition: all 100ms linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
overflow: visible;
|
|
|
|
width: 50px;
|
2020-06-24 11:25:32 +03:00
|
|
|
margin-right: 16px;
|
2020-06-23 13:20:14 +03:00
|
|
|
}
|
2018-11-27 13:25:38 +02:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
width: 50px;
|
|
|
|
background: rgba($white, 0.35);
|
|
|
|
border-radius: 4px;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
height: 4px;
|
2020-06-23 13:20:14 +03:00
|
|
|
left: 0;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(0, -50%);
|
2018-11-27 13:25:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__current {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
height: 4px;
|
|
|
|
border-radius: 4px;
|
2020-06-23 13:20:14 +03:00
|
|
|
left: 0;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(0, -50%);
|
2018-11-27 13:25:38 +02:00
|
|
|
background: lighten($ui-highlight-color, 8%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__handle {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 3;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
2020-06-23 13:20:14 +03:00
|
|
|
top: 50%;
|
|
|
|
left: 0;
|
|
|
|
margin-left: -6px;
|
|
|
|
transform: translate(0, -50%);
|
2018-11-27 13:25:38 +02:00
|
|
|
background: lighten($ui-highlight-color, 8%);
|
|
|
|
box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
|
2020-06-24 11:25:32 +03:00
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
.no-reduce-motion & {
|
|
|
|
transition: opacity 100ms linear;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active &__handle {
|
|
|
|
opacity: 1;
|
2018-11-27 13:25:38 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-03 17:16:30 +03:00
|
|
|
&__link {
|
|
|
|
padding: 2px 10px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
color: $white;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-14 04:39:10 +03:00
|
|
|
&__seek {
|
|
|
|
cursor: pointer;
|
|
|
|
height: 24px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
width: 100%;
|
|
|
|
background: rgba($white, 0.35);
|
2017-12-09 01:55:58 +02:00
|
|
|
border-radius: 4px;
|
2017-09-14 04:39:10 +03:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
height: 4px;
|
2020-10-27 03:58:47 +02:00
|
|
|
top: 14px;
|
2017-09-14 04:39:10 +03:00
|
|
|
}
|
|
|
|
|
2017-10-08 03:33:08 +03:00
|
|
|
&__progress,
|
|
|
|
&__buffer {
|
2017-09-14 04:39:10 +03:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
height: 4px;
|
2017-12-09 01:55:58 +02:00
|
|
|
border-radius: 4px;
|
2020-10-27 03:58:47 +02:00
|
|
|
top: 14px;
|
2017-12-09 01:55:58 +02:00
|
|
|
background: lighten($ui-highlight-color, 8%);
|
2017-09-14 04:39:10 +03:00
|
|
|
}
|
|
|
|
|
2017-10-08 03:33:08 +03:00
|
|
|
&__buffer {
|
|
|
|
background: rgba($white, 0.2);
|
|
|
|
}
|
|
|
|
|
2017-09-14 04:39:10 +03:00
|
|
|
&__handle {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 3;
|
|
|
|
opacity: 0;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
2020-10-27 03:58:47 +02:00
|
|
|
top: 10px;
|
2017-09-14 04:39:10 +03:00
|
|
|
margin-left: -6px;
|
2017-12-09 01:55:58 +02:00
|
|
|
background: lighten($ui-highlight-color, 8%);
|
|
|
|
box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
|
2020-06-24 11:25:32 +03:00
|
|
|
|
|
|
|
.no-reduce-motion & {
|
2022-06-01 20:22:35 +03:00
|
|
|
transition: opacity 0.1s ease;
|
2020-06-24 11:25:32 +03:00
|
|
|
}
|
2017-09-14 04:39:10 +03:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.video-player__seek__handle {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-12-09 01:55:58 +02:00
|
|
|
|
|
|
|
&.detailed,
|
|
|
|
&.fullscreen {
|
|
|
|
.video-player__buttons {
|
2020-10-27 03:58:47 +02:00
|
|
|
.player-button {
|
2017-12-09 01:55:58 +02:00
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-09-14 04:39:10 +03:00
|
|
|
}
|
|
|
|
|
2020-04-23 16:49:33 +03:00
|
|
|
.gifv {
|
|
|
|
video {
|
|
|
|
max-width: 100vw;
|
|
|
|
max-height: 80vh;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-07 12:38:52 +02:00
|
|
|
.scrollable .account-card {
|
|
|
|
margin: 10px;
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
}
|
2019-08-30 01:14:36 +03:00
|
|
|
|
2022-03-07 12:38:52 +02:00
|
|
|
.scrollable .account-card__title__avatar {
|
|
|
|
img,
|
|
|
|
.account__avatar {
|
|
|
|
border-color: lighten($ui-base-color, 8%);
|
2019-08-30 01:14:36 +03:00
|
|
|
}
|
2022-03-07 12:38:52 +02:00
|
|
|
}
|
2019-08-30 01:14:36 +03:00
|
|
|
|
2022-03-07 12:38:52 +02:00
|
|
|
.scrollable .account-card__bio::after {
|
|
|
|
background: linear-gradient(to left, lighten($ui-base-color, 8%), transparent);
|
2017-04-23 05:26:55 +03:00
|
|
|
}
|
2017-05-20 02:28:25 +03:00
|
|
|
|
|
|
|
.account-gallery__container {
|
2017-09-24 01:33:26 +03:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2019-05-02 09:34:32 +03:00
|
|
|
padding: 4px 2px;
|
2017-05-20 02:28:25 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.account-gallery__item {
|
2019-06-06 19:51:46 +03:00
|
|
|
border: 0;
|
2019-05-02 09:34:32 +03:00
|
|
|
box-sizing: border-box;
|
|
|
|
display: block;
|
2018-03-01 03:48:44 +02:00
|
|
|
position: relative;
|
2019-05-02 09:34:32 +03:00
|
|
|
border-radius: 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
margin: 2px;
|
2019-05-08 19:01:33 +03:00
|
|
|
|
|
|
|
&__icons {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
2017-05-20 02:28:25 +03:00
|
|
|
}
|
|
|
|
|
2018-12-17 22:08:40 +02:00
|
|
|
.notification__filter-bar,
|
2018-03-01 03:48:44 +02:00
|
|
|
.account__section-headline {
|
2018-03-02 05:35:49 +02:00
|
|
|
background: darken($ui-base-color, 4%);
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
2017-05-20 02:28:25 +03:00
|
|
|
cursor: default;
|
2018-03-01 03:48:44 +02:00
|
|
|
display: flex;
|
2018-12-18 23:28:09 +02:00
|
|
|
flex-shrink: 0;
|
2017-05-20 02:28:25 +03:00
|
|
|
|
2018-12-17 22:08:40 +02:00
|
|
|
button {
|
|
|
|
background: darken($ui-base-color, 4%);
|
|
|
|
border: 0;
|
2018-12-18 23:28:09 +02:00
|
|
|
margin: 0;
|
2018-12-17 22:08:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
button,
|
2018-03-01 03:48:44 +02:00
|
|
|
a {
|
2017-05-20 02:28:25 +03:00
|
|
|
display: block;
|
2018-03-02 05:35:49 +02:00
|
|
|
flex: 1 1 auto;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $darker-text-color;
|
2018-03-02 05:35:49 +02:00
|
|
|
padding: 15px 0;
|
2018-03-01 03:48:44 +02:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
2018-03-02 05:35:49 +02:00
|
|
|
text-align: center;
|
2018-03-01 03:48:44 +02:00
|
|
|
text-decoration: none;
|
|
|
|
position: relative;
|
2020-01-24 21:50:49 +02:00
|
|
|
width: 100%;
|
2020-01-28 03:21:18 +02:00
|
|
|
white-space: nowrap;
|
2017-05-20 02:28:25 +03:00
|
|
|
|
2018-03-01 03:48:44 +02:00
|
|
|
&.active {
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $secondary-text-color;
|
2018-03-01 03:48:44 +02:00
|
|
|
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 50%;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 0 10px 10px;
|
2018-03-02 05:35:49 +02:00
|
|
|
border-color: transparent transparent lighten($ui-base-color, 8%);
|
2018-03-01 03:48:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
bottom: -1px;
|
|
|
|
border-color: transparent transparent $ui-base-color;
|
|
|
|
}
|
|
|
|
}
|
2017-05-20 02:28:25 +03:00
|
|
|
}
|
2019-08-30 01:14:36 +03:00
|
|
|
|
|
|
|
&.directory__section-headline {
|
|
|
|
background: darken($ui-base-color, 2%);
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
|
|
|
|
a,
|
|
|
|
button {
|
|
|
|
&.active {
|
|
|
|
&::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
border-color: transparent transparent darken($ui-base-color, 7%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter-form {
|
|
|
|
background: $ui-base-color;
|
|
|
|
|
|
|
|
&__column {
|
|
|
|
padding: 10px 15px;
|
2022-03-07 12:38:52 +02:00
|
|
|
padding-bottom: 0;
|
2019-08-30 01:14:36 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.radio-button {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-01 14:31:28 +03:00
|
|
|
.column-settings__row .radio-button {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2019-08-30 01:14:36 +03:00
|
|
|
.radio-button {
|
|
|
|
font-size: 14px;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 6px 0;
|
|
|
|
line-height: 18px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
cursor: pointer;
|
|
|
|
|
2022-06-01 20:22:35 +03:00
|
|
|
input[type="radio"],
|
|
|
|
input[type="checkbox"] {
|
2019-08-30 01:14:36 +03:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__input {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
border: 1px solid $ui-primary-color;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin-right: 10px;
|
|
|
|
top: -1px;
|
|
|
|
border-radius: 50%;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
&.checked {
|
2022-06-19 09:18:08 +03:00
|
|
|
border-color: lighten($ui-highlight-color, 4%);
|
|
|
|
background: lighten($ui-highlight-color, 4%);
|
2019-08-30 01:14:36 +03:00
|
|
|
}
|
|
|
|
}
|
2017-05-20 02:28:25 +03:00
|
|
|
}
|
2017-06-08 01:52:56 +03:00
|
|
|
|
2017-07-20 01:20:54 +03:00
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2017-10-02 19:24:05 +03:00
|
|
|
.search-popout {
|
2019-06-06 19:51:46 +03:00
|
|
|
@include search-popout;
|
2017-10-02 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2017-06-08 01:52:56 +03:00
|
|
|
noscript {
|
|
|
|
text-align: center;
|
|
|
|
|
2017-07-23 21:28:06 +03:00
|
|
|
img {
|
|
|
|
width: 200px;
|
|
|
|
opacity: 0.5;
|
|
|
|
animation: flicker 4s infinite;
|
|
|
|
}
|
|
|
|
|
2017-06-08 01:52:56 +03:00
|
|
|
div {
|
2017-07-23 21:28:06 +03:00
|
|
|
font-size: 14px;
|
|
|
|
margin: 30px auto;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $secondary-text-color;
|
2017-07-23 21:28:06 +03:00
|
|
|
max-width: 400px;
|
2017-09-02 15:02:15 +03:00
|
|
|
|
|
|
|
a {
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $highlight-text-color;
|
2017-09-02 15:02:15 +03:00
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2017-06-08 01:52:56 +03:00
|
|
|
}
|
|
|
|
}
|
2017-07-21 02:38:24 +03:00
|
|
|
|
2017-07-23 21:28:06 +03:00
|
|
|
@keyframes flicker {
|
|
|
|
0% { opacity: 1; }
|
|
|
|
30% { opacity: 0.75; }
|
|
|
|
100% { opacity: 1; }
|
|
|
|
}
|
|
|
|
|
2017-09-24 02:25:07 +03:00
|
|
|
@media screen and (max-width: 630px) and (max-height: 400px) {
|
2017-07-21 02:38:24 +03:00
|
|
|
$duration: 400ms;
|
|
|
|
$delay: 100ms;
|
|
|
|
|
|
|
|
.tabs-bar,
|
|
|
|
.search {
|
|
|
|
will-change: margin-top;
|
|
|
|
transition: margin-top $duration $delay;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-bar {
|
|
|
|
will-change: padding-bottom;
|
|
|
|
transition: padding-bottom $duration $delay;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-bar {
|
|
|
|
& > a:first-child {
|
2018-06-17 14:47:56 +03:00
|
|
|
will-change: margin-top, margin-left, margin-right, width;
|
|
|
|
transition: margin-top $duration $delay, margin-left $duration ($duration + $delay), margin-right $duration ($duration + $delay);
|
2017-07-21 02:38:24 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
& > .navigation-bar__profile-edit {
|
|
|
|
will-change: margin-top;
|
|
|
|
transition: margin-top $duration $delay;
|
|
|
|
}
|
|
|
|
|
2018-06-13 15:44:50 +03:00
|
|
|
.navigation-bar__actions {
|
|
|
|
& > .icon-button.close {
|
|
|
|
will-change: opacity transform;
|
2022-06-01 20:22:35 +03:00
|
|
|
transition:
|
|
|
|
opacity $duration * 0.5 $delay,
|
|
|
|
transform $duration $delay;
|
2018-06-13 15:44:50 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
& > .compose__action-bar .icon-button {
|
|
|
|
will-change: opacity transform;
|
2022-06-01 20:22:35 +03:00
|
|
|
transition:
|
|
|
|
opacity $duration * 0.5 $delay + $duration * 0.5,
|
|
|
|
transform $duration $delay;
|
2018-06-13 15:44:50 +03:00
|
|
|
}
|
2017-07-21 02:38:24 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-composing {
|
|
|
|
.tabs-bar,
|
|
|
|
.search {
|
|
|
|
margin-top: -50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-bar {
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
|
|
|
& > a:first-child {
|
2018-06-17 14:47:56 +03:00
|
|
|
margin: -100px 10px 0 -50px;
|
2017-07-21 02:38:24 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-bar__profile {
|
|
|
|
padding-top: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-bar__profile-edit {
|
|
|
|
position: absolute;
|
2018-06-17 14:47:56 +03:00
|
|
|
margin-top: -60px;
|
2017-07-21 02:38:24 +03:00
|
|
|
}
|
|
|
|
|
2018-06-13 15:44:50 +03:00
|
|
|
.navigation-bar__actions {
|
|
|
|
.icon-button.close {
|
|
|
|
pointer-events: auto;
|
|
|
|
opacity: 1;
|
2019-06-06 19:51:46 +03:00
|
|
|
transform: scale(1, 1) translate(0, 0);
|
2018-06-17 14:47:56 +03:00
|
|
|
bottom: 5px;
|
2018-06-13 15:44:50 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.compose__action-bar .icon-button {
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0;
|
2019-06-06 19:51:46 +03:00
|
|
|
transform: scale(0, 1) translate(100%, 0);
|
2018-06-13 15:44:50 +03:00
|
|
|
}
|
2017-07-21 02:38:24 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-08-31 04:38:35 +03:00
|
|
|
|
|
|
|
.embed-modal {
|
2019-10-03 04:17:29 +03:00
|
|
|
width: auto;
|
2017-09-05 13:31:24 +03:00
|
|
|
max-width: 80vw;
|
|
|
|
max-height: 80vh;
|
|
|
|
|
2017-08-31 04:38:35 +03:00
|
|
|
h4 {
|
|
|
|
padding: 30px;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 16px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2017-09-05 13:31:24 +03:00
|
|
|
.embed-modal__container {
|
|
|
|
padding: 10px;
|
2017-08-31 04:38:35 +03:00
|
|
|
|
2017-09-05 13:31:24 +03:00
|
|
|
.hint {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
2017-08-31 04:38:35 +03:00
|
|
|
|
2017-09-05 13:31:24 +03:00
|
|
|
.embed-modal__html {
|
|
|
|
outline: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
2019-06-06 19:51:46 +03:00
|
|
|
border: 0;
|
2017-09-05 13:31:24 +03:00
|
|
|
padding: 10px;
|
2018-09-23 21:41:24 +03:00
|
|
|
font-family: $font-monospace, monospace;
|
2017-09-05 13:31:24 +03:00
|
|
|
background: $ui-base-color;
|
2018-04-18 17:52:15 +03:00
|
|
|
color: $primary-text-color;
|
2017-09-05 13:31:24 +03:00
|
|
|
font-size: 14px;
|
|
|
|
margin: 0;
|
|
|
|
margin-bottom: 15px;
|
2019-10-03 04:17:29 +03:00
|
|
|
border-radius: 4px;
|
2017-09-05 13:31:24 +03:00
|
|
|
|
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.embed-modal__iframe {
|
|
|
|
width: 400px;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
border: 0;
|
2019-10-03 04:17:29 +03:00
|
|
|
border-radius: 4px;
|
2017-09-05 13:31:24 +03:00
|
|
|
}
|
|
|
|
}
|
2017-08-31 04:38:35 +03:00
|
|
|
}
|
2017-11-18 20:39:02 +02:00
|
|
|
|
|
|
|
.account__moved-note {
|
|
|
|
padding: 14px 10px;
|
|
|
|
padding-bottom: 16px;
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
border-top: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
|
|
|
|
&__message {
|
|
|
|
position: relative;
|
|
|
|
margin-left: 58px;
|
2018-04-21 22:35:55 +03:00
|
|
|
color: $dark-text-color;
|
2017-11-18 20:39:02 +02:00
|
|
|
padding: 8px 0;
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
> span {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__icon-wrapper {
|
|
|
|
left: -26px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__display-avatar {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__display-name {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-12-06 00:02:27 +02:00
|
|
|
|
|
|
|
.column-inline-form {
|
2019-06-08 11:23:41 +03:00
|
|
|
padding: 15px;
|
|
|
|
padding-right: 0;
|
2017-12-06 00:02:27 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
|
|
|
|
label {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
|
|
|
input {
|
|
|
|
width: 100%;
|
2017-12-06 13:18:10 +02:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
2017-12-06 00:02:27 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-button {
|
|
|
|
flex: 0 0 auto;
|
2019-06-08 11:23:41 +03:00
|
|
|
margin: 0 10px;
|
2017-12-06 00:02:27 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.drawer__backdrop {
|
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: rgba($base-overlay-background, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-editor {
|
|
|
|
background: $ui-base-color;
|
|
|
|
flex-direction: column;
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
|
2017-12-06 20:48:48 +02:00
|
|
|
width: 380px;
|
2017-12-06 00:02:27 +02:00
|
|
|
overflow: hidden;
|
|
|
|
|
2017-12-06 20:48:48 +02:00
|
|
|
@media screen and (max-width: 420px) {
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
|
2017-12-06 00:02:27 +02:00
|
|
|
h4 {
|
|
|
|
padding: 15px 0;
|
|
|
|
background: lighten($ui-base-color, 13%);
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 16px;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 8px 8px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.drawer__pager {
|
|
|
|
height: 50vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.drawer__inner {
|
|
|
|
border-radius: 0 0 8px 8px;
|
|
|
|
|
|
|
|
&.backdrop {
|
|
|
|
width: calc(100% - 60px);
|
|
|
|
box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
|
|
|
|
border-radius: 0 0 0 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__accounts {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.account__display-name {
|
|
|
|
&:hover strong {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.account__avatar {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-02-22 01:35:46 +02:00
|
|
|
|
2018-11-05 19:52:38 +02:00
|
|
|
.list-adder {
|
|
|
|
background: $ui-base-color;
|
|
|
|
flex-direction: column;
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
|
|
|
|
width: 380px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
@media screen and (max-width: 420px) {
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__account {
|
|
|
|
background: lighten($ui-base-color, 13%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__lists {
|
|
|
|
background: lighten($ui-base-color, 13%);
|
|
|
|
height: 50vh;
|
|
|
|
border-radius: 0 0 8px 8px;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list {
|
|
|
|
padding: 10px;
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.list__wrapper {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list__display-name {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-22 01:35:46 +02:00
|
|
|
.focal-point {
|
|
|
|
position: relative;
|
2019-08-14 05:07:32 +03:00
|
|
|
cursor: move;
|
2018-02-22 01:35:46 +02:00
|
|
|
overflow: hidden;
|
2019-08-15 21:28:56 +03:00
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
background: $base-shadow-color;
|
2018-02-22 01:35:46 +02:00
|
|
|
|
2019-08-14 05:07:32 +03:00
|
|
|
img,
|
2019-10-10 06:21:38 +03:00
|
|
|
video,
|
|
|
|
canvas {
|
2019-08-14 05:07:32 +03:00
|
|
|
display: block;
|
2018-03-11 16:12:33 +02:00
|
|
|
max-height: 80vh;
|
2019-08-14 05:07:32 +03:00
|
|
|
width: 100%;
|
2018-03-11 16:12:33 +02:00
|
|
|
height: auto;
|
2019-08-14 05:07:32 +03:00
|
|
|
margin: 0;
|
|
|
|
object-fit: contain;
|
|
|
|
background: $base-shadow-color;
|
2018-03-11 16:12:33 +02:00
|
|
|
}
|
|
|
|
|
2018-02-22 01:35:46 +02:00
|
|
|
&__reticle {
|
|
|
|
position: absolute;
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
background: url('../images/reticle.png') no-repeat 0 0;
|
|
|
|
border-radius: 50%;
|
|
|
|
box-shadow: 0 0 0 9999em rgba($base-shadow-color, 0.35);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__overlay {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
2019-08-14 05:07:32 +03:00
|
|
|
|
|
|
|
&__preview {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 10px;
|
|
|
|
right: 10px;
|
|
|
|
z-index: 2;
|
2019-08-15 23:47:51 +03:00
|
|
|
cursor: move;
|
|
|
|
transition: opacity 0.1s ease;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2019-08-14 05:07:32 +03:00
|
|
|
|
|
|
|
strong {
|
|
|
|
color: $primary-text-color;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 0 14px rgba($base-shadow-color, 0.2);
|
|
|
|
}
|
|
|
|
}
|
2019-08-15 21:28:56 +03:00
|
|
|
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
img,
|
|
|
|
video {
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__preview {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-02-22 01:35:46 +02:00
|
|
|
}
|
2018-03-02 08:12:40 +02:00
|
|
|
|
2019-03-26 01:36:25 +02:00
|
|
|
.account__header__content {
|
|
|
|
color: $darker-text-color;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 400;
|
|
|
|
overflow: hidden;
|
|
|
|
word-break: normal;
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2018-05-07 10:31:07 +03:00
|
|
|
}
|
|
|
|
|
2019-03-26 01:36:25 +02:00
|
|
|
.account__header {
|
2018-04-14 13:41:08 +03:00
|
|
|
overflow: hidden;
|
|
|
|
|
2019-03-26 01:36:25 +02:00
|
|
|
&.inactive {
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
|
|
.account__header__image,
|
|
|
|
.account__avatar {
|
|
|
|
filter: grayscale(100%);
|
|
|
|
}
|
2018-04-14 13:41:08 +03:00
|
|
|
}
|
|
|
|
|
2019-03-26 01:36:25 +02:00
|
|
|
&__info {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
left: 10px;
|
2018-04-14 13:41:08 +03:00
|
|
|
}
|
|
|
|
|
2019-03-26 01:36:25 +02:00
|
|
|
&__image {
|
|
|
|
overflow: hidden;
|
|
|
|
height: 145px;
|
|
|
|
position: relative;
|
2018-04-14 13:41:08 +03:00
|
|
|
background: darken($ui-base-color, 4%);
|
2019-03-26 01:36:25 +02:00
|
|
|
|
|
|
|
img {
|
|
|
|
object-fit: cover;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-04-14 13:41:08 +03:00
|
|
|
}
|
|
|
|
|
2019-03-26 01:36:25 +02:00
|
|
|
&__bar {
|
|
|
|
position: relative;
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
padding: 5px;
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 12%);
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
display: block;
|
|
|
|
flex: 0 0 auto;
|
2019-03-27 00:05:21 +02:00
|
|
|
width: 94px;
|
2019-03-26 01:36:25 +02:00
|
|
|
margin-left: -2px;
|
2018-09-18 17:45:58 +03:00
|
|
|
|
2019-03-26 01:36:25 +02:00
|
|
|
.account__avatar {
|
2019-03-30 02:13:19 +02:00
|
|
|
background: darken($ui-base-color, 8%);
|
2019-03-26 01:36:25 +02:00
|
|
|
border: 2px solid lighten($ui-base-color, 4%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__tabs {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
2020-06-29 14:57:44 +03:00
|
|
|
padding: 7px 10px;
|
2019-03-26 01:36:25 +02:00
|
|
|
margin-top: -55px;
|
|
|
|
|
|
|
|
&__buttons {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding-top: 55px;
|
2019-03-27 00:05:21 +02:00
|
|
|
overflow: hidden;
|
2019-03-26 01:36:25 +02:00
|
|
|
|
|
|
|
.icon-button {
|
|
|
|
border: 1px solid lighten($ui-base-color, 12%);
|
|
|
|
border-radius: 4px;
|
|
|
|
box-sizing: content-box;
|
|
|
|
padding: 2px;
|
2019-03-27 00:05:21 +02:00
|
|
|
}
|
|
|
|
|
2020-09-18 18:26:45 +03:00
|
|
|
& > .icon-button {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
2019-03-27 00:05:21 +02:00
|
|
|
.button {
|
2019-03-26 01:36:25 +02:00
|
|
|
margin: 0 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__name {
|
2020-06-29 14:57:44 +03:00
|
|
|
padding: 5px 10px;
|
2019-03-26 01:36:25 +02:00
|
|
|
|
|
|
|
.account-role {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emojione {
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 24px;
|
|
|
|
color: $primary-text-color;
|
|
|
|
font-weight: 500;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
small {
|
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
|
|
|
color: $darker-text-color;
|
|
|
|
font-weight: 400;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.spacer {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__bio {
|
|
|
|
overflow: hidden;
|
|
|
|
margin: 0 -5px;
|
|
|
|
|
|
|
|
.account__header__content {
|
|
|
|
padding: 20px 15px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
color: $primary-text-color;
|
2020-07-07 02:24:03 +03:00
|
|
|
|
|
|
|
.columns-area--mobile & {
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 20px;
|
|
|
|
}
|
2019-03-26 01:36:25 +02:00
|
|
|
}
|
|
|
|
|
2021-05-07 15:33:19 +03:00
|
|
|
.account__header__joined {
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 5px 15px;
|
|
|
|
color: $darker-text-color;
|
|
|
|
|
|
|
|
.columns-area--mobile & {
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-26 01:36:25 +02:00
|
|
|
.account__header__fields {
|
|
|
|
margin: 0;
|
|
|
|
border-top: 1px solid lighten($ui-base-color, 12%);
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: lighten($ui-highlight-color, 8%);
|
|
|
|
}
|
|
|
|
|
|
|
|
dl:first-child .verified {
|
|
|
|
border-radius: 0 4px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.verified a {
|
|
|
|
color: $valid-value-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__extra {
|
|
|
|
margin-top: 4px;
|
|
|
|
|
|
|
|
&__links {
|
|
|
|
font-size: 14px;
|
|
|
|
color: $darker-text-color;
|
2019-12-29 17:59:25 +02:00
|
|
|
padding: 10px 0;
|
2019-03-26 01:36:25 +02:00
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
color: $darker-text-color;
|
|
|
|
text-decoration: none;
|
2019-12-29 17:59:25 +02:00
|
|
|
padding: 5px 10px;
|
2019-03-26 01:36:25 +02:00
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 700;
|
|
|
|
color: $primary-text-color;
|
|
|
|
}
|
|
|
|
}
|
2018-09-18 17:45:58 +03:00
|
|
|
}
|
2018-04-14 13:41:08 +03:00
|
|
|
}
|
2020-06-30 20:19:50 +03:00
|
|
|
|
|
|
|
&__account-note {
|
2020-07-07 02:24:03 +03:00
|
|
|
padding: 15px;
|
|
|
|
padding-bottom: 10px;
|
2020-06-30 20:19:50 +03:00
|
|
|
color: $primary-text-color;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 400;
|
2020-07-07 02:24:03 +03:00
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 12%);
|
2020-06-30 20:19:50 +03:00
|
|
|
|
2020-07-07 02:24:03 +03:00
|
|
|
.columns-area--mobile & {
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 20px;
|
2020-06-30 20:19:50 +03:00
|
|
|
}
|
|
|
|
|
2020-07-07 02:24:03 +03:00
|
|
|
label {
|
|
|
|
display: block;
|
|
|
|
font-size: 12px;
|
2020-06-30 20:19:50 +03:00
|
|
|
font-weight: 500;
|
2020-07-07 02:24:03 +03:00
|
|
|
color: $darker-text-color;
|
|
|
|
text-transform: uppercase;
|
|
|
|
margin-bottom: 5px;
|
2020-06-30 20:19:50 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
2020-07-07 02:24:03 +03:00
|
|
|
width: calc(100% + 20px);
|
|
|
|
color: $secondary-text-color;
|
|
|
|
background: transparent;
|
2020-06-30 20:19:50 +03:00
|
|
|
padding: 10px;
|
2020-07-07 02:24:03 +03:00
|
|
|
margin: 0 -10px;
|
2020-06-30 20:19:50 +03:00
|
|
|
font-family: inherit;
|
|
|
|
font-size: 14px;
|
|
|
|
resize: none;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
border-radius: 4px;
|
2020-07-07 02:24:03 +03:00
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: $dark-text-color;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: $ui-base-color;
|
|
|
|
}
|
2020-06-30 20:19:50 +03:00
|
|
|
}
|
|
|
|
}
|
2018-04-14 13:41:08 +03:00
|
|
|
}
|
2018-05-27 22:45:30 +03:00
|
|
|
|
|
|
|
.trends {
|
|
|
|
&__header {
|
|
|
|
color: $dark-text-color;
|
|
|
|
background: lighten($ui-base-color, 2%);
|
|
|
|
border-bottom: 1px solid darken($ui-base-color, 4%);
|
|
|
|
font-weight: 500;
|
|
|
|
padding: 15px;
|
|
|
|
font-size: 16px;
|
|
|
|
cursor: default;
|
|
|
|
|
2018-09-28 03:11:14 +03:00
|
|
|
.fa {
|
2018-05-27 22:45:30 +03:00
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__item {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 15px;
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__name {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
color: $dark-text-color;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $darker-text-color;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
display: block;
|
2018-05-28 20:12:53 +03:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2018-05-27 22:45:30 +03:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
span {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__current {
|
2018-05-28 20:12:53 +03:00
|
|
|
flex: 0 0 auto;
|
2018-05-27 22:45:30 +03:00
|
|
|
font-size: 24px;
|
|
|
|
font-weight: 500;
|
2019-08-06 18:57:52 +03:00
|
|
|
text-align: right;
|
|
|
|
padding-right: 15px;
|
2019-08-15 21:20:02 +03:00
|
|
|
margin-left: 5px;
|
2018-05-27 22:45:30 +03:00
|
|
|
color: $secondary-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__sparkline {
|
2018-05-28 20:12:53 +03:00
|
|
|
flex: 0 0 auto;
|
2018-05-27 22:45:30 +03:00
|
|
|
width: 50px;
|
|
|
|
|
2019-08-06 18:57:52 +03:00
|
|
|
path:first-child {
|
|
|
|
fill: rgba($highlight-text-color, 0.25) !important;
|
|
|
|
fill-opacity: 1 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
path:last-child {
|
2018-05-27 22:45:30 +03:00
|
|
|
stroke: lighten($highlight-text-color, 6%) !important;
|
2020-05-14 10:01:23 +03:00
|
|
|
fill: none !important;
|
2018-05-27 22:45:30 +03:00
|
|
|
}
|
|
|
|
}
|
2021-10-14 21:44:59 +03:00
|
|
|
|
|
|
|
&--requires-review {
|
|
|
|
.trends__item__name {
|
|
|
|
color: $gold-star;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $gold-star;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.trends__item__current {
|
|
|
|
color: $gold-star;
|
|
|
|
}
|
|
|
|
|
|
|
|
.trends__item__sparkline {
|
|
|
|
path:first-child {
|
|
|
|
fill: rgba($gold-star, 0.25) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
path:last-child {
|
|
|
|
stroke: lighten($gold-star, 6%) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--disabled {
|
|
|
|
.trends__item__name {
|
|
|
|
color: lighten($ui-base-color, 12%);
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: lighten($ui-base-color, 12%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.trends__item__current {
|
|
|
|
color: lighten($ui-base-color, 12%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.trends__item__sparkline {
|
|
|
|
path:first-child {
|
|
|
|
fill: rgba(lighten($ui-base-color, 12%), 0.25) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
path:last-child {
|
|
|
|
stroke: lighten(lighten($ui-base-color, 12%), 6%) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--compact &__item {
|
|
|
|
padding: 10px;
|
2018-05-27 22:45:30 +03:00
|
|
|
}
|
|
|
|
}
|
2019-05-23 02:35:22 +03:00
|
|
|
|
2019-09-21 21:01:16 +03:00
|
|
|
.conversation {
|
2019-05-23 02:35:22 +03:00
|
|
|
display: flex;
|
2019-09-21 21:01:16 +03:00
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
2019-05-23 02:35:22 +03:00
|
|
|
padding: 5px;
|
2019-09-21 21:01:16 +03:00
|
|
|
padding-bottom: 0;
|
2019-05-23 02:35:22 +03:00
|
|
|
|
2019-09-21 21:01:16 +03:00
|
|
|
&:focus {
|
|
|
|
background: lighten($ui-base-color, 2%);
|
|
|
|
outline: 0;
|
|
|
|
}
|
2019-05-23 02:35:22 +03:00
|
|
|
|
2019-09-21 21:01:16 +03:00
|
|
|
&__avatar {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
padding: 10px;
|
|
|
|
padding-top: 12px;
|
2019-12-01 08:06:20 +02:00
|
|
|
position: relative;
|
2020-03-31 20:40:23 +03:00
|
|
|
cursor: pointer;
|
2019-12-01 08:06:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__unread {
|
|
|
|
display: inline-block;
|
|
|
|
background: $highlight-text-color;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 0.625rem;
|
|
|
|
height: 0.625rem;
|
2022-06-01 20:22:35 +03:00
|
|
|
margin: -0.1ex 0.15em 0.1ex;
|
2019-05-23 02:35:22 +03:00
|
|
|
}
|
|
|
|
|
2019-09-21 21:01:16 +03:00
|
|
|
&__content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
padding: 10px 5px;
|
|
|
|
padding-right: 15px;
|
2019-09-27 03:14:49 +03:00
|
|
|
overflow: hidden;
|
2019-05-23 02:35:22 +03:00
|
|
|
|
2019-09-21 21:01:16 +03:00
|
|
|
&__info {
|
|
|
|
overflow: hidden;
|
2019-09-27 03:14:49 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
justify-content: space-between;
|
2019-05-23 02:35:22 +03:00
|
|
|
}
|
|
|
|
|
2019-09-21 21:01:16 +03:00
|
|
|
&__relative-time {
|
|
|
|
font-size: 15px;
|
|
|
|
color: $darker-text-color;
|
|
|
|
padding-left: 15px;
|
2019-05-23 02:35:22 +03:00
|
|
|
}
|
|
|
|
|
2019-09-21 21:01:16 +03:00
|
|
|
&__names {
|
|
|
|
color: $darker-text-color;
|
|
|
|
font-size: 15px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
margin-bottom: 4px;
|
2019-09-30 18:12:33 +03:00
|
|
|
flex-basis: 90px;
|
|
|
|
flex-grow: 1;
|
2019-09-21 21:01:16 +03:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: $primary-text-color;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-10-02 01:39:56 +03:00
|
|
|
|
|
|
|
a {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
2019-05-23 02:35:22 +03:00
|
|
|
}
|
2019-12-01 08:06:20 +02:00
|
|
|
|
|
|
|
&--unread {
|
|
|
|
background: lighten($ui-base-color, 2%);
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.conversation__content__info {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
.conversation__content__relative-time {
|
|
|
|
color: $primary-text-color;
|
|
|
|
}
|
|
|
|
}
|
2019-05-23 02:35:22 +03:00
|
|
|
}
|
2020-01-23 23:00:13 +02:00
|
|
|
|
|
|
|
.announcements {
|
2020-01-25 17:35:33 +02:00
|
|
|
background: lighten($ui-base-color, 8%);
|
2020-01-23 23:00:13 +02:00
|
|
|
font-size: 13px;
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-end;
|
|
|
|
|
|
|
|
&__mastodon {
|
|
|
|
width: 124px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
|
|
|
@media screen and (max-width: 124px + 300px) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__container {
|
|
|
|
width: calc(100% - 124px);
|
|
|
|
flex: 0 0 auto;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
@media screen and (max-width: 124px + 300px) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__item {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
padding: 15px;
|
|
|
|
position: relative;
|
2020-01-25 05:20:06 +02:00
|
|
|
font-size: 15px;
|
|
|
|
line-height: 20px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
font-weight: 400;
|
2020-03-06 16:20:14 +02:00
|
|
|
max-height: 50vh;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-01-23 23:00:13 +02:00
|
|
|
|
|
|
|
&__range {
|
|
|
|
display: block;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-bottom: 10px;
|
2020-03-06 16:20:14 +02:00
|
|
|
padding-right: 18px;
|
2020-01-23 23:00:13 +02:00
|
|
|
}
|
2020-02-03 02:53:09 +02:00
|
|
|
|
|
|
|
&__unread {
|
|
|
|
position: absolute;
|
2020-02-09 00:44:01 +02:00
|
|
|
top: 19px;
|
|
|
|
right: 19px;
|
|
|
|
display: block;
|
2020-02-03 02:53:09 +02:00
|
|
|
background: $highlight-text-color;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 0.625rem;
|
|
|
|
height: 0.625rem;
|
|
|
|
}
|
2020-01-23 23:00:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__pagination {
|
|
|
|
padding: 15px;
|
|
|
|
color: $darker-text-color;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 3px;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout-multiple-columns .announcements__mastodon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout-multiple-columns .announcements__container {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reactions-bar {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
margin-top: 15px;
|
|
|
|
margin-left: -2px;
|
|
|
|
width: calc(100% - (90px - 33px));
|
|
|
|
|
|
|
|
&__item {
|
|
|
|
flex-shrink: 0;
|
|
|
|
background: lighten($ui-base-color, 12%);
|
|
|
|
border: 0;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin: 2px;
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
padding: 0 6px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
transition: all 100ms ease-in;
|
|
|
|
transition-property: background-color, color;
|
|
|
|
|
|
|
|
&__emoji {
|
|
|
|
display: block;
|
|
|
|
margin: 3px 0;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
min-width: auto;
|
|
|
|
min-height: auto;
|
|
|
|
vertical-align: bottom;
|
|
|
|
object-fit: contain;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__count {
|
|
|
|
display: block;
|
|
|
|
min-width: 9px;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 500;
|
|
|
|
text-align: center;
|
|
|
|
margin-left: 6px;
|
|
|
|
color: $darker-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
background: lighten($ui-base-color, 16%);
|
|
|
|
transition: all 200ms ease-out;
|
|
|
|
transition-property: background-color, color;
|
|
|
|
|
|
|
|
&__count {
|
|
|
|
color: lighten($darker-text-color, 4%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
transition: all 100ms ease-in;
|
|
|
|
transition-property: background-color, color;
|
2020-01-25 06:23:05 +02:00
|
|
|
background-color: mix(lighten($ui-base-color, 12%), $ui-highlight-color, 80%);
|
2020-01-23 23:00:13 +02:00
|
|
|
|
|
|
|
.reactions-bar__item__count {
|
2020-01-25 06:23:05 +02:00
|
|
|
color: lighten($highlight-text-color, 8%);
|
2020-01-23 23:00:13 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-picker-dropdown {
|
|
|
|
margin: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .emoji-button {
|
|
|
|
opacity: 0.85;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-button {
|
|
|
|
color: $darker-text-color;
|
|
|
|
margin: 0;
|
|
|
|
font-size: 16px;
|
|
|
|
width: auto;
|
|
|
|
flex-shrink: 0;
|
|
|
|
padding: 0 6px;
|
|
|
|
height: 22px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
opacity: 0.5;
|
|
|
|
transition: all 100ms ease-in;
|
|
|
|
transition-property: background-color, color;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
opacity: 1;
|
|
|
|
color: lighten($darker-text-color, 4%);
|
|
|
|
transition: all 200ms ease-out;
|
|
|
|
transition-property: background-color, color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--empty {
|
|
|
|
.emoji-button {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-09-26 21:57:07 +03:00
|
|
|
|
|
|
|
.notification,
|
|
|
|
.status__wrapper {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&.unread {
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border-left: 2px solid $highlight-text-color;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-09-28 14:29:43 +03:00
|
|
|
|
|
|
|
.picture-in-picture {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 20px;
|
|
|
|
right: 20px;
|
|
|
|
width: 300px;
|
|
|
|
|
|
|
|
&__footer {
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
padding: 10px;
|
|
|
|
padding-top: 12px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__header {
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
padding: 10px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
&__account {
|
|
|
|
display: flex;
|
|
|
|
text-decoration: none;
|
2021-07-05 20:16:06 +03:00
|
|
|
overflow: hidden;
|
2020-09-28 14:29:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.account__avatar {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-name {
|
|
|
|
color: $primary-text-color;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
strong,
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
color: $darker-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-player,
|
|
|
|
.audio-player {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.picture-in-picture-placeholder {
|
|
|
|
box-sizing: border-box;
|
|
|
|
border: 2px dashed lighten($ui-base-color, 8%);
|
|
|
|
background: $base-shadow-color;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin-top: 10px;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 500;
|
|
|
|
cursor: pointer;
|
|
|
|
color: $darker-text-color;
|
|
|
|
|
|
|
|
i {
|
|
|
|
display: block;
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: 400;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
border-color: lighten($ui-base-color, 12%);
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 17:24:47 +03:00
|
|
|
|
|
|
|
.notifications-permission-banner {
|
|
|
|
padding: 30px;
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-11-11 06:36:29 +02:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&__close {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
}
|
2020-10-15 17:24:47 +03:00
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
color: $darker-text-color;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
2022-02-25 01:34:33 +02:00
|
|
|
|
|
|
|
.explore__search-header {
|
|
|
|
background: $ui-base-color;
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 15px;
|
|
|
|
|
|
|
|
.search {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search__input {
|
|
|
|
border-radius: 4px;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
background: $simple-background-color;
|
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: $dark-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search .fa {
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
color: $dark-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search .fa-times-circle {
|
|
|
|
top: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.explore__search-results {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.story {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
color: $primary-text-color;
|
|
|
|
text-decoration: none;
|
|
|
|
padding: 15px 0;
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
background-color: lighten($ui-base-color, 4%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__details {
|
|
|
|
padding: 0 15px;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
|
|
|
&__publisher {
|
|
|
|
color: $darker-text-color;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
font-size: 19px;
|
|
|
|
line-height: 24px;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__shared {
|
|
|
|
color: $darker-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__thumbnail {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin: 0 15px;
|
|
|
|
position: relative;
|
|
|
|
width: 120px;
|
|
|
|
height: 120px;
|
|
|
|
|
|
|
|
.skeleton {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
border-radius: 4px;
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__preview {
|
|
|
|
border-radius: 4px;
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: fill;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 0;
|
|
|
|
|
|
|
|
&--hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|