Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

Commit

Permalink
update form
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnkalk committed Apr 21, 2022
1 parent 7c03ad6 commit 716622f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/css/GodUi.css
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,7 @@ inputbox[icon] input:focus {
}
inputbox[disable] {
color: #616161;
pointer-events: none;
}

input[type=radio] {
Expand Down Expand Up @@ -852,6 +853,7 @@ input[type=checkbox][toggle] {
padding: 2px;
transition: 250ms;
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
cursor: pointer;
}
input[type=checkbox][toggle]::before {
content: "";
Expand Down
2 changes: 2 additions & 0 deletions src/css/form/form.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ inputbox[icon] input:focus {
}
inputbox[disable] {
color: #616161;
pointer-events: none;
}

input[type=radio] {
Expand Down Expand Up @@ -158,6 +159,7 @@ input[type=checkbox][toggle] {
padding: 2px;
transition: 250ms;
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
cursor: pointer;
}
input[type=checkbox][toggle]::before {
content: "";
Expand Down
1 change: 1 addition & 0 deletions src/css/form/input-box.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ inputbox[icon] input:focus {
}
inputbox[disable] {
color: #616161;
pointer-events: none;
}
1 change: 1 addition & 0 deletions src/css/form/toggle.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ input[type=checkbox][toggle] {
padding: 2px;
transition: 250ms;
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
cursor: pointer;
}
input[type=checkbox][toggle]::before {
content: "";
Expand Down
3 changes: 2 additions & 1 deletion src/sass/form/input-box.sass
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ inputbox
&:focus
box-shadow: none
&[disable]
color: $grey-700
color: $grey-700
pointer-events: none
1 change: 1 addition & 0 deletions src/sass/form/toggle.sass
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ input[type="checkbox"][toggle]
padding: 2px
transition: 250ms
box-shadow: 1px 1px 1px rgba(0, 0, 0, .2)
cursor: pointer
&::before
&:not(&:disabled)
cursor: pointer
Expand Down

0 comments on commit 716622f

Please sign in to comment.