Files
manager_employees_gui/src/pages/UsersPage.module.scss
T

208 lines
2.9 KiB
SCSS

.button {
border: 0;
border-radius: 999px;
padding: 12px 18px;
cursor: pointer;
font-weight: 700;
white-space: nowrap;
}
.primaryButton {
composes: button;
background: #2563eb;
color: #ffffff;
}
.secondaryButton {
composes: button;
background: #ffffff;
color: #172033;
box-shadow: inset 0 0 0 1px #d9e1ec;
&:disabled {
cursor: not-allowed;
opacity: 0.45;
}
}
.actionGroup {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.actionButton {
border: 0;
border-radius: 999px;
padding: 8px 11px;
background: #eef4ff;
color: #1d4ed8;
cursor: pointer;
font-size: 0.82rem;
font-weight: 700;
white-space: nowrap;
&:disabled {
cursor: not-allowed;
opacity: 0.45;
}
}
.tableCard {
overflow: hidden;
background: #ffffff;
border-radius: 24px;
box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
}
.usersToolbar {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: flex-end;
margin: 0 0 20px;
}
.companyFilter {
display: grid;
gap: 8px;
min-width: min(320px, 100%);
color: #687487;
font-size: 0.88rem;
font-weight: 700;
select {
width: 100%;
border: 0;
border-radius: 14px;
padding: 11px 14px;
color: #1f2937;
background: #ffffff;
box-shadow: 0 14px 35px rgba(17, 24, 39, 0.07);
font: inherit;
}
}
.tableScroll {
overflow-x: auto;
}
.table {
width: 100%;
border-collapse: collapse;
min-width: 760px;
table-layout: fixed;
thead,
tbody tr {
display: table;
width: 100%;
table-layout: fixed;
}
tbody {
display: block;
max-height: 520px;
overflow-y: auto;
}
th,
td {
padding: 16px 18px;
text-align: left;
border-bottom: 1px solid #edf1f6;
}
th {
color: #6b7280;
font-size: 0.78rem;
text-transform: uppercase;
letter-spacing: 0.08em;
background: #f8fafc;
}
td {
color: #293548;
}
tbody tr {
cursor: pointer;
}
}
.pagination {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 16px 18px;
color: #687487;
font-weight: 700;
}
.paginationActions {
display: flex;
align-items: center;
gap: 12px;
}
.selectedRow {
background: #eef4ff;
}
.status {
display: inline-flex;
align-items: center;
border-radius: 999px;
padding: 6px 10px;
font-size: 0.82rem;
font-weight: 700;
color: #047857;
background: #d1fae5;
}
.working {
color: #047857;
background: #d1fae5;
}
.worked {
color: #1d4ed8;
background: #dbeafe;
}
.off-duty {
color: #b45309;
background: #fef3c7;
}
.form {
display: grid;
gap: 16px;
label {
display: grid;
gap: 8px;
color: #293548;
font-weight: 700;
}
input,
select {
border: 1px solid #d9e1ec;
border-radius: 14px;
padding: 12px 14px;
color: #172033;
font: inherit;
}
}
.error {
color: #b91c1c;
font-weight: 700;
}
.muted {
color: #687487;
}