/
githubmirror
/
gitness
Обзор
Документация
Войти
/
githubmirror
/
gitness
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
web/src/components/ReviewerSelect/ReviewerSelect.module.scss
117 строк
2 KB
Karan Saraswat
feat: [CODE-4091]: Allow users to add groups as reviewers (#4390)
26 авг 2025, 17:43
26 авг 2025, 17:43
db32869
Код
Авторство
О чём код?
/* * Copyright 2023 Harness, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ .button { // --border: 1px solid var(--grey-200) !important; --background-color-active: var(--white) !important; --box-shadow: none !important; &:active, &:hover, &[class*='bp3-active'] { --box-shadow: 0px 0px 1px rgba(40, 41, 61, 0.04), 0px 2px 4px rgba(96, 97, 112, 0.16) !important; // --border: 1px solid var(--primary-7) !important; } .prefix { color: var(--grey-450) !important; font-weight: normal; } } .layout { > .TextInput--main { margin-bottom: var(--spacing-1) !important; } } .main { max-width: 376px; .input { margin-bottom: 0 !important; span[data-icon], span[icon] { margin-top: 10px !important; } } .tabContainer { margin-top: 0 !important; width: 344px; [role='tablist'] { background-color: var(--white) !important; padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--grey-200); } [role='tabpanel'] { margin-top: 0; } } } .popover { > div[class*='popover-arrow'] { display: none; } .listContainer { min-height: 50px; max-height: 300px; overflow-y: auto; .owner { font-weight: bold; font-size: 12px; } .menuItem:hover { background: var(--primary-1); border-radius: 4px; } .disabled:hover { background: var(--grey-100) !important; } } } .avatar { padding: var(--spacing-small) 0; } .noTextContainer { .noWrapText { white-space: nowrap !important; } } .noReviewerContainer { max-width: 356px; padding-right: 2px !important; } .reviewerPopover { z-index: 999; padding: var(--spacing-small) !important; } .ugicon { background-color: var(--yellow-700) !important; color: var(--grey-0) !important; border-radius: var(--spacing-xsmall); padding: 3px !important; }