mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 15:27:47 -02:30
List view CSS updates. This commit includes styling of list headers w/ badge. It also includes pagination styling along with some small bug fixes. This commit also removes the activity stream button from a lot of all of the list views per the spec.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
@import "src/shared/branding/colors.default.less";
|
||||
@import "awx/ui/client/src/shared/branding/colors.default.less";
|
||||
|
||||
|
||||
table, tbody {
|
||||
@@ -43,6 +43,10 @@ table, tbody {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.List-tableHeaderSort {
|
||||
color: @list-header-icon;
|
||||
}
|
||||
|
||||
.List-tableRow {
|
||||
height: 40px;
|
||||
font-size: 14px;
|
||||
@@ -97,3 +101,84 @@ table, tbody {
|
||||
.List-actionButton + .List-actionButton {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.List-pagination {
|
||||
margin-top: 10px;
|
||||
font-size: 12px;
|
||||
color: @list-pagin-text;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.List-paginationPager {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.List-paginationPager--pageof {
|
||||
line-height: 22px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.List-paginationPager--item {
|
||||
border-color: @list-pagin-bord;
|
||||
}
|
||||
|
||||
.List-paginationPager--active {
|
||||
border-color: @list-pagin-bord-act!important;
|
||||
background-color: @list-pagin-bg-act!important;
|
||||
}
|
||||
|
||||
.List-header {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.List-title {
|
||||
flex: 1 0 auto;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.List-titleBadge {
|
||||
font-size: 11px;
|
||||
font-weight: normal;
|
||||
padding: 1px 10px;
|
||||
height: 14px;
|
||||
margin: 3px 0;
|
||||
background-color: @list-title-badge;
|
||||
}
|
||||
|
||||
.List-titleText {
|
||||
color: @list-title-txt;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
margin-right: 10px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.List-actions {
|
||||
justify-content: flex-end;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.List-buttonSubmit {
|
||||
transition: background-color 0.2s;
|
||||
background-color: @submit-button-bg;
|
||||
color: @submit-button-text;
|
||||
}
|
||||
|
||||
.List-buttonSubmit:hover,
|
||||
.List-buttonSubmit:focus {
|
||||
color: @submit-button-text;
|
||||
background-color: @submit-button-bg-hov;
|
||||
}
|
||||
|
||||
.List-buttonDefault {
|
||||
transition: background-color 0.2s;
|
||||
background-color: @btn-bg;
|
||||
color: @btn-txt;
|
||||
border-color: @btn-bord;
|
||||
}
|
||||
|
||||
.List-buttonDefault:hover,
|
||||
.List-buttonDefault:focus {
|
||||
background-color: @btn-bg-hov;
|
||||
color: @btn-txt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user