Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Compose form
- * Why are the buttons inside? Why?
- */
- .compose-form__highlightable {
- border: 0;
- background: 0;
- }
- .compose-form .autosuggest-textarea__textarea,
- .compose-form .spoiler-input__input {
- border: 1px solid var(--background-border-color);
- border-radius: 4px;
- }
- .compose-form__footer {
- display: grid;
- grid-template-areas:
- "buttons buttons"
- "dropdowns submit";
- padding: 0;
- }
- .compose-form__buttons {
- grid-area: buttons;
- }
- .compose-form__dropdowns {
- grid-area: dropdowns;
- }
- .compose-form__submit {
- grid-area: submit;
- }
- .compose-form__actions {
- display: contents;
- }
- .compose-form__uploads {
- padding: 0;
- }
- .compose-form .spoiler-input__input {
- border-radius: 4px 4px 0 0;
- }
- .compose-form .spoiler-input + .autosuggest-textarea .autosuggest-textarea__textarea {
- border-radius: 0 0 4px 4px;
- border-top: 0;
- }
- .compose-form .spoiler-input .autosuggest-input {
- border-bottom: 0;
- }
- .compose-form__poll .poll__option {
- padding: 0;
- }
- .emoji-picker-dropdown__menu {
- margin-left: 5px;
- }
- .compose-form__footer [title$="privacy"] span {
- clip: rect(0 0 0 0);
- clip-path: inset(50%);
- height: 1px;
- overflow: hidden;
- position: absolute;
- white-space: nowrap;
- width: 1px;
- }
- /* gradient scrollbar */
- ::-webkit-scrollbar-thumb {
- background: linear-gradient(to bottom, rgba(195,101,191,1) 0%, rgba(0,48,255,1) 100%);
- ); !important;
- }
- /* Changes the 'Show anyway' and 'Hide post' text under Content Warnings to instead be a
- * 'show/hide' toggle.
- */
- .content-warning .link-button span {
- font-size:0;
- }
- .content-warning .link-button span::after {
- content: "Show/Hide";
- font-size: 14px;
- display: inline;
- }
- /* Changes the alert symbol (A ! inside a triangle) for adding a content warning to a toot to instead just read 'CW' */
- .compose-form__buttons button[aria-label$="content warning"] svg {
- display: none;
- }
- .compose-form__buttons button[aria-label$="content warning"]::before {
- display: flex;
- content: 'CW';
- min-width: 20px;
- min-height: 20px;
- align-items: center;
- justify-content: center;
- }
- /* Shrinks column width and padding to recover lost horizontal space*/
- .column {
- width: 350px;
- }
- .drawer {
- width: 335px;
- }
- .column, .drawer {
- padding-inline-end: 2px;
- padding-inline-start: 2px;
- }
- .notification-group {
- padding: 16px 10px;
- }
- .notification-ungrouped {
- padding: 16px 10px;
- }
- /* Changes the colour of the line separating posts to make it more clearly visible where one post ends and another begins */
- .notification-group, .notification-ungrouped, .status {
- border-bottom: 1px solid #5353bf;
- }
- /* When default server theme is set to dark, changes the entire background colour to make it lighter, and the background
- colour of colums to make them lighter than the main body, to reduce stark contrast */
- body.theme-default {
- --background-color: #20202f;
- }
- body.theme-default .column, body.theme-default .drawer {
- background: #252537;
- }
- /* Changes the 'Post' button to read 'Toot!' instead, and increases the button size */
- .compose-form__actions .button {
- font-size: 0;
- width: 75px;
- height: 35px;
- }
- .compose-form__actions .button::before {
- font-size: 15px;
- content: 'Toot!';
- }
- /* Changes the background of columns in the Light theme to be light grey instead of white, to reduce stark contrast */
- body.theme-mastodon-light {
- background: #fbfbfb;
- }
- /* Changes the 'hazard' strip bordering content warnings to be a rainbow gradient instead */
- .content-warning::before,
- .content-warning::after,
- .compose-form .spoiler-input__border {
- background: linear-gradient(
- to bottom,
- rgba(255, 0, 0, 1) 0%,
- rgba(255, 154, 0, 1) 10%,
- rgba(208, 222, 33, 1) 20%,
- rgba(79, 220, 74, 1) 30%,
- rgba(63, 218, 216, 1) 40%,
- rgba(47, 201, 226, 1) 50%,
- rgba(28, 127, 238, 1) 60%,
- rgba(95, 21, 242, 1) 70%,
- rgba(186, 12, 248, 1) 80%,
- rgba(251, 7, 217, 1) 90%,
- rgba(255, 0, 0, 1) 100%
- );
- }
- /* Removes the 'hazard' strip from the account warning notification when viewing a report */
- .account-card__warning-badge {
- background: none;
- }
Advertisement
Add Comment
Please, Sign In to add comment