mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 10:57:35 -02:30
Fix input lookup button height
This commit is contained in:
@@ -221,6 +221,32 @@
|
|||||||
padding: 6px @at-padding-input 0 @at-padding-input;
|
padding: 6px @at-padding-input 0 @at-padding-input;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.at-InputLookup {
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
.at-InputLookup-button {
|
||||||
|
.at-mixin-InputButton();
|
||||||
|
border-radius: @at-border-radius 0 0 @at-border-radius;
|
||||||
|
border-right: none;
|
||||||
|
flex: 0 0 35px;
|
||||||
|
height: auto;
|
||||||
|
min-height: 30px
|
||||||
|
}
|
||||||
|
|
||||||
|
.at-InputLookup-tagContainer {
|
||||||
|
.at-mixin-Border;
|
||||||
|
display: flex;
|
||||||
|
flex-flow: row wrap;
|
||||||
|
padding: 0 10px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.at-InputLookup-button + .at-Input,
|
||||||
|
.at-InputLookup-tagContainer {
|
||||||
|
border-radius: 0 @at-border-radius @at-border-radius 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.at-InputSlider {
|
.at-InputSlider {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 5px 0;
|
padding: 5px 0;
|
||||||
|
|||||||
@@ -2,14 +2,12 @@
|
|||||||
<div class="form-group at-u-flat">
|
<div class="form-group at-u-flat">
|
||||||
<at-input-label></at-input-label>
|
<at-input-label></at-input-label>
|
||||||
|
|
||||||
<div class="input-group">
|
<div class="at-InputLookup">
|
||||||
<span class="input-group-btn">
|
<button class="at-InputLookup-button"
|
||||||
<button class="btn at-ButtonHollow--default at-Input-button"
|
ng-disabled="state._disabled || form.disabled"
|
||||||
ng-disabled="state._disabled || form.disabled"
|
ng-click="vm.lookup()">
|
||||||
ng-click="vm.lookup()">
|
<i class="fa fa-search"></i>
|
||||||
<i class="fa fa-search"></i>
|
</button>
|
||||||
</button>
|
|
||||||
</span>
|
|
||||||
<input type="text"
|
<input type="text"
|
||||||
class="form-control at-Input"
|
class="form-control at-Input"
|
||||||
ng-class="{ 'at-Input--rejected': state._rejected }"
|
ng-class="{ 'at-Input--rejected': state._rejected }"
|
||||||
@@ -20,7 +18,7 @@
|
|||||||
ng-hide="state._lookupTags"
|
ng-hide="state._lookupTags"
|
||||||
ng-disabled="state._disabled || form.disabled">
|
ng-disabled="state._disabled || form.disabled">
|
||||||
|
|
||||||
<span class="form-control Form-textInput Form-textInput--variableHeight LabelList-lookupTags"
|
<span class="at-InputLookup-tagContainer LabelList-lookupTags"
|
||||||
ng-if="state._lookupTags"
|
ng-if="state._lookupTags"
|
||||||
ng-disabled="state._disabled || form.disabled">
|
ng-disabled="state._disabled || form.disabled">
|
||||||
<div class="LabelList-tagContainer" ng-repeat="tag in state._value track by $index">
|
<div class="LabelList-tagContainer" ng-repeat="tag in state._value track by $index">
|
||||||
|
|||||||
@@ -20,6 +20,12 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.at-mixin-Border (@color: @at-border-default-color) {
|
||||||
|
border-width: @at-border-default-width;
|
||||||
|
border-style: @at-border-default-style;
|
||||||
|
border-color: @color
|
||||||
|
}
|
||||||
|
|
||||||
.at-mixin-Button () {
|
.at-mixin-Button () {
|
||||||
border-radius: @at-border-radius;
|
border-radius: @at-border-radius;
|
||||||
height: @at-height-input;
|
height: @at-height-input;
|
||||||
|
|||||||
@@ -316,6 +316,10 @@
|
|||||||
// 5. Misc ----------------------------------------------------------------------------------------
|
// 5. Misc ----------------------------------------------------------------------------------------
|
||||||
|
|
||||||
@at-border-radius: 5px;
|
@at-border-radius: 5px;
|
||||||
|
@at-border-default-style: solid;
|
||||||
|
@at-border-default-width: 1px;
|
||||||
|
@at-border-default-color: @at-gray-b7;
|
||||||
|
@at-border-style-list-active-indicator: 5px solid @at-color-info;
|
||||||
@at-popover-maxwidth: 320px;
|
@at-popover-maxwidth: 320px;
|
||||||
@at-line-height-short: 0.9;
|
@at-line-height-short: 0.9;
|
||||||
@at-line-height-tall: 2;
|
@at-line-height-tall: 2;
|
||||||
@@ -325,8 +329,6 @@
|
|||||||
@at-z-index-nav: 1040;
|
@at-z-index-nav: 1040;
|
||||||
@at-z-index-side-nav: 1030;
|
@at-z-index-side-nav: 1030;
|
||||||
@at-z-index-footer: 1020;
|
@at-z-index-footer: 1020;
|
||||||
@at-border-default-width: 1px;
|
|
||||||
@at-border-style-list-active-indicator: 5px solid @at-color-info;
|
|
||||||
@at-line-height-list-row-item-tag: 22px;
|
@at-line-height-list-row-item-tag: 22px;
|
||||||
|
|
||||||
// 6. Breakpoints ---------------------------------------------------------------------------------
|
// 6. Breakpoints ---------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user