mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 17:47:08 +01:00
Nicer slim sidebar transitioning, dark mode fixes, fix tests by making settings taller
This commit is contained in:
parent
aa55162e2e
commit
e0f93c26d6
6 changed files with 34 additions and 10 deletions
|
|
@ -1,3 +1,6 @@
|
|||
@import "node_modules/bootstrap/scss/functions";
|
||||
@import "node_modules/bootstrap/scss/variables";
|
||||
|
||||
/*
|
||||
* Sidebar
|
||||
*/
|
||||
|
|
@ -15,7 +18,6 @@
|
|||
height: 0.8em;
|
||||
}
|
||||
|
||||
|
||||
// These come from the col-md-3 col-lg-2 classes for regular sidebar, needed for animation
|
||||
@media (min-width: 768px) {
|
||||
max-width: 25%;
|
||||
|
|
@ -25,7 +27,7 @@
|
|||
max-width: 16.66666667%;
|
||||
}
|
||||
|
||||
transition: all .3s ease;
|
||||
transition: all .2s ease;
|
||||
}
|
||||
@media (max-width: 767.98px) {
|
||||
.sidebar {
|
||||
|
|
@ -33,6 +35,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
main {
|
||||
transition: all .2s ease;
|
||||
}
|
||||
|
||||
.sidebar-slim-toggler {
|
||||
display: none; // hide on mobile
|
||||
}
|
||||
|
|
@ -45,8 +51,8 @@
|
|||
}
|
||||
}
|
||||
|
||||
.col.slim {
|
||||
margin-left: 50px !important;
|
||||
.col-slim {
|
||||
padding-left: calc(50px + $grid-gutter-width) !important;
|
||||
}
|
||||
|
||||
.sidebar-slim-toggler {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue