Skip to content

Commit

Permalink
checked state in radiobutton and checkbox solved thanks to fix apache…
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosrovira committed Mar 27, 2018
1 parent 6b849b8 commit 293876c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions frameworks/themes/JewelTheme/src/main/resources/defaults.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ $checkbox-label-font-size: 16px

&:checked, &:checked:active
//background: url(assets/checkbox-tick.svg), lighten($primary-color, 25%)
background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 16 13' version='1.1' xmlns='http://www.w3.org/2000/svg'><g transform='translate(-763, -290)'><g transform='translate(760, 285)'><g><polygon fill='#{$primary-color}' points='3 13 9 18 19 7 16 5 9 13 6 10'></polygon></g></g></g></svg>")
background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 16 13' version='1.1' xmlns='http://www.w3.org/2000/svg'><g transform='translate(-763, -290)'><g transform='translate(760, 285)'><g><polygon fill='#{$primary-color}' points='3 13 9 18 19 7 16 5 9 13 6 10'></polygon></g></g></g></svg>"), lighten($primary-color, 25%)
background-repeat: no-repeat
background-size: 90%
background-position: center
Expand Down Expand Up @@ -93,7 +93,7 @@ $checkbox-label-font-size: 16px
&:checked
border: 1px solid darken($disabled-color, 20%)
//background: url(assets/checkbox-tick.svg), $disabled-color
background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 16 13' version='1.1' xmlns='http://www.w3.org/2000/svg'><g transform='translate(-763, -290)'><g transform='translate(760, 285)'><g><polygon fill='#{darken($disabled-color, 15%)}' points='3 13 9 18 19 7 16 5 9 13 6 10'></polygon></g></g></g></svg>")
background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 16 13' version='1.1' xmlns='http://www.w3.org/2000/svg'><g transform='translate(-763, -290)'><g transform='translate(760, 285)'><g><polygon fill='#{darken($disabled-color, 15%)}' points='3 13 9 18 19 7 16 5 9 13 6 10'></polygon></g></g></g></svg>"), $disabled-color
background-size: 90%
background-position: center
background-repeat: no-repeat
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ $radiobutton-label-font-size: 16px

&:checked, &:checked:active
//background: url(assets/radiobutton-tick.svg), lighten($primary-color, 25%)
background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg'><g transform='translate(-616, -350)'><g transform='translate(611, 345)'><g><circle fill='#{$primary-color}' cx='11' cy='11' r='6'></circle></g></g></g></svg>")
background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg'><g transform='translate(-616, -350)'><g transform='translate(611, 345)'><g><circle fill='#{$primary-color}' cx='11' cy='11' r='6'></circle></g></g></g></svg>"), lighten($primary-color, 25%)
background-repeat: no-repeat
background-size: 60%
background-position: center
Expand All @@ -86,7 +86,7 @@ $radiobutton-label-font-size: 16px
&:checked
border: 1px solid darken($disabled-color, 20%)
//background: url(assets/radiobutton-tick.svg), $disabled-color
background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg'><g transform='translate(-616, -350)'><g transform='translate(611, 345)'><g><circle fill='#{darken($disabled-color, 15%)}' cx='11' cy='11' r='6'></circle></g></g></g></svg>")
background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg'><g transform='translate(-616, -350)'><g transform='translate(611, 345)'><g><circle fill='#{darken($disabled-color, 15%)}' cx='11' cy='11' r='6'></circle></g></g></g></svg>"), $disabled-color
background-size: 60%
background-position: center
background-repeat: no-repeat
Expand Down

0 comments on commit 293876c

Please sign in to comment.