Skip to content

Commit

Permalink
Removed cursor: not-allowed for disabled, Fixed #950
Browse files Browse the repository at this point in the history
  • Loading branch information
YamiOdymel committed Dec 26, 2023
1 parent 0eb0dc5 commit d0262a6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@
*/

.ts-button.is-disabled {
cursor: not-allowed;
pointer-events: none;
opacity: 0.5;
user-select: none;
Expand Down
1 change: 0 additions & 1 deletion src/checkbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@
*/

.ts-checkbox.is-disabled {
cursor: not-allowed;
pointer-events: none;
opacity: 0.5;
user-select: none;
Expand Down
7 changes: 3 additions & 4 deletions src/file.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
min-width: 75px;
/** Firefox */
font-family: "Noto Sans TC", "SF Pro TC", "SF Pro Text", "SF Pro Icons", "PingFang TC", "Helvetica Neue", "Helvetica", "Arial", "Microsoft JhengHei", wf_SegoeUI, "Segoe UI",
Segoe, "Segoe WP", Tahoma, Verdana, Ubuntu, "Bitstream Vera Sans", "DejaVu Sans", 微軟正黑體, "LiHei Pro", "WenQuanYi Micro Hei", "Droid Sans Fallback",
"AR PL UMing TW", Roboto, "Hiragino Maru Gothic ProN", メイリオ, "ヒラギノ丸ゴ ProN W4", Meiryo, "Droid Sans", sans-serif;
Segoe, "Segoe WP", Tahoma, Verdana, Ubuntu, "Bitstream Vera Sans", "DejaVu Sans", 微軟正黑體, "LiHei Pro", "WenQuanYi Micro Hei", "Droid Sans Fallback", "AR PL UMing TW",
Roboto, "Hiragino Maru Gothic ProN", メイリオ, "ヒラギノ丸ゴ ProN W4", Meiryo, "Droid Sans", sans-serif;
font-size: var(--ts-relative-small);
line-height: 1.5;
font-weight: 500;
Expand Down Expand Up @@ -91,7 +91,6 @@
*/

.ts-file.is-disabled {
cursor: not-allowed;
pointer-events: none;
opacity: 0.5;
user-select: none;
Expand Down Expand Up @@ -152,4 +151,4 @@

.ts-file.is-large.is-dense input {
--height: var(--ts-input-height-large-dense);
}
}
1 change: 0 additions & 1 deletion src/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@

.ts-input.is-disabled input,
.ts-input.is-disabled textarea {
cursor: not-allowed;
pointer-events: none;
opacity: 0.5;
}
Expand Down
3 changes: 1 addition & 2 deletions src/radio.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
-webkit-font-smoothing: antialiased;
backface-visibility: hidden;
font-size: 1rem;
color:var(--accent-foreground-color, var(--ts-white));
color: var(--accent-foreground-color, var(--ts-white));
}

.ts-radio input:checked::after {
Expand All @@ -103,7 +103,6 @@
*/

.ts-radio.is-disabled {
cursor: not-allowed;
pointer-events: none;
opacity: 0.5;
user-select: none;
Expand Down

0 comments on commit d0262a6

Please sign in to comment.