Tiny misc fixes (#59)

This commit is contained in:
chapoi
2025-03-19 00:02:45 +08:00
committed by GitHub
parent f64d0cc6dc
commit 3816c49bbf
6 changed files with 60 additions and 22 deletions
+5 -8
View File
@@ -8,15 +8,12 @@
.sidebar-new-topic-button__wrapper .topic-drafts-menu-trigger.btn.no-text {
background: var(--accent-color);
&:hover {
background: radial-gradient(
90% 110% at 50% 50%,
rgba(255, 255, 255, 0.3) 0%,
rgba(255, 255, 255, 0) 100%
),
var(--accent-color);
&:hover,
&:focus-visible {
background: oklch(from var(--accent-color) 40% c h) !important;
box-shadow: none;
}
svg {
.d-icon {
color: var(--accent-text-color);
}
}
+40
View File
@@ -0,0 +1,40 @@
#reply-control
.select-kit.dropdown-select-box.composer-actions
.select-kit-header {
border: 1px solid var(--tertiary-700);
background: var(--secondary);
&:hover {
.d-icon {
color: var(--accent-color);
}
}
}
.d-editor-button-bar {
.btn:hover,
.toolbar-popup-menu-options.is-expanded {
.discourse-no-touch & {
background: var(--tertiary-very-low);
color: var(--accent-color);
.d-icon {
color: inherit;
}
//to have parity with regular select-kit styling used elsewhere
.select-kit-row {
.d-icon {
color: var(--primary-high);
}
&:hover {
.d-icon {
color: var(--primary);
}
}
}
}
}
.toolbar-popup-menu-options.is-expanded {
border-radius: var(--d-border-radius);
}
}
-1
View File
@@ -91,7 +91,6 @@ input[type="color"]:focus,
background-color: var(--primary-50);
}
.alert.alert-info {
background: var(--tertiary-very-low);
}
+4 -7
View File
@@ -28,7 +28,6 @@
border-radius: 0px;
}
}
.sidebar-section-wrapper {
@include breakpoint(extra-large, $rule: min-width) {
padding-block: 0.45em;
@@ -39,7 +38,7 @@
}
}
.sidebar-section-header {
font-size: var(--font-down-1);
font-size: var(--font-down-2);
}
.sidebar-section-content {
margin: 0;
@@ -63,11 +62,9 @@
}
.sidebar-new-topic-button__wrapper {
margin-bottom: 1.5rem;
@media screen and (max-width: 1000px) {
.sidebar-new-topic-button .d-icon {
display: none;
}
margin: 0 var(--spacing-inline-m) var(--spacing-block-l);
.sidebar-new-topic-button .d-icon {
display: none;
}
}
+4
View File
@@ -107,3 +107,7 @@
position: relative;
right: -4px;
}
nav.post-controls .actions button {
font-size: var(--font-0);
}