From 7d4b3a08f25aeaf75c2f2ad77a9c2a82b2cde6f5 Mon Sep 17 00:00:00 2001 From: Greg Considine Date: Tue, 21 Mar 2017 13:39:05 -0400 Subject: [PATCH] Remove inner border on toggles --- awx/ui/client/legacy-styles/forms.less | 13 +++++++++++-- .../client/src/portal-mode/portal-mode.block.less | 9 +++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/legacy-styles/forms.less b/awx/ui/client/legacy-styles/forms.less index 4ee8ecfa6e..6dbf25d1c7 100644 --- a/awx/ui/client/legacy-styles/forms.less +++ b/awx/ui/client/legacy-styles/forms.less @@ -490,14 +490,23 @@ input[type='radio']:checked:before { margin: 0 0 0 10px; padding-bottom: 5px; - .btn.btn-xs { - padding: 0px 10px; + label { + &:first-child { + border-right: none; + } + &:last-child { + border-left: none; + } } input { visibility: hidden; position: absolute; } + + .btn.btn-xs { + padding: 0px 10px; + } } .Form-inputLabel{ diff --git a/awx/ui/client/src/portal-mode/portal-mode.block.less b/awx/ui/client/src/portal-mode/portal-mode.block.less index aad0710d95..40b232bf4b 100644 --- a/awx/ui/client/src/portal-mode/portal-mode.block.less +++ b/awx/ui/client/src/portal-mode/portal-mode.block.less @@ -23,6 +23,15 @@ align-items: center; justify-content: center; + .PortalMode-filter > button { + &:first-child { + border-right: none; + } + &:last-child { + border-left: none; + } + } + .btn.btn-xs { padding: 1px 10px; }