Skip to content

Commit

Permalink
personaltools colortoggler alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
lenadax committed Aug 19, 2024
1 parent b169817 commit 8a18556
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 16 deletions.
28 changes: 19 additions & 9 deletions scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
--sidebar-width: 300px;
--navbar-height: 50px;
}

html {
height: 100%;
width: 100%;
Expand All @@ -20,7 +19,7 @@ body {
max-height: 100%;
user-select: none;

.scrollable-y {
> .scrollable-y {
margin-top: 34px;
}

Expand Down Expand Up @@ -265,13 +264,10 @@ body {
#navbar-content-wrapper {
min-width: 0;
z-index: 1;
}
#navbar-content {
min-width: 0;
}
#colortoggle-switch {
width: 2rem;
height: 1rem;

#navbar-content {
min-width: 0;
}
}
#mainmenu {
> ul {
Expand All @@ -282,6 +278,20 @@ body {
color: $primary;
}
}

#personaltools {
#language-dropdown > div.dropdown-toggle > a {
height: 20px;

img {
vertical-align: baseline;
}
}
#colortoggler #colortoggle-switch {
width: 2rem;
height: 1rem;
}
}
}
#personaltools-dropdown {
.dropdown-item a {
Expand Down
18 changes: 12 additions & 6 deletions src/cone/app/browser/static/cone/cone.app.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ body {
max-height: 100%;
user-select: none;
}
#sidebar_left .scrollable-y {
#sidebar_left > .scrollable-y {
margin-top: 34px;
}
#sidebar_left ul.list-group, #sidebar_left ul.list-group li {
Expand Down Expand Up @@ -276,20 +276,26 @@ body {
min-width: 0;
z-index: 1;
}
#header-main #navbar-content {
#header-main #navbar-content-wrapper #navbar-content {
min-width: 0;
}
#header-main #colortoggle-switch {
width: 2rem;
height: 1rem;
}
#header-main #mainmenu > ul {
padding-left: 8px;
white-space: nowrap;
}
#header-main #mainmenu .nav-item.active .nav-link {
color: #4e7bba;
}
#header-main #personaltools #language-dropdown > div.dropdown-toggle > a {
height: 20px;
}
#header-main #personaltools #language-dropdown > div.dropdown-toggle > a img {
vertical-align: baseline;
}
#header-main #personaltools #colortoggler #colortoggle-switch {
width: 2rem;
height: 1rem;
}

#personaltools-dropdown .dropdown-item a {
text-decoration: none;
Expand Down
2 changes: 1 addition & 1 deletion src/cone/app/browser/static/cone/cone.app.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8a18556

Please sign in to comment.