mirror of
https://github.com/ansible/awx.git
synced 2026-08-06 13:00:05 -02:30
Made list headers, buttons and search bars responsive down to mobile views.
This commit is contained in:
@@ -143,7 +143,6 @@ table, tbody {
|
||||
|
||||
.List-header {
|
||||
display: flex;
|
||||
height: 34px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@@ -151,7 +150,7 @@ table, tbody {
|
||||
align-items: center;
|
||||
flex: 1 0 auto;
|
||||
display: flex;
|
||||
margin-top: -2px;
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
.List-titleBadge {
|
||||
@@ -172,15 +171,22 @@ table, tbody {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.List-actions {
|
||||
.List-actionHolder {
|
||||
justify-content: flex-end;
|
||||
display: flex;
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
.List-actions {
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
.List-auxAction + .List-actions {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.List-auxAction {
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@@ -188,6 +194,10 @@ table, tbody {
|
||||
width: 175px;
|
||||
}
|
||||
|
||||
.List-action:not(.ng-hide) ~ .List-action:not(.ng-hide) {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.List-buttonSubmit {
|
||||
background-color: @submit-button-bg;
|
||||
color: @submit-button-text;
|
||||
@@ -352,3 +362,25 @@ table, tbody {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.List-searchWidget + .List-searchWidget {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.List-header {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
.List-actionHolder {
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
flex: 1 0 auto;
|
||||
margin-top: 12px;
|
||||
}
|
||||
.List-well {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user