File "AddGroupContent.module.scss"
Full Path: /var/www/html/gitep_front/src/pages/ProjectPage/addGroup/AddGroupContent.module.scss
File size: 2.19 KB
MIME-type: text/plain
Charset: utf-8
.groupContainer {
position: relative;
}
.label {
font-size: 14px;
font-weight: 500;
color: #667085;
margin-bottom: 4px;
}
.inputName {
height: 40px;
}
.inputArea {
min-height: 76px !important;
}
.checkProjectBlock {
border: 1px solid #D0D5DD;
border-radius: 8px;
padding: 16px 16px 0 16px;
}
.label {
font-weight: 500;
margin-bottom: 4px;
color: #667085;
line-height: 20px;
}
.inputName {
border-radius: 6px;
padding: 8px 12px;
}
.inputArea {
border-radius: 6px;
resize: vertical;
min-height: 80px;
}
.checkProjectBlock {
border: 1px solid #d9d9d9;
border-radius: 6px;
height: calc(100vh - 420px); // Фиксированная высота
overflow: hidden; // Скрыть переполнение у родителя
}
.searchInput {
border-radius: 6px;
height: 40px;
width: 100%; // Учитываем боковые отступы
.ant-input {
padding-right: 32px;
}
&:focus {
box-shadow: none;
}
}
.checkboxContainer {
margin-top: 12px;
height: 100%;
overflow-y: auto;
&::-webkit-scrollbar {
width: 6px;
}
&::-webkit-scrollbar-thumb {
background: #d9d9d9;
border-radius: 4px;
}
}
.checkbox {
padding: 8px 0 8px 0;
margin-right: 8px;
transition: background 0.2s;
&:hover {
background: #f9f0ff;
}
:global(.ant-checkbox-inner) {
border-radius: 4px;
}
}
.searchInput {
position: relative;
padding-right: 14px !important; // Место для иконки
margin-bottom: 13px;
// Стили для иконки поиска
.ant-input-suffix {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
pointer-events: none;
color: #667085 !important;
}
}
.searchIcon {
width: 16px;
height: 16px;
opacity: 0.45;
transition: opacity 0.2s;
&:hover {
opacity: 0.8;
}
}
.truncatedText {
display: inline-block;
max-width: 428px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: bottom;
}