Skip to content

Commit

Permalink
fix(ui5-checkbox): cursor style when disabled (#4392)
Browse files Browse the repository at this point in the history
  • Loading branch information
nnaydenow authored Nov 29, 2021
1 parent 9ee0e96 commit 5d3e8f5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/main/src/themes/CheckBox.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
}

/* disabled */
:host([disabled]) {
cursor: default;
}

:host([disabled]) .ui5-checkbox-root {
opacity: .5;
}
Expand Down Expand Up @@ -221,7 +225,7 @@ https://github.com/philipwalton/flexbugs/issues/231
color: var(--_ui5_checkbox_checkmark_color);
box-sizing: border-box;
position: relative;
cursor: default;
cursor: inherit;
}

:host([indeterminate][checked]) .ui5-checkbox-inner::after {
Expand All @@ -247,7 +251,7 @@ https://github.com/philipwalton/flexbugs/issues/231
.ui5-checkbox-root .ui5-checkbox-label {
margin-left: var(--_ui5_checkbox_label_offset_left);
margin-right: var(--_ui5_checkbox_label_offset_right);
cursor: default;
cursor: inherit;
text-overflow: ellipsis;
overflow: hidden;
pointer-events: none;
Expand All @@ -261,7 +265,7 @@ https://github.com/philipwalton/flexbugs/issues/231
width: var(--_ui5_checkbox_icon_size);
height: var(--_ui5_checkbox_icon_size);
color: currentColor;
cursor: default;
cursor: inherit;
position: absolute;
left:50%;
top:50%;
Expand Down

0 comments on commit 5d3e8f5

Please sign in to comment.