您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Carbon theme in Proton Mail is beautiful but not complete, so i fix this.
当前为
- /* ==UserStyle==
- @name Proton Mail Carbon Editor Theme
- @description Carbon theme in Proton Mail is beautiful but not complete, so i fix this.
- @version 1.3.4
- @author BreatFR
- @namespace https://gitlab.com/breatfr
- @homepageURL https://gitlab.com/breatfr/proton-mail
- @supportURL https://discord.gg/Q8KSHzdBxs
- @license AGPL-3.0-or-later; https://www.gnu.org/licenses/agpl-3.0.txt
- @preprocessor stylus
- @var checkbox hidelabels "Hide Labels" 1
- @var checkbox hideless "Hide Less toggle" 1
- @var checkbox hidetips "Hide tips" 1
- @var checkbox nospace "No space between all messages and folders" 1
- ==/UserStyle== */
- /* === Credits ===
- Website https://breat.fr
- facebook https://www.facebook.com/breatfroff
- mastodon https://mastodon.social/@breat_fr
- telegram https://t.me/breatfr
- vk https://vk.com/breatfroff
- X (twitter) https://x.com/breatfroff
- === Credits === */
- @-moz-document domain("account.proton.me"), domain("mail.proton.me") {
- if hidelabels {
- ul.unstyled.navigation-list > li:last-child {
- display: none;
- }
- ul.unstyled.navigation-list:last-child {
- padding-bottom: 0;
- }
- }
- if hideless {
- ul.unstyled.navigation-list > div:nth-of-type(5) {
- display: none;
- }
- }
- if hidetips {
- .tip-box {
- display: none;
- }
- }
- if nospace {
- ul.unstyled.navigation-list > li:nth-of-type(1) {
- margin-top: 0;
- }
- }
- /* Carbon mode editor */
- #proton-editor-container,
- #proton-editor-toggle-container,
- #proton-root,
- #proton-root *,
- #rooster-editor,
- #rooster-editor div,
- #rooster-editor p,
- .composer-content--rich-edition,
- .message-content,
- .message-iframe *,
- .protonmail_quote,
- blockquote div,
- blockquote * {
- background-color: var(--email-message-view-background-color) !important;
- color: var(--text-norm) !important;
- }
- blockquote {
- border-bottom-color: #444444 !important;
- border-left: 3px solid #444444 !important;
- border-right-color: #444444 !important;
- border-top-color: #444444 !important;
- }
- #ellipsis > svg {
- stroke: var(--text-norm) !important;
- }
- /* Signature color */
- .protonmail_signature_block-user,
- .protonmail_signature_block-user table div,
- .protonmail_signature_block-proton {
- color: var(--text-norm) !important;
- }
- /* Link color */
- #rooster-editor a,
- .protonmail_signature_block-user a,
- .protonmail_signature_block-proton a {
- color: #657ee4 !important;
- }
- /* Scrollbars */
- ::-webkit-scrollbar {
- width: 5px !important;
- }
- ::-webkit-scrollbar:horizontal {
- height: 5px !important;
- }
- ::-webkit-scrollbar-thumb {
- background: grey !important;
- }
- ::-webkit-scrollbar-thumb:hover {
- background: white !important;
- }
- }