Somme updates for Mastodon 4.*

monster
clov 2022-11-22 13:18:49 +01:00
parent 55e09f40e6
commit 8c0919b3ed
2 changed files with 62 additions and 28 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,19 +1,18 @@
/* ==UserStyle== /* ==UserStyle==
@name Quick Tweak Mastodon @name Quick Tweak Mastodon
@namespace github.com/openstyles/stylus @namespace github.com/openstyles/stylus
@version 0.10.1 @version 0.11.0
@author Clovis Gauzy @author Clovis Gauzy
@license BSD-4-Clause @license BSD-4-Clause
@preprocessor less @preprocessor less
@updateURL https://dev.clov.fr/clov/UserStyles/src/branch/monster/Mastodon/QuickTweak.css @updateURL https://dev.clov.fr/clov/UserStyles/src/branch/monster/Mastodon/QuickTweak.css
==/UserStyle== */ ==/UserStyle== */
@-moz-document regexp("^https:\\/\\/(switter\\.at|sinblr\\.com|social\\.tchncs\\.de|(travelpandas|mamot|diaspodon)\\.fr|(baraag|(music\\.)?pawoo)\\.net|friends\\.nico|framapiaf\\.org|(dissidents|hostux|humblr|octodon)\\.social|mstdn|maly\\.(fr|io|jp)|mastodon\\.(tedomum\\.net|xyz|social|technology|online))\\/.*") { @-moz-document regexp(".*") {
/*
body { body {
font-size: 1rem;
line-height: 1;
margin: 0;
padding: 0;
} }
body.with-modals--active { body.with-modals--active {
margin-right: 1em; margin-right: 1em;
@ -34,7 +33,13 @@
left: 0; left: 0;
right: 0; right: 0;
overflow: hidden!important; overflow: hidden!important;
} } */
#mastodon {
font-size: 1rem;
line-height: 1;
margin: 0;
padding: 0;
.ui { .ui {
overflow: auto; overflow: auto;
@ -47,11 +52,9 @@
} }
.column, .column,
.drawer { .drawer {
margin: 0;
padding: 0!important; padding: 0!important;
width: auto; width: auto;
margin: 0 1px;
} }
.column { .column {
flex: 1; flex: 1;
@ -72,12 +75,14 @@
height: auto; height: auto;
} }
.notification__message,
.status__prepend,
.embed .status, .public-layout .status, .embed .status, .public-layout .status,
.status { .status {
padding: .5em; padding: .5em;
min-height: 0; min-height: 0;
} }
/*
.embed .status__avatar, .public-layout .status__avatar, .embed .status__avatar, .public-layout .status__avatar,
.status__avatar { .status__avatar {
float: left; float: left;
@ -88,6 +93,10 @@
width: 3.75em; width: 3.75em;
background-size: cover background-size: cover
} }
.account__avatar {
width: 1em;
height: 1em!important;
}
.embed .account__avatar-overlay, .public-layout .account__avatar-overlay, .embed .account__avatar-overlay, .public-layout .account__avatar-overlay,
.account__avatar-overlay { .account__avatar-overlay {
height: 3.8em; height: 3.8em;
@ -98,18 +107,21 @@
height: 3.2em; height: 3.2em;
width: 3.2em; width: 3.2em;
background-size: cover background-size: cover
} }*/
.embed .account__avatar-overlay-base, .public-layout .account__avatar-overlay-base, .embed .account__avatar-overlay-base, .public-layout .account__avatar-overlay-base,
.account__avatar-overlay-overlay { .account__avatar-overlay-overlay {
/*
z-index: 10;
top: -1.15em; top: -1.15em;
left: .33em; left: .33em;
height: 1.5em; height: 1.25em;
width: 1.5em; width: 1.25em;
right: .25em;
background-size: cover; background-size: cover;
opacity: .8; right: .25em; */
border-radius: .33em!important; opacity: .6;
/* border-radius: .33em!important; */
} }
.muted .status__avatar { .muted .status__avatar {
opacity: 1; opacity: 1;
} }
@ -262,6 +274,10 @@
position: initial position: initial
} }
.compose-form {
padding: .25rem;
}
.compose-form .autosuggest-textarea__textarea { .compose-form .autosuggest-textarea__textarea {
padding: .5em; padding: .5em;
} }
@ -282,5 +298,15 @@
border: none; border: none;
border-radius: 0!important; border-radius: 0!important;
} }
} }
.emoji-mart-scroll {
height: auto;
max-height: calc(100vh - 30em);
}
}