diff options
| author | Henry Jameson <me@hjkos.com> | 2018-11-20 22:14:49 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-11-20 22:14:49 +0300 |
| commit | 2609c0d0d279031cba579d60bf94cca81544ec4f (patch) | |
| tree | b4fdbc7cc390c402fd805c09b9fe41ecc0d578ad /src/components/opacity_input/opacity_input.vue | |
| parent | 32132e225c749e506285370a2a065bb71920ce59 (diff) | |
unification of stylings
Diffstat (limited to 'src/components/opacity_input/opacity_input.vue')
| -rw-r--r-- | src/components/opacity_input/opacity_input.vue | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/src/components/opacity_input/opacity_input.vue b/src/components/opacity_input/opacity_input.vue index e0567ec7..3926915b 100644 --- a/src/components/opacity_input/opacity_input.vue +++ b/src/components/opacity_input/opacity_input.vue @@ -5,7 +5,7 @@ </label> <input v-if="typeof fallback !== 'undefined'" - class="opt" + class="opt exclude-disabled" :id="name + '-o'" type="checkbox" :checked="present" @@ -36,43 +36,3 @@ export default { } } </script> - -<style lang="scss"> -.opacity-control { - display: flex; - align-items: baseline; - - &.disabled *:not(.opt-l) { - opacity: .5 - } - - .opt-l { - align-self: center; - &::before { - width: 14px; - height: 14px; - } - } - - .label { - flex: 2; - min-width: 7em; - } - - .input-range { - background: none; - border: none; - margin: 0; - height: auto; - box-shadow: none; - min-width: 7em; - flex: 1; - } - - .input-number { - margin: 0; - min-width: 4em; - flex: 0; - } -} -</style> |
