/* ==UserStyle==
@name         moodle2.e-wsb.pl
@version 2.1
@namespace    ?
@description Dark theme on moodle2.e-wsb.pl
@downloadURL none
==/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,
    .media-body,
    .collection tr td, 
    .generaltable tr td,
    .collection tr th, 
    .generaltable tr th,
    .courseheaderbar {
        background: #222 !important;
        color: white !important;
    }

    .site-menubar-footer a,
    .course-summaryitem,
    .btn:not(.btn-primary):not(.bg-transparent),
    .dropdown-item:is(:hover, :focus):not(:hover:focus),
    .card, .card-body {
        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;
    }
    
    .courseheaderbar a {
        color: #34c !important;   
    }
    
    .courseheaderbar .nav-item a {
        background: unset !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;
    } */
}
}