Files
awx/awx/ui/static/less/job-details.less

233 lines
3.8 KiB
Plaintext

/*********************************************
* Copyright (c) 2014 AnsibleWorks, Inc.
*
* job-details.less
*
* Styles for job details page
*
*/
#jobs-detail {
.nav-path {
margin-bottom: 20px;
}
}
.inline-block {
display: inline-block;
vertical-align: top;
}
#job-status {
}
.job-detail-table {
tbody>tr>td {
border-top-color: @well;
padding-top: 0;
padding-bottom: 0;
}
thead>tr>th {
padding-top: 0;
padding-bottom: 0;
font-size: 14px;
}
tbody>tr.active, tbody>tr.active>td {
background-color: #EDF2F2;
}
}
.job_summary {
.table {
margin-bottom: 0;
border: 1px solid @grey;
background-color: @white;
}
.table>tbody>tr>td {
border-top-color: @well;
padding-bottom: 0;
}
.table>thead>tr>th {
border-bottom-color: @well;
padding-bottom: 0;
height: 22px;
}
}
.status-bar {
height: 16px;
overflow: hidden;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
width: 98%;
margin-top: 2px;
}
.inner-bar {
display: inline-block;
overflow: hidden;
height: 16px;
text-align: center;
font-size: 12px;
font-weight: bold;
line-height: normal;
}
.failed-hosts {
background-color: #DA4D49;
}
.successful-hosts {
background-color: #9ED89E;
}
.changed-hosts {
background-color: #FFC773;
}
.skipped-hosts {
background-color: #D4D4D4;
}
.job_well {
padding: 8px;
background-color: @well;
border: 1px solid @well-border;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}
.section {
margin-bottom: 20px;
h5 {
margin-top: 0;
margin-bottom: 12px;
}
}
.section:last-child {
margin-bottom: 0;
}
#job-detail-tables {
margin-top: 20px;
}
.status-row {
margin-bottom: 10px;
.job-label {
font-weight: bold;
font-size: 12px;
}
}
#job_options {
height: 100px;
overflow-y: auto;
overflow-x: none;
}
#job_plays, #job_tasks {
height: 150px;
overflow-y: auto;
overflow-x: none;
}
#breadcrumb-container {
padding-right: 10px;
}
#job-detail-container {
position: relative;
padding-left: 15px;
padding-right: 7px;
width: 58.33333333%;
}
#job-summary-container {
position: absolute;
top: 0;
right: 0;
padding-right: 15px;
padding-left: 7px;
width: 41.66666667%;
}
.table-header {
font-weight: bold;
font-size: 12px;
}
.table-detail {
overflow-x: hidden;
overflow-y: auto;
border: 1px solid @black;
background-color: @white;
.row {
border-top: 1px solid @grey;
}
/*.row:nth-child(odd) {
background-color: @well;
padding-top: 0;
padding-bottom: 0;
}*/
.active {
background-color: #EDF2F2;
}
}
.status-column i {
font-size: 12px;
}
#tasks-table-detail {
height: 150px;
}
#play-section {
.table-detail {
height: 150px;
}
}
#task-hosts-section {
position: relative;
top: 0;
left: 0;
#hosts-table-detail {
padding: 3px;
border: 1px solid @grey;
border-top: 2px solid #ddd;
height: 150px;
background-color: @white;
.col-lg-1, .col-md-1, .col-sm-1, .col-xs-1 {
width: 3%;
}
}
}
#hosts-summary-section {
.col-lg-4, .col-md-4, .col-sm-4, .col-xs-4 {
width: 33%;
}
.col-lg-2, .col-md-2, .col-sm-2, .col-xs-2 {
width: 16.5%;
}
.table-header {
font-size: 12px;
}
.table-detail {
height: 200px;
}
.name {
word-break: break-all;
}
}