Skip to content

A platform for community discussion. Free, open, simple.

FIX: Select posts menu styles (#26857)

Jan Cernik5ac7e01b8dbc
diff --git a/app/assets/stylesheets/common/base/topic-admin-menu.scss b/app/assets/stylesheets/common/base/topic-admin-menu.scss
index 3a8ba416128..9819a485f60 100644
--- a/app/assets/stylesheets/common/base/topic-admin-menu.scss
+++ b/app/assets/stylesheets/common/base/topic-admin-menu.scss
@@ -27,8 +27,42 @@
}
}
}
+
.fk-d-menu {
.topic-admin-popup-menu {
width: 14em;
}
}
+
+// Styles for select posts mini menu
+
+.selected-posts {
+ border: 1px solid var(--tertiary-medium);
+ background-color: var(--tertiary-low);
+ .btn {
+ border: none;
+ color: var(--secondary);
+ font-weight: normal;
+ margin-bottom: 10px;
+ &:not(.btn-danger) {
+ background: var(--tertiary);
+ border-color: var(--tertiary);
+ &[href] {
+ color: var(--secondary);
+ }
+ &:hover {
+ color: var(--secondary);
+ background: var(--tertiary-high);
+ }
+ &:active {
+ @include linear-gradient(var(--tertiary-hover), var(--tertiary));
+ color: var(--secondary);
+ }
+ }
+ &[disabled] {
+ text-shadow: 0 1px 0 rgba(var(--primary-rgb), 0.2);
+ @include linear-gradient(var(--tertiary), var(--tertiary-hover));
+ box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.33);
+ }
+ }
+}