github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/ui/src/views/shared/components/userAvatar/userAvatar.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 '~src/components/core/index.styl' 12 13 .user-avatar 14 height $line-height--large 15 width $line-height--large 16 border-radius 50% 17 background-color $colors--primary-blue-1 18 color: $colors--primary-blue-3 19 font-size 14px 20 font-weight bold 21 line-height $line-height--large 22 letter-spacing 0.1px 23 margin auto 24 text-align center 25 26 .user-avatar:hover 27 border solid 2px $colors--primary-blue-3 28 line-height "calc( %s - 4px )" % $line-height--large 29 30 .user-avatar--disabled 31 background-color $colors--neutral-2 32 color $colors--neutral-5 33 34 .user-avatar--disabled:hover 35 border none 36 line-height $line-height--large