summaryrefslogtreecommitdiff
path: root/wwwroot/styles/global.css
blob: 7ed4479e3036c910bd18775aca2ee56f45d01d03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
@import url('data-table.css');

:root {
    --col-accent-pri:             #0aa;
    --col-accent-pri-hl:          #0cc;
    --col-error-pri:              #ffaa00;
    --col-checksum-verified-pri:  #8dff76;
    --col-bg:                     #222;
    --col-dialog-bg:              #333;
    --col-navbar-bg:              var(--col-accent-pri);
    --col-button-pri:             var(--col-accent-pri);
    --col-button-pri-hl:          var(--col-accent-pri-hl);
    --col-button-disabled:        #777;
    --col-button-disabled-bg:     #444;
    --col-button-sec:             #555;
    --col-button-sec-hl:          #777;
    --col-button-sec-disabled:    #555;
    --col-button-sec-disabled-bg: #000;
    --col-button-warning:         #ff4848;
    --col-button-warning-hl:      #ff9999;
    --col-hr:                     #888;
    --col-scrollbar:              #666;
    --col-scrollbar-hover:        #aaaaaa;
    --col-switch-bg:              var(--col-bg);
    --col-switch-fg:              #fff;
    --col-switch-bg-hl:           var(--col-accent-pri);
    --col-progbar-fg:             var(--col-accent-pri);
    --col-progbar-bg:             #777;

    --size-default-gap:           30px;
}

::selection {
    background: var(--col-accent-pri);
}

body {
    background:     var(--col-bg);
    color:          white;
    display:        flex;
    flex-direction: column;
    font-family:    'Trebuchet MS', 'Lucida Sans Unicode';
    height:         100dvh;
    margin:         0;
    overflow:       hidden;
    width:          100dvw;
}

a {
    color:           var(--col-accent-pri);
    text-decoration: none;
}

@media (hover: hover) {
    a:hover {
        filter: brightness(1.5);
    }
}

a::selection {
    background: var(--col-accent-pri);
    color:      #fff;
}

a.nondecorated {
    color: #fff;
}

@media (hover: hover) {
    a.nondecorated:hover {
        color: #999;
    }
}

code {
    background:    #222;
    border-radius: 10px;
    box-sizing:    border-box;
    font-family:   'Lucida Console';
    font-size:     8pt;
    overflow-y:    auto;
    padding:       20px;
    white-space:   pre-line;
}

input, textarea {
    background:    rgba(0, 0, 0, 0);
    border-radius: 5px;
    border:        1px solid #aaa;
    box-sizing:    border-box;
    color:         white;
    margin-bottom: 10px;
}

input {
    height: 25px !important;
}

/* necessary for use inside flex containers */
hr {
    width: 100%;
}

::-webkit-scrollbar {
    width:  10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background:    var(--col-scrollbar);
    border-radius: 10px;
}

@media (hover: hover) {
    ::-webkit-scrollbar-thumb:hover {
        background: var(--col-scrollbar-hover);
    }
}

::-webkit-scrollbar-corner {
    opacity: 0;
}