Files
matrix/build/WebContent/css/manage-users-v2.css

252 lines
4.6 KiB
CSS

.matrix-users__content {
width: calc(100% - 24px);
max-width: 1100px;
margin: 0 auto;
padding: 12px 0 20px;
}
.matrix-users .card {
max-width: none;
margin: 0 auto;
}
.matrix-users .matrix-users__panel {
overflow: hidden;
border: 1px solid #afbfcd;
border-radius: 4px;
background: #f4f8fb;
box-shadow: 0 3px 10px rgba(37, 61, 82, .1);
}
.matrix-users__header {
display: flex;
min-height: 31px;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 4px 9px;
border-bottom: 1px solid #b9c8d5;
background: #f4f8fb;
}
.matrix-users__heading {
display: flex;
align-items: center;
gap: 6px;
}
.matrix-users__heading img {
width: 17px;
height: 17px;
object-fit: contain;
}
.matrix-users__heading h1 {
margin: 0;
color: #243746;
font-size: 12px;
font-weight: 700;
line-height: 1.2;
}
.matrix-users__refresh {
display: inline-flex;
width: 22px;
height: 22px;
align-items: center;
justify-content: center;
padding: 2px;
border: 1px solid #9fb1c1;
border-radius: 3px;
background: #f8fafc;
cursor: pointer;
}
.matrix-users__refresh img {
width: 15px;
height: 15px;
object-fit: contain;
}
.matrix-users .card-body {
padding: 8px;
background: #f4f8fb;
}
.matrix-users__toolbar {
display: grid;
grid-template-columns: auto minmax(240px, 390px) 1fr auto;
align-items: end;
gap: 7px 10px;
margin-bottom: 8px;
padding: 7px 8px;
border: 1px solid #c5d1dc;
border-radius: 3px;
background: #edf3f7;
}
.matrix-users__search-label,
.matrix-users__search-control,
.matrix-users__new-action {
display: flex;
align-items: center;
}
.matrix-users__search-label label {
margin: 0;
color: #34495c;
font-size: 10px;
font-weight: 700;
}
.matrix-users__search-control input {
width: 100%;
min-height: 27px;
border-color: #9fb1c1;
background: #fff;
}
.matrix-users__new-action {
grid-column: 4;
justify-content: flex-end;
}
.matrix-users #addUser {
display: inline-flex;
min-width: 92px;
min-height: 27px;
align-items: center;
justify-content: center;
gap: 5px;
font-weight: 700;
}
.matrix-users__table-wrap {
max-height: calc(100vh - 215px);
overflow: auto;
border: 1px solid #b7c6d3;
border-radius: 3px;
background: #f8fafc;
}
.matrix-users .table {
font-size: 10px;
}
.matrix-users .table > :not(caption) > * > * {
height: 28px;
padding: 3px 7px;
border-right: 1px solid #d1dbe4;
border-bottom: 1px solid #d1dbe4;
color: #263846;
}
.matrix-users .table thead {
position: sticky;
top: 0;
z-index: 1;
}
.matrix-users .table thead th {
height: 31px;
color: #30465a;
background: #dfe9f1;
font-size: 9px;
font-weight: 700;
text-transform: uppercase;
white-space: nowrap;
}
.matrix-users .table tbody td {
background: #f9fbfc;
}
.matrix-users .table tbody tr:nth-child(even) td {
background: #edf3f7;
}
.matrix-users .table tbody tr:hover td {
background: #e0edf7;
}
.matrix-users__serial {
width: 56px;
}
.matrix-users__status,
.matrix-users__action {
width: 92px;
}
.matrix-users .user-status {
min-width: 62px;
min-height: 23px;
padding: 1px 7px;
border-radius: 3px;
font-size: 10px;
font-weight: 700;
}
.matrix-users .edit-user {
min-width: 54px;
min-height: 23px;
padding: 1px 7px;
border-color: #6f91ae;
border-radius: 3px;
color: #205e92;
background: #f7fafc;
font-size: 10px;
font-weight: 700;
}
.matrix-frame-modal {
max-width: 540px;
}
.matrix-users #matrixFrameModal .modal-content {
overflow: hidden;
border: 1px solid #9fb1c1;
border-radius: 7px;
background: #f8fafc;
box-shadow: 0 14px 34px rgba(20, 39, 57, .28);
}
.matrix-users #matrixFrameModal .modal-header {
min-height: 42px;
padding: 8px 14px !important;
border-bottom: 1px solid #c5d1dc;
background: #eef3f7;
}
.matrix-users #matrixFrameModal .modal-body {
background: #f4f8fb;
}
.matrix-frame-modal__frame {
width: 100%;
height: 355px;
display: block;
border: 0;
background: #f4f8fb;
}
.matrix-frame-modal__frame.matrix-branch-frame {
height: 540px;
}
@media (max-width: 700px) {
.matrix-users__content {
width: calc(100% - 12px);
}
.matrix-users__toolbar {
grid-template-columns: 1fr;
align-items: stretch;
}
.matrix-users__new-action {
grid-column: 1;
justify-content: flex-start;
}
}