Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 5201968

Browse files
committed
fix(plugins/plugin-client-common): use sepia tone also for validated blocks
1 parent a72d599 commit 5201968

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

plugins/plugin-client-common/web/scss/components/Terminal/Commentary.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ $box-shadow-margin: 4px; /* room for box shadow */
7373
}
7474
}
7575

76+
@mixin Sepia {
77+
&:not(:hover) {
78+
filter: sepia(0.5) opacity(0.9) contrast(0.95) blur(0.25px);
79+
}
80+
}
81+
7682
@mixin GrayAction {
7783
@include InputWrapper {
7884
--color-for-guidebook-block-actions: var(--color-text-02);
@@ -662,13 +668,12 @@ pre {
662668
}
663669

664670
@include Optional {
665-
&:not(:hover) {
666-
filter: sepia(0.5) opacity(0.9) contrast(0.95) blur(0.25px);
667-
}
671+
@include Sepia;
668672
@include GrayAction;
669673
}
670674

671675
@include Validated {
676+
@include Sepia;
672677
@include GrayAction;
673678
@include InvisibleActionExceptOnHover;
674679
}

0 commit comments

Comments
 (0)