github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/ui/src/views/app/components/Search/search.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  ._search-form
    15    width 280px
    16    height 40px
    17    .ant-input-affix-wrapper
    18      &:hover
    19        .ant-input:not(.ant-input-disabled)
    20          border-color $adminui-blue-1-base
    21          border-right-width 2px !important
    22    .ant-btn
    23      margin 0
    24      padding 0
    25      width auto
    26      height auto
    27      border none
    28      font-size 14px
    29    ._prefix-icon
    30      color $adminui-grey-2
    31      width 12px
    32      &:hover
    33        color $adminui-grey-2
    34    ._suffix-icon
    35      width 10px
    36    ._clear-search
    37      color $text-color
    38      &:hover
    39        color $text-color
    40    ._submit-search
    41      font-family $font-family--base
    42      font-size 14px
    43      color $adminui-grey-2
    44      line-height 0px !important
    45      &:hover
    46        color $adminui-grey-2
    47    .ant-input
    48      font-size 14px
    49      font-family $font-family--base
    50      color $adminui-grey-1
    51      border-radius 3px
    52      border 2px solid $grey5
    53      &:focus
    54        box-shadow 0px 0px 2px 4px rgba(224,238,251,1)
    55        border 2px solid $adminui-blue-1-base
    56        border-right-width 2px !important
    57      &:placeholder
    58        color #000
    59      &:not(:first-child)
    60        padding-left 35px
    61        padding-right 60px
    62    ._submitted
    63      .ant-input
    64        &:not(:first-child)
    65          padding-right 40px