Skip to content

Commit

Permalink
Improvement: Cinnamon - Add radio button assets
Browse files Browse the repository at this point in the history
  • Loading branch information
thekomer committed Jun 18, 2022
1 parent 94253af commit d47601e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions cinnamon/cinnamon.css
Original file line number Diff line number Diff line change
Expand Up @@ -201,16 +201,16 @@ StScrollBar {
.radiobutton StBin {
width: 16px;
height: 16px;
background-image: url("dark-assets/checkbox/checkbox-unchecked.svg"); }
background-image: url("dark-assets/checkbox/radio-unchecked.svg"); }

.radiobutton:focus StBin {
background-image: url("dark-assets/checkbox/checkbox-unchecked-focused.svg"); }
background-image: url("dark-assets/checkbox/radio-unchecked.svg"); }

.radiobutton:checked StBin {
background-image: url("dark-assets/checkbox/checkbox-checked.svg"); }
background-image: url("dark-assets/checkbox/radio-checked.svg"); }

.radiobutton:focus:checked StBin {
background-image: url("dark-assets/checkbox/checkbox-checked-focused.svg"); }
background-image: url("dark-assets/checkbox/radio-checked.svg"); }

/* * * * * * *
* Switches *
Expand Down
8 changes: 4 additions & 4 deletions cinnamon/sass/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -205,14 +205,14 @@ StScrollBar {
StBin {
width: 16px;
height: 16px;
background-image: url("#{$asset_path}/checkbox/checkbox-unchecked.svg");
background-image: url("#{$asset_path}/checkbox/radio-unchecked.svg");
}

&:focus StBin { background-image: url("#{$asset_path}/checkbox/checkbox-unchecked-focused.svg"); }
&:focus StBin { background-image: url("#{$asset_path}/checkbox/radio-unchecked.svg"); }

&:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked.svg"); }
&:checked StBin { background-image: url("#{$asset_path}/checkbox/radio-checked.svg"); }

&:focus:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked-focused.svg"); }
&:focus:checked StBin { background-image: url("#{$asset_path}/checkbox/radio-checked.svg"); }
}

/* * * * * * *
Expand Down

0 comments on commit d47601e

Please sign in to comment.