2020-10-25 22:25:55 +01:00
|
|
|
.Sidebar {
|
2021-01-22 13:24:08 +01:00
|
|
|
flex: 0 0 240px;
|
2020-10-25 22:25:55 +01:00
|
|
|
|
2021-01-22 13:24:08 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-10-25 22:25:55 +01:00
|
|
|
|
2021-01-22 13:24:08 +01:00
|
|
|
min-height: 100%;
|
|
|
|
color: rgb(var(--sidebar-fg));
|
|
|
|
background-color: rgb(var(--sidebar-bg));
|
|
|
|
padding: 12px 0;
|
2020-10-25 22:25:55 +01:00
|
|
|
|
|
|
|
&.hidden {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2020-11-19 23:50:17 +01:00
|
|
|
z-index: 5;
|
2020-10-25 22:25:55 +01:00
|
|
|
min-height: 0;
|
|
|
|
height: 50px;
|
|
|
|
width: 50px;
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
2021-01-22 13:24:08 +01:00
|
|
|
|
|
|
|
>div {
|
2020-10-25 22:25:55 +01:00
|
|
|
padding: 0;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-13 00:52:54 +01:00
|
|
|
>* {
|
2020-12-09 00:00:03 +01:00
|
|
|
flex: 0 0 auto;
|
2020-11-13 00:52:54 +01:00
|
|
|
}
|
|
|
|
|
2021-02-17 23:51:39 +01:00
|
|
|
.logo {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.LogoWithNameIcon, .LogoWithNameWhiteIcon {
|
|
|
|
max-height: 24px;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.version {
|
|
|
|
font-size: 11px;
|
|
|
|
font-weight: 500;
|
|
|
|
color: rgba(var(--sidebar-fg), 0.8);
|
|
|
|
}
|
2021-01-28 22:51:45 +01:00
|
|
|
}
|
2021-01-15 03:14:03 +01:00
|
|
|
|
2020-11-17 18:53:29 +01:00
|
|
|
.octo-sidebar-list {
|
2020-12-09 00:00:03 +01:00
|
|
|
flex: 1 1 auto;
|
2020-11-17 18:53:29 +01:00
|
|
|
overflow-y: auto;
|
|
|
|
max-width: 250px;
|
2021-01-22 13:24:08 +01:00
|
|
|
|
|
|
|
>div {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
2020-11-17 18:53:29 +01:00
|
|
|
}
|
|
|
|
|
2020-10-25 22:25:55 +01:00
|
|
|
.octo-sidebar-header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
padding: 3px 20px;
|
2021-01-22 13:24:08 +01:00
|
|
|
margin-bottom: 16px;
|
|
|
|
height: 48px;
|
|
|
|
align-items: center;
|
|
|
|
|
2021-01-28 23:10:04 +01:00
|
|
|
&:hover {
|
|
|
|
background-color: rgba(var(--sidebar-fg), 0.08);
|
|
|
|
}
|
|
|
|
|
2021-01-22 13:24:08 +01:00
|
|
|
button {
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2021-01-15 03:14:03 +01:00
|
|
|
|
2021-01-21 19:42:05 +01:00
|
|
|
>.heading {
|
2021-01-15 03:14:03 +01:00
|
|
|
line-height: 30px;
|
2021-01-21 19:42:05 +01:00
|
|
|
cursor: default;
|
2021-02-17 23:51:39 +01:00
|
|
|
flex-grow: 1;
|
2021-01-15 03:14:03 +01:00
|
|
|
}
|
|
|
|
|
2020-11-17 23:11:04 +01:00
|
|
|
>.IconButton {
|
2020-10-31 17:30:56 +01:00
|
|
|
background-color: var(--sidebar-bg);
|
2021-01-22 13:24:08 +01:00
|
|
|
|
2020-10-31 17:30:56 +01:00
|
|
|
&:hover {
|
|
|
|
background-color: rgba(var(--sidebar-fg), 0.1);
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 03:14:03 +01:00
|
|
|
|
2020-10-31 17:30:56 +01:00
|
|
|
&.show-button {
|
|
|
|
.hamburger-icon {
|
2020-10-27 12:53:14 +01:00
|
|
|
display: block;
|
|
|
|
}
|
2021-01-22 13:24:08 +01:00
|
|
|
|
2020-10-31 17:30:56 +01:00
|
|
|
.show-icon {
|
2020-10-27 12:53:14 +01:00
|
|
|
display: none;
|
|
|
|
}
|
2021-01-22 13:24:08 +01:00
|
|
|
|
2020-10-27 12:53:14 +01:00
|
|
|
&:hover {
|
2020-10-31 17:30:56 +01:00
|
|
|
.hamburger-icon {
|
2020-10-27 12:53:14 +01:00
|
|
|
display: none;
|
|
|
|
}
|
2021-01-22 13:24:08 +01:00
|
|
|
|
2020-10-31 17:30:56 +01:00
|
|
|
.show-icon {
|
2020-10-27 12:53:14 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-10-25 22:25:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.octo-sidebar-item {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
font-weight: 500;
|
2021-01-22 13:24:08 +01:00
|
|
|
padding: 0 16px 0 8px;
|
|
|
|
height: 36px;
|
|
|
|
align-items: center;
|
|
|
|
|
2020-10-28 08:50:22 +01:00
|
|
|
&:hover {
|
2021-01-22 13:24:08 +01:00
|
|
|
background-color: rgba(var(--sidebar-fg), 0.08);
|
2020-10-28 08:50:22 +01:00
|
|
|
}
|
2021-01-22 13:24:08 +01:00
|
|
|
|
2020-10-25 22:25:55 +01:00
|
|
|
&.subitem {
|
2021-01-22 13:24:08 +01:00
|
|
|
padding-left: 20px;
|
|
|
|
color: rgba(var(--sidebar-fg), 0.64);
|
2020-10-25 22:25:55 +01:00
|
|
|
font-weight: 400;
|
|
|
|
}
|
2021-01-22 13:24:08 +01:00
|
|
|
|
2020-10-28 08:50:22 +01:00
|
|
|
&.no-views {
|
|
|
|
color: rgba(var(--sidebar-fg), 0.4);
|
2021-01-22 13:24:08 +01:00
|
|
|
|
2020-10-28 08:50:22 +01:00
|
|
|
&:hover {
|
|
|
|
background-color: rgba(var(--sidebar-bg));
|
|
|
|
}
|
2020-10-25 22:25:55 +01:00
|
|
|
}
|
2020-10-31 17:30:56 +01:00
|
|
|
|
2021-02-01 18:29:54 +01:00
|
|
|
>.Icon {
|
|
|
|
stroke: rgba(var(--sidebar-fg), 0.3);
|
|
|
|
height: 14px;
|
|
|
|
width: 14px;
|
|
|
|
margin-right: 8px;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
2020-11-17 23:11:04 +01:00
|
|
|
>.IconButton {
|
2020-10-31 17:30:56 +01:00
|
|
|
background-color: var(--sidebar-bg);
|
2021-01-22 13:24:08 +01:00
|
|
|
|
2020-10-25 22:25:55 +01:00
|
|
|
&:hover {
|
2020-10-27 11:40:32 +01:00
|
|
|
background-color: rgba(var(--sidebar-fg), 0.1);
|
2020-10-25 22:25:55 +01:00
|
|
|
}
|
2020-10-31 17:30:56 +01:00
|
|
|
}
|
2021-01-22 13:24:08 +01:00
|
|
|
|
2020-10-31 17:30:56 +01:00
|
|
|
.MenuWrapper {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-01-22 13:24:08 +01:00
|
|
|
|
2021-03-24 10:21:41 +01:00
|
|
|
.Menu.left {
|
|
|
|
right: -32px;
|
|
|
|
}
|
|
|
|
|
2020-10-31 17:30:56 +01:00
|
|
|
&:hover {
|
|
|
|
display: flex;
|
2021-01-22 13:24:08 +01:00
|
|
|
|
2020-10-31 17:30:56 +01:00
|
|
|
.MenuWrapper {
|
|
|
|
display: block;
|
2020-10-28 08:50:22 +01:00
|
|
|
}
|
2020-10-31 17:30:56 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&.expanded {
|
2020-11-16 21:29:25 +01:00
|
|
|
.DisclosureTriangleIcon {
|
2020-10-31 17:30:56 +01:00
|
|
|
transform: rotate(90deg);
|
2020-10-28 08:50:22 +01:00
|
|
|
}
|
2020-10-25 22:25:55 +01:00
|
|
|
}
|
2021-01-22 13:24:08 +01:00
|
|
|
|
2020-11-16 21:29:25 +01:00
|
|
|
.DisclosureTriangleIcon {
|
2020-10-31 17:30:56 +01:00
|
|
|
transition: 200ms ease-in-out;
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
2020-10-25 22:25:55 +01:00
|
|
|
}
|
2020-10-28 08:50:22 +01:00
|
|
|
|
|
|
|
.octo-sidebar-title {
|
2021-01-22 13:24:08 +01:00
|
|
|
font-weight: 600;
|
2020-10-28 08:50:22 +01:00
|
|
|
cursor: pointer;
|
|
|
|
flex-grow: 1;
|
2020-11-16 19:28:21 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2020-10-28 08:50:22 +01:00
|
|
|
}
|
2020-10-29 18:44:56 +01:00
|
|
|
|
2021-01-22 13:24:08 +01:00
|
|
|
.OptionsIcon,
|
|
|
|
.DisclosureTriangleIcon,
|
|
|
|
.DotIcon {
|
2020-10-29 18:44:56 +01:00
|
|
|
fill: rgba(var(--sidebar-fg), 0.5);
|
2020-11-16 19:43:13 +01:00
|
|
|
flex-shrink: 0;
|
2020-10-29 18:44:56 +01:00
|
|
|
}
|
|
|
|
|
2020-11-17 23:11:04 +01:00
|
|
|
.Menu .OptionsIcon {
|
|
|
|
fill: unset;
|
|
|
|
}
|
|
|
|
|
2020-10-29 18:48:51 +01:00
|
|
|
.HideSidebarIcon {
|
2020-10-29 18:44:56 +01:00
|
|
|
stroke: rgba(var(--sidebar-fg), 0.5);
|
|
|
|
stroke-width: 6px;
|
|
|
|
}
|
2020-12-09 00:00:03 +01:00
|
|
|
|
|
|
|
.Button {
|
|
|
|
min-height: 30px;
|
|
|
|
}
|
2020-10-25 22:25:55 +01:00
|
|
|
}
|