diff options
author | SurenNeware <sneware9@in.ibm.com> | 2020-08-17 16:12:20 +0300 |
---|---|---|
committer | SurenNeware <sneware9@in.ibm.com> | 2020-10-07 14:39:31 +0300 |
commit | dc618a8dbc778c273015540e438cf81e1933175f (patch) | |
tree | 930aa1f4b2dcca2863f95d87fa6d69c66e9e3a33 /src/components/Global/InputPasswordToggle.vue | |
parent | fde429e08a1643a9fab05131aaef563260743aa6 (diff) | |
download | webui-vue-dc618a8dbc778c273015540e438cf81e1933175f.tar.xz |
Add new style guide to global button style
- Updated new style guide for Primary, Secondary and Link button variants
- Changed box-shadow style from outer to inside on focus and active state
- Updated font weight from bold to regular for normal buttons and font
weight bold for link button.
Signed-off-by: Suren Neware <sneware9@in.ibm.com>
Change-Id: I38ca94baa9daec3fd03b830fc7b6d676fcce15b0
Diffstat (limited to 'src/components/Global/InputPasswordToggle.vue')
-rw-r--r-- | src/components/Global/InputPasswordToggle.vue | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/components/Global/InputPasswordToggle.vue b/src/components/Global/InputPasswordToggle.vue index 6ac98639..228746cf 100644 --- a/src/components/Global/InputPasswordToggle.vue +++ b/src/components/Global/InputPasswordToggle.vue @@ -4,6 +4,7 @@ <b-button :aria-label="$t('global.ariaLabel.showPassword')" variant="link" + class="input-action-btn" :class="{ isVisible: isVisible }" @click="toggleVisibility" > @@ -52,15 +53,4 @@ export default { .input-password-toggle-container { position: relative; } - -.btn { - position: absolute; - right: 0; - top: 0; - padding: 0.4rem 1rem; - svg { - margin-left: 0; - vertical-align: sub; - } -} </style> |