Skip to content

Commit

Permalink
backend changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LeafyLuigi committed Jan 27, 2025
1 parent 4e40bbb commit 3841c99
Show file tree
Hide file tree
Showing 11 changed files with 129 additions and 129 deletions.
2 changes: 1 addition & 1 deletion classes
Submodule classes updated 1 files
+526 −184 _classes.scss
26 changes: 13 additions & 13 deletions src/channels/category.scss
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
@use "backend" as *;

/* CHANNEL CATEGORY */
:is(#{c(sidebar categoryContainerDefault)},#{c(sidebar channelDragOver)},#{c(sidebar containerDragBefore)},#{c(sidebar containerDragAfter)}) {
:is(#{c(sidebar server category container)},#{c(sidebar server channel userOver)},#{c(sidebar server dragBefore)},#{c(sidebar server dragAfter)}) {
padding-top: 16px;
}
#{c(sidebar categoryWrapper)} {
#{c(sidebar server category wrapper)} {
padding-left: 10px;
padding-right: 0;
transition: all 0.3s ease-in-out;
}
#{c(sidebar categoryArrow)} {
#{c(sidebar server category icon)} {
display: none;
}
#{c(sidebar categoryName)} {
#{c(sidebar server category name)} {
display: flex;
align-items: center;
justify-content: center;
Expand All @@ -37,26 +37,26 @@
background: linear-gradient(to right, cv('colors.main') 50%, transparent);
margin-left: 5px;
}
#{c(sidebar categoryMainContent)}:hover & {
#{c(sidebar server category mainContent)}:hover & {
opacity: 1;
}
}
#{c(sidebar sidebar)} {
:is(#{c(sidebar categoryContainerDefault)},#{c(sidebar channelDragOver)},#{c(sidebar containerDragBefore)},#{c(sidebar containerDragAfter)}) {
#{c(sidebar categoryWrapper)} {
#{c(sidebar categoryName)} {
:is(#{c(sidebar server category container)},#{c(sidebar server channel userOver)},#{c(sidebar server dragBefore)},#{c(sidebar server dragAfter)}) {
#{c(sidebar server category wrapper)} {
#{c(sidebar server category name)} {
color: cv('colors.main');
}
}
}
}
#{c(sidebar categoryChildren)} {
#{c(sidebar server category children)} {
margin-left: 3px;
}

// COLLAPSED
#{c(sidebar categoryCollapsed)} {
#{c(sidebar categoryName)} {
#{c(sidebar server category collapsed)} {
#{c(sidebar server category name)} {
&:before,
&:after {
flex-grow: 0;
Expand All @@ -65,12 +65,12 @@
}

// MUTED
#{c(sidebar categoryMuted)} {
#{c(sidebar server category muted)} {
opacity: 0.5;
}

// ADD CHANNEL ICON
#{c(sidebar categoryAddButtonIcon)} {
#{c(sidebar server category addButtonIcon)} {
color: cv('colors.main');
opacity: 0.7;
transition: all 0.3s ease-in-out;
Expand Down
Loading

0 comments on commit 3841c99

Please sign in to comment.