diff --git a/src/elements/OCStar.vue b/src/elements/OCStar.vue index dd84e24bb..f1c85b479 100644 --- a/src/elements/OCStar.vue +++ b/src/elements/OCStar.vue @@ -1,8 +1,5 @@ + + ```jsx +

OcStarToggle initially not checked

+ +

OcStarToggle initially checked

+ + ``` +
diff --git a/src/styles/theme/helper.scss b/src/styles/theme/helper.scss index 43604e5ad..a0b5ddbd2 100644 --- a/src/styles/theme/helper.scss +++ b/src/styles/theme/helper.scss @@ -2,6 +2,14 @@ cursor: pointer; } +.oc-button-reset { + @extend .uk-padding-remove; + -webkit-appearance: none; + background: transparent; + font: inherit; + border: none; +} + .oc-align-self-center { align-self: center; } diff --git a/src/styles/theme/oc-button.scss b/src/styles/theme/oc-button.scss index 598d96fff..baa6a834c 100644 --- a/src/styles/theme/oc-button.scss +++ b/src/styles/theme/oc-button.scss @@ -46,3 +46,7 @@ } } } + +.oc-button.uk-button-raw { + @extend .oc-button-reset; +}