Skip to content

Instantly share code, notes, and snippets.

@kugimiya kugimiya/5566.diff
Created Jul 12, 2019

Embed
What would you like to do?
diff --git a/design/backend/css/tygh/ui_base/inputs.less b/design/backend/css/tygh/ui_base/inputs.less
index f9dc9a19d4..507dd50bb0 100644
--- a/design/backend/css/tygh/ui_base/inputs.less
+++ b/design/backend/css/tygh/ui_base/inputs.less
@@ -538,6 +538,23 @@ input[type="checkbox"] {
}
}
+ &:indeterminate {
+ background: @mainColor;
+ outline-color: @mainColor;
+ position: relative;
+
+ &:after {
+ content: "\f068";
+ font-family: FontAwesome;
+
+ position: absolute;
+ color: white;
+
+ top: 0px;
+ left: 0.5px;
+ }
+ }
+
&:disabled {
background: #888;
outline-color: #888;
@@ -560,4 +577,11 @@ input[type="checkbox"].checkbox--large {
top: 0px;
left: 0px;
}
+
+ &:indeterminate {
+ &:after {
+ padding-top: 6px;
+ padding-left: 6.5px;
+ }
+ }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.