github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/tools/dashboard/app/static/style.css (about)

     1  * { box-sizing: border-box; }
     2  
     3        .dashboards {
     4          padding: 0.5em;
     5        }
     6        .dashboards a {
     7          padding: 0.5em;
     8          background: #eee;
     9          color: blue;
    10        }
    11  
    12  body {
    13    margin: 0;
    14    font-family: sans-serif;
    15    padding: 0; margin: 0;
    16    color: #222;
    17  }
    18   
    19  .container {
    20    max-width: 900px;
    21    margin: 0 auto;
    22  }
    23   
    24  p, pre, ul, ol { margin: 20px; }
    25   
    26  h1, h2, h3, h4 {
    27    margin: 20px 0;
    28    padding: 0;
    29    color: #375EAB;
    30    font-weight: bold;
    31  }
    32   
    33  h1 { font-size: 24px; }
    34  h2 { font-size: 20px; }
    35  h3 { font-size: 20px; }
    36  h4 { font-size: 16px; }
    37   
    38  h2 { background: #E0EBF5; padding: 2px 5px; }
    39  h3, h4 { margin: 20px 5px; }
    40   
    41  dl, dd { font-size: 14px; }
    42  dl { margin: 20px; }
    43  dd { margin: 2px 20px; }
    44   
    45  .clear {
    46    clear: both;
    47  }
    48   
    49  .button {
    50    padding: 10px;
    51    
    52    color: #222;
    53    border: 1px solid #375EAB;
    54    background: #E0EBF5;
    55    
    56    border-radius: 5px;
    57    
    58    cursor: pointer;
    59    
    60    margin-left: 60px;
    61  }
    62   
    63  /* navigation bar */
    64   
    65  #topbar {
    66    padding: 10px 10px;
    67    background: #E0EBF5;
    68  }
    69   
    70  #topbar a {
    71    color: #222;
    72  }
    73  #topbar h1 {
    74    float: left;
    75    margin: 0;
    76    padding-top: 5px;
    77  }
    78   
    79  #topbar nav { 
    80    float: left;
    81    margin-left: 20px;
    82  }
    83  #topbar nav a {
    84    display: inline-block;
    85    padding: 10px;
    86    
    87    margin: 0;
    88    margin-right: 5px;
    89   
    90    color: white;
    91    background: #375EAB;
    92      
    93    text-decoration: none;
    94    font-size: 16px;
    95      
    96    border: 1px solid #375EAB;
    97    -webkit-border-radius: 5px;
    98    -moz-border-radius: 5px;
    99    border-radius: 5px;
   100  }
   101   
   102  .page {
   103    margin-top: 20px;
   104  }
   105   
   106  /* settings panels */
   107  aside {
   108    margin-top: 5px;
   109  }
   110   
   111  .panel {
   112    border: 1px solid #aaa;
   113    border-radius: 5px;
   114    margin-bottom: 5px;
   115  }
   116   
   117  .panel h1 {
   118    font-size: 16px;
   119    margin: 0;
   120    padding: 2px 8px;
   121  }
   122   
   123  .panel select {
   124    padding: 5px;
   125    border: 0;
   126    width: 100%;
   127  }
   128   
   129  /* results table */
   130   
   131  table {
   132    margin: 5px;
   133    border-collapse: collapse;
   134    font-size: 11px;
   135  }
   136   
   137  table td, table th, table td, table th {
   138    vertical-align: top;
   139    padding: 2px 6px;
   140  }
   141   
   142  table tr:nth-child(2n+1) {
   143    background: #F4F4F4;
   144  }
   145   
   146  table thead tr {
   147    background: #fff !important;
   148  }
   149   
   150  /* build results */
   151   
   152  .build td, .build th, .packages td, .packages th {
   153    vertical-align: top;
   154    padding: 2px 4px;
   155    font-size: 10pt;
   156  }
   157        
   158  .build .hash {
   159    font-family: monospace;
   160    font-size: 9pt;
   161  }
   162   
   163  .build .result {
   164    text-align: center;
   165    width: 2em;
   166  }
   167   
   168  .build .col-hash, .build .col-result, .build .col-metric, .build .col-numresults {
   169    border-right: 1px solid #ccc;
   170  }
   171  
   172  .build .row-commit {
   173    border-top: 2px solid #ccc;
   174  }
   175  
   176  .build .arch {
   177    font-size: 83%;
   178    font-weight: normal;
   179  }
   180  
   181  .build .time {
   182    color: #666;
   183  }
   184  
   185  .build .ok {
   186    font-size: 83%;
   187  }
   188  
   189  .build .desc, .build .time, .build .user {
   190    white-space: nowrap;
   191  }
   192   
   193  .build .desc {
   194    text-align: left;
   195    max-width: 470px;
   196    overflow: hidden;
   197    text-overflow: ellipsis;
   198  }
   199   
   200  .good   { text-decoration: none; color: #000000; border: 2px solid #00E700}
   201  .bad    { text-decoration: none; text-shadow: 1px 1px 0 #000000; color: #FFFFFF; background: #E70000;}
   202  .noise  { text-decoration: none; color: #888; }
   203  .fail   { color: #C00; }
   204  
   205  /* pagination */
   206   
   207  .paginate nav {
   208    padding: 0.5em;
   209    margin: 10px 0;
   210  }
   211   
   212  .paginate nav a {
   213    padding: 0.5em;
   214    background: #E0EBF5;
   215    color: blue;
   216  
   217    -webkit-border-radius: 5px;
   218    -moz-border-radius: 5px;
   219    border-radius: 5px;
   220  }
   221   
   222  .paginate nav a.inactive {
   223    color: #888;
   224    cursor: default;
   225    text-decoration: none;
   226  }
   227  
   228  /* diffs */
   229   
   230  .diff-meta {
   231    font-family: monospace;
   232    margin-bottom: 10px;
   233  }
   234   
   235  .diff-container {
   236    padding: 10px;
   237  }
   238   
   239  .diff table .metric {
   240    font-weight: bold;
   241  }
   242   
   243  .diff {
   244    border: 1px solid #aaa;
   245    border-radius: 5px;
   246    margin-bottom: 5px;
   247    margin-right: 10px;
   248    float: left;
   249  }
   250   
   251  .diff h1 {
   252    font-size: 16px;
   253    margin: 0;
   254    padding: 2px 8px;
   255  }
   256  
   257  .diff-benchmark {
   258    clear: both;
   259    padding-top: 5px;
   260  }
   261  
   262  /* positioning elements */
   263   
   264  .page {
   265    position: relative;
   266    width: 100%;
   267  }
   268   
   269  aside {
   270    position: absolute;
   271    top: 0;
   272    left: 0;
   273    bottom: 0;
   274    width: 200px;
   275  }
   276   
   277  .main-content {
   278    position: absolute;
   279    top: 0;
   280    left: 210px;
   281    right: 5px;
   282    min-height: 200px;
   283    overflow: hidden;
   284  }
   285   
   286  @media only screen and (max-width: 900px) {
   287    aside {
   288      position: relative;
   289      display: block;
   290      width: auto;
   291    }
   292   
   293    .main-content {
   294      position: static;
   295      padding: 0;
   296    }
   297    
   298    aside .panel {
   299      float: left;
   300      width: auto;
   301      margin-right: 5px;
   302    }
   303    aside .button {
   304      float: left;
   305      margin: 0;
   306    }
   307  }
   308