Commit 868e710d authored by Samir Sadyhov's avatar Samir Sadyhov 🤔

записи реестра - фикс бага с двойным заголовком + мелкие доработки

parent e8044abf
......@@ -214,7 +214,6 @@
color: #dedede;
}
::-webkit-inner-spin-button, ::-webkit-clear-button {
display: none;
}
......@@ -224,13 +223,20 @@
color: #1e87f0;
}
.mobile-table-header {
display: none;
font-weight: 600;
margin-right: 10px;
}
.resizeHelper {
background-color: #F4F4F4;
}
.resizeHelper:hover {
background-color: #489DF3;
}
@media screen and (max-width:960px) {
.exp-table>tbody td {
display: flex;
......@@ -244,185 +250,3 @@
._lock {
overflow: hidden;
}
.exp-window-document {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: #fff;
border-bottom: 1px solid #c3c3c3;
z-index: 1;
}
.exp-window-header {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 80px;
display: flex;
border-bottom: 1px solid #e5e5e5;
align-items: center;
justify-content: space-between;
padding: 0 20px;
z-index: 1;
}
.exp-window-body {
position: absolute;
left: 0;
top: 80px;
width: 100%;
height: calc(100% - 80px);
overflow: hidden;
}
.exp-window-content {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: calc(100% - 50px);
padding: 10px;
}
.exp-window-form-panel {
width: 100%;
height: 100%;
padding: 30px;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
overflow: auto;
}
.exp-window-close-button {
color: #666;
cursor: pointer;
transition: 0.3s ease-out 0s;
}
.exp-window-close-button:hover {
transform: rotate(90deg);
color: #f0506e;
}
.exp-window-form-panel-actions {
display: flex;
min-height: 40px;
margin: 5px 0;
justify-content: flex-end;
align-items: center;
}
.exp-window-save-button,
.exp-window-nav-button {
border-radius: 3px;
margin: 0 10px;
height: 30px;
padding: 0 20px;
font-family: 'Open Sans';
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 19px;
}
.exp-window-save-button {
background: #1E87F0;
}
.exp-window-nav-button {
background: #fff;
}
.exp-window-print-button,
.exp-window-edit-button,
.exp-window-view-button {
padding: 0 5px;
cursor: pointer;
}
.exp-window-print-button:hover,
.exp-window-edit-button:hover,
.exp-window-view-button:hover {
color: #1E87F0;
}
.exp-window-header-logo {
display: flex;
width: 100%;
align-content: center;
justify-content: flex-start;
}
.exp-window-header-logo img {
width: 35px;
height: 35px;
}
.exp-window-header-logo span {
padding: 0;
margin: 0;
margin-left: 20px;
font-size: 22px;
color: rgb(62, 62, 62);
user-select: none;
font-weight: normal;
font-family: 'Open Sans', sans-serif;
overflow: hidden;
white-space: nowrap;
}
.action-menu-item a {
display: flex !important;
gap: 10px;
color: #666 !important;
}
.action-menu-item a:hover {
color: #000 !important;
}
.action-menu-item.uk-disabled a {
color: #ccc !important;
}
@media screen and (max-width:986px) {
.exp-window-header {
height: 60px;
}
.exp-window-content {
height: calc(100% - 50px);
padding: 0;
padding-top: 10px;
}
.exp-window-body {
top: 50px;
height: calc(100% - 50px);
}
.exp-window-print-button {
display: none !important;
}
}
.draw_attention {
-webkit-animation: pulsate 2.5s linear infinite;
animation: pulsate 2.5s linear infinite;
}
@-webkit-keyframes pulsate {
50% {
background: rgba(255, 0, 0, 0.1);
text-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
}
}
@keyframes pulsate {
50% {
background: rgba(255, 0, 0, 0.1);
text-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
}
}
......@@ -405,7 +405,7 @@ const registryTable = {
let tr = $('<tr class="colHeaders">');
this.colgroup.append(`<col style="width: 20px">`);
this.colgroup.append(`<col style="width: 30px">`);
let th = $('<th class="ui-resizable">');
let checkbox = $('<input/>')
.addClass('uk-checkbox')
......@@ -482,7 +482,7 @@ const registryTable = {
});
setTimeout(() => {
this.tHead.append(tr);
this.tHead.empty().append(tr);
this.createBody();
setTimeout(() => {
this.registryTable.resizableColumns();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment