mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-11 00:06:04 +00:00
160 lines
2.7 KiB
CSS
160 lines
2.7 KiB
CSS
.sidebarContainer {
|
|
box-sizing: border-box;
|
|
width: 11rem;
|
|
height: 100vh;
|
|
background-color: #eee;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
padding-block: 1rem;
|
|
padding-left: 0.4rem;
|
|
user-select: none;
|
|
/* box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1); */
|
|
}
|
|
|
|
:global(.dark) .sidebarContainer {
|
|
background-color: #0a0a0b !important;
|
|
}
|
|
|
|
.langbotIconContainer {
|
|
width: 200px;
|
|
height: 70px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.8rem;
|
|
}
|
|
|
|
.langbotIcon {
|
|
width: 2.8rem;
|
|
height: 2.8rem;
|
|
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
:global(.dark) .langbotIcon {
|
|
box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.langbotTextContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
gap: 0.1rem;
|
|
}
|
|
|
|
.langbotText {
|
|
font-size: 1.4rem;
|
|
font-weight: 500;
|
|
color: #1a1a1a;
|
|
}
|
|
|
|
:global(.dark) .langbotText {
|
|
font-size: 1.4rem;
|
|
font-weight: 500;
|
|
color: #f0f0f0 !important;
|
|
}
|
|
|
|
.langbotVersion {
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
color: #6c6c6c;
|
|
}
|
|
|
|
:global(.dark) .langbotVersion {
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
color: #a0a0a0 !important;
|
|
}
|
|
|
|
.sidebarTopContainer {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.8rem;
|
|
}
|
|
|
|
.sidebarItemsContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.8rem;
|
|
}
|
|
|
|
.sidebarChildContainer {
|
|
width: 9.8rem;
|
|
height: 3rem;
|
|
padding-left: 1.6rem;
|
|
font-size: 1rem;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
cursor: pointer;
|
|
gap: 0.5rem;
|
|
transition: all 0.2s ease;
|
|
/* background-color: aqua; */
|
|
}
|
|
|
|
.sidebarSelected {
|
|
background-color: #2288ee;
|
|
color: white;
|
|
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
:global(.dark) .sidebarSelected {
|
|
background-color: #2288ee;
|
|
color: white;
|
|
box-shadow: 0 0 10px 0 rgba(34, 136, 238, 0.3);
|
|
}
|
|
|
|
.sidebarUnselected {
|
|
color: #6c6c6c;
|
|
}
|
|
|
|
:global(.dark) .sidebarUnselected {
|
|
color: #a0a0a0 !important;
|
|
}
|
|
|
|
.sidebarUnselected:hover {
|
|
background-color: rgba(34, 136, 238, 0.1);
|
|
color: #2288ee;
|
|
}
|
|
|
|
:global(.dark) .sidebarUnselected:hover {
|
|
background-color: rgba(34, 136, 238, 0.2);
|
|
color: #66baff;
|
|
}
|
|
|
|
.sidebarChildIcon {
|
|
width: 20px;
|
|
height: 20px;
|
|
background-color: rgba(96, 149, 209, 0);
|
|
}
|
|
|
|
.sidebarChildName {
|
|
color: inherit;
|
|
}
|
|
|
|
.sidebarBottomContainer {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-top: auto;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.sidebarBottomChildContainer {
|
|
width: 100%;
|
|
height: 50px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|