Made list headers, buttons and search bars responsive down to mobile views.

This commit is contained in:
Michael Abashian
2016-03-03 08:19:45 -05:00
parent 35f1253bf4
commit 54699b17ec
7 changed files with 48 additions and 24 deletions

View File

@@ -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;
}
}