github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/ui/src/views/cluster/containers/events/events.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  
    11  @require "~styl/base/palette.styl"
    12  @require "~src/components/core/index.styl"
    13  
    14  $event-message-line-height = 22px
    15  
    16  .events
    17    font-family $font-family--base
    18    table
    19      width 100%
    20      border-collapse collapse
    21      tr
    22        border-bottom 1px solid $table-border-color
    23        &:last-child
    24          border 0
    25        td
    26          padding 10px 0 8px
    27      tr:first-child > td
    28        padding 0 0 8px
    29  
    30  
    31  .events__message
    32    font-size $font-size--medium
    33    color $colors--neutral-8
    34    text-overflow ellipsis
    35    display block
    36    overflow hidden
    37    line-height $event-message-line-height
    38    width 240px
    39    max-height $event-message-line-height * 2
    40  
    41  .events__timestamp
    42    font-size $font-size--small
    43    color $colors--neutral-6
    44    letter-spacing 0.3px
    45    line-height $line-height--small
    46  
    47  .events__more-link
    48    text-align center
    49    color $link-color
    50    font-family $font-family--bold
    51    text-transform uppercase
    52    font-size 12px
    53    letter-spacing 2px
    54    cursor pointer
    55  
    56    a
    57      color $link-color
    58      text-decoration none