github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/ui/src/views/reports/containers/customChart/customChart.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 nib 12 @require "~styl/base/palette.styl" 13 @require "~src/components/core/index.styl" 14 15 .metric-table-dropdown 16 line-height 17px 17 padding 6px 12px 18 vertical-align middle 19 border-radius 2px 20 padding-right 10px 21 color $body-color 22 23 &:hover 24 background-color $dropdown-hover-color 25 26 &__title 27 vertical-align middle 28 display inline-block 29 30 &__select 31 display inline-block 32 vertical-align middle 33 white-space nowrap 34 35 &:hover 36 background-color $dropdown-hover-color 37 38 button.edit-button 39 padding 12px 24px 40 margin 0px 9px 41 background-color inherit 42 text-transform uppercase 43 color $link-color 44 font-size 14px 45 letter-spacing 2px 46 border 1px solid $button-border-color 47 border-radius 3px 48 vertical-align middle 49 cursor pointer 50 51 .metric-edit-button 52 &--add 53 margin 17px 9px 54 55 .metric-table 56 &__header 57 background white 58 padding 10px 20px 59 font-family $font-family--base 60 font-size 12px 61 font-weight bold 62 letter-spacing 2px 63 text-transform uppercase 64 text-align left 65 color $body-color 66 67 &__cell 68 text-align center 69