Merge pull request #411 from incubateur-territoires/no-check-box-toggle-formula

fix: hide check box from toggle in formula mode
This commit is contained in:
jarek 2023-01-25 17:53:11 +01:00 committed by GitHub
commit f1a4404a60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,20 +6,20 @@
height: 16px; height: 16px;
} }
.field_clip.has_cursor > .widget_checkbox { :not(.formula_field)>.field_clip.has_cursor>.widget_checkbox {
cursor: pointer; cursor: pointer;
box-shadow: inset 0 0 0 1px #606060; box-shadow: inset 0 0 0 1px #606060;
border-radius: 3px; border-radius: 3px;
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(252,252,252,1) 29%, rgba(239,239,239,1) 50%, rgba(232,232,232,1) 50%, rgba(242,242,242,1) 100%); background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(252,252,252,1) 29%, rgba(239,239,239,1) 50%, rgba(232,232,232,1) 50%, rgba(242,242,242,1) 100%);
} }
.widget_checkbox:hover:not(.disabled) { :not(.formula_field)>.field_clip>.widget_checkbox:hover:not(.disabled) {
cursor: pointer; cursor: pointer;
box-shadow: inset 0 0 0 1px #606060; box-shadow: inset 0 0 0 1px #606060;
border-radius: 3px; border-radius: 3px;
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(252,252,252,1) 29%, rgba(239,239,239,1) 50%, rgba(232,232,232,1) 50%, rgba(242,242,242,1) 100%); background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(252,252,252,1) 29%, rgba(239,239,239,1) 50%, rgba(232,232,232,1) 50%, rgba(242,242,242,1) 100%);
} }
.widget_checkbox:active:not(.disabled) { :not(.formula_field)>.field_clip>.widget_checkbox:active:not(.disabled) {
background: linear-gradient(to bottom, rgba(147,180,242,1) 0%, rgba(135,168,233,1) 10%, rgba(115,149,218,1) 25%, rgba(115,150,224,1) 37%, rgba(115,153,230,1) 50%, rgba(86,134,219,1) 51%, rgba(130,174,235,1) 83%, rgba(151,194,243,1) 100%); background: linear-gradient(to bottom, rgba(147,180,242,1) 0%, rgba(135,168,233,1) 10%, rgba(115,149,218,1) 25%, rgba(115,150,224,1) 37%, rgba(115,153,230,1) 50%, rgba(86,134,219,1) 51%, rgba(130,174,235,1) 83%, rgba(151,194,243,1) 100%);
} }