style: merge duplicate selectors

This commit is contained in:
Jones Jankovic committed 2026-11-03 15:03:09 +10:30
1 parent c8d174f871
commit 26d06d2aab
4 files changed
+49 -113

No files matched your search

+2 -18
View File
@@ -44,12 +44,9 @@ body {
}
> .date > .value,
blockquote.forward > .preamble > .sender > .value {
color: rgba(255, 255, 255, 0.7) !important;
}
> .date > .label,
blockquote.forward > .preamble > .sender > .label {
> .sender > .value,
> .sender > .label {
color: rgba(255, 255, 255, 0.7) !important;
}
}
@@ -90,19 +87,6 @@ body {
border-top-right-radius: 1rem;
}
blockquote.forward > .preamble {
color: rgba(255, 255, 255, 0.7) !important;
}
blockquote.forward > .preamble > .date > .value,
blockquote.forward > .preamble > .sender > .value {
color: rgba(255, 255, 255, 0.7) !important;
}
blockquote.forward > .preamble > .date > .label,
blockquote.forward > .preamble > .sender > .label {
color: rgba(255, 255, 255, 0.7) !important;
}
#backgroundTable > * {
background-color: #161616;
border: none;
+40 -63
View File
@@ -64,6 +64,8 @@ html {
body {
font-family: Rubik, sans-serif !important;
background: var(--theme-primary);
overflow: hidden;
}
select {
@@ -484,10 +486,12 @@ ul.magicDelete > li.deleting {
display: flex;
white-space: nowrap;
place-items: center;
cursor: pointer;
}
#menu .sub {
top: 71px;
margin-top: -2px;
pointer-events: none;
}
/* Drill-in stack: only the current list + folder header stay clickable.
@@ -522,10 +526,6 @@ ul.magicDelete > li.deleting {
}
/* Only the frontmost open .sub panel receives pointer events */
#menu .sub {
pointer-events: none;
}
#menu li.hasChildren:is(.active, .bsplus-active) > .sub {
pointer-events: auto;
}
@@ -657,6 +657,7 @@ ul.magicDelete > li.deleting {
color: var(--text-color);
border-right: none;
transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
--menuHidden: none;
}
/* Custom title bar: keep native `#title` children for sync, hide them visually.
@@ -977,37 +978,35 @@ body > .sortable-fallback.bsplus-sortable-drag,
list-style: none !important;
}
#menu {
li:is(.active, .hasChildren.bsplus-active) > .sub > ul > .item:not(.hasChildren) {
position: relative;
#menu li:is(.active, .hasChildren.bsplus-active) > .sub > ul > .item:not(.hasChildren) {
position: relative;
&::before {
content: "";
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 3px;
background: var(--item-colour, transparent);
transition:
width 100ms,
transform 0.3s ease;
border-radius: 8px 0 0 8px;
pointer-events: none;
}
&:hover::before,
&:is(.active, .bsplus-active)::before {
width: 6px;
background: var(--item-colour, transparent);
}
&::before {
content: "";
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 3px;
background: var(--item-colour, transparent);
transition:
width 100ms,
transform 0.3s ease;
border-radius: 8px 0 0 8px;
pointer-events: none;
}
li.active > .sub > ul > .active {
background: rgba(0, 0, 0, 0.3) !important;
&:hover::before,
&:is(.active, .bsplus-active)::before {
width: 6px;
background: var(--item-colour, transparent);
}
}
#menu li.active > .sub > ul > .active {
background: rgba(0, 0, 0, 0.3) !important;
}
#userActions {
display: none;
}
@@ -1370,10 +1369,6 @@ html.transparencyEffects [class*="BasicPanel__BasicPanel___q92_U"] > ol > li + l
.assessmentsWrapper .message {
display: none;
}
#menu li,
#menu section {
cursor: pointer;
}
#menu li:hover:not(.active) {
background: rgba(0, 0, 0, 0.15) !important;
}
@@ -2962,14 +2957,12 @@ div.bar.flat {
border-radius: 12px;
}
.dark {
.cke_toolbox > .cke_toolbar .cke_combo_on > .cke_combo_button,
.cke_toolbox > .cke_toolbar .cke_button_on {
background-color: #3d3d3e !important;
.dark .cke_toolbox > .cke_toolbar .cke_combo_on > .cke_combo_button,
.dark .cke_toolbox > .cke_toolbar .cke_button_on {
background-color: #3d3d3e !important;
&::after {
background: rgb(207, 207, 207) !important;
}
&::after {
background: rgb(207, 207, 207) !important;
}
}
@@ -3011,10 +3004,6 @@ ul.uiSplitButtonList,
background: transparent;
color: var(--text-primary);
}
body {
background: var(--theme-primary);
overflow: hidden;
}
.shortcuticondiv {
height: 39px;
width: 39px;
@@ -3263,9 +3252,6 @@ body:not(.clr-open) .clr-picker,
z-index: 10;
opacity: 0.4;
}
#menu {
--menuHidden: none;
}
.editmenuoption {
background: var(--background-primary);
color: var(--text-primary);
@@ -3722,13 +3708,6 @@ div.day-empty {
.upcoming-special-day {
font-size: 20px;
}
.upcoming-blank {
display: flex;
border-bottom: 2px solid #bebebe;
margin: 5px 50px;
height: 2em;
padding: 0px;
}
.upcoming-blank p {
padding: 0;
margin: 0;
@@ -5857,18 +5836,16 @@ button.notice-close-btn {
}
}
.dark {
.notice-card {
border-color: rgba(255, 255, 255, 0.05);
.dark .notice-card {
border-color: rgba(255, 255, 255, 0.05);
&:hover {
border-color: rgba(255, 255, 255, 0.1);
}
&:hover {
border-color: rgba(255, 255, 255, 0.1);
}
}
.notice-modal-content {
border-color: rgba(255, 255, 255, 0.05);
}
.dark .notice-modal-content {
border-color: rgba(255, 255, 255, 0.05);
}
@media (max-width: 768px) {
@@ -60,7 +60,11 @@
justify-content: center;
flex: none;
height: 32px;
border-radius: 0;
border: 1px solid rgba(0, 0, 0, 0.1) !important;
border-bottom: none;
border-radius: 8px 8px 0 0;
background-color: rgba(248, 250, 252, 0.94) !important;
color: #555 !important;
cursor: pointer;
transition:
background-color 0.2s ease,
@@ -71,10 +75,12 @@
user-select: none;
svg {
color: #555;
opacity: 0.8;
}
p {
color: #555 !important;
display: flex;
align-self: stretch;
align-items: center;
@@ -85,23 +91,6 @@
}
}
/* Light mode chip */
.search-trigger {
border: 1px solid rgba(0, 0, 0, 0.1) !important;
border-bottom: none;
border-radius: 8px 8px 0 0;
background-color: rgba(248, 250, 252, 0.94) !important;
color: #555 !important;
p {
color: #555 !important;
}
svg {
color: #555;
}
}
.dark .search-trigger {
border: 1px solid rgba(255, 255, 255, 0.1) !important;
border-bottom: none;
@@ -539,20 +539,6 @@
fill: none;
}
.bsplus-context-item:hover {
background: var(--theme-offset-bg-more, rgba(128, 128, 128, 0.08));
}
.bsplus-context-item span {
flex: 1;
}
.bsplus-context-checkmark {
color: var(--better-main, #007bff) !important;
font-weight: bold;
flex: 0 !important;
}
.bsplus-context-empty {
padding: 12px;
text-align: center;