1
0
mirror of https://github.com/nileane/TangerineUI-for-Mastodon synced 2024-11-24 15:16:11 +09:00

Search icon now uses color-accent

This commit is contained in:
Niléane 2023-07-20 12:53:12 +02:00
parent 30542dc259
commit b18d399302
No known key found for this signature in database
2 changed files with 10 additions and 16 deletions

View File

@ -1728,20 +1728,16 @@ body.layout-single-column {
} }
.layout-single-column .compose-panel .fa-search, .layout-single-column .compose-panel .fa-search,
.layout-single-column .compose-panel .fa.active { .layout-single-column .compose-panel .fa.active {
opacity: 1;
right: 15px; right: 15px;
top: 15px; top: 15px;
color: var(--color-accent);
}
.layout-single-column .compose-panel .fa-search.active {
opacity: 1;
} }
.layout-single-column .compose-panel .fa-times-circle.active { .layout-single-column .compose-panel .fa-times-circle.active {
top: 16px; top: 16px;
} }
.layout-single-column .compose-panel .fa-search::before {
content: " ";
}
.layout-single-column .compose-panel .fa-search.active::before,
.layout-single-column .fa-search.column-header__icon::before {
content: var(--icon-search);
}
.layout-single-column .explore__search-results { .layout-single-column .explore__search-results {
background-color: var(--color-content-bg); background-color: var(--color-content-bg);
border-radius: 7px; border-radius: 7px;
@ -1797,6 +1793,7 @@ body.layout-single-column {
} }
.layout-single-column i.fa-search, .layout-single-column i.fa-search,
.layout-single-column i.fa.active { .layout-single-column i.fa.active {
color: var(--color-accent);
transform: scale(1); transform: scale(1);
top: 13px; top: 13px;
} }

View File

@ -1728,20 +1728,16 @@ body.layout-single-column {
} }
.layout-single-column .compose-panel .fa-search, .layout-single-column .compose-panel .fa-search,
.layout-single-column .compose-panel .fa.active { .layout-single-column .compose-panel .fa.active {
opacity: 1;
right: 15px; right: 15px;
top: 15px; top: 15px;
color: var(--color-accent);
}
.layout-single-column .compose-panel .fa-search.active {
opacity: 1;
} }
.layout-single-column .compose-panel .fa-times-circle.active { .layout-single-column .compose-panel .fa-times-circle.active {
top: 16px; top: 16px;
} }
.layout-single-column .compose-panel .fa-search::before {
content: " ";
}
.layout-single-column .compose-panel .fa-search.active::before,
.layout-single-column .fa-search.column-header__icon::before {
content: var(--icon-search);
}
.layout-single-column .explore__search-results { .layout-single-column .explore__search-results {
background-color: var(--color-content-bg); background-color: var(--color-content-bg);
border-radius: 7px; border-radius: 7px;
@ -1797,6 +1793,7 @@ body.layout-single-column {
} }
.layout-single-column i.fa-search, .layout-single-column i.fa-search,
.layout-single-column i.fa.active { .layout-single-column i.fa.active {
color: var(--color-accent);
transform: scale(1); transform: scale(1);
top: 13px; top: 13px;
} }