| gio | 1bf0080 | 2024-08-17 12:31:41 +0400 | [diff] [blame] | 1 | [data-theme="light"], |
| 2 | :root:not([data-theme="dark"]) { |
| 3 | --pico-font-family: Hack, monospace; |
| 4 | --pico-font-size: 14px; |
| 5 | --pico-header-height: 56px; |
| 6 | --pico-border-radius: 0; |
| 7 | --pico-background-color: #d6d6d6; |
| 8 | --pico-form-element-border-color: #3a3a3a; |
| 9 | --pico-form-element-active-border-color: #7f9f7f; |
| 10 | --pico-form-element-focus-color: #7f9f7f; |
| 11 | --pico-form-element-background-color: #d6d6d6; |
| 12 | --pico-form-element-active-background-color: #d6d6d6; |
| 13 | --pico-form-element-selected-background-color: #d6d6d6; |
| 14 | --pico-dropdown-color: #3a3a3a; |
| 15 | --pico-dropdown-background-color: #d6d6d6; |
| 16 | --pico-dropdown-border-color: #7f9f7f; |
| 17 | --pico-dropdown-hover-background-color: #7f9f7f; |
| 18 | --pico-primary: #7f9f7f; |
| 19 | --pico-primary-background: #7f9f7f; |
| 20 | --pico-primary-hover: #d4888d; |
| 21 | --pico-primary-hover-background: #d4888d; |
| 22 | --pico-grid-spacing-horizontal: 0; |
| 23 | --search-background-color: #d6d6d6; |
| 24 | --pico-color: #3a3a3a; |
| 25 | --pico-form-element-color: #3a3a3a; |
| 26 | --pico-primary-inverse: #3a3a3a; |
| 27 | --pico-tooltip-background-color: #3a3a3a; |
| 28 | --pico-tooltip-color: #d6d6d6; |
| 29 | --pico-icon-color: #3a3a3a; |
| 30 | --icon-width: 50px; |
| 31 | --icon-height: 50px; |
| 32 | --icon-margin-left: 6px; |
| 33 | --icon-margin-right: 6px; |
| 34 | --app-details-padding-right: calc( |
| 35 | var(--icon-margin-right) + var(--icon-margin-left) + var(--icon-width) |
| 36 | ); |
| 37 | h3, |
| 38 | p { |
| 39 | --pico-color: #3a3a3a; |
| 40 | } |
| 41 | label { |
| 42 | color: var(--pico-color); |
| 43 | } |
| 44 | input:is([type="checkbox"]) { |
| 45 | --pico-form-element-focus-color: none; |
| 46 | --pico-border-color: var(--pico-color); |
| 47 | } |
| 48 | [data-tooltip]:not(a, button, input) { |
| 49 | text-decoration: none; |
| 50 | cursor: pointer; |
| 51 | } |
| 52 | #menu-nav nav ul li a { |
| 53 | --pico-primary: #3a3a3a; |
| 54 | } |
| 55 | .icon { |
| 56 | color: var(--pico-icon-color); |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | @media (max-width: 768px) { |
| 61 | body > main { |
| 62 | grid-template-columns: 9rem 1fr !important; |
| 63 | column-gap: 0 !important; |
| 64 | } |
| 65 | |
| 66 | .container-fluid { |
| 67 | padding-left: 1px; |
| 68 | padding-right: 1px; |
| 69 | margin-left: 0; |
| 70 | margin-right: 0; |
| 71 | } |
| 72 | |
| 73 | #content { |
| 74 | width: 100% !important; |
| 75 | } |
| 76 | |
| 77 | .app-details { |
| 78 | padding-right: 22px !important; |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | body > header { |
| 83 | z-index: 4; |
| 84 | position: relative; |
| 85 | } |
| 86 | |
| 87 | html { |
| 88 | scroll-behavior: smooth; |
| 89 | overflow-x: hidden; |
| 90 | } |
| 91 | |
| 92 | body > header.is-fixed-above-lg + main { |
| 93 | --pico-main-top-offset: var(--pico-header-height); |
| 94 | } |
| 95 | |
| 96 | body > header.is-fixed-above-lg { |
| 97 | height: var(--pico-header-height); |
| 98 | display: flex; |
| 99 | align-items: center; |
| 100 | justify-content: center; |
| 101 | z-index: 2; |
| 102 | position: sticky; |
| 103 | top: 0; |
| 104 | -webkit-backdrop-filter: blur(1rem); |
| 105 | backdrop-filter: blur(1rem); |
| 106 | background-color: var(--pico-form-element-border-color); |
| 107 | transition: border-top-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out; |
| 108 | } |
| 109 | |
| 110 | body > main > aside > nav.is-sticky-above-lg { |
| 111 | position: sticky; |
| 112 | top: calc( |
| 113 | var(--pico-main-top-offset) + var(--pico-block-spacing-vertical) / 2 |
| 114 | ); |
| 115 | max-height: calc(var(--max-height) - var(--pico-spacing)); |
| 116 | overflow: auto; |
| 117 | transition: top var(--pico-transition); |
| 118 | transition-delay: 50ms; |
| 119 | } |
| 120 | |
| 121 | body > main { |
| 122 | display: grid; |
| 123 | grid-template-rows: auto auto 1fr; |
| 124 | grid-template-columns: 11rem calc(100% - 11rem); |
| 125 | grid-template-areas: "menu content"; |
| 126 | column-gap: 2rem; |
| 127 | margin-top: 1rem; |
| 128 | padding: 0; |
| 129 | } |
| 130 | |
| 131 | header > h1, |
| 132 | header > svg { |
| 133 | margin-bottom: 2.5px; |
| 134 | color: white; |
| 135 | } |
| 136 | |
| 137 | header > svg { |
| 138 | margin-right: var(--pico-spacing); |
| 139 | } |
| 140 | |
| 141 | .search-bar { |
| 142 | max-width: 616px; |
| 143 | width: 100%; |
| 144 | } |
| 145 | |
| 146 | article { |
| 147 | margin: 0.3em; |
| 148 | margin-bottom: 0.3em; |
| 149 | display: flex; |
| 150 | padding: 6px !important; |
| 151 | position: relative; |
| 152 | align-items: flex-start; |
| 153 | } |
| 154 | |
| 155 | .icon { |
| 156 | margin: 0 var(--icon-margin-right) 0 var(--icon-margin-left); |
| 157 | flex-shrink: 0; |
| 158 | /* --pico-primary: #3a3a3a; |
| 159 | color: var(--pico-color); */ |
| 160 | } |
| 161 | |
| 162 | .app-details { |
| 163 | display: flex; |
| 164 | flex-direction: column; |
| 165 | flex-grow: 1; |
| 166 | position: relative; |
| 167 | padding-right: var(--app-details-padding-right); |
| 168 | } |
| 169 | |
| 170 | .app-name-container { |
| 171 | display: flex; |
| 172 | align-items: center; |
| 173 | justify-content: space-between; |
| 174 | } |
| 175 | |
| 176 | .app { |
| 177 | margin-bottom: 2px; |
| 178 | margin-top: 0px; |
| 179 | margin-left: 5px; |
| 180 | font-weight: bold; |
| 181 | font-size: 16px; |
| 182 | } |
| 183 | |
| 184 | .app-link:hover h3.app, |
| 185 | .app-link:hover .icon { |
| 186 | color: var(--pico-primary-hover); |
| 187 | } |
| 188 | |
| 189 | .app-link:hover .app { |
| 190 | text-decoration: underline; |
| 191 | } |
| 192 | .primary:hover { |
| 193 | text-decoration: underline; |
| 194 | color: var(--pico-primary-hover); |
| 195 | } |
| 196 | |
| 197 | .description { |
| 198 | margin: 0 0 3px 5px; |
| 199 | } |
| 200 | |
| 201 | .instance-count { |
| 202 | display: flex; |
| 203 | justify-content: center; |
| 204 | align-items: center; |
| 205 | width: 22px; |
| 206 | height: 22px; |
| 207 | border-radius: 50%; |
| 208 | font-weight: bold; |
| 209 | border: 2px solid var(--pico-color) !important; |
| 210 | position: absolute; |
| 211 | top: 10px; |
| 212 | right: 10px; |
| 213 | transform: translate(50%, -50%); |
| 214 | } |
| 215 | |
| 216 | pre { |
| 217 | white-space: pre-wrap; |
| 218 | /* Since CSS 2.1 */ |
| 219 | white-space: -moz-pre-wrap; |
| 220 | /* Mozilla, since 1999 */ |
| 221 | white-space: -pre-wrap; |
| 222 | /* Opera 4-6 */ |
| 223 | white-space: -o-pre-wrap; |
| 224 | /* Opera 7 */ |
| 225 | word-wrap: break-word; |
| 226 | /* Internet Explorer 5.5+ */ |
| 227 | background-color: transparent; |
| 228 | } |
| 229 | |
| 230 | .hidden { |
| 231 | visibility: hidden; |
| 232 | } |
| 233 | |
| 234 | .toast { |
| 235 | position: fixed; |
| 236 | z-index: 999; |
| 237 | bottom: 10px; |
| 238 | } |
| 239 | |
| 240 | .app-link { |
| 241 | padding-top: 0px; |
| 242 | padding-bottom: 2px; |
| 243 | text-decoration: none; |
| 244 | width: 100%; |
| 245 | padding-right: 0; |
| 246 | } |
| 247 | |
| 248 | nav li { |
| 249 | padding-top: 0; |
| 250 | padding-bottom: 0; |
| 251 | } |
| 252 | |
| 253 | nav hr { |
| 254 | border-color: var(--pico-color); |
| 255 | } |
| 256 | |
| 257 | input[type="search"] { |
| 258 | margin-bottom: 0; |
| 259 | height: 100%; |
| 260 | } |
| 261 | |
| 262 | .page { |
| 263 | display: flex; |
| 264 | align-items: center; |
| 265 | flex-direction: column; |
| 266 | } |
| 267 | |
| 268 | .card-content { |
| 269 | width: 100%; |
| 270 | } |
| 271 | |
| 272 | .app-card { |
| 273 | margin-bottom: 6px; |
| 274 | } |
| 275 | |
| 276 | nav { |
| 277 | height: 100%; |
| 278 | } |
| 279 | |
| 280 | #config-form label { |
| 281 | width: auto !important; |
| 282 | padding: 0 5px 0 5px; |
| 283 | } |
| 284 | |
| 285 | #config-form > label:nth-of-type(2) label { |
| 286 | padding-left: 0; |
| 287 | padding-right: 0; |
| 288 | } |
| 289 | |
| 290 | input[type="checkbox"]:checked { |
| 291 | border-color: var(--pico-form-element-focus-color) !important; |
| 292 | } |
| 293 | |
| 294 | #menu-nav { |
| 295 | grid-area: menu; |
| 296 | } |
| 297 | |
| 298 | #content { |
| 299 | grid-area: content; |
| 300 | width: calc(100% - 11rem); |
| 301 | } |
| 302 | |
| 303 | main > aside#menu-nav nav { |
| 304 | margin-bottom: var(--pico-spacing); |
| 305 | margin-block: calc(var(--pico-outline-width) * -1); |
| 306 | padding-block: var(--pico-outline-width); |
| 307 | overflow: auto; |
| 308 | } |
| 309 | |
| 310 | #menu-nav nav ul:first-of-type { |
| 311 | margin: 0; |
| 312 | padding: 0; |
| 313 | } |
| 314 | |
| 315 | .progress { |
| 316 | padding-left: 0; |
| 317 | } |
| 318 | |
| 319 | .progress ul { |
| 320 | padding-left: 15px; |
| 321 | } |
| 322 | |
| 323 | .progress li { |
| 324 | list-style-type: none; |
| 325 | } |
| 326 | |
| 327 | .primary { |
| 328 | color: #7f9f7f; |
| 329 | } |