HRM-10/HRM.UI/ClientApp/src/app/authentication/system-configuration/system-configuration.component.css

233 lines
4.0 KiB
CSS
Raw Normal View History

2026-11-16 16:17:32 +06:00
.sc-page {
/* padding: 1.5rem; */
}
.sc-header {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 0.5rem;
}
.sc-header-icon {
width: 44px;
height: 44px;
border-radius: 10px;
background: #f0f0f0;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
color: #555;
flex-shrink: 0;
}
.sc-title {
font-size: 18px;
font-weight: 600;
color: #1a1a1a;
margin: 0 0 2px;
}
.sc-subtitle {
font-size: 13px;
color: #888;
margin: 0;
}
.sc-card {
background: #fff;
border: 1px solid #e8e8e8;
border-radius: 12px;
padding: 0.85rem;
}
.sc-field {
margin-bottom: 0.5rem;
}
.sc-label {
display: block;
font-size: 12px;
font-weight: 600;
color: #888;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 8px;
}
.sc-drop-zone {
border: 1.5px dashed #d4d4d4;
border-radius: 10px;
transition: border-color 0.15s, background 0.15s;
overflow: hidden;
}
.sc-drop-zone--dragging {
border-color: #4a90d9;
background: #f0f6fd;
}
.sc-drop-zone--has-file {
border-style: solid;
border-color: #c8e0f7;
background: #f7fbff;
}
.sc-drop-empty {
padding: 1rem 1rem;
text-align: center;
}
.sc-drop-icon {
font-size: 28px;
color: #bbb;
display: block;
margin-bottom: 10px;
}
.sc-drop-label {
font-size: 14px;
color: #777;
margin: 0 0 4px;
}
.sc-drop-hint {
font-size: 13px;
color: #aaa;
margin: 0 0 12px;
}
.sc-browse-btn {
display: inline-block;
padding: 6px 18px;
border: 1px solid #4a90d9;
border-radius: 6px;
font-size: 13px;
font-weight: 500;
color: #4a90d9;
cursor: pointer;
transition: background 0.15s;
}
.sc-browse-btn:hover {
background: #f0f6fd;
}
.sc-drop-selected {
padding: 12px 14px;
}
.sc-file-info {
display: flex;
align-items: center;
gap: 12px;
}
.sc-file-icon-wrap {
width: 38px;
height: 38px;
border-radius: 8px;
background: #e8f2fd;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.sc-file-icon {
font-size: 18px;
color: #4a90d9;
}
.sc-file-details {
display: flex;
flex-direction: column;
flex: 1;
min-width: 0;
}
.sc-file-name {
font-size: 14px;
font-weight: 500;
color: #1a1a1a;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sc-file-size {
font-size: 12px;
color: #aaa;
margin-top: 2px;
}
.sc-file-clear {
background: none;
border: none;
cursor: pointer;
color: #bbb;
padding: 4px;
display: flex;
align-items: center;
border-radius: 4px;
transition: color 0.15s, background 0.15s;
flex-shrink: 0;
}
.sc-file-clear:hover {
color: #e24b4a;
background: #fef0f0;
}
.sc-drop-restriction {
font-size: 12px;
color: #aaa;
margin-top: 6px;
}
.sc-drop-restriction code {
font-family: monospace;
background: #f4f4f4;
padding: 1px 5px;
border-radius: 4px;
font-size: 11px;
color: #666;
}
.sc-divider {
border: none;
border-top: 1px solid #f0f0f0;
margin: 1.25rem 0;
}
.sc-btn-row {
display: flex;
gap: 10px;
}
.sc-btn {
display: inline-flex;
align-items: center;
gap: 7px;
height: 38px;
padding: 0 18px;
border-radius: 8px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: background 0.15s, opacity 0.15s, transform 0.1s;
border: 1px solid transparent;
}
.sc-btn:active:not(:disabled) {
transform: scale(0.98);
}
.sc-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.sc-btn--primary {
background: #1a1a1a;
color: #fff;
border-color: #1a1a1a;
}
.sc-btn--primary:hover:not(:disabled) {
background: #333;
}
.sc-btn--secondary {
background: #fff;
color: #1a1a1a;
border-color: #ddd;
}
.sc-btn--secondary:hover:not(:disabled) {
background: #f7f7f7;
}
.sc-status {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
margin-top: 14px;
padding: 10px 14px;
border-radius: 8px;
}
.sc-status--success {
background: #f0faf4;
color: #2e7d52;
border: 1px solid #c3e8d4;
}
.sc-status--error {
background: #fff5f5;
color: #c0392b;
border: 1px solid #f5c6c6;
}