Skip to content

Commit

Permalink
Fix Sandal sidebar padding.
Browse files Browse the repository at this point in the history
  • Loading branch information
EreMaijala authored and demiankatz committed Sep 17, 2021
1 parent ccba645 commit edf6c8d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 27 deletions.
2 changes: 1 addition & 1 deletion themes/sandal/css/compiled.css

Large diffs are not rendered by default.

15 changes: 2 additions & 13 deletions themes/sandal/less/sandal.less
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,14 @@ a:hover .login-dropdown-caret {
/* --- Sidebar --- */
.sidebar {
padding-top: 1rem;
padding-left: 1rem;
padding-right: 1rem;
font-size: @reduced-font-size;
background-color: @light-gray;

h1,h2,h3,h4 { margin-top: 0; }

.facet-group {
margin-left: 1rem;
margin-right: 1rem;
background-color: @sidebar-item-bg;
color: @sidebar-item-color;
}
Expand Down Expand Up @@ -252,17 +252,6 @@ a:hover .login-dropdown-caret {
background-color: @sidebar-item-badge;
}

.sidebar.left,
.sidebar.right {
padding-left: 0;
padding-right: 0;
}
.sidebar .checkbox-filter,
.sidebar > h4 {
margin-left: 1rem;
margin-right: 1rem;
}

.jstree-facet {
.main .fa-check { margin-top: 3px; }
.jstree-icon::before { margin-top: 2px; }
Expand Down
15 changes: 2 additions & 13 deletions themes/sandal/scss/sandal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,14 @@ a:hover .login-dropdown-caret {
/* --- Sidebar --- */
.sidebar {
padding-top: 1rem;
padding-left: 1rem;
padding-right: 1rem;
font-size: $reduced-font-size;
background-color: $light-gray;

h1,h2,h3,h4 { margin-top: 0; }

.facet-group {
margin-left: 1rem;
margin-right: 1rem;
background-color: $sidebar-item-bg;
color: $sidebar-item-color;
}
Expand Down Expand Up @@ -252,17 +252,6 @@ a:hover .login-dropdown-caret {
background-color: $sidebar-item-badge;
}

.sidebar.left,
.sidebar.right {
padding-left: 0;
padding-right: 0;
}
.sidebar .checkbox-filter,
.sidebar > h4 {
margin-left: 1rem;
margin-right: 1rem;
}

.jstree-facet {
.main .fa-check { margin-top: 3px; }
.jstree-icon::before { margin-top: 2px; }
Expand Down

0 comments on commit edf6c8d

Please sign in to comment.