Skip to content

BaCa Premium by wouchan

Details

Authorwouchan

LicenseCC Zero

Categorybaca.ii.uj.edu.pl

Created

Updated

Size12 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

BaCa++

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           baca.ii.uj.edu.pl - 2/15/2023, 1:07:51 PM
@namespace      github.com/openstyles/stylus
@version        1.2.0
@description    A new userstyle
@author         Me
==/UserStyle== */
@-moz-document domain("baca.ii.uj.edu.pl") {
    @import url('https://mshaugh.github.io/nerdfont-webfonts/build/ubuntu-nerd-font.css');

    :root {
        --base: #1e1e2e;
        --mantle: #181825;
        --crust: #11111b;
        --text: #cdd6f4;
        --surface: #45475a;
        --green: #a6e3a1;
        --peach: #fab387;
        --blue: #89b4fa;
        --red: #f38ba8;
        --mauve: #cba6f7;
        --yellow: #f9e2af;
        --rosewater: #f5e0dc;
        --font-size: 14px;
    }

    body {
        background-color: var(--base);
        color: var(--text);
    }

    body,
    table td,
    select {
        font-family: Ubuntu Nerd Font, Arial Unicode MS, Arial, sans-serif;
        font-size: var(--font-size);
        font-weight: bold;
    }

    a,
    a:visited,
    a:hover,
    a:link,
    a:active {
        color: var(--rosewater);
    }

    .testerka {
        background-color: var(--base);
    }

    .testerka-menu a:link,
    .testerka-menu a:visited {
        color: var(--text);
    }

    .testerka-menu {
        width: 200px;
    }

    .testerka-srodek {
        width: 90%;
        margin: auto;
        margin-left: 0;
        display: flex;
    }

    .testerka-podmenu {
        background-color: var(--mantle);
        border: none;
        padding: 10px;
        border-radius: 5px;
        width: 100%;
    }

    .testerka-menuelem {
        background-color: var(--surface);
        margin: 5px;
        padding: 7px;
        border-radius: 5px;
    }

    .testerka-menutytul {
        background-color: transparent;
        border: none;
        border-radius: 5px;
        color: var(--text);
        width: 150px;
    }

    .testerka-header {
        margin: auto;
        border: none;
        width: 100%;
        padding: 20px;
        background-color: var(--mantle);
    }

    .testerka-table {
        margin: 5px;
        border: none;
        border-collapse: separate;
        border-spacing: 0 10px;
    }

    .testerka-table td {
        padding: 8px 10px;
    }

    .testerka-table td:first-child {
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
    }

    .testerka-table td:last-child {
        border-bottom-right-radius: 15px;
        border-top-right-radius: 15px;
    }

    .testerka-th td {
        background-color: var(--mantle);
        color: var(--text);
    }

    .testerka-table tr {
        background-color: transparent;
    }

    .testerka-table tr:not(.testerka-th,
    .testerka-th *) td {
        background-color: var(--surface);
    }

    .testerka-table tr.status_OK {
        background-color: var(--base);
    }

    .testerka-table tr.status_OK td {
        background-color: var(--green);
        color: var(--base);
    }

    .testerka-table tr.status_HEA {
        background-color: var(--base);
    }

    .testerka-table tr.status_HEA td {
        background-color: var(--mauve);
        color: var(--base);
    }

    .testerka-table tr.status_ANS {
        background-color: var(--base);
    }

    .testerka-table tr.status_ANS td {
        background-color: var(--red);
        color: var(--base);
    }

    .testerka-table tr.status_TLE {
        background-color: var(--base);
    }

    .testerka-table tr.status_TLE td {
        background-color: var(--red);
        color: var(--base);
    }

    .testerka-table tr.status_CMP {
        background-color: var(--base);
    }

    .testerka-table tr.status_CMP td {
        background-color: var(--red);
        color: var(--base);
    }

    .testerka-table tr.status_RTE {
        background-color: var(--base);
    }

    .testerka-table tr.status_RTE td {
        background-color: var(--red);
        color: var(--base);
    }

    .testerka-table tr.status_INT {
        background-color: var(--base);
    }

    .testerka-table tr.status_INT td {
        background-color: var(--blue);
        color: var(--base);
    }
    
    .testerka-table tr.status_WAIT {
        background-color: var(--base);
    }

    .testerka-table tr.status_WAIT td {
        background-color: var(--surface);
        color: var(--text);
    }
        
    .testerka-table tr.status_QUE {
        background-color: var(--base);
    }

    .testerka-table tr.status_QUE td {
        background-color: var(--surface);
        color: var(--text);
    }
    
    .testerka-table tr.status_REJ {
        background-color: var(--base);
    }

    .testerka-table tr.status_REJ td {
        background-color: var(--crust);
        color: var(--text);
    }

    .testerka-tresc {
        padding: 10px;
    }

    .testerka-logo {
        width: 170px;
        filter: invert(100%);
        margin-left: 25px;
    }

    .testerka-tytul {
        color: var(--text);
        text-align: left;
    }

    .testerka-footer {
        display: none;
    }

    .gwt-HTML {
        color: var(--text);
    }

    .gwt-Label {
        color: var(--text);
    }

    .gwt-TextBox {
        background-color: var(--crust);
        color: var(--text);
        border-radius: 5px;
        border: none;
    }

    .gwt-PasswordTextBox {
        background-color: var(--crust);
        color: var(--text);
        border-radius: 5px;
        border: none;
    }

    .gwt-ListBox {
        background-color: var(--surface);
        border-radius: 5px;
        color: var(--text);
        border: none;
    }

    .gwt-Button {
        font-size: medium;
        font-weight: bold;
        background: none;
        background-color: var(--surface);
        margin: 5px;
        border: none;
        border-radius: 5px;
        color: var(--text);
        padding: 5px;
    }

    .testerka-menu a[href="#NewsPanel"] {
        font-size: 0;
    }

    .testerka-menu a[href="#NewsPanel"]:after {
        font-size: var(--font-size);
        content: " Strona główna";
    }

    .testerka-menu a[href="#ProblemsPanel"] {
        font-size: 0;
    }

    .testerka-menu a[href="#ProblemsPanel"]:after {
        font-size: var(--font-size);
        content: " Zadania";
    }

    .testerka-menu a[href="#SendSubmit"] {
        font-size: 0;
    }

    .testerka-menu a[href="#SendSubmit"]:after {
        font-size: var(--font-size);
        content: " Wysyłanie rozwiązań";
    }

    .testerka-menu a[href="#ResultsPanel"] {
        font-size: 0;
    }

    .testerka-menu a[href="#ResultsPanel"]:after {
        font-size: var(--font-size);
        content: " Wyniki";
    }

    .testerka-menu a[href="#MyPoint"] {
        font-size: 0;
    }

    .testerka-menu a[href="#MyPoint"]:after {
        font-size: var(--font-size);
        content: " Moje punkty";
    }
    
    .testerka-menu a[href="#Ranking"] {
        font-size: 0;
    }

    .testerka-menu a[href="#Ranking"]:after {
        font-size: var(--font-size);
        content: " Rankingi";
    }

    .testerka-menu a[href="#SettingsPanel"] {
        font-size: 0;
    }

    .testerka-menu a[href="#SettingsPanel"]:after {
        font-size: var(--font-size);
        content: " Ustawienia";
    }

    .testerka-menu a[href="#ChangePassword"] {
        font-size: 0;
    }

    .testerka-menu a[href="#ChangePassword"]:after {
        font-size: var(--font-size);
        content: " Zmiana hasła";
    }

    .testerka-menu a[href="#LogoutPanel"] {
        font-size: 0;
    }

    .testerka-menu a[href="#LogoutPanel"]:after {
        font-size: var(--font-size);
        content: " Wyloguj";
    }
}
@-moz-document regexp(".*baca.ii.uj.edu.pl.*ProblemStatistics.*") {
    .testerka-table tr.status_OK td:first-child {
        font-size: 0;
    }

    .testerka-table tr.status_OK td:first-child:after {
        content: " program zaakceptowany";
        font-size: var(--font-size);
    }

    .testerka-table tr.status_HEA td:first-child {
        font-size: 0;
    }

    .testerka-table tr.status_HEA td:first-child:after {
        content: " brak nagłówka";
        font-size: var(--font-size);
    }

    .testerka-table tr.status_INT td:first-child {
        font-size: 0;
    }

    .testerka-table tr.status_INT td:first-child:after {
        content: " błąd wewnętrzny testerki";
        font-size: var(--font-size);
    }

    .testerka-table tr.status_ANS td:first-child {
        font-size: 0;
    }

    .testerka-table tr.status_ANS td:first-child:after {
        content: " zła odpowiedź";
        font-size: var(--font-size);
    }

    .testerka-table tr.status_TLE td:first-child {
        font-size: 0;
    }

    .testerka-table tr.status_TLE td:first-child:after {
        content: " przekroczony czas";
        font-size: var(--font-size);
    }

    .testerka-table tr.status_RTE td:first-child {
        font-size: 0;
    }

    .testerka-table tr.status_RTE td:first-child:after {
        content: " błąd wykonania";
        font-size: var(--font-size);
    }

    .testerka-table tr.status_CMP td:first-child {
        font-size: 0;
    }

    .testerka-table tr.status_CMP td:first-child:after {
        content: " błąd kompilacji";
        font-size: var(--font-size);
    }
}

@-moz-document regexp(".*baca.ii.uj.edu.pl.*ResultsPanel.*") {
    .testerka-table tr.status_OK td:nth-child(7) {
        font-size: 0;
    }

    .testerka-table tr.status_OK td:nth-child(7):after {
        content: " program zaakceptowany";
        font-size: var(--font-size);
    }

    ...

Reviews

No reviews yet.