MDN Editor (Gray Toolbox)

paints the MDN Editor right and left toolboxes and the comment tool to the gray color

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

/* ==UserStyle==
@name           MDN Editor (Gray Toolbox)
@namespace      almaceleste
@version        0.1.3
@description    paints the MDN Editor right and left toolboxes and the comment tool to the gray color
@author         almaceleste (https://almaceleste.github.io)
@license        AGPL-3.0-or-later; http://www.gnu.org/licenses/agpl.txt

@homepageURL    https://greatest.deepsurf.us/en/scripts/402636-mdn-editor-gray-toolbox
@homepageURL    https://openusercss.org/theme/5eb0aee87e7df90c001f8a9c
@homepageURL    https://userstyles.org/styles/182308
@homepageURL    https://github.com/almaceleste/userstyles
@supportURL     https://github.com/almaceleste/userstyles/issues

@preprocessor   uso
@var select     background-color 'background color' {
    'deepdarkgray': '#111',
    'darkgray': '#222',
    'deepgray*': '#333',
    'dimgray': '#696969',
    'gray': '#808080'
}
@var select     foreground-color 'foreground color' [
    'black',
    'dimgray',
    'gray',
    'lightgray',
    'whitesmoke*'
]
==/UserStyle== */

@-moz-document regexp('https://wiki\\.developer\\.mozilla\\.org/.*\\$edit(#.*)?') {
    #content-fields > .approved > header,
    #page-comment {
        background-color: /*[[background-color]]*/ !important;
    }

    #content-fields > .approved > header > h3,
    #page-comment > h3 {
        color: /*[[foreground-color]]*/ !important;
        font-family: sans-serif;
    }

    .cke_combo_button,
    .cke_toolgroup,
    .cke_top,
    .cke_bottom {
        background-color: /*[[background-color]]*/ !important;
        background-image: none !important;
        box-shadow: none !important;
    }
    
    .cke_button_label,
    .cke_combo_text,
    a.cke_path_item, 
    span.cke_path_empty {
        color: /*[[foreground-color]]*/ !important;
        text-shadow: none !important;
    }
    .cke_button span:not(#cke_16_label),
    .cke_button_icon span {
        filter: drop-shadow(0 0 1px /*[[foreground-color]]*/) drop-shadow(0 0 1px /*[[foreground-color]]*/) drop-shadow(0 0 1px /*[[foreground-color]]*/) !important;
    }
}