Corban-Lee Jones 38b8184499
All checks were successful
Build and Push Docker Image / build (push) Successful in 42s
move to scss (incomplete)
incomplete, moving to scss
2024-10-13 23:36:42 +01:00

142 lines
2.5 KiB
SCSS

@import "./sidebar.scss";
@keyframes bump {
0% {
transform: translateY(0);
}
50% {
transform: translateY(5px); /* Adjust the height of the bump */
}
100% {
transform: translateY(0);
}
}
.bump {
animation: bump .2s ease-out;
}
.server-sidebar {
width: 16rem !important;
}
/*
@media (max-width: 992px) {
.server-sidebar {
width: 4.5rem;
}
.server-item > button {
padding: 0.25rem !important;
}
.server-item > button > div {
justify-content: center !important;
}
.server-item .server-item-labels {
display: none !important;
}
.server-sidebar > ul > li:has(> #newServerBtn) {
display: flex;
justify-content: center !important;
}
#newServerBtn {
width: 45px !important;
height: 45px !important;
padding: 0 !important;
}
} */
.server-item {
max-width: calc(16rem - 1rem);
}
.server-item-selector {
display: flex;
justify-content: flex-start;
align-items: center;
flex-wrap: nowrap;
color: var(--bs-text-body);
background-color: var(--bg-tertiary-bg);
transition: 0.3s;
}
.server-item-selector .font-monospace {
color: var(--bs-secondary-color)
}
.server-item-selector:hover,
.server-item-selector:focus,
.server-item-selector:active,
.active > .server-item-selector {
background-color: var(--bs-body-bg) !important;
}
/* widths */
.mw-10rem {
max-width: 10rem;
}
.col-switch-width {
width: 3.5rem;
min-width: 3.5rem;
max-width: 3.5rem;
}
/* Server Tabs */
#serverTabs .nav-item .nav-link:hover:not(.active) {
background-color: var(--bs-secondary-bg);
}
#serverTabs .nav-item .nav-link:not(.active) {
color: var(--bs-text-body);
}
/* Yellow Dot Indicator for the server sidebar */
.dot-container {
width: .75rem;
height: .75rem;
display: flex;
position: absolute;
top: 0;
right: 0;
}
@media (max-width: 992px) {
.dot-container {
transform: translate(25%, -25%);
}
}
.dot-icon {
height: .75rem;
width: .75rem;
background-color: var(--bs-primary);
border-radius: 50%;
display: inline-block;
}
/* Sidebar Buttons */
.sidebar-btn {
border: none;
width: 100%;
height: 100%;
padding: 0.5rem 0;
border-radius: var(--bs-border-radius-sm);
color: var(--bs-body-color);
background-color: var(--bs-tertiary-bg);
}
.sidebar-btn:hover {
background-color: var(--bs-body-bg);
}