moodle2.e-wsb.pl

Dark theme on moodle2.e-wsb.pl

当前为 2023-12-08 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==UserStyle==
@name         moodle2.e-wsb.pl
@version      20231208.21.01
@namespace    ?
@description Dark theme on moodle2.e-wsb.pl
==/UserStyle== */

@-moz-document domain("moodle2.e-wsb.pl") {
@layer { 
    /* dark theme */
    
    html, body, #page {
        background: #111 !important;
        color: white !important;
    }

    .h1, .h2, .h3, .h4, .h5, .h6, 
    h1, h2, h3, h4, h5, h6,
    .remui-changelog h1 {
        color: #ddd !important;
    }
    
    .dropdown-menu * {
        color: white !important;
    }
    
    .fa, [class^="fa-"], .media {
        color: white;
    }

    section,
    #page .section,
    #nav-drawer-container,
    .list-group-item,
    .dropdown-menu {
        background: #222 !important;
    }

    .site-menubar-footer a,
    .course-summaryitem,
    .btn:not(.btn-primary):not(.bg-transparent),
    .dropdown-item:is(:hover, :focus):not(:hover:focus) {
        background: #333 !important;
    }
    
    .dropdown-item:hover:focus {
        background: #444 !important;
    }
    
    .progress {
        background: #555 !important;
    }

    .site-menubar-footer * {
      color: white !important;
    }

    .course-summaryitem,
    .event-list-item[data-region="event-list-item"],
    .btn-outline-secondary {
        border: 1px solid #444 !important;
    }
    
    .btn.btn-outline-success {
        border-color: #336633 !important;
    }

    /* ui tweaks */

    .course-summaryitem {
        border-radius: 5px !important;
    }

    .course-summaryitem:not(:last-child) {
        margin-bottom: 5px !important;
    }

    .course-summaryitem .coursename, 
    .course-summaryitem .summary {
        margin-left: 5px !important;
    }
    
/*     .btn.btn-outline-success:not(.btn-primary):not(.bg-transparent) {
        background: #113311 !important;
        color: #eee !important;
    } */
}
}