1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00

fix layout of search dropdowns

This commit is contained in:
John Mitchell 2016-06-01 14:11:19 -04:00
parent 763416725c
commit c5c65adc09
3 changed files with 29 additions and 25 deletions

View File

@ -2242,3 +2242,7 @@ a:hover {
#scheduled-jobs-tab .List-header {
display: none;
}
.ui-widget {
font-family: 'Open Sans';
}

View File

@ -29,9 +29,9 @@
display: flex;
white-space: nowrap;
align-items: center;
max-height: 400px;
cursor: pointer;
text-transform: uppercase;
position: relative;
}
.TagSearch-typeDropdown.is-open {
@ -49,7 +49,7 @@
.TagSearch-dropdownContainer {
position: absolute;
left: 15px;
left: -1px;
top: 34px;
font-size: 14px;
border-radius: 5px;
@ -65,13 +65,12 @@
}
.TagSearch-dropdownContainer--searchTypes {
min-width: 96px;
min-width: ~"calc(100% + 1px)";
}
.TagSearch-dropdownContainer--typeOptions {
right: 15px;
left: initial;
width: ~"calc(100% - 123px)";
right: -1px;
left: -1px;
}
.TagSearch-dropdownItem {
@ -97,6 +96,7 @@
border-bottom-right-radius: 5px;
display: flex;
background-color: @default-bg;
position: relative;
}
.TagSearch-searchTermContainer.is-open {

View File

@ -10,7 +10,6 @@
</span>
<i class="TagSearch-selectDownIcon fa fa-angle-down"
ng-hide="searchTypes.length === 1"></i>
</div>
<div aw-click-off="showTypeDropdown" class="TagSearch-dropdownContainer
TagSearch-dropdownContainer--searchTypes"
ng-show="showTypeDropdown">
@ -21,6 +20,7 @@
{{ type.label }}
</div>
</div>
</div>
<div class="TagSearch-searchTermContainer"
ng-class="{'is-open': showCurrentSearchDropdown}">
<input class="TagSearch-searchTermInput"
@ -43,7 +43,6 @@
<i class="TagSearch-selectDownIcon
fa fa-angle-down">
</i>
</div>
<div aw-click-off="showCurrentSearchDropdown"
class="TagSearch-dropdownContainer
TagSearch-dropdownContainer--typeOptions"
@ -58,6 +57,7 @@
</div>
</div>
</div>
</div>
<div class="col-lg-8 col-md-12 col-sm-12 col-xs-12">
<div class="TagSearch-tagSection">