github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/ui/src/views/cluster/containers/dataDistribution/replicaMatrix.styl (about)

     1  // Copyright 2018 The Cockroach Authors.
     2  //
     3  // Use of this software is governed by the Business Source License
     4  // included in the file licenses/BSL.txt.
     5  //
     6  // As of the Change Date specified in that file, in accordance with
     7  // the Business Source License, use of this software will be governed
     8  // by the Apache License, Version 2.0, included in the file
     9  // licenses/APL.txt.
    10  @require '~styl/base/palette.styl'
    11  
    12  .matrix
    13    background-color white
    14    border-collapse collapse
    15    border-bottom 1px solid lightgrey
    16    border-top 1px solid lightgrey
    17  
    18    thead
    19      border-bottom 1px solid black
    20  
    21    th, td
    22      padding 5px
    23      border-left 1px solid lightgrey
    24      border-right 1px solid lightgrey
    25  
    26    td.value
    27      text-align center
    28  
    29    &__metric-label
    30      font-style italic
    31  
    32    &__row--internal-node
    33      cursor pointer
    34  
    35    &__row--internal-node:hover
    36      background-color rgb(240, 240, 240)
    37  
    38    &__row-header
    39      text-align left
    40  
    41    &__row-header--internal-node
    42      font-weight bold
    43  
    44    &__column-header
    45      font-weight bold
    46  
    47    &__column-header--internal-node
    48      cursor pointer
    49  
    50    &__column-header--internal-node:hover
    51      background-color rgb(240, 240, 240)
    52  
    53    &__cell-value
    54      text-align right
    55  
    56    &__dropped-schema-object
    57      color $alert-color
    58      margin-left 5px
    59  
    60  .table-label
    61    &--dropped
    62      color grey
    63      font-style italic
    64      text-decoration line-through
    65  
    66  .replica-matrix-key
    67    width 400px
    68    margin-top 10px
    69    font-style italic
    70    table-border-width 10px
    71  
    72    td
    73      vertical-align top
    74  
    75    &__definition
    76      padding-left 5px