1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Follow up tweaking of admin UI changes part 2 (#31268)

This commit is contained in:
Michael Stanclift 2024-08-08 04:21:54 -05:00 committed by GitHub
parent ac9040b76b
commit 176ba984d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 7 additions and 28 deletions

View file

@ -496,11 +496,11 @@ html {
.compose-form .autosuggest-textarea__textarea,
.compose-form__highlightable,
.autosuggest-textarea__suggestions,
.search__input,
.search__popout,
.emoji-mart-search input,
.language-dropdown__dropdown .emoji-mart-search input,
// .strike-card,
.poll__option input[type='text'] {
background: darken($ui-base-color, 10%);
}

View file

@ -7,7 +7,7 @@
background: $ui-base-color;
color: $darker-text-color;
border-radius: 4px;
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
font-size: 17px;
line-height: normal;
margin: 0;

View file

@ -403,7 +403,7 @@ body > [data-popper-placement] {
&__suggestions {
box-shadow: var(--dropdown-shadow);
background: $ui-base-color;
border: 1px solid lighten($ui-base-color, 14%);
border: 1px solid var(--background-border-color);
border-radius: 0 0 4px 4px;
color: $secondary-text-color;
font-size: 14px;

View file

@ -441,11 +441,6 @@ code {
border-radius: 4px;
padding: 10px 16px;
&::placeholder {
color: $dark-text-color;
opacity: 1;
}
&:invalid {
box-shadow: none;
}
@ -607,8 +602,7 @@ code {
inset-inline-end: 3px;
top: 1px;
padding: 10px;
padding-bottom: 9px;
font-size: 16px;
font-size: 14px;
color: $dark-text-color;
font-family: inherit;
pointer-events: none;
@ -626,11 +620,6 @@ code {
inset-inline-end: 0;
bottom: 1px;
width: 5px;
background-image: linear-gradient(
to right,
rgba(darken($ui-base-color, 10%), 0),
darken($ui-base-color, 10%)
);
}
}
}

View file

@ -35,16 +35,6 @@ body.rtl {
direction: rtl;
}
.simple_form .label_input__append {
&::after {
background-image: linear-gradient(
to left,
rgba(darken($ui-base-color, 10%), 0),
darken($ui-base-color, 10%)
);
}
}
.simple_form select {
background: $ui-base-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(lighten($ui-base-color, 12%))}'/></svg>")

View file

@ -273,8 +273,8 @@ a.table-action-link {
}
}
&:nth-child(even) {
background: var(--background-color);
&:last-child {
border-radius: 0 0 4px 4px;
}
&__content {

View file

@ -217,7 +217,7 @@
display: flex;
align-items: center;
justify-content: space-between;
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
border-radius: 4px;
padding: 15px;
text-decoration: none;