186 lines
3.0 KiB
CSS
186 lines
3.0 KiB
CSS
body {
|
||
height: 100vh;
|
||
}
|
||
.c-panel {
|
||
width: 100%;
|
||
background-color: #fff;
|
||
}
|
||
|
||
#id_channels {
|
||
height: 500px;
|
||
}
|
||
|
||
.sidebar {
|
||
overflow: auto;
|
||
}
|
||
|
||
.c-primary {
|
||
color: #007BFF;
|
||
}
|
||
|
||
.loader {
|
||
width: 48px;
|
||
height: 48px;
|
||
border: 5px solid #FFF;
|
||
border-bottom-color: #007BFF;
|
||
border-radius: 50%;
|
||
display: inline-block;
|
||
box-sizing: border-box;
|
||
animation: rotation 1s linear infinite;
|
||
}
|
||
|
||
@keyframes rotation {
|
||
0% {
|
||
transform: rotate(0deg);
|
||
}
|
||
100% {
|
||
transform: rotate(360deg);
|
||
}
|
||
}
|
||
|
||
.nav-link p, .nav-link a, .nav-link {
|
||
font-size: 14px;
|
||
}
|
||
|
||
.nav-header p {
|
||
font-size: 16px;
|
||
}
|
||
|
||
.status-ok {
|
||
padding: 5px;
|
||
border-radius: 5px;
|
||
background-color: green;
|
||
color: white;
|
||
}
|
||
|
||
.status-not-ok {
|
||
padding: 5px;
|
||
border-radius: 5px;
|
||
background-color: red;
|
||
color: white;
|
||
}
|
||
|
||
.highlight {
|
||
color: var(--primary);
|
||
font-weight: bold;
|
||
}
|
||
|
||
/*.highlight-d {*/
|
||
/* color: red;*/
|
||
/*}*/
|
||
|
||
a.disabled i, a.disabled p {
|
||
color: #bbbbbb;
|
||
}
|
||
|
||
.shift-column {
|
||
min-height: 200px;
|
||
max-height: 600px;
|
||
overflow-y: scroll;
|
||
border: 1px solid #dee2e6;
|
||
border-radius: 0.25rem;
|
||
padding: 1rem;
|
||
margin-bottom: 1rem;
|
||
}
|
||
|
||
|
||
#tagsTable td {
|
||
padding: 0.3rem;
|
||
}
|
||
|
||
|
||
.search-container {
|
||
position: sticky;
|
||
top: 0;
|
||
background-color: white;
|
||
z-index: 1000;
|
||
}
|
||
|
||
.highlight {
|
||
color: var(--primary);
|
||
}
|
||
|
||
.drag-button {
|
||
cursor: grab;
|
||
background: none;
|
||
border: none;
|
||
color: #007bff;
|
||
font-size: 16px;
|
||
padding: 0;
|
||
margin-right: 10px;
|
||
}
|
||
|
||
.drag-button:active {
|
||
cursor: grabbing;
|
||
}
|
||
|
||
.employee {
|
||
cursor: grab; /* Устанавливаем указатель для перетаскивания */
|
||
display: flex;
|
||
align-items: center;
|
||
padding: 5px;
|
||
border: 1px solid #ddd;
|
||
margin-bottom: 5px;
|
||
background: #f9f9f9;
|
||
border-radius: 4px;
|
||
}
|
||
|
||
.employee:active {
|
||
cursor: grabbing;
|
||
}
|
||
|
||
.employee-name {
|
||
flex: 1;
|
||
}
|
||
|
||
.dropped {
|
||
background-color: #fffcdb;
|
||
!important;
|
||
}
|
||
|
||
.state-changed {
|
||
background-color: #65c9fc;
|
||
}
|
||
|
||
/* Контейнер прогресс-бара */
|
||
.c-progress-bar {
|
||
width: 500px;
|
||
height: 20px;
|
||
background-color: #e0e0e0; /* Серый цвет фона */
|
||
border-radius: 5px;
|
||
overflow: hidden;
|
||
position: relative;
|
||
}
|
||
|
||
/* Индикатор заполнения */
|
||
.c-progress-bar-fill {
|
||
height: 100%;
|
||
background-color: #4caf50; /* Зелёный цвет */
|
||
width: 0%; /* Начальная ширина */
|
||
transition: width 0.3s ease-in-out; /* Анимация */
|
||
}
|
||
|
||
/* Текст внутри прогресс-бара */
|
||
.c-progress-bar-text {
|
||
position: absolute;
|
||
width: 100%;
|
||
height: 100%;
|
||
top: 0;
|
||
left: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
color: #fff; /* Белый цвет текста */
|
||
font-weight: bold;
|
||
}
|
||
|
||
#workersTBody tr {
|
||
cursor: pointer;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
#time {
|
||
display: none;
|
||
}
|
||
}
|