github.com/billybanfield/evergreen@v0.0.0-20170525200750-eeee692790f7/public/static/less/grid.less (about)

     1  @was-success:#01DF01;
     2  @was-fail:#F5A9A9;
     3  @was-system-fail:#9370DB;
     4  @system-failure:#800080;
     5  @undispatched_grey:#ccc;
     6  @started_grey:#ccc;
     7  @success_green: #4AC948;
     8  @fail_red: #FF4040;
     9  @cell_size:20px;
    10  @rowheader_width:10px;
    11  @header_height:60px;
    12  @cell_spacing: 2px;
    13  @rotation: -45deg;
    14  
    15  .test-failures {
    16      padding-left: 10px;
    17      margin-bottom: 0px;
    18  }
    19  
    20  .failure-tab {
    21      margin-left: 30px;
    22  }
    23  
    24  .tablerow {
    25      margin-left: 40px;
    26  }
    27  
    28  .summary {
    29      margin-left: 0px;
    30      list-style-type: none;
    31      margin-bottom: 40px;
    32  }
    33  
    34  .nav-tabs {
    35      border-bottom: 0px;
    36  }
    37  
    38  .failure-test {
    39      font-size: 15px;
    40      font-family: Akzidenz,"Helvetica Neue",Helvetica,Arial,sans-serif;
    41  }
    42  
    43  .failure-task {
    44      font-size: 20px;
    45      margin-top: 15px;
    46  }
    47  
    48  .failure-link {
    49      color: #000000; 
    50      text-decoration: none;
    51  }
    52  
    53  #popover .popover{
    54      max-width: 670px;
    55  }
    56  
    57  #popover h3.popover-title{
    58      display: none;
    59  }
    60  
    61  .current-task-run{
    62      font-size: 1.5em;
    63  }
    64  
    65  ul.tooltip-tasks{
    66      list-style: none;
    67      max-height: 300px;
    68      overflow: scroll;
    69      border: 1px solid #eee;
    70  
    71      .test-result{
    72          width: 515px;
    73          overflow: hidden;
    74          white-space: nowrap;
    75  
    76          .gitspec{
    77              font-family: monospace;
    78              font-weight: bold;
    79          }
    80      }
    81      .commitmsg{
    82          padding-left: 5px;
    83          text-overflow: ellipsis;
    84      }
    85  
    86      li.tooltip-task{
    87          margin-top: 1px;
    88      }
    89  }
    90  .tooltip-task-status{
    91      width: 15px;
    92      line-height: 12px;
    93      display: inline-block;
    94      border: 1px solid #888;
    95      margin-right: 3px;
    96  }
    97  
    98  .tooltip-task-status.started{
    99      background-color: #ccc;
   100      background-image: url('/static/img/15.GIF');
   101  }
   102  
   103  .gridtable(@cell_spacing, @cell_size, @rowheader_width, @header_height:60px, @extra_rowspacing:0px){
   104      .top-header-row.locked {
   105          background-color: white;
   106          z-index: 100;
   107          margin: 0px;
   108      }
   109      .tablebody.locked {
   110          padding-top: @header_height - 30px;
   111          margin: 0px;
   112      }
   113      .top-header-row {
   114          padding-top: @header_height;
   115          padding-left: @rowheader_width+38px;
   116          white-space: nowrap;
   117  
   118          .header-cell {
   119              font-size: 16px;
   120              white-space: nowrap;
   121              margin-left: 0px;
   122              display: inline-block;
   123              width: @cell_size + @cell_spacing;
   124              border-style: none;
   125              -webkit-transform: rotate(@rotation);
   126              -moz-transform: rotate(@rotation);
   127              -ms-transform: rotate(@rotation);
   128              -o-transform: rotate(@rotation);
   129              transform: rotate(@rotation);
   130              filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
   131  
   132              .header-text {
   133                  font-size: .8em;
   134                  font-weight: bold;
   135                  border-bottom: 1px solid #ccc;
   136              }
   137          }
   138          .header-cell.highlighted {
   139              .header-text {
   140                  background-color: #eee;
   141              }
   142          }
   143      }
   144  
   145      .tablerow {
   146          white-space: nowrap;
   147          line-height: @cell_size;
   148          margin-bottom: @cell_spacing + @extra_rowspacing;
   149          text-align: right;
   150          position: relative;
   151          top: .5em;
   152          float: left;
   153          clear: both;
   154  
   155          .header {
   156              font-size: 16px;
   157              text-align: right;
   158              vertical-align: top;
   159              text-overflow: ellipsis;
   160              white-space: nowrap;
   161              overflow: hidden;
   162              display: inline-block;
   163              width: @rowheader_width - 20px;
   164  
   165              .commit-msg {
   166                  //display: none; // comment this out to show commits: ;
   167                  float: right;
   168                  text-align: right;
   169                  width: 200px;
   170                  font-size: .8em;
   171                  color: #888;
   172                  text-overflow: ellipsis;
   173                  overflow: hidden;
   174              }
   175          }
   176          .header.highlighted {
   177              background-color: #eee;
   178          }
   179          .cells {
   180              margin-left: 5px;
   181              display: inline-block;
   182  
   183              a {
   184                  text-decoration: none;
   185              }
   186              .cell {
   187                  //border-radius: @cell_size/2; //uncomment for circular cells;
   188                  margin-right: 2px;
   189                  display: inline-block;
   190                  width: @cell_size;
   191                  height: @cell_size;
   192              }
   193          }
   194      }
   195  }
   196  
   197  .gridtable-timeline {
   198      margin: 0 30px;
   199  }
   200  .gridtable-small {
   201      .gridtable(2px, 20px, 265px, 60px);
   202      margin-top: 50px;
   203  }
   204  .gridtable-scroll {
   205      overflow: scroll;
   206  }
   207  .cell {
   208      background: transparent;
   209  }
   210  .cell.success {
   211      background-color: @success_green;
   212  }
   213  .cell.failed {
   214      background-color: @fail_red;
   215  }
   216  .cell.system-failed {
   217      background-color: @system-failure;
   218  }
   219  .cell.unstarted {
   220      background-color: @undispatched_grey;
   221      border: 1px solid #ccc;
   222  }
   223  .cell.skipped {
   224      background-color: #fafafa;
   225      pointer-events: none;
   226  }
   227  .cell.failure {
   228      background-color: @fail_red;
   229  }
   230  .cell.undispatched {
   231      background-color: @undispatched_grey;
   232      border: 1px solid #ccc;
   233  }
   234  .cell.undispatched.active {
   235      background-color: @undispatched_grey;
   236      border: 1px solid #ccc;
   237  }
   238  .cell.undispatched.inactive {
   239      background-color: white;
   240      border: 1px solid #ccc;
   241  }
   242  .cell.was-success {
   243      background-color: @was-success;
   244      opacity: 0.3;
   245  }
   246  .cell.was-failure {
   247      background-color: @was-fail;
   248  }
   249  .cell.was-system-failed {
   250      background-color: @was-system-fail;
   251  }
   252  .cell.started {
   253      background-image: url('/static/img/15.GIF');
   254  }
   255  
   256  .task-history-gridtable .cell.started {
   257      border: 1px solid #ccc;
   258  
   259      &.task-doesnt-match {
   260          border: 4px solid #fff;
   261      }
   262  }