diff --git a/src/components/sprite-info/icon--hide.svg b/src/components/sprite-info/icon--hide.svg index 946353870..9925302db 100644 --- a/src/components/sprite-info/icon--hide.svg +++ b/src/components/sprite-info/icon--hide.svg @@ -1 +1,22 @@ - \ No newline at end of file + + + + hide-icon-active + Created with Sketch. + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/sprite-info/icon--show.svg b/src/components/sprite-info/icon--show.svg index db06b7048..ddd4f5e0f 100644 --- a/src/components/sprite-info/icon--show.svg +++ b/src/components/sprite-info/icon--show.svg @@ -1 +1,23 @@ -show \ No newline at end of file + + + + show-icon-active + Created with Sketch. + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/sprite-info/icon--x.svg b/src/components/sprite-info/icon--x.svg index 4d3cbc3a1..57b1852f5 100644 --- a/src/components/sprite-info/icon--x.svg +++ b/src/components/sprite-info/icon--x.svg @@ -1 +1,15 @@ - \ No newline at end of file + + + + x-icon + Created with Sketch. + + + + + + + + + + \ No newline at end of file diff --git a/src/components/sprite-info/icon--y.svg b/src/components/sprite-info/icon--y.svg index 5fe7df308..f8eab05ef 100644 --- a/src/components/sprite-info/icon--y.svg +++ b/src/components/sprite-info/icon--y.svg @@ -1 +1,17 @@ -icon--y \ No newline at end of file + + + + y icon + Created with Sketch. + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/sprite-info/sprite-info.css b/src/components/sprite-info/sprite-info.css index e6a758d1c..16803973b 100644 --- a/src/components/sprite-info/sprite-info.css +++ b/src/components/sprite-info/sprite-info.css @@ -35,9 +35,9 @@ We're overriding the global, which we set to border-box */ box-sizing: content-box; - width: 1.25rem; - height: 1.25rem; - padding: calc($space / 2); + width: 1.0rem; + height: 1.0rem; + padding: 0.25rem; outline: none; user-select: none; } @@ -48,9 +48,16 @@ } /* @todo: refactor radio divs to input */ -.radio { opacity: 0.4; cursor: pointer; } -.radio.is-active { opacity: 1; } -.radio.is-disabled { cursor: default; } +.radio { + filter: saturate(0); + cursor: pointer; +} +.radio.is-active { + filter: none; +} +.radio.is-disabled { + cursor: default; +} .radio-left { border: 1px solid $form-border;