Updated for 4.1.3

monster
clov 2023-07-31 09:23:50 +02:00
parent 2ded0858d9
commit 7117e3cb51
2 changed files with 286 additions and 283 deletions

View File

@ -1,7 +1,7 @@
/* ==UserStyle==
@name Deep Blue, Color Scheme for Mastodon
@namespace github.com/openstyles/stylus
@version 0.11.0
@version 0.15.0
@author Clovis Gauzy
@license BSD-4-Clause
@preprocessor less
@ -16,6 +16,10 @@
scrollbar-color: hsl(0, 0%, 20%) hsl(0, 0%, 8%);
.status__content {
scrollbar-color: lighten(@deep, 15%) hsl(0, 0%, 8%);
}
.reply-indicator__content, .status__content {
line-height: 1.2;
font-weight: 300;
@ -129,6 +133,7 @@
.reply-indicator__display-name,
.column-header__setting-btn:hover,
.setting-toggle__label, .column-settings__section,
.block-modal__container select, .confirmation-modal__container select, .mute-modal__container select, .report-modal__target select,
div {
color: hsl(0, 0%, 80%)
}
@ -239,7 +244,9 @@
.drawer__inner.darker,
.account,
.account__header__image,
.block-modal__action-bar {
.block-modal__action-bar,
.boost-modal__action-bar,
.confirmation-modal__action-bar,
background-color: hsl(0, 0%, 10%);
}
@ -276,7 +283,9 @@
.card__bar,
.page-header,
.privacy-dropdown__option,
.reply-indicator {
.reply-indicator,
.report-dialog-modal,
.actions-modal, .block-modal, .boost-modal, .compare-history-modal, .confirmation-modal, .mute-modal, .report-modal {
background-color: hsl(0, 0%, 15%);
}
@ -290,13 +299,15 @@
.focusable:focus,
.status-card:hover, a.status-card.compact:hover,
.muted .poll__chart,
.compose-form .autosuggest-textarea__suggestions__item.selected {
.compose-form .autosuggest-textarea__suggestions__item.selected,
.account__header__account-note textarea:focus {
background-color: hsl(0, 0%, 20%)
}
.poll__text input[type="text"],
.compose-form__poll-wrapper select,
.compose-form .autosuggest-textarea__textarea, .compose-form .spoiler-input__input {
.compose-form .autosuggest-textarea__textarea, .compose-form .spoiler-input__input,
.block-modal__container select, .confirmation-modal__container select, .mute-modal__container select, .report-modal__target select {
background-color: hsl(0, 0%, 27%)
}
@ -400,13 +411,21 @@
.account .account__display-name,
.text-icon-button.active,
.reply-indicator__content a,
.status__content a,
.trends__item__name a,
.muted .status__content a:hover, .muted .status__content a:active, .muted .status__content a:focus,
a.table-action-link, button.table-action-link {
color: @deep
}
.status__content a {
color: darken(@deep, 20%)
}
.status__content a span {
color: @deep
}
.column-header.active .column-header__icon {
text-shadow: 0 0 .75em lighten(@deep, 15%)
}
@ -427,17 +446,21 @@
.privacy-dropdown__option.active, .privacy-dropdown__option:hover,
privacy-dropdown__option.active:hover,
.button.logo-button:active, .button.logo-button:focus, .button.logo-button:hover,
.reply-indicator__content .status__content__spoiler-link:hover, .status__content .status__content__spoiler-link:hover {
.reply-indicator__content .status__content__spoiler-link:hover, .status__content .status__content__spoiler-link:hover,
.react-toggle--checked .react-toggle-track {
background-color: @deep;
}
.simple_form .block-button:disabled, .simple_form .button:disabled, .simple_form button:disabled,
.button:disabled {
.button:disabled,
.react-toggle--checked:is(:hover, :focus-within):not(.react-toggle--disabled) .react-toggle-track
{
background-color: darken(@deep, 35%);
}
.simple_form .block-button:disabled:hover, .simple_form .button:disabled:hover, .simple_form button:disabled:hover,
.button:disabled:hover {
.button:disabled:hover,
.react-toggle:is(:hover, :focus-within):not(.react-toggle--disabled) .react-toggle-track {
background-color: darken(@deep, 30%);
}
@ -476,7 +499,8 @@
}
.account__header__content a:hover, .account__header__content a:active, .account__header__content a:focus,
.status__content a:hover, .status__content a:active, .status__content a:focus {
.status__content a:hover, .status__content a:active, .status__content a:focus,
.account__header__account-note textarea {
color: lighten(@deep, 15%);
}

View File

@ -1,39 +1,21 @@
/* ==UserStyle==
@name Quick Tweak Mastodon
@namespace github.com/openstyles/stylus
@version 0.11.0
@version 0.15.0
@author Clovis Gauzy
@license BSD-4-Clause
@preprocessor less
@updateURL https://dev.clov.fr/clov/UserStyles/src/branch/monster/Mastodon/QuickTweak.css
@var text pouet "Pouet, toot, whatever…" Pouat !
==/UserStyle== */
@-moz-document regexp(".*") {
/*
body {
html:has(#mastodon),
body:has(#mastodon) {
font-size: 150%;
}
body.with-modals--active {
margin-right: 1em;
}
body.error .dialog {
margin: 1.5em;
}
body.error .dialog h1 {
font-size: 1.75em;
line-height: 1.15
}
body.app-body.layout-multiple-columns {
width: auto;
height: auto;
top: 0;
bottom: 0;
left: 0;
right: 0;
overflow: hidden!important;
} */
#mastodon {
font-size: 1rem;
@ -58,12 +40,12 @@
}
.column {
flex: 1;
min-width: 21em;
min-width: 22em;
}
.drawer {
flex: .75;
min-width: 16em;
max-width: 21em;
min-width: 18em;
max-width: 22em;
}
.container-alt {
@ -82,44 +64,11 @@
padding: .5em;
min-height: 0;
}
/*
.embed .status__avatar, .public-layout .status__avatar,
.status__avatar {
float: left;
position: relative;
left: 0;
top: 0;
height: 3.75em;
width: 3.75em;
background-size: cover
}
.account__avatar {
width: 1em;
height: 1em!important;
}
.embed .account__avatar-overlay, .public-layout .account__avatar-overlay,
.account__avatar-overlay {
height: 3.8em;
width: 3.8em;
}
.embed .account__avatar-overlay-base, .public-layout .account__avatar-overlay-base,
.account__avatar-overlay-base {
height: 3.2em;
width: 3.2em;
background-size: cover
}*/
.embed .account__avatar-overlay-base, .public-layout .account__avatar-overlay-base,
.account__avatar-overlay-overlay {
/*
z-index: 10;
top: -1.15em;
left: .33em;
height: 1.25em;
width: 1.25em;
background-size: cover;
right: .25em; */
opacity: .6;
/* border-radius: .33em!important; */
}
.muted .status__avatar {
@ -299,6 +248,24 @@
border-radius: 0!important;
}
.account__header__bio .account__header__fields dl {
padding: 0;
}
.status .status__info abbr:before{
content: "📝";
padding-left: .5em;
}
.fa.fa-globe:before {
content: "🌍";
}
.fa.fa-lock:before {
content: "🔒";
}
.fa.fa-unlock:before {
content: "🔓";
}
}
@ -308,5 +275,17 @@
max-height: calc(100vh - 30em);
}
button.button--block::after {
content: var(--pouet);
}
.status__content {
display: block!important;
max-height: 21em;
overflow-y: visible;
scrollbar-width: auto;
}
}