File "ContragentContentDrawer.module.scss"

Full Path: /var/www/html/gitep_front/src/entities/models/ui/ContragentContentDrawer/ContragentContentDrawer.module.scss
File size: 4.46 KB
MIME-type: text/x-asm
Charset: utf-8

.container {
    // font-family: 'Arial', sans-serif;
    color: #333;
    margin-top: 21px;
    margin-bottom: 90px;
}

.avatarContainer {
    position: relative;
    width: 144px;
    height: 144px;
    margin-bottom: 24px;
    cursor: pointer;
}

.avatarImageContainer {
    width: 144px;
    height: 144px;
}

.avatarImage {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    object-fit: cover;
}

.avatarInitials {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.avatarOverlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;

    &:hover {
        opacity: 1;
    }
}

.formSection {
    margin-bottom: 24px;
}

.label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #667085;
}

.input {
    width: 100%;
    padding: 10px;
    height: 40px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-size: 14px;

    &.error {
        border-color: #ff4d4f;
    }
}

.errorMessage {
    color: #ff4d4f;
    font-size: 14px;
    margin-top: 4px;
}

.tabsContainer {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tabButton {
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    color: #333;
    cursor: pointer;
    font-size: 14px;

    &.activeTab {
        border-color: #1890ff;
        background: #e6f7ff;
        color: #1890ff;
    }
}

.modelsSection {
    flex-direction: column;
}

.modelsTitle {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.modelBlock {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    background: #fafafa;
}

.modelTitle {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
}

.roleSection {
    margin-bottom: 8px;
}

.roleOptions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.roleOption {
    display: flex;
    align-items: center;

    input {
        margin-right: 8px;
    }
}

.approverSettings {
    margin-top: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
}

.settingsTitle {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #666;
}

.settingsOptions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settingOption {
    display: flex;
    align-items: center;

    input {
        margin-right: 8px;
    }
}

.actions {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 24px;
    align-items: center;
    height: 72px;
    border-top: 1px solid #eee;
    background: #fff;
    gap: 8px;
    border-radius: 8px;
}

.modalBackdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modalContent {
    background-color: white;
    padding: 24px;
    border-radius: 8px;
    width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modalTitle {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.modalDescription {
    margin-bottom: 16px;
}

.dropZone {
    border: 2px dashed #d9d9d9;
    border-radius: 4px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 24px;
    cursor: pointer;
    background-color: #fafafa;
}

.fileInput {
    display: none;
}

.modalActions {
    display: flex;
    justify-content: space-between;
}

.modalSaveButton {
    padding: 8px 16px;
    border: 1px solid #1890ff;
    border-radius: 4px;
    background: #1890ff;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

.modalBackButton {
    padding: 8px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    color: #333;
    cursor: pointer;
    font-size: 14px;
}

.modalDeleteButton {
    padding: 8px 16px;
    border: 1px solid #ff4d4f;
    border-radius: 4px;
    background: #fff;
    color: #ff4d4f;
    cursor: pointer;
    font-size: 14px;
}

.select {
    width: 100%;
    height: 40px;
}
.editButton, .cancelButton, .cancelButton, .submitButton {
    height: 40px!important;
}