github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/ui/ccl/src/views/clusterviz/containers/map/mapLayout.styl (about) 1 // Copyright 2017 The Cockroach Authors. 2 // 3 // Licensed as a CockroachDB Enterprise file under the Cockroach Community 4 // License (the "License"); you may not use this file except in compliance with 5 // the License. You may obtain a copy of the License at 6 // 7 // https://github.com/cockroachdb/cockroach/blob/master/licenses/CCL.txt 8 9 @require "~styl/base/palette.styl" 10 @require "~src/components/core/index.styl" 11 12 $node-switcher-height = 48px 13 14 .geopath 15 fill white 16 stroke $table-border-color 17 stroke-width .5px 18 19 .cluster-visualization-layout 20 width 100% 21 height 100% 22 display flex 23 flex-direction column 24 overflow hidden 25 background-color white 26 &--show-license 27 height unset 28 &__content 29 display flex 30 flex-direction row 31 justify-content space-between 32 background-color $colors--white 33 height $node-switcher-height 34 z-index 5 35 padding $spacing-xx-small $spacing-smaller $spacing-xx-small $spacing-small 36 border 1px solid rgb(237, 237, 237) 37 border-bottom none 38 box-shadow 0 0 1px 0 rgba(67, 90, 111, 0.41) 39 border-radius 3px 40 &__content-item 41 align-self center 42 &__content-item--show-license 43 display none