/** * Copyright (c) OpenLens Authors. All rights reserved. * Licensed under MIT License. See LICENSE in root directory for more information. */ .extensionCard { margin-bottom: 16px; border-radius: 4px; border: 1px solid #181a1f; background-color: #343840; overflow: hidden; cursor: pointer; padding: 16px; display: flex; justify-content: space-between; gap: 16px; &:hover { background-color: #373d48; } } .contents { flex: 1; } .head { display: flex; justify-content: space-between; align-items: center; gap: 16px; } .nameAndVersion { display: flex; gap: var(--padding); margin-bottom: var(--padding); .name { font-weight: bolder; color: #d7dae0; font-size: larger; display: flex; align-items: center; gap: 8px; } .version { font-size: .8em; } } .downloads { display: flex; align-items: center; gap: var(--padding); } .description { line-height: 1.4; margin-bottom: var(--padding); } .footer { display: flex; align-items: center; justify-content: space-between; } .author a { color: rgba(157, 165, 180, 0.6)!important; text-decoration: none; &:hover { text-decoration: underline; } } .icon { height: 50px; border-radius: 4px; min-width: 50px; background-repeat: no-repeat; background-clip: content-box; background-color: #3a404c; background-size: 50px; } .install button { display: flex; align-items: center; } .installButtonIco { margin-right: var(--margin); } .buttonGroup { margin: 8px 0 0 8px; display: flex; } @mixin stickedButton { padding: 6px 8px; color: var(--textColorTertiary); background: #343840; border: 1px solid #212121; &:hover { background-color: #3e434c; color: rgb(230, 230, 230); } } .leftButton { @include stickedButton(); border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; } .centerButton { @include stickedButton(); border-radius: 0; border-right: 0; } .rightButton { @include stickedButton(); border-top-left-radius: 0; border-bottom-left-radius: 0; padding-right: 14px; &:after { display: inline-block; content: " "; width: 4px; background-color: #2ba143; height: 100%; position: absolute; right: 0; } &.disabledButton { &:after { background-color: #ad7c0c; } } }