From df58446f03092724a45748d12f94cbf39e81d4cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nil=C3=A9ane?= Date: Wed, 20 Dec 2023 02:24:15 +0100 Subject: [PATCH] Redesigned Content Warnings --- TangerineUI-cherry.css | 79 ++++++++++++++++++++++++++++++++++-------- TangerineUI-purple.css | 77 +++++++++++++++++++++++++++++++++------- TangerineUI.css | 77 +++++++++++++++++++++++++++++++++------- 3 files changed, 193 insertions(+), 40 deletions(-) diff --git a/TangerineUI-cherry.css b/TangerineUI-cherry.css index e40d41c..a59b8de 100644 --- a/TangerineUI-cherry.css +++ b/TangerineUI-cherry.css @@ -155,6 +155,8 @@ --icon-send: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0iI2ZmZmZmZiIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxwYXRoIGQ9Ik0yMTkuOTEsMTM0Ljg2LDUxLjkzLDIzMWE4LDgsMCwwLDEtMTEuNDQtOS42N2wzMS05MC43MWE3Ljg5LDcuODksMCwwLDAsMC01LjM4bC0zMS05MC40N2E4LDgsMCwwLDEsMTEuNDQtOS42N2wxNjgsOTUuODVBOCw4LDAsMCwxLDIxOS45MSwxMzQuODZaIiBvcGFjaXR5PSIwLjIiPjwvcGF0aD48cGF0aCBkPSJNMjIzLjg3LDExNGwtMTY4LTk1Ljg5QTE2LDE2LDAsMCwwLDMyLjkzLDM3LjMybDMxLDkwLjQ3YS40Mi40MiwwLDAsMCwwLC4xLjMuMywwLDAsMCwwLC4xbC0zMSw5MC42N0ExNiwxNiwwLDAsMCw0OCwyNDBhMTYuMTQsMTYuMTQsMCwwLDAsNy45Mi0yLjFsMTY3LjkxLTk2LjA1YTE2LDE2LDAsMCwwLC4wNS0yNy44OVpNNDgsMjI0bDAtLjA5TDc4LjE0LDEzNkgxMzZhOCw4LDAsMCwwLDAtMTZINzgu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wzMiwwLDEsMSwzMi0zMkEzMiwzMiwwLDAsMSwxMjgsMTYwWiI+PC9wYXRoPjwvc3ZnPg=="); } @media (prefers-color-scheme: dark) { :root { @@ -238,7 +240,9 @@ --icon-emoji-accent: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0iI2QwNWM4YSIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxwYXRoIGQ9Ik0yMjQsMTI4YTk1LjkxLDk1LjkxLDAsMCwxLTQuMjEsMjguMjFsLTYzLjU3LDYzLjU4QTk2LDk2LDAsMSwxLDIyNCwxMjhaIiBvcGFjaXR5PSIwLjIiPjwvcGF0aD48cGF0aCBkPSJNMTc0LjkyLDE1NmMtMTAuMjksMTcuNzktMjcuMzksMjgtNDYuOTIsMjhzLTM2LjYzLTEwLjItNDYuOTItMjhhOCw4LDAsMSwxLDEzLjg0LThjNy40NywxMi45MSwxOS4yMSwyMCwzMy4wOCwyMHMyNS42MS03LjEsMzMuMDgtMjBhOCw4LDAsMSwxLDEzLjg0LDhaTTIzMiwxMjhhMTA0LjM1LDEwNC4zNSwwLDAsMS00LjU2LDMwLjU2LDgsOCwwLDAsMS0yLDMuMzFsLTYzLjU3LDYzLjU3YTcuOSw3LjksMCwwLDEtMy4zLDJBMTA0LDEwNCwwLDEsMSwyMzIsMTI4Wm0tMTYsMGE4Ny44OSw4Ny44OSwwLDEsMC02NCw4NC42OUwyMTIuNjksMTUyQTg4LjA1LDg4LjA1LDAsMCwwLDIxNiwxMjhaTTkyLDEyMGExMiwxMiwwLDEsMC0xMi0xMkExMiwxMiwwLDAsMCw5MiwxMjBabTcyLTI0YTEyLDEyLDAsMSwwLDEyLDEyQTEyLDEyLDAsMCwwLDE2NCw5NloiPjwvcGF0aD48L3N2Zz4="); --icon-link: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3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uMjYsMTYyLjg4LDQ4LDEyOCw0OFM2MS40Myw2MS4yNiwzNi4zNCw4Ni4zNUMxNy41MSwxMDUuMTgsOSwxMjQsOC42OSwxMjQuNzZhOCw4LDAsMCwwLDAsNi41Yy4zNS43OSw4LjgyLDE5LjU3LDI3LjY1LDM4LjRDNjEuNDMsMTk0Ljc0LDkzLjEyLDIwOCwxMjgsMjA4czY2LjU3LTEzLjI2LDkxLjY2LTM4LjM0YzE4LjgzLTE4LjgzLDI3LjMtMzcuNjEsMjcuNjUtMzguNEE4LDgsMCwwLDAsMjQ3LjMxLDEyNC43NlpNMTI4LDE5MmMtMzAuNzgsMC01Ny42Ny0xMS4xOS03OS45My0zMy4yNUExMzMuNDcsMTMzLjQ3LDAsMCwxLDI1LDEyOCwxMzMuMzMsMTMzLjMzLDAsMCwxLDQ4LjA3LDk3LjI1QzcwLjMzLDc1LjE5LDk3LjIyLDY0LDEyOCw2NHM1Ny42NywxMS4xOSw3OS45MywzMy4yNUExMzMuNDYsMTMzLjQ2LDAsMCwxLDIzMS4wNSwxMjhDMjIzLjg0LDE0MS40NiwxOTIuNDMsMTkyLDEyOCwxOTJabTAtMTEyYTQ4LDQ4LDAsMSwwLDQ4LDQ4QTQ4LjA1LDQ4LjA1LDAsMCwwLDEyOCw4MFptMCw4MGEzMiwzMiwwLDEsMSwzMi0zMkEzMiwzMiwwLDAsMSwxMjgsMTYwWiI+PC9wYXRoPjwvc3ZnPg=="); } } .layout-multiple-columns { @@ -402,7 +406,9 @@ body.app-body { .detailed-status__action-bar .icon-close, .account__header__tabs__buttons .icon-close, .icon-sign-out, - .account__header__tabs__buttons .icon-undefined + .account__header__tabs__buttons .icon-undefined, + .icon-eye-slash, + .icon-eye ) path { display: none; @@ -456,7 +462,9 @@ body.app-body { .detailed-status__action-bar .icon-close, .account__header__tabs__buttons .icon-close, .icon-sign-out, - .account__header__tabs__buttons .icon-undefined + .account__header__tabs__buttons .icon-undefined, + .icon-eye-slash, + .icon-eye ) { background-repeat: no-repeat; background-size: 100%; @@ -767,6 +775,13 @@ body.app-body { .app-body .account__header__tabs__buttons .copied .icon-undefined { background-image: var(--icon-copied); } +.app-body .icon-eye-slash { + background-image: var(--icon-eye-shut); +} +.app-body .icon-eye { + background-image: var(--icon-eye-open); +} + @media screen and (max-width:1174px) { .app-body .navigation-panel .column-link .icon-home { @@ -1000,7 +1015,11 @@ body.app-body { border-radius: 8px; border-color: var(--color-accent-bg); color: var(--color-accent); - padding: 6px 8px; + padding: 4px 8px; + transition: border-color .2s; +} +.app-body .dropdown-button:hover { + border-color: var(--color-accent); } .app-body .dropdown-button.active { border-color: var(--color-accent); @@ -1933,7 +1952,7 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu color: var(--color-content-fg); } .app-body .status-card__author strong { - font-weight: 800; + font-weight: 500; } @media screen and (max-width:889px) { .app-body .status-card:not(.expanded) .status-card__image { @@ -1982,8 +2001,47 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu .app-body .status__content > p:first-child:has(.status__content__spoiler-link) { margin-bottom: 1px; } -.app-body .status__content > p:first-child:has(.status__content__spoiler-link) span { +.app-body .status__content > p:first-child:has(.status__content__spoiler-link) > span { font-weight: bold; + display: block; +} +.app-body :is(.reply-indicator__content, .status__content):not(:has(> .status__content__text--visible)) > p:first-child:has(.status__content__spoiler-link) + div { + display: none; +} +.app-body :is(.reply-indicator__content, .status__content):not(:has(> .status__content__text--visible)):has(> p:first-child .status__content__spoiler-link) + .media-gallery { + margin-top: 5px; +} +.app-body :is(.reply-indicator__content, .status__content) .status__content__spoiler-link { + background-color: var(--color-content-bg); + background-image: var(--icon-eye-shut); + background-repeat: no-repeat; + background-position: 7px center; + background-size: auto 18px; + border: 1px solid var(--color-lines); + border-radius: 8px; + text-transform: initial; + font-size: 12px; + line-height: 16px; + font-weight: 500; + color: var(--color-content-fg); + padding: 4px 8px 4px 30px; + margin: 5px 0 5px -4px; + vertical-align: middle; + transition: border-color .2s; +} +.app-body :is(.reply-indicator__content, .status__content) .status__content__spoiler-link:hover { + border-color: rgba(68, 74, 90, .6); +} +.app-body :is(.reply-indicator__content, .status__content):has(> .status__content__text--visible) .status__content__spoiler-link { + background-image: var(--icon-eye-open); +} +.app-body :is(.reply-indicator__content, .status__content) .status__content__spoiler-link { + color: var(--color-content-fg); +} +@media (prefers-color-scheme: dark) { + .app-body :is(.reply-indicator__content, .status__content) .status__content__spoiler-link:hover { + border-color: rgba(255, 255, 255, .3); + } } .app-body .icon-button.overlayed { background-color: #ffffff; @@ -4053,16 +4111,9 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu color: var(--color-accent); } .app-body .icon-button, -.app-body .icon-button.inverted, -.app-body .reply-indicator__content .status__content__spoiler-link, -.app-body .status__content .status__content__spoiler-link { +.app-body .icon-button.inverted { color: var(--color-content-fg); } -.app-body .reply-indicator__content .status__content__spoiler-link, -.app-body .status__content .status__content__spoiler-link { - background-color: var(--color-accent-bg); - border-radius: 8px; -} .app-body .account__header__tabs__buttons .icon-button { padding: 6px; border: 0; diff --git a/TangerineUI-purple.css b/TangerineUI-purple.css index c4d0210..b218ec9 100644 --- a/TangerineUI-purple.css +++ b/TangerineUI-purple.css @@ -155,6 +155,8 @@ --icon-send: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0iI2ZmZmZmZiIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxwYXRoIGQ9Ik0yMTkuOTEsMTM0Ljg2LDUxLjkzLDIzMWE4LDgsMCwwLDEtMTEuNDQtOS42N2wzMS05MC43MWE3Ljg5LDcuODksMCwwLDAsMC01LjM4bC0zMS05MC40N2E4LDgsMCwwLDEsMTEuNDQtOS42N2wxNjgsOTUuODVBOCw4LDAsMCwxLDIxOS45MSwxMzQuODZaIiBvcGFjaXR5PSIwLjIi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zMSwxMjQuNzZjLS4zNS0uNzktOC44Mi0xOS41OC0yNy42NS0zOC40MUMxOTQuNTcsNjEuMjYsMTYyLjg4LDQ4LDEyOCw0OFM2MS40Myw2MS4yNiwzNi4zNCw4Ni4zNUMxNy41MSwxMDUuMTgsOSwxMjQsOC42OSwxMjQuNzZhOCw4LDAsMCwwLDAsNi41Yy4zNS43OSw4LjgyLDE5LjU3LDI3LjY1LDM4LjRDNjEuNDMsMTk0Ljc0LDkzLjEyLDIwOCwxMjgsMjA4czY2LjU3LTEzLjI2LDkxLjY2LTM4LjM0YzE4LjgzLTE4LjgzLDI3LjMtMzcuNjEsMjcuNjUtMzguNEE4LDgsMCwwLDAsMjQ3LjMxLDEyNC43NlpNMTI4LDE5MmMtMzAuNzgsMC01Ny42Ny0xMS4xOS03OS45My0zMy4yNUExMzMuNDcsMTMzLjQ3LDAsMCwxLDI1LDEyOCwxMzMuMzMsMTMzLjMzLDAsMCwxLDQ4LjA3LDk3LjI1QzcwLjMzLDc1LjE5LDk3LjIyLDY0LDEyOCw2NHM1Ny42NywxMS4xOSw3OS45MywzMy4yNUExMzMuNDYsMTMzLjQ2LDAsMCwxLDIzMS4wNSwxMjhDMjIzLjg0LDE0MS40NiwxOTIuNDMsMTkyLDEyOCwxOTJabTAtMTEyYTQ4LDQ4LDAsMSwwLDQ4LDQ4QTQ4LjA1LDQ4LjA1LDAsMCwwLDEyOCw4MFptMCw4MGEzMiwzMiwwLDEsMSwzMi0zMkEzMiwzMiwwLDAsMSwxMjgsMTYwWiI+PC9wYXRoPjwvc3ZnPg=="); } } .layout-multiple-columns { @@ -402,7 +406,9 @@ body.app-body { .detailed-status__action-bar .icon-close, .account__header__tabs__buttons .icon-close, .icon-sign-out, - .account__header__tabs__buttons .icon-undefined + .account__header__tabs__buttons .icon-undefined, + .icon-eye-slash, + .icon-eye ) path { display: none; @@ -456,7 +462,9 @@ body.app-body { .detailed-status__action-bar .icon-close, .account__header__tabs__buttons .icon-close, .icon-sign-out, - .account__header__tabs__buttons .icon-undefined + .account__header__tabs__buttons .icon-undefined, + .icon-eye-slash, + .icon-eye ) { background-repeat: no-repeat; background-size: 100%; @@ -767,6 +775,13 @@ body.app-body { .app-body .account__header__tabs__buttons .copied .icon-undefined { background-image: var(--icon-copied); } +.app-body .icon-eye-slash { + background-image: var(--icon-eye-shut); +} +.app-body .icon-eye { + background-image: var(--icon-eye-open); +} + @media screen and (max-width:1174px) { .app-body .navigation-panel .column-link .icon-home { @@ -1000,7 +1015,11 @@ body.app-body { border-radius: 8px; border-color: var(--color-accent-bg); color: var(--color-accent); - padding: 6px 8px; + padding: 4px 8px; + transition: border-color .2s; +} +.app-body .dropdown-button:hover { + border-color: var(--color-accent); } .app-body .dropdown-button.active { border-color: var(--color-accent); @@ -1933,7 +1952,7 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu color: var(--color-content-fg); } .app-body .status-card__author strong { - font-weight: 800; + font-weight: 500; } @media screen and (max-width:889px) { .app-body .status-card:not(.expanded) .status-card__image { @@ -1982,8 +2001,47 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu .app-body .status__content > p:first-child:has(.status__content__spoiler-link) { margin-bottom: 1px; } -.app-body .status__content > p:first-child:has(.status__content__spoiler-link) span { +.app-body .status__content > p:first-child:has(.status__content__spoiler-link) > span { font-weight: bold; + display: block; +} +.app-body :is(.reply-indicator__content, .status__content):not(:has(> .status__content__text--visible)) > p:first-child:has(.status__content__spoiler-link) + div { + display: none; +} +.app-body :is(.reply-indicator__content, .status__content):not(:has(> .status__content__text--visible)):has(> p:first-child .status__content__spoiler-link) + .media-gallery { + margin-top: 5px; +} +.app-body :is(.reply-indicator__content, .status__content) .status__content__spoiler-link { + background-color: var(--color-content-bg); + background-image: var(--icon-eye-shut); + background-repeat: no-repeat; + background-position: 7px center; + background-size: auto 18px; + border: 1px solid var(--color-lines); + border-radius: 8px; + text-transform: initial; + font-size: 12px; + line-height: 16px; + font-weight: 500; + color: var(--color-content-fg); + padding: 4px 8px 4px 30px; + margin: 5px 0 5px -4px; + vertical-align: middle; + transition: border-color .2s; +} +.app-body :is(.reply-indicator__content, .status__content) .status__content__spoiler-link:hover { + border-color: rgba(68, 74, 90, .6); +} +.app-body :is(.reply-indicator__content, .status__content):has(> .status__content__text--visible) .status__content__spoiler-link { + background-image: var(--icon-eye-open); +} +.app-body :is(.reply-indicator__content, .status__content) .status__content__spoiler-link { + color: var(--color-content-fg); +} +@media (prefers-color-scheme: dark) { + .app-body :is(.reply-indicator__content, .status__content) .status__content__spoiler-link:hover { + border-color: rgba(255, 255, 255, .3); + } } .app-body .icon-button.overlayed { background-color: #ffffff; @@ -4053,16 +4111,9 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu color: var(--color-accent); } .app-body .icon-button, -.app-body .icon-button.inverted, -.app-body .reply-indicator__content .status__content__spoiler-link, -.app-body .status__content .status__content__spoiler-link { +.app-body .icon-button.inverted { color: var(--color-content-fg); } -.app-body .reply-indicator__content .status__content__spoiler-link, -.app-body .status__content .status__content__spoiler-link { - background-color: var(--color-accent-bg); - border-radius: 8px; -} .app-body .account__header__tabs__buttons .icon-button { padding: 6px; border: 0; diff --git a/TangerineUI.css b/TangerineUI.css index ce5accf..5f9c2ac 100644 --- a/TangerineUI.css +++ b/TangerineUI.css @@ -155,6 +155,8 @@ --icon-send: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0iI2ZmZmZmZiIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxwYXRoIGQ9Ik0yMTkuOTEsMTM0Ljg2LDUxLjkzLDIzMWE4LDgsMCwwLDEtMTEuNDQtOS42N2wzMS05MC43MWE3Ljg5LDcuODksMCwwLDAsMC01LjM4bC0zMS05MC40N2E4LDgsMCwwLDEsMTEuNDQtOS42N2wxNjgsOTU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OS41OC0yNy42NS0zOC40MUMxOTQuNTcsNjEuMjYsMTYyLjg4LDQ4LDEyOCw0OFM2MS40Myw2MS4yNiwzNi4zNCw4Ni4zNUMxNy41MSwxMDUuMTgsOSwxMjQsOC42OSwxMjQuNzZhOCw4LDAsMCwwLDAsNi41Yy4zNS43OSw4LjgyLDE5LjU3LDI3LjY1LDM4LjRDNjEuNDMsMTk0Ljc0LDkzLjEyLDIwOCwxMjgsMjA4czY2LjU3LTEzLjI2LDkxLjY2LTM4LjM0YzE4LjgzLTE4LjgzLDI3LjMtMzcuNjEsMjcuNjUtMzguNEE4LDgsMCwwLDAsMjQ3LjMxLDEyNC43NlpNMTI4LDE5MmMtMzAuNzgsMC01Ny42Ny0xMS4xOS03OS45My0zMy4yNUExMzMuNDcsMTMzLjQ3LDAsMCwxLDI1LDEyOCwxMzMuMzMsMTMzLjMzLDAsMCwxLDQ4LjA3LDk3LjI1QzcwLjMzLDc1LjE5LDk3LjIyLDY0LDEyOCw2NHM1Ny42NywxMS4xOSw3OS45MywzMy4yNUExMzMuNDYsMTMzLjQ2LDAsMCwxLDIzMS4wNSwxMjhDMjIzLjg0LDE0MS40NiwxOTIuNDMsMTkyLDEyOCwxOTJabTAtMTEyYTQ4LDQ4LDAsMSwwLDQ4LDQ4QTQ4LjA1LDQ4LjA1LDAsMCwwLDEyOCw4MFptMCw4MGEzMiwzMiwwLDEsMSwzMi0zMkEzMiwzMiwwLDAsMSwxMjgsMTYwWiI+PC9wYXRoPjwvc3ZnPg=="); } } .layout-multiple-columns { @@ -402,7 +406,9 @@ body.app-body { .detailed-status__action-bar .icon-close, .account__header__tabs__buttons .icon-close, .icon-sign-out, - .account__header__tabs__buttons .icon-undefined + .account__header__tabs__buttons .icon-undefined, + .icon-eye-slash, + .icon-eye ) path { display: none; @@ -456,7 +462,9 @@ body.app-body { .detailed-status__action-bar .icon-close, .account__header__tabs__buttons .icon-close, .icon-sign-out, - .account__header__tabs__buttons .icon-undefined + .account__header__tabs__buttons .icon-undefined, + .icon-eye-slash, + .icon-eye ) { background-repeat: no-repeat; background-size: 100%; @@ -767,6 +775,13 @@ body.app-body { .app-body .account__header__tabs__buttons .copied .icon-undefined { background-image: var(--icon-copied); } +.app-body .icon-eye-slash { + background-image: var(--icon-eye-shut); +} +.app-body .icon-eye { + background-image: var(--icon-eye-open); +} + @media screen and (max-width:1174px) { .app-body .navigation-panel .column-link .icon-home { @@ -1000,7 +1015,11 @@ body.app-body { border-radius: 8px; border-color: var(--color-accent-bg); color: var(--color-accent); - padding: 6px 8px; + padding: 4px 8px; + transition: border-color .2s; +} +.app-body .dropdown-button:hover { + border-color: var(--color-accent); } .app-body .dropdown-button.active { border-color: var(--color-accent); @@ -1933,7 +1952,7 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu color: var(--color-content-fg); } .app-body .status-card__author strong { - font-weight: 800; + font-weight: 500; } @media screen and (max-width:889px) { .app-body .status-card:not(.expanded) .status-card__image { @@ -1982,8 +2001,47 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu .app-body .status__content > p:first-child:has(.status__content__spoiler-link) { margin-bottom: 1px; } -.app-body .status__content > p:first-child:has(.status__content__spoiler-link) span { +.app-body .status__content > p:first-child:has(.status__content__spoiler-link) > span { font-weight: bold; + display: block; +} +.app-body :is(.reply-indicator__content, .status__content):not(:has(> .status__content__text--visible)) > p:first-child:has(.status__content__spoiler-link) + div { + display: none; +} +.app-body :is(.reply-indicator__content, .status__content):not(:has(> .status__content__text--visible)):has(> p:first-child .status__content__spoiler-link) + .media-gallery { + margin-top: 5px; +} +.app-body :is(.reply-indicator__content, .status__content) .status__content__spoiler-link { + background-color: var(--color-content-bg); + background-image: var(--icon-eye-shut); + background-repeat: no-repeat; + background-position: 7px center; + background-size: auto 18px; + border: 1px solid var(--color-lines); + border-radius: 8px; + text-transform: initial; + font-size: 12px; + line-height: 16px; + font-weight: 500; + color: var(--color-content-fg); + padding: 4px 8px 4px 30px; + margin: 5px 0 5px -4px; + vertical-align: middle; + transition: border-color .2s; +} +.app-body :is(.reply-indicator__content, .status__content) .status__content__spoiler-link:hover { + border-color: rgba(68, 74, 90, .6); +} +.app-body :is(.reply-indicator__content, .status__content):has(> .status__content__text--visible) .status__content__spoiler-link { + background-image: var(--icon-eye-open); +} +.app-body :is(.reply-indicator__content, .status__content) .status__content__spoiler-link { + color: var(--color-content-fg); +} +@media (prefers-color-scheme: dark) { + .app-body :is(.reply-indicator__content, .status__content) .status__content__spoiler-link:hover { + border-color: rgba(255, 255, 255, .3); + } } .app-body .icon-button.overlayed { background-color: #ffffff; @@ -4053,16 +4111,9 @@ div[tabindex="-1"] + div[tabindex="-1"] > .status__wrapper > .status-reply.statu color: var(--color-accent); } .app-body .icon-button, -.app-body .icon-button.inverted, -.app-body .reply-indicator__content .status__content__spoiler-link, -.app-body .status__content .status__content__spoiler-link { +.app-body .icon-button.inverted { color: var(--color-content-fg); } -.app-body .reply-indicator__content .status__content__spoiler-link, -.app-body .status__content .status__content__spoiler-link { - background-color: var(--color-accent-bg); - border-radius: 8px; -} .app-body .account__header__tabs__buttons .icon-button { padding: 6px; border: 0;