Improvements to mastodon's coloring (#182)

* applying more colors to uncolored elements

- Fix coloring for detailed posts while also removing the coloring for focused posts
- Fix coloring for tab settings
- Apply accent color for switchers, pillbars and text boxes
- Fix compose placeholder coloring

* more coloring changes

- apply accent color to radio boxes and graphs
- fix coloring for announcements
- tweak colors from cards on posts

* fix user profile coloring

* color literally details
This commit is contained in:
A user 2023-08-26 19:40:25 -03:00 committed by GitHub
parent 32a9b0a8e2
commit 924bef5028
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,7 +199,7 @@ domain("piaille.fr") {
border-bottom: none; border-bottom: none;
} }
.navigation-panel { .navigation-panel, .column-link{
background: transparent; background: transparent;
} }
@ -277,12 +277,33 @@ domain("piaille.fr") {
.column-header__back-button, .column-header__back-button,
.navigation-bar strong, .navigation-bar strong,
.reply-indicator__content a.unhandled-link, .reply-indicator__content a.unhandled-link,
.status__content a.unhandled-link { .status__content a.unhandled-link,
.announcements__item__content a.unhandled-link,
.reactions-bar__item.active .reactions-bar__item__count,
.column-header.active .column-header__icon{
color: @accent-color; color: @accent-color;
} }
.conversation__unread,
.react-toggle--checked .react-toggle-track, .react-toggle--checked:hover .react-toggle-track,
.pillbar-button:not([disabled]).active, .pillbar-button:not([disabled]).active:focus, .pillbar-button:not([disabled]).active:hover,
.radio-button__input.checked{
background-color: @accent-color;
}
.reactions-bar__item.active {
background-color: rgba(@accent-color, .25);
}
.trends__item__sparkline path:last-child {
stroke: @accent-color !important;
}
.trends__item__sparkline path:first-child {
fill: rgba(@accent-color, .25) !important;
}
.icon-button, .icon-button,
.notification__message .fa { .notification__message .fa{
color: @surface2; color: @surface2;
} }
@ -305,7 +326,6 @@ domain("piaille.fr") {
.column-header__back-button, .column-header__back-button,
.column-back-button, .column-back-button,
.drawer__header, .drawer__header,
.account__section-headline,
.notification__filter-bar, .notification__filter-bar,
.account__section-headline button, .account__section-headline button,
.notification__filter-bar button, .notification__filter-bar button,
@ -319,22 +339,50 @@ domain("piaille.fr") {
.account__header__fields, .account__header__fields,
.account__header__fields dt, .account__header__fields dt,
.account__header__fields dd:not(.account__header__bio .account__header__fields dd), .account__header__fields dd:not(.account__header__bio .account__header__fields dd),
.focusable:focus, .admin-wrapper .sidebar ul .simple-navigation-active-leaf .selected,
.admin-wrapper .sidebar ul .simple-navigation-active-leaf .selected { .explore__search-header,
.column-inline-form,
.follow_requests-unlocked_explanation,
.conversation--unread,
.column-header__collapsible-inner,
.announcements,
.status-card__image,
.account__header__bar{
border-color: @crust; border-color: @crust;
background: @surface0; background: @surface0;
} }
.account__section-headline {
background: @mantle;
border-color: @crust
}
.focusable:focus {
background: unset;
}
.admin-wrapper .sidebar ul a:hover, .admin-wrapper .sidebar ul a:hover,
.admin-wrapper .sidebar ul .simple-navigation-active-leaf a:hover { .admin-wrapper .sidebar ul .simple-navigation-active-leaf a:hover,
.detailed-status, .detailed-status__action-bar{
background: @surface0; background: @surface0;
} }
.detailed-status__wrapper > div:first-child .detailed-status {
border-top: none;
}
.dismissable-banner { .dismissable-banner {
border-color: @surface1; border-color: @surface1;
background: @base; background: @base;
} }
.column-header__wrapper.active {
box-shadow: 0 1px 0 rgba(@accent-color,.3);
}
.column-header__wrapper.active::before {
background: radial-gradient(ellipse,rgba(@accent-color,.23) 0,rgba(99,100,255,0) 60%);
}
.theme-mastodon-light .account__header__bar, .theme-mastodon-light .account__header__bar,
.theme-mastodon-light .column-header__back-button, .theme-mastodon-light .column-header__back-button,
.account__header__bio .account__header__fields dl, .account__header__bio .account__header__fields dl,
@ -352,11 +400,11 @@ domain("piaille.fr") {
} }
.public-layout .public-account-header__tabs__tabs .counter::after { .public-layout .public-account-header__tabs__tabs .counter::after,
border-color: @accent-color; .public-layout .public-account-header__tabs__tabs .counter.active::after ,
} .react-toggle--checked .react-toggle-thumb,
.radio-button__input.checked,
.public-layout .public-account-header__tabs__tabs .counter.active::after { .account__action-bar__tab.active{
border-color: @accent-color; border-color: @accent-color;
} }
@ -461,7 +509,8 @@ domain("piaille.fr") {
} }
.drawer__inner, .drawer__inner,
.drawer__inner__mastodon { .drawer__inner__mastodon,
.explore__search-header .search__input{
background-color: @base; background-color: @base;
} }
@ -474,7 +523,7 @@ domain("piaille.fr") {
} }
.compose-form .autosuggest-textarea__textarea::placeholder { .compose-form .autosuggest-textarea__textarea::placeholder {
color: @subtext0 color: @subtext0 !important
} }
.compose-form .compose-form__buttons-wrapper { .compose-form .compose-form__buttons-wrapper {
@ -582,7 +631,8 @@ domain("piaille.fr") {
color: @text !important; color: @text !important;
} }
.table > thead > tr > th { .table > thead > tr > th,
.setting-text:active, .setting-text:focus{
border-color: @accent-color !important; border-color: @accent-color !important;
} }