Skip to content

Commit

Permalink
VUU-17: Adjust radio icon styling
Browse files Browse the repository at this point in the history
  • Loading branch information
pling-scottlogic committed Aug 31, 2023
1 parent e2bc0f4 commit 7af9ecc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion vuu-ui/packages/vuu-ui-controls/src/inputs/RadioButton.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

.radio {
position: relative;
height: 14px;
height: 12px;
}

input[type="radio"] {
Expand Down
6 changes: 3 additions & 3 deletions vuu-ui/packages/vuu-ui-controls/src/list/CheckboxIcon.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.vuuCheckboxIcon {
--vuu-icon-size: 14px;
--vuu-icon-size: 12px;
--vuu-icon-left: -1px;
--vuu-icon-top: -1px;
--vuu-icon-svg: var(--vuu-svg-tick);
Expand All @@ -8,9 +8,9 @@
border-radius: var(--vuuCheckboxIcon-borderRadius, 3px);
border-width: 1px;
display: inline-block;
height: var(--vuuCheckboxIcon-size, 14px);
height: var(--vuuCheckboxIcon-size, 12px);
position: relative;
width: var(--vuuCheckboxIcon-size, 14px);
width: var(--vuuCheckboxIcon-size, 12px);
}

.vuuCheckboxIcon-checked {
Expand Down
8 changes: 4 additions & 4 deletions vuu-ui/packages/vuu-ui-controls/src/list/RadioIcon.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
border-radius: 50%;
border-width: 1px;
display: inline-block;
height: var(--vuuRadioIcon-size, 14px);
height: var(--vuuRadioIcon-size, 12px);
position: relative;
width: var(--vuuRadioIcon-size, 14px);
width: var(--vuuRadioIcon-size, 12px);
}

.vuuRadioIcon-checked {
background-color: var(--vuuRadioIcon-background-checked, var(--salt-selectable-background-selected));
background-image: var(--vuu-svg-radio);
border-color: var(--vuuRadioIcon-borderColor-checked, var(--salt-selectable-borderColor-selected));
border: none;
background-repeat: no-repeat;
}

.vuuRadioIcon-checked:after {
Expand Down

0 comments on commit 7af9ecc

Please sign in to comment.