Skip to content

Commit

Permalink
Merge pull request #292 from kkwwang/dev
Browse files Browse the repository at this point in the history
style: 修改样式以解决与部分UI组件的冲突
  • Loading branch information
zouyaoji authored Oct 19, 2022
2 parents a34c121 + ba65bed commit 15fb4e7
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions packages/theme-default/src/core/visibility.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,28 @@
cursor: default !important;
}

.disabled,
[disabled] {
&,
* {
outline: 0 !important;
cursor: not-allowed !important;
button,
command,
fieldset,
keygen,
optgroup,
option,
select,
input,
textarea {
&.disabled,
&[disabled] {
&,
* {
outline: 0 !important;
cursor: not-allowed !important;
}
}
}

.disabled,
[disabled] {
opacity: 0.6 !important;
&.disabled,
&[disabled] {
opacity: 0.6 !important;
}
}

.hidden {
Expand Down

0 comments on commit 15fb4e7

Please sign in to comment.