diff --git a/awx/ui/client/legacy-styles/ansible-ui.less b/awx/ui/client/legacy-styles/ansible-ui.less index 9deeb361a9..6459b5ca60 100644 --- a/awx/ui/client/legacy-styles/ansible-ui.less +++ b/awx/ui/client/legacy-styles/ansible-ui.less @@ -1955,9 +1955,6 @@ tr td button i { padding-left: 15px; padding-right: 15px; } - - - } // lists.less uses 600px as the breakpoint, doing same for consistency @@ -1970,15 +1967,26 @@ tr td button i { .nvtooltip { border-radius: 4px; - padding: 3px 10px; -} -.nvtooltip td.value { - padding-right: 0px; -} + td.value { + padding-right: 0px; + } -.nvtooltip p { - padding: 3px 0px; + p { + padding: 3px 0px; + } + + & > table > thead > tr > td { + font-weight: 700; + + &:first-child { + padding-top: 0; + } + } + + & > table > tbody > tr:last-child > td { + padding-bottom: 0; + } } .nvd3 g.nv-groups path.nv-line { @@ -2288,3 +2296,4 @@ html input[disabled] { .CodeMirror--disabled .CodeMirror-cursors { display: none; } + diff --git a/awx/ui/client/legacy-styles/forms.less b/awx/ui/client/legacy-styles/forms.less index 23f49bde58..6dbf25d1c7 100644 --- a/awx/ui/client/legacy-styles/forms.less +++ b/awx/ui/client/legacy-styles/forms.less @@ -478,6 +478,37 @@ input[type='radio']:checked:before { width: 100%; display: block !important; } + +.Form-inputLabelContainer[for=variables] { + width: auto; + display: inline-block !important; +} + +.FormToggle {} +.FormToggle-container { + float: right; + margin: 0 0 0 10px; + padding-bottom: 5px; + + label { + &:first-child { + border-right: none; + } + &:last-child { + border-left: none; + } + } + + input { + visibility: hidden; + position: absolute; + } + + .btn.btn-xs { + padding: 0px 10px; + } +} + .Form-inputLabel{ text-transform: uppercase; color: @default-interface-txt; diff --git a/awx/ui/client/src/portal-mode/portal-mode-layout.partial.html b/awx/ui/client/src/portal-mode/portal-mode-layout.partial.html index 5781c920ad..823097661d 100644 --- a/awx/ui/client/src/portal-mode/portal-mode-layout.partial.html +++ b/awx/ui/client/src/portal-mode/portal-mode-layout.partial.html @@ -8,9 +8,9 @@
+ 'btn-default' : activeFilter != 'user' }" ng-click='filterUser()' class="btn btn-xs PortalMode-filterButton--edges" translate>My Jobs + 'btn-default' : activeFilter != 'all'}" ng-click='filterAll()' class="btn btn-xs PortalMode-filterButton--edges" translate>All Jobs