diff options
Diffstat (limited to 'view/css')
-rw-r--r-- | view/css/bootstrap-red.css | 23 | ||||
-rw-r--r-- | view/css/mod_apps.css | 13 |
2 files changed, 36 insertions, 0 deletions
diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index 122bb5904..0e4b0e8e6 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -1,5 +1,12 @@ /* override some bootstrap settings */ +/* scroll-behavior smooth is behaving weird on mobile devices. */ +@media (prefers-reduced-motion: no-preference) { + :root { + scroll-behavior: unset; + } +} + /* nav overrides */ nav .badge { @@ -52,8 +59,24 @@ nav .dropdown-menu { .navbar-dark .navbar-toggler { color: rgba(255,255,255,1); } + +/* offcanvas */ +.offcanvas, +.modal-backdrop.fade { + transition: none; +} + +.offcanvas-end { + width: unset; + min-width: 250px; +} + /* nav overrides end */ label { font-weight: bold; } + +a { + text-decoration: none !important; +} diff --git a/view/css/mod_apps.css b/view/css/mod_apps.css index 62777bb39..ddf6d5c6b 100644 --- a/view/css/mod_apps.css +++ b/view/css/mod_apps.css @@ -10,3 +10,16 @@ text-overflow: ellipsis; margin: 10px 0px; } + +.app-icon { + display: table-cell; + table-layout: fixed; + vertical-align: top; +} + +.app-info { + display: table-cell; + table-layout: fixed; + vertical-align: top; + padding-left: 10px; +} |