You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
718 lines
13 KiB
718 lines
13 KiB
2 years ago
|
.compose-form {
|
||
7 years ago
|
padding: 10px;
|
||
5 years ago
|
|
||
|
.emoji-picker-dropdown {
|
||
|
position: absolute;
|
||
5 years ago
|
top: 0;
|
||
|
right: 0;
|
||
5 years ago
|
|
||
|
::-webkit-scrollbar-track:hover,
|
||
|
::-webkit-scrollbar-track:active {
|
||
|
background-color: rgba($base-overlay-background, 0.3);
|
||
|
}
|
||
|
}
|
||
7 years ago
|
}
|
||
7 years ago
|
|
||
5 years ago
|
.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;
|
||
|
}
|
||
|
}
|
||
|
|
||
2 years ago
|
.no-reduce-motion .spoiler-input {
|
||
6 years ago
|
transition: height 0.4s ease, opacity 0.4s ease;
|
||
|
}
|
||
|
|
||
2 years ago
|
.spoiler-input {
|
||
6 years ago
|
height: 0;
|
||
|
transform-origin: bottom;
|
||
|
opacity: 0.0;
|
||
|
|
||
2 years ago
|
&.spoiler-input--visible {
|
||
6 years ago
|
height: 36px;
|
||
|
margin-bottom: 11px;
|
||
6 years ago
|
opacity: 1.0;
|
||
|
}
|
||
|
|
||
7 years ago
|
input {
|
||
|
display: block;
|
||
|
box-sizing: border-box;
|
||
|
margin: 0;
|
||
4 years ago
|
border: 0;
|
||
7 years ago
|
border-radius: 4px;
|
||
|
padding: 10px;
|
||
|
width: 100%;
|
||
|
outline: 0;
|
||
7 years ago
|
color: $inverted-text-color;
|
||
7 years ago
|
background: $simple-background-color;
|
||
|
font-size: 14px;
|
||
|
font-family: inherit;
|
||
|
resize: vertical;
|
||
7 years ago
|
|
||
5 years ago
|
&::placeholder {
|
||
|
color: $dark-text-color;
|
||
|
}
|
||
|
|
||
7 years ago
|
&:focus { outline: 0 }
|
||
|
@include single-column('screen and (max-width: 630px)') { font-size: 16px }
|
||
|
}
|
||
7 years ago
|
}
|
||
|
|
||
2 years ago
|
.compose-form__warning {
|
||
7 years ago
|
color: $inverted-text-color;
|
||
7 years ago
|
margin-bottom: 15px;
|
||
|
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;
|
||
|
|
||
|
a {
|
||
7 years ago
|
color: $lighter-text-color;
|
||
7 years ago
|
font-weight: 500;
|
||
|
text-decoration: underline;
|
||
|
|
||
|
&:active,
|
||
|
&:focus,
|
||
4 years ago
|
&:hover {
|
||
|
text-decoration: none;
|
||
|
}
|
||
7 years ago
|
}
|
||
|
}
|
||
|
|
||
6 years ago
|
.compose-form__sensitive-button {
|
||
|
padding: 10px;
|
||
|
padding-top: 0;
|
||
6 years ago
|
|
||
6 years ago
|
font-size: 14px;
|
||
|
font-weight: 500;
|
||
|
|
||
|
&.active {
|
||
|
color: $highlight-text-color;
|
||
|
}
|
||
|
|
||
|
input[type=checkbox] {
|
||
|
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-left: 5px;
|
||
|
margin-right: 10px;
|
||
|
top: -1px;
|
||
|
border-radius: 4px;
|
||
|
vertical-align: middle;
|
||
|
|
||
|
&.active {
|
||
|
border-color: $highlight-text-color;
|
||
|
background: $highlight-text-color;
|
||
|
}
|
||
6 years ago
|
}
|
||
6 years ago
|
}
|
||
|
|
||
2 years ago
|
.reply-indicator {
|
||
6 years ago
|
margin: 0 0 10px;
|
||
|
border-radius: 4px;
|
||
7 years ago
|
padding: 10px;
|
||
|
background: $ui-primary-color;
|
||
6 years ago
|
min-height: 23px;
|
||
|
overflow-y: auto;
|
||
|
flex: 0 2 auto;
|
||
2 years ago
|
}
|
||
7 years ago
|
|
||
2 years ago
|
.reply-indicator__header {
|
||
|
margin-bottom: 5px;
|
||
|
overflow: hidden;
|
||
7 years ago
|
|
||
2 years ago
|
& > .account.small { color: $inverted-text-color; }
|
||
|
}
|
||
7 years ago
|
|
||
2 years ago
|
.reply-indicator__cancel {
|
||
|
float: right;
|
||
|
line-height: 24px;
|
||
|
}
|
||
7 years ago
|
|
||
2 years ago
|
.reply-indicator__content {
|
||
|
position: relative;
|
||
|
margin: 10px 0;
|
||
|
padding: 0 12px;
|
||
|
font-size: 14px;
|
||
|
line-height: 20px;
|
||
|
color: $inverted-text-color;
|
||
|
word-wrap: break-word;
|
||
|
font-weight: 400;
|
||
|
overflow: visible;
|
||
|
white-space: pre-wrap;
|
||
|
padding-top: 5px;
|
||
|
overflow: hidden;
|
||
7 years ago
|
|
||
2 years ago
|
p, pre, blockquote {
|
||
|
margin-bottom: 20px;
|
||
|
white-space: pre-wrap;
|
||
7 years ago
|
|
||
2 years ago
|
&:last-child {
|
||
|
margin-bottom: 0;
|
||
6 years ago
|
}
|
||
2 years ago
|
}
|
||
6 years ago
|
|
||
2 years ago
|
h1, h2, h3, h4, h5 {
|
||
|
margin-top: 20px;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
6 years ago
|
|
||
2 years ago
|
h1, h2 {
|
||
|
font-weight: 700;
|
||
|
font-size: 18px;
|
||
|
}
|
||
6 years ago
|
|
||
2 years ago
|
h2 {
|
||
|
font-size: 16px;
|
||
|
}
|
||
6 years ago
|
|
||
2 years ago
|
h3, h4, h5 {
|
||
|
font-weight: 500;
|
||
|
}
|
||
6 years ago
|
|
||
2 years ago
|
blockquote {
|
||
|
padding-left: 10px;
|
||
|
border-left: 3px solid $inverted-text-color;
|
||
|
color: $inverted-text-color;
|
||
|
white-space: normal;
|
||
6 years ago
|
|
||
2 years ago
|
p:last-child {
|
||
|
margin-bottom: 0;
|
||
6 years ago
|
}
|
||
2 years ago
|
}
|
||
6 years ago
|
|
||
2 years ago
|
b, strong {
|
||
|
font-weight: 700;
|
||
|
}
|
||
6 years ago
|
|
||
2 years ago
|
em, i {
|
||
|
font-style: italic;
|
||
|
}
|
||
6 years ago
|
|
||
2 years ago
|
sub {
|
||
|
font-size: smaller;
|
||
|
vertical-align: sub;
|
||
|
}
|
||
6 years ago
|
|
||
2 years ago
|
sup {
|
||
|
font-size: smaller;
|
||
|
vertical-align: super;
|
||
|
}
|
||
3 years ago
|
|
||
2 years ago
|
ul, ol {
|
||
|
margin-left: 1em;
|
||
6 years ago
|
|
||
2 years ago
|
p {
|
||
|
margin: 0;
|
||
6 years ago
|
}
|
||
2 years ago
|
}
|
||
6 years ago
|
|
||
2 years ago
|
ul {
|
||
|
list-style-type: disc;
|
||
|
}
|
||
6 years ago
|
|
||
2 years ago
|
ol {
|
||
|
list-style-type: decimal;
|
||
|
}
|
||
7 years ago
|
|
||
2 years ago
|
a {
|
||
|
color: $lighter-text-color;
|
||
|
text-decoration: none;
|
||
7 years ago
|
|
||
2 years ago
|
&:hover { text-decoration: underline }
|
||
7 years ago
|
|
||
2 years ago
|
&.mention {
|
||
|
&:hover {
|
||
|
text-decoration: none;
|
||
7 years ago
|
|
||
2 years ago
|
span { text-decoration: underline }
|
||
7 years ago
|
}
|
||
|
}
|
||
|
}
|
||
7 years ago
|
|
||
|
.emojione {
|
||
|
width: 20px;
|
||
|
height: 20px;
|
||
|
margin: -5px 0 0;
|
||
|
}
|
||
7 years ago
|
}
|
||
7 years ago
|
|
||
2 years ago
|
.compose-form .compose-form__autosuggest-wrapper {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.compose-form .autosuggest-textarea,
|
||
|
.compose-form .autosuggest-input {
|
||
7 years ago
|
position: relative;
|
||
5 years ago
|
width: 100%;
|
||
7 years ago
|
|
||
6 years ago
|
label {
|
||
|
.autosuggest-textarea__textarea {
|
||
7 years ago
|
display: block;
|
||
|
box-sizing: border-box;
|
||
|
margin: 0;
|
||
4 years ago
|
border: 0;
|
||
7 years ago
|
border-radius: 4px 4px 0 0;
|
||
|
padding: 10px 32px 0 10px;
|
||
|
width: 100%;
|
||
|
min-height: 100px;
|
||
|
outline: 0;
|
||
7 years ago
|
color: $inverted-text-color;
|
||
7 years ago
|
background: $simple-background-color;
|
||
|
font-size: 14px;
|
||
|
font-family: inherit;
|
||
|
resize: none;
|
||
6 years ago
|
scrollbar-color: initial;
|
||
|
|
||
5 years ago
|
&::placeholder {
|
||
|
color: $dark-text-color;
|
||
|
}
|
||
|
|
||
6 years ago
|
&::-webkit-scrollbar {
|
||
|
all: unset;
|
||
|
}
|
||
7 years ago
|
|
||
4 years ago
|
&:focus {
|
||
|
outline: 0;
|
||
|
}
|
||
|
|
||
|
@include single-column('screen and (max-width: 630px)') {
|
||
|
font-size: 16px;
|
||
|
}
|
||
7 years ago
|
|
||
7 years ago
|
@include limited-single-column('screen and (max-width: 600px)') {
|
||
|
height: 100px !important; // prevent auto-resize textarea
|
||
|
resize: vertical;
|
||
|
}
|
||
7 years ago
|
}
|
||
7 years ago
|
}
|
||
7 years ago
|
}
|
||
7 years ago
|
|
||
2 years ago
|
.compose-form__textarea-icons {
|
||
7 years ago
|
display: block;
|
||
|
position: absolute;
|
||
|
top: 29px;
|
||
|
right: 5px;
|
||
|
bottom: 5px;
|
||
|
overflow: hidden;
|
||
|
|
||
|
& > .textarea_icon {
|
||
|
display: block;
|
||
|
margin: 2px 0 0 2px;
|
||
|
width: 24px;
|
||
|
height: 24px;
|
||
7 years ago
|
color: $lighter-text-color;
|
||
7 years ago
|
font-size: 18px;
|
||
|
line-height: 24px;
|
||
|
text-align: center;
|
||
|
opacity: .8;
|
||
|
}
|
||
|
}
|
||
|
|
||
6 years ago
|
.autosuggest-textarea__suggestions-wrapper {
|
||
|
position: relative;
|
||
|
height: 0;
|
||
|
}
|
||
|
|
||
6 years ago
|
.autosuggest-textarea__suggestions {
|
||
7 years ago
|
display: block;
|
||
|
position: absolute;
|
||
|
box-sizing: border-box;
|
||
|
top: 100%;
|
||
|
border-radius: 0 0 4px 4px;
|
||
|
padding: 6px;
|
||
|
width: 100%;
|
||
7 years ago
|
color: $inverted-text-color;
|
||
7 years ago
|
background: $ui-secondary-color;
|
||
|
box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
|
||
|
font-size: 14px;
|
||
|
z-index: 99;
|
||
6 years ago
|
display: none;
|
||
|
}
|
||
7 years ago
|
|
||
6 years ago
|
.autosuggest-textarea__suggestions--visible {
|
||
|
display: block;
|
||
7 years ago
|
}
|
||
7 years ago
|
|
||
6 years ago
|
.autosuggest-textarea__suggestions__item {
|
||
7 years ago
|
padding: 10px;
|
||
|
cursor: pointer;
|
||
5 years ago
|
border-radius: 4px;
|
||
7 years ago
|
|
||
7 years ago
|
&:hover,
|
||
|
&:focus,
|
||
|
&:active,
|
||
7 years ago
|
&.selected { background: darken($ui-secondary-color, 10%) }
|
||
7 years ago
|
|
||
5 years ago
|
> .account,
|
||
|
> .emoji,
|
||
|
> .autosuggest-hashtag {
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
align-items: center;
|
||
|
justify-content: flex-start;
|
||
|
line-height: 18px;
|
||
|
font-size: 14px;
|
||
7 years ago
|
}
|
||
7 years ago
|
|
||
5 years ago
|
.autosuggest-hashtag {
|
||
|
justify-content: space-between;
|
||
|
|
||
5 years ago
|
&__name {
|
||
|
flex: 1 1 auto;
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
5 years ago
|
white-space: nowrap;
|
||
5 years ago
|
}
|
||
|
|
||
5 years ago
|
strong {
|
||
|
font-weight: 500;
|
||
|
}
|
||
5 years ago
|
|
||
|
&__uses {
|
||
|
flex: 0 0 auto;
|
||
|
text-align: right;
|
||
5 years ago
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
white-space: nowrap;
|
||
5 years ago
|
}
|
||
5 years ago
|
}
|
||
|
|
||
7 years ago
|
& > .account.small {
|
||
|
.display-name {
|
||
7 years ago
|
& > span { color: $lighter-text-color }
|
||
7 years ago
|
}
|
||
|
}
|
||
7 years ago
|
}
|
||
7 years ago
|
|
||
2 years ago
|
.compose-form__upload-wrapper {
|
||
6 years ago
|
overflow: hidden;
|
||
2 years ago
|
}
|
||
7 years ago
|
|
||
2 years ago
|
.compose-form__uploads-wrapper {
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
flex-wrap: wrap;
|
||
|
font-family: inherit;
|
||
|
padding: 5px;
|
||
|
overflow: hidden;
|
||
7 years ago
|
}
|
||
7 years ago
|
|
||
2 years ago
|
.compose-form__upload {
|
||
7 years ago
|
flex: 1 1 0;
|
||
|
margin: 5px;
|
||
|
min-width: 40%;
|
||
7 years ago
|
|
||
2 years ago
|
.compose-form__upload-thumbnail {
|
||
7 years ago
|
position: relative;
|
||
|
border-radius: 4px;
|
||
6 years ago
|
height: 140px;
|
||
7 years ago
|
width: 100%;
|
||
5 years ago
|
background-color: $base-shadow-color;
|
||
7 years ago
|
background-position: center;
|
||
|
background-size: cover;
|
||
|
background-repeat: no-repeat;
|
||
6 years ago
|
overflow: hidden;
|
||
7 years ago
|
|
||
|
& > .close { mix-blend-mode: difference }
|
||
|
}
|
||
7 years ago
|
|
||
6 years ago
|
.icon-button {
|
||
|
flex: 0 1 auto;
|
||
3 years ago
|
color: $secondary-text-color;
|
||
6 years ago
|
font-size: 14px;
|
||
|
font-weight: 500;
|
||
|
padding: 10px;
|
||
|
font-family: inherit;
|
||
|
|
||
|
&:hover,
|
||
|
&:focus,
|
||
|
&:active {
|
||
3 years ago
|
color: lighten($secondary-text-color, 7%);
|
||
6 years ago
|
}
|
||
|
}
|
||
|
|
||
3 years ago
|
&__warning {
|
||
|
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);
|
||
6 years ago
|
}
|
||
|
}
|
||
|
|
||
2 years ago
|
.compose-form__upload__actions {
|
||
3 years ago
|
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;
|
||
|
}
|
||
|
|
||
2 years ago
|
.upload-progress {
|
||
7 years ago
|
display: flex;
|
||
|
padding: 10px;
|
||
7 years ago
|
color: $darker-text-color;
|
||
7 years ago
|
overflow: hidden;
|
||
|
|
||
2 years ago
|
.fa {
|
||
7 years ago
|
font-size: 34px;
|
||
|
margin-right: 10px;
|
||
|
}
|
||
|
|
||
2 years ago
|
span {
|
||
|
display: block;
|
||
|
font-size: 12px;
|
||
|
font-weight: 500;
|
||
|
text-transform: uppercase;
|
||
|
}
|
||
|
}
|
||
7 years ago
|
|
||
2 years ago
|
.upload-progress__message {
|
||
|
flex: 1 1 auto;
|
||
|
}
|
||
7 years ago
|
|
||
2 years ago
|
.upload-progress__backdrop {
|
||
|
position: relative;
|
||
|
margin-top: 5px;
|
||
|
border-radius: 6px;
|
||
|
width: 100%;
|
||
|
height: 6px;
|
||
|
background: $ui-base-lighter-color;
|
||
|
}
|
||
|
|
||
|
.upload-progress__tracker {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
height: 6px;
|
||
|
border-radius: 6px;
|
||
|
background: $ui-highlight-color;
|
||
7 years ago
|
}
|
||
|
|
||
6 years ago
|
.compose-form__modifiers {
|
||
|
color: $inverted-text-color;
|
||
|
font-family: inherit;
|
||
|
font-size: 14px;
|
||
|
background: $simple-background-color;
|
||
|
}
|
||
|
|
||
2 years ago
|
.compose-form__buttons-wrapper {
|
||
7 years ago
|
padding: 10px;
|
||
|
background: darken($simple-background-color, 8%);
|
||
|
border-radius: 0 0 4px 4px;
|
||
7 years ago
|
height: 27px;
|
||
5 years ago
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
flex: 0 0 auto;
|
||
|
}
|
||
|
|
||
2 years ago
|
.compose-form__buttons {
|
||
5 years ago
|
display: flex;
|
||
6 years ago
|
flex: 0 0 auto;
|
||
7 years ago
|
|
||
2 years ago
|
& .icon-button,
|
||
|
& .text-icon-button {
|
||
7 years ago
|
display: inline-block;
|
||
|
box-sizing: content-box;
|
||
|
padding: 0 3px;
|
||
7 years ago
|
height: 27px;
|
||
7 years ago
|
line-height: 27px;
|
||
7 years ago
|
vertical-align: bottom;
|
||
7 years ago
|
}
|
||
7 years ago
|
|
||
7 years ago
|
& > hr {
|
||
|
display: inline-block;
|
||
|
margin: 0 3px;
|
||
|
border-width: 0 0 0 1px;
|
||
|
border-style: none none none solid;
|
||
|
border-color: transparent transparent transparent darken($simple-background-color, 24%);
|
||
|
padding: 0;
|
||
7 years ago
|
width: 0;
|
||
|
height: 27px;
|
||
7 years ago
|
background: transparent;
|
||
|
}
|
||
|
}
|
||
7 years ago
|
|
||
2 years ago
|
.character-counter__wrapper {
|
||
5 years ago
|
align-self: center;
|
||
|
margin-right: 4px;
|
||
|
}
|
||
|
|
||
2 years ago
|
.privacy-dropdown.active {
|
||
|
.privacy-dropdown__value {
|
||
|
background: $simple-background-color;
|
||
|
border-radius: 4px 4px 0 0;
|
||
|
box-shadow: 0 -4px 4px rgba($base-shadow-color, 0.1);
|
||
|
|
||
|
.icon-button {
|
||
7 years ago
|
transition: none;
|
||
7 years ago
|
}
|
||
2 years ago
|
|
||
|
&.active {
|
||
|
background: $ui-highlight-color;
|
||
|
|
||
|
.icon-button {
|
||
|
color: $primary-text-color;
|
||
6 years ago
|
}
|
||
|
}
|
||
7 years ago
|
}
|
||
2 years ago
|
|
||
|
&.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);
|
||
|
}
|
||
7 years ago
|
}
|
||
7 years ago
|
|
||
2 years ago
|
.privacy-dropdown__dropdown {
|
||
7 years ago
|
position: absolute;
|
||
|
border-radius: 4px;
|
||
|
box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
|
||
|
background: $simple-background-color;
|
||
|
overflow: hidden;
|
||
|
transform-origin: 50% 0;
|
||
|
}
|
||
7 years ago
|
|
||
2 years ago
|
.privacy-dropdown__option {
|
||
7 years ago
|
display: flex;
|
||
|
align-items: center;
|
||
7 years ago
|
padding: 10px;
|
||
7 years ago
|
color: $inverted-text-color;
|
||
7 years ago
|
cursor: pointer;
|
||
7 years ago
|
|
||
2 years ago
|
.privacy-dropdown__option__content {
|
||
7 years ago
|
flex: 1 1 auto;
|
||
7 years ago
|
color: $lighter-text-color;
|
||
7 years ago
|
|
||
7 years ago
|
&:not(:first-child) { margin-left: 10px }
|
||
7 years ago
|
|
||
7 years ago
|
strong {
|
||
7 years ago
|
display: block;
|
||
7 years ago
|
color: $inverted-text-color;
|
||
7 years ago
|
font-weight: 500;
|
||
7 years ago
|
}
|
||
|
}
|
||
|
|
||
7 years ago
|
&:hover,
|
||
|
&.active {
|
||
|
background: $ui-highlight-color;
|
||
|
color: $primary-text-color;
|
||
7 years ago
|
|
||
2 years ago
|
.privacy-dropdown__option__content {
|
||
7 years ago
|
color: $primary-text-color;
|
||
7 years ago
|
|
||
7 years ago
|
strong { color: $primary-text-color }
|
||
7 years ago
|
}
|
||
|
}
|
||
|
|
||
7 years ago
|
&.active:hover { background: lighten($ui-highlight-color, 4%) }
|
||
|
}
|
||
7 years ago
|
|
||
2 years ago
|
.compose-form__publish {
|
||
|
display: flex;
|
||
6 years ago
|
justify-content: flex-end;
|
||
2 years ago
|
min-width: 0;
|
||
6 years ago
|
flex: 0 0 auto;
|
||
2 years ago
|
column-gap: 5px;
|
||
7 years ago
|
|
||
2 years ago
|
.compose-form__publish-button-wrapper {
|
||
|
overflow: hidden;
|
||
|
padding-top: 10px;
|
||
7 years ago
|
|
||
2 years ago
|
button {
|
||
|
padding: 7px 10px;
|
||
|
text-align: center;
|
||
|
}
|
||
7 years ago
|
|
||
2 years ago
|
& > .side_arm {
|
||
|
width: 36px;
|
||
|
}
|
||
7 years ago
|
}
|
||
|
}
|
||
3 years ago
|
|
||
|
.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%);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|