github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/ui/src/components/tooltip/tooltip.styl (about)

     1  // Copyright 2019 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 '~src/components/core/index.styl'
    12  
    13  .tooltip-overlay
    14    .ant-tooltip-content
    15      .ant-tooltip-inner
    16        @extend $text--body
    17        line-height $line-height--small
    18        padding $spacing-x-small $spacing-small
    19        color $colors--white
    20        background $colors--neutral-8
    21      .ant-tooltip-arrow
    22        color $colors--neutral-8
    23  
    24  .tooltip-overlay.crl-tooltip--theme-blue
    25    .ant-tooltip-content
    26      .ant-tooltip-inner
    27        background $colors--neutral-6
    28      .ant-tooltip-arrow
    29        color $colors--neutral-6
    30  
    31  .tooltip__table--title
    32    font-family $font-family--base
    33    font-weight 600
    34    font-size $font-size--small
    35    line-height $line-height--small
    36    letter-spacing 0.3px
    37    color $colors--neutral-0
    38    a
    39      color $colors--neutral-0
    40      text-decoration underline
    41      &:hover
    42        opacity 0.7
    43        color $colors--neutral-0
    44    code
    45      font-family $font-family--monospace
    46      line-height $line-height--medium
    47      color $colors--neutral-8
    48      background $colors--neutral-4 
    49      border-radius 3px
    50      padding 2px 5px