mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Cleaning up Sidebar styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
d15af15433
commit
8e6fa3cb75
@ -23,50 +23,9 @@
|
|||||||
$iconSize: 24px;
|
$iconSize: 24px;
|
||||||
$itemSpacing: floor($unit / 2.6) floor($unit / 1.6);
|
$itemSpacing: floor($unit / 2.6) floor($unit / 1.6);
|
||||||
|
|
||||||
&.compact {
|
|
||||||
.sidebar-nav {
|
.sidebar-nav {
|
||||||
@include hidden-scrollbar; // fix: scrollbar overlaps icons
|
width: var(--sidebar-width);
|
||||||
}
|
padding-bottom: calc(var(--padding) * 3);
|
||||||
}
|
|
||||||
|
|
||||||
.header {
|
|
||||||
background: $sidebarLogoBackground;
|
|
||||||
padding: $padding / 2;
|
|
||||||
height: var(--main-layout-header);
|
|
||||||
|
|
||||||
a {
|
|
||||||
font-size: 18.5px;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.logo-text {
|
|
||||||
position: absolute;
|
|
||||||
left: 42px;
|
|
||||||
top: 11px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo-icon {
|
|
||||||
width: 28px;
|
|
||||||
height: 28px;
|
|
||||||
margin-left: 2px;
|
|
||||||
margin-top: 2px;
|
|
||||||
margin-right: 10px;
|
|
||||||
|
|
||||||
svg {
|
|
||||||
--size: 28px;
|
|
||||||
padding: 2px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.pin-icon {
|
|
||||||
margin: auto;
|
|
||||||
margin-right: $padding / 2;
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar-nav {
|
|
||||||
padding: $padding / 1.5 0;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
.Icon {
|
.Icon {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user