github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/ui/src/views/shared/components/summaryCard/styles.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 13 .summary--card 14 border-radius 3px 15 box-shadow 0 0 1px 0 rgba(67, 90, 111, 0.41) 16 background-color $adminui-white 17 padding 25px 18 margin-bottom 15px 19 &__divider 20 width 100% 21 height 1px 22 margin 22px 0 23 background $table-border 24 &__title 25 font-family SourceSansPro-Regular 26 font-size 20px 27 line-height 1.6 28 letter-spacing -0.2px 29 color $popover-color 30 margin-bottom 25px 31 &__counting 32 &--value 33 font-family SourceSansPro-Regular 34 font-size 20pt 35 line-height 1.6 36 letter-spacing -0.2px 37 color $text-color 38 margin-bottom 15px 39 &--label 40 font-family SourceSansPro-Regular 41 font-size 14pt 42 line-height 1.67 43 letter-spacing 0.3px 44 color $secondary-text-color 45 margin-bottom 0 46 &__item 47 display flex; 48 justify-content space-between 49 margin-bottom 10px 50 &--label 51 font-family SourceSansPro-Regular 52 font-size 14px 53 line-height 1.57 54 letter-spacing 0.1px 55 color $secondary-text-color 56 margin-right 5px 57 margin-bottom 0 58 &--value 59 font-family SourceSansPro-Regular 60 font-size 14px 61 font-weight 600 62 line-height 1.71 63 letter-spacing 0.1px 64 color $popover-color 65 margin-bottom 0 66 &-red 67 color $alert-color