diff options
| author | ivar <i@oiee.no> | 2025-10-19 23:41:23 +0200 |
|---|---|---|
| committer | ivar <i@oiee.no> | 2025-10-19 23:41:23 +0200 |
| commit | 3f4c0720e1e3421431e7baa20882a4a4512a7fab (patch) | |
| tree | 734ca81d7d0841d8863e3f523ebba14c282dc681 /src/wwwroot/styles/index.css | |
| download | fagprove-master.tar.xz fagprove-master.zip | |
Diffstat (limited to 'src/wwwroot/styles/index.css')
| -rw-r--r-- | src/wwwroot/styles/index.css | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/src/wwwroot/styles/index.css b/src/wwwroot/styles/index.css new file mode 100644 index 0000000..88e1d2a --- /dev/null +++ b/src/wwwroot/styles/index.css @@ -0,0 +1,102 @@ +:root { + --background: #f6f7f8; + --color: #444f54; +} + +* { + box-sizing: border-box; +} + +[disabled], +.disabled { + pointer-events: none; + filter: opacity(0.4); +} + +html, +body { + color: var(--color); + background-color: var(--background) !important; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; +} +html.ios, +body.ios { + overflow-x: hidden; + -webkit-overflow-scrolling: touch; + height: initial !important; +} + +body { + height: unset !important; +} + +.k-grid-norecords-template, +.k-grid-norecords { + font-size: 26px; + display: flex; + justify-content: center; + height: 75px; + align-items: center; + margin: auto; + -webkit-user-select: none; + user-select: none; + background-color: #fff; + background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E"); +} + +.link { + color: cornflowerblue; + cursor: pointer; +} + +:root { + --top-navbar-height: 53px; + --sidebar-width: 10rem; +} + +#navbar { + height: var(--top-navbar-height); + max-height: var(--top-navbar-height); +} +#navbar .item.image { + max-width: 250px; + max-height: 100%; + padding: 5px !important; +} +#navbar .item.image img { + width: 100%; + height: 100%; + object-fit: contain; +} + +#sidebar { + margin-top: var(--top-navbar-height) !important; + max-height: calc(100% - var(--top-navbar-height)) !important; + height: calc(100% - var(--top-navbar-height)) !important; +} + +main { + margin-top: var(--top-navbar-height); +} + +@media (min-width: 768px) { + #sidebar { + visibility: visible; + transform: translate3d(0, 0, 0); + width: var(--sidebar-width) !important; + } + + main { + padding: 15px; + margin-left: var(--sidebar-width); + } + + #sidebar-menu-toggler { + display: none !important; + } +} +.k-calendar-view .k-state-disabled { + color: white; + background-color: red; + border-radius: 0 !important; +}
\ No newline at end of file |
