2020-03-27 13:59:38 -07:00
|
|
|
.compose-form {
|
2020-05-15 20:48:08 -07:00
|
|
|
&__sensitive-button {
|
|
|
|
padding: 10px;
|
|
|
|
padding-top: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
2020-10-11 14:23:19 -07:00
|
|
|
&.active { color: var(--highlight-text-color); }
|
|
|
|
input[type=checkbox] { display: none; }
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
.checkbox {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
2020-06-02 15:42:09 -07:00
|
|
|
border: 1px solid var(--brand-color);
|
2020-05-15 20:48:08 -07:00
|
|
|
box-sizing: border-box;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin-right: 10px;
|
|
|
|
top: -1px;
|
|
|
|
border-radius: 4px;
|
|
|
|
vertical-align: middle;
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
&.active {
|
2020-05-30 19:48:37 -07:00
|
|
|
border-color: var(--highlight-text-color);
|
|
|
|
background: var(--highlight-text-color);
|
2020-05-15 20:48:08 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2021-10-07 13:45:41 -07:00
|
|
|
&__warning {
|
2020-10-11 14:23:19 -07:00
|
|
|
color: var(--primary-text-color);
|
2020-05-15 20:48:08 -07:00
|
|
|
margin-bottom: 10px;
|
2020-06-12 08:07:17 -07:00
|
|
|
background: var(--brand-color--faint);
|
2020-05-15 20:48:08 -07:00
|
|
|
box-shadow: 0 2px 6px rgba($base-shadow-color, 0.3);
|
|
|
|
padding: 8px 10px;
|
|
|
|
border-radius: 4px;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 400;
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
strong {
|
2020-06-02 18:12:36 -07:00
|
|
|
color: var(--primary-text-color);
|
2020-05-15 20:48:08 -07:00
|
|
|
font-weight: 500;
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
a {
|
2020-06-12 08:07:17 -07:00
|
|
|
color: var(--brand-color--hicontrast);
|
2020-05-15 20:48:08 -07:00
|
|
|
font-weight: 500;
|
|
|
|
text-decoration: underline;
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
.emoji-picker-dropdown {
|
|
|
|
position: absolute;
|
2021-08-28 05:26:20 -07:00
|
|
|
top: 10px;
|
2020-05-15 20:48:08 -07:00
|
|
|
right: 5px;
|
|
|
|
}
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2021-10-07 13:45:41 -07:00
|
|
|
&__autosuggest-wrapper {
|
2020-05-15 20:48:08 -07:00
|
|
|
position: relative;
|
|
|
|
}
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
.spoiler-input {
|
|
|
|
height: 0;
|
|
|
|
transform-origin: bottom;
|
2020-05-28 15:18:37 -07:00
|
|
|
opacity: 0;
|
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
&.spoiler-input--visible {
|
|
|
|
height: 36px;
|
|
|
|
margin-bottom: 11px;
|
2020-05-28 15:18:37 -07:00
|
|
|
opacity: 1;
|
2020-05-15 20:48:08 -07:00
|
|
|
}
|
|
|
|
}
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-10-11 14:23:19 -07:00
|
|
|
.spoiler-input__input { border-radius: 4px; }
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2022-01-24 09:17:07 -08:00
|
|
|
&__quoted-status-wrapper {
|
|
|
|
background: var(--background-color);
|
|
|
|
|
|
|
|
.quoted-status {
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
background: transparent;
|
|
|
|
cursor: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
&.condensed {
|
|
|
|
.autosuggest-textarea__textarea {
|
|
|
|
min-height: 46px;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
2021-10-19 10:46:01 -07:00
|
|
|
|
2022-01-24 09:17:07 -08:00
|
|
|
.compose-form__buttons-wrapper,
|
|
|
|
.compose-form__quoted-status-wrapper {
|
2021-10-19 10:46:01 -07:00
|
|
|
height: 0;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2020-05-15 20:48:08 -07:00
|
|
|
}
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2021-10-07 13:45:41 -07:00
|
|
|
&__modifiers {
|
2020-06-02 18:12:36 -07:00
|
|
|
color: var(--primary-text-color);
|
2020-05-15 20:48:08 -07:00
|
|
|
font-family: inherit;
|
|
|
|
font-size: 14px;
|
2020-06-02 18:12:36 -07:00
|
|
|
background: var(--background-color);
|
2020-10-11 14:23:19 -07:00
|
|
|
.compose-form__upload-wrapper { overflow: hidden; }
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
.compose-form__uploads-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
&.contains-media {
|
|
|
|
padding: 5px;
|
2020-06-02 16:31:55 -07:00
|
|
|
border-top: 1px solid var(--foreground-color);
|
2020-05-15 20:48:08 -07:00
|
|
|
}
|
|
|
|
}
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
.compose-form__upload {
|
|
|
|
flex: 1 1 0;
|
|
|
|
min-width: 40%;
|
|
|
|
margin: 5px;
|
2021-07-01 20:04:34 -07:00
|
|
|
position: relative;
|
|
|
|
border-radius: 4px;
|
|
|
|
overflow: hidden;
|
2020-03-27 13:59:38 -07:00
|
|
|
|
2020-05-15 20:48:08 -07: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;
|
|
|
|
opacity: 0;
|
2020-10-11 14:23:19 -07:00
|
|
|
transition: opacity 0.1s ease;
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
.icon-button {
|
|
|
|
flex: 0 1 auto;
|
2021-07-01 20:35:28 -07:00
|
|
|
color: #fff;
|
2020-05-15 20:48:08 -07:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
padding: 10px;
|
|
|
|
font-family: inherit;
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
2020-05-28 15:18:37 -07:00
|
|
|
&:active {
|
2021-07-01 20:35:28 -07:00
|
|
|
color: var(--accent-color);
|
2020-05-28 15:18:37 -07:00
|
|
|
}
|
2020-05-15 20:48:08 -07:00
|
|
|
}
|
2020-10-11 14:23:19 -07:00
|
|
|
&.active { opacity: 1; }
|
2020-05-15 20:48:08 -07:00
|
|
|
}
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
&-description {
|
|
|
|
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);
|
|
|
|
padding: 10px;
|
|
|
|
opacity: 0;
|
2020-10-11 14:23:19 -07:00
|
|
|
transition: opacity 0.1s ease;
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
textarea {
|
|
|
|
background: transparent;
|
2020-10-11 14:23:19 -07:00
|
|
|
box-sizing: border-box;
|
2021-07-01 20:35:28 -07:00
|
|
|
color: #fff;
|
|
|
|
border: 1px solid #fff;
|
2020-05-15 20:48:08 -07:00
|
|
|
outline: none;
|
|
|
|
padding: 10px;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-10-11 14:23:19 -07:00
|
|
|
&:focus { color: #fff; }
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
&::placeholder {
|
2021-07-01 20:35:28 -07:00
|
|
|
color: rgba(255, 255, 255, 0.6);
|
2020-05-15 20:48:08 -07:00
|
|
|
}
|
|
|
|
}
|
2020-10-11 14:23:19 -07:00
|
|
|
&.active { opacity: 1; }
|
2020-05-15 20:48:08 -07:00
|
|
|
}
|
2021-05-17 14:43:55 -07:00
|
|
|
|
|
|
|
&-preview {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: -1;
|
|
|
|
|
|
|
|
video {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
2021-08-21 07:27:15 -07:00
|
|
|
|
|
|
|
> i.fa {
|
|
|
|
width: 100%;
|
|
|
|
color: hsla(var(--primary-text-color_hsl), 0.4);
|
|
|
|
font-size: 64px;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 160px;
|
|
|
|
}
|
2021-05-17 14:43:55 -07:00
|
|
|
}
|
2020-05-15 20:48:08 -07:00
|
|
|
}
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
.compose-form__upload-thumbnail {
|
|
|
|
background-position: center;
|
2021-05-30 11:56:45 -07:00
|
|
|
background-size: contain;
|
2020-05-15 20:48:08 -07:00
|
|
|
background-repeat: no-repeat;
|
2021-05-17 14:43:55 -07:00
|
|
|
height: 160px;
|
2020-05-15 20:48:08 -07:00
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
2021-05-17 14:43:55 -07:00
|
|
|
position: relative;
|
2020-08-10 18:46:37 -07:00
|
|
|
|
|
|
|
&.video {
|
|
|
|
background-image: url('../images/video-placeholder.png');
|
|
|
|
background-size: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.audio {
|
|
|
|
background-image: url('../images/audio-placeholder.png');
|
|
|
|
background-size: cover;
|
|
|
|
}
|
2020-05-15 20:48:08 -07:00
|
|
|
}
|
|
|
|
} // end .compose-form .compose-form__modifiers
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2021-10-07 13:45:41 -07:00
|
|
|
&__buttons-wrapper {
|
2020-05-15 20:48:08 -07:00
|
|
|
padding: 10px;
|
2020-06-02 15:42:09 -07:00
|
|
|
background: var(--background-color);
|
2020-05-15 20:48:08 -07:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex: 0 0 auto;
|
2020-07-27 21:55:23 -07:00
|
|
|
border-radius: 0 0 5px 5px;
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
.compose-form__buttons {
|
|
|
|
display: flex;
|
2020-06-07 16:05:54 -07:00
|
|
|
|
|
|
|
> div {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
.compose-form__sensitive-button {
|
|
|
|
display: none;
|
2021-09-22 12:38:48 -07:00
|
|
|
|
|
|
|
&.compose-form__sensitive-button--visible {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.svg-icon {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
stroke-width: 1.5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy-dropdown__value {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-05-15 20:48:08 -07:00
|
|
|
}
|
|
|
|
}
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
.icon-button {
|
|
|
|
box-sizing: content-box;
|
|
|
|
padding: 0 3px;
|
2021-09-22 12:38:48 -07:00
|
|
|
opacity: 0.5;
|
|
|
|
transition: 0.2s;
|
|
|
|
|
|
|
|
&.active,
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2020-05-15 20:48:08 -07:00
|
|
|
}
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2021-10-07 13:45:41 -07:00
|
|
|
.character-counter {
|
|
|
|
display: block;
|
|
|
|
cursor: default;
|
|
|
|
font-family: var(--font-sans-serif), sans-serif;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 600;
|
|
|
|
color: var(--primary-text-color--faint);
|
|
|
|
&.character-counter--over { color: $warning-red; }
|
|
|
|
}
|
|
|
|
|
|
|
|
.character-counter,
|
|
|
|
.visual-character-counter {
|
|
|
|
margin-right: 10px;
|
2020-05-15 20:48:08 -07:00
|
|
|
}
|
|
|
|
}
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2021-10-07 13:45:41 -07:00
|
|
|
&__publish {
|
2020-05-15 20:48:08 -07:00
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
min-width: 0;
|
|
|
|
flex: 0 0 auto;
|
2020-05-28 15:18:37 -07:00
|
|
|
|
2020-05-15 20:48:08 -07:00
|
|
|
.compose-form__publish-button-wrapper {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
2021-10-07 13:45:41 -07:00
|
|
|
|
|
|
|
&__counter {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
align-self: center;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2020-03-27 13:59:38 -07:00
|
|
|
} // end .compose-form
|
2020-06-02 19:11:01 -07:00
|
|
|
|
2021-09-22 12:56:56 -07:00
|
|
|
// Icon tweaks
|
|
|
|
.compose-form__spoiler-button-icon {
|
|
|
|
transform: translateY(2px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.compose-form__markdown-button-icon {
|
|
|
|
transform: translateY(1px);
|
|
|
|
}
|
|
|
|
|
2020-06-02 19:11:01 -07:00
|
|
|
.upload-area {
|
|
|
|
align-items: center;
|
|
|
|
background: rgba($base-overlay-background, 0.8);
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
justify-content: center;
|
|
|
|
left: 0;
|
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
width: 100%;
|
|
|
|
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;
|
2020-06-06 20:55:00 -07:00
|
|
|
background: var(--brand-color--med);
|
2020-06-02 19:11:01 -07:00
|
|
|
box-shadow: 0 0 5px rgba($base-shadow-color, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.upload-area__content {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-06-06 20:55:00 -07:00
|
|
|
color: var(--primary-text-color--faint);
|
2020-06-02 19:11:01 -07:00
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 500;
|
2020-06-06 20:55:00 -07:00
|
|
|
border: 2px dashed var(--brand-color--med);
|
2020-06-02 19:11:01 -07:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.upload-progress {
|
|
|
|
padding: 10px;
|
|
|
|
color: var(--highlight-text-color);
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
font-size: 34px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: 12px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: 500;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.upload-progess__message {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.upload-progress__backdrop {
|
|
|
|
width: 100%;
|
|
|
|
height: 6px;
|
|
|
|
border-radius: 6px;
|
2020-06-06 20:55:00 -07:00
|
|
|
background: var(--brand-color--med);
|
2020-06-02 19:11:01 -07:00
|
|
|
position: relative;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.upload-progress__tracker {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
height: 6px;
|
|
|
|
background: var(--brand-color);
|
|
|
|
border-radius: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy-dropdown__dropdown {
|
|
|
|
font-size: 14px;
|
|
|
|
position: absolute;
|
|
|
|
background: var(--foreground-color);
|
|
|
|
box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
|
|
|
|
border-radius: 4px;
|
|
|
|
margin-left: 40px;
|
|
|
|
overflow: hidden;
|
|
|
|
z-index: 10000;
|
|
|
|
|
|
|
|
&.top {
|
|
|
|
transform-origin: 50% 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.bottom {
|
|
|
|
transform-origin: 50% 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy-dropdown__option {
|
|
|
|
color: var(--primary-text-color);
|
|
|
|
padding: 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&.active {
|
2020-06-06 20:55:00 -07:00
|
|
|
background: var(--brand-color--med);
|
2020-06-02 19:11:01 -07:00
|
|
|
color: var(--primary-text-color);
|
|
|
|
outline: 0;
|
|
|
|
|
|
|
|
.privacy-dropdown__option__content {
|
|
|
|
color: var(--primary-text-color);
|
|
|
|
|
|
|
|
strong {
|
|
|
|
color: var(--primary-text-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active:hover {
|
2020-06-06 20:55:00 -07:00
|
|
|
background: hsla(var(--brand-color_hsl), 0.5);
|
2020-06-02 19:11:01 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy-dropdown__option__icon {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy-dropdown__option__content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
color: var(--highlight-text-color);
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
display: block;
|
|
|
|
color: var(--primary-text-color);
|
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy-dropdown.active {
|
|
|
|
.privacy-dropdown__value {
|
|
|
|
background: var(--foreground-color);
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
box-shadow: 0 -4px 4px rgba($base-shadow-color, 0.1);
|
|
|
|
|
|
|
|
.icon-button {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
background: var(--brand-color);
|
|
|
|
|
|
|
|
.icon-button {
|
|
|
|
color: var(--primary-text-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.top .privacy-dropdown__value {
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy-dropdown__dropdown {
|
|
|
|
display: block;
|
|
|
|
box-shadow: 2px 4px 6px rgba($base-shadow-color, 0.1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.focal-point {
|
|
|
|
position: relative;
|
|
|
|
cursor: pointer;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&.dragging {
|
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 80vw;
|
|
|
|
max-height: 80vh;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__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;
|
|
|
|
}
|
|
|
|
}
|