github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/ui/src/views/cluster/components/controls/controls.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  .controls-content
    15    display flex
    16    align-items center
    17    margin-left 12px
    18    .btn__now.active, .btn__now button
    19      width 60px
    20      height 40px
    21      border 1px solid $colors--neutral-4
    22      background-color transparent
    23      margin-left 8px
    24      color $colors--neutral-7
    25      font-family SourceSansPro-SemiBold
    26      font-size 14px
    27      font-weight 600
    28      line-height 1.71
    29      letter-spacing 0.1px
    30      border-radius 4px
    31      &:hover
    32        background-color $colors--white
    33    .btn__now.disabled button
    34      color rgba($colors--neutral-7, 0.5)
    35    .disabled
    36      img
    37        opacity .4
    38    .ant-btn-group
    39      display flex
    40      ._action, ._action > button
    41        margin-right 0px
    42        border-color $colors--neutral-4
    43        background-color transparent
    44        width 40px
    45        height 40px
    46        font-size 21px
    47        padding 0
    48        display flex
    49        justify-content center
    50        &:first-child
    51          margin-left 0px
    52        &:hover
    53          background-color $colors--white
    54        .anticon
    55            color $colors--neutral-5
    56        &.active
    57          .anticon
    58            color $colors--primary-blue-3