github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/ui/src/views/app/components/chip/styles.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 "~styl/base/palette.styl"
    12  @require '~src/components/core/index'
    13  
    14  .Chip
    15    padding 4px 17px
    16    color $colors--neutral-6
    17    font-family SourceSansPro-Regular
    18    font-size 12px
    19    border-radius 20px
    20    min-height 25px
    21    min-width 85px
    22    text-align center
    23    display inline-block
    24    line-height 1.67
    25    letter-spacing 0.3px
    26    &--green
    27      background $chip-green
    28    &--lightgreen
    29      background $chip-lightgreen
    30    &--grey
    31      background $chip-grey
    32    &--lightblue
    33      background $chip-lightblue
    34    &--blue
    35      background $chip-blue
    36    &--yellow
    37      background $chip-yellow