Commit 56b5606e authored by Samir Sadyhov's avatar Samir Sadyhov 🤔

обновление компонентов

parent d0d3d3cf
.wf-versions-container {
width: 100%;
height: 40px;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-end;
padding: 5px 20px 0px 20px;
background: #FAFAFA;
border-top: 1px solid #D9D9D9;
transition: 0.3s;
}
.wf-versions-content {
width: 100%;
height: 0px;
min-height: 0;
opacity: 0;
margin-top: 5px;
background: #fff;
overflow: auto;
transition: 0.3s;
}
.wf-versions-content.open {
height: 155px;
opacity: 1;
}
.wf-versions-table thead th {
background: #FAFAFA;
border: 1px solid #E8E8E8;
font-weight: 600;
font-size: 12px;
line-height: 12px;
color: #262626;
text-transform: none;
}
.wf-versions-table tbody tr {
background: #fff;
cursor: pointer;
border: none;
color: #595959;
user-select: none;
transition: 0.3s;
}
.wf-versions-table tbody tr.select {
background: #1890FF;
color: #fff;
}
.wf-versions-table tbody tr:hover {
background: rgba(24, 144, 255, 0.8);
color: #fff;
}
.wf-versions-table tbody td {
border: 1px solid #E8E8E8;
padding: 4px 12px;
font-size: 12px;
line-height: 12px;
}
.wf-versions-table .uk-button {
line-height: 20px;
font-size: 12px;
margin-right: 10px;
}
.wf-versions-table .uk-button:last-child {
margin-right: 0;
}
.wf-button-version {
border-radius: 3px;
height: 30px;
display: flex;
align-items: center;
}
.wf-form-buttons-panel {
width: 100%;
height: 50px;
overflow: hidden;
background: #FAFAFA;
border-bottom: 1px solid #D9D9D9;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}
.wf-form-buttons-panel div {
display: flex;
align-items: center;
height: 100%;
gap: 15px;
}
.wf-form-player-container {
height: calc(100% - 90px);
width: 100%;
overflow: auto;
background: #fff;
padding: 30px;
transition: 0.3s;
}
.wf-other-file-container {
width: 100%;
height: calc(100% - 40px);
padding: 30px;
text-align: center;
transition: 0.3s
}
.wf-icons {
color: #999;
cursor: pointer;
transition: 0.3s;
font-size: 1.8em;
}
.wf-icons:hover {
color: #333;
}
This diff is collapsed.
......@@ -182,11 +182,9 @@ const favoritesInit = (items, successHandler) => {
}
this.QuickAccessMenu = class {
constructor(buttonContainerSelector, defaultHandler, defaultHandlerTitle, addMenuItems) {
constructor(buttonContainerSelector, defaultHandler) {
this.buttonContainerSelector = buttonContainerSelector;
this.defaultHandler = defaultHandler;
this.defaultHandlerTitle = defaultHandlerTitle;
this.addMenuItems = addMenuItems;
this.init();
}
......@@ -196,6 +194,8 @@ this.QuickAccessMenu = class {
e.preventDefault();
if(this.defaultHandler && typeof this.defaultHandler === 'function') {
this.defaultHandler();
} else {
this.openMenuWindow();
}
});
......@@ -366,7 +366,7 @@ this.QuickAccessMenu = class {
}
});
const searchFilterItems = [{title: 'Любое совпадение слов', value: 'OR'}, {title: 'Содержатся все слова', value: 'AND'}];
const searchFilterItems = [{title: i18n.tr('Любое совпадение слов'), value: 'OR'}, {title: i18n.tr('Содержатся все слова'), value: 'AND'}];
const selectFilterSearch = new CustomSelect({items: searchFilterItems, defaultValue: this._search.filterCondition, classList: 'qam_filter_select_search'});
const selectFilterLabel = $('<span>', {class: 'uk-text-bolder'});
selectFilterLabel.text(i18n.tr('Условие поиска:'));
......
.resolution_body {
height: calc(100% - 90px);
padding: 0px;
}
.resolution_footer {
display: flex;
justify-content: end;
gap: 10px;
padding: 10px;
}
.resolution_panel_actions {
display: flex;
justify-content: space-between;
width: 100%;
padding: 10px;
}
.resolution_panel_items {
width: calc(100% - 10px);
height: calc(100% - 50px);
border: 1px solid #c4c4c4;
margin: 0 5px;
padding: 5px;
overflow-x: hidden;
overflow-y: auto;
}
.resolution_item {
display: flex;
width: 100%;
min-height: 50px;
border: 1px solid #e5e5e5;
background: #fff;
margin-bottom: 5px;
}
.resolution_item.active {
border: 1px solid #999;
background: #f9f9f9;
}
.resolution_item>div {
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
gap: 5px;
}
.resolution_item>div:first-child {
width: 100%;
padding: 5px;
}
.resolution_item>div:last-child {
display: none;
}
.resolution_item.active>div:first-child {
width: calc(100% - 30px);
}
.resolution_item.active>div:last-child {
display: block;
width: 30px;
}
.resolution_item_name {
width: 100%;
}
.resolution_item_name>input,
.resolution_item_param>input,
.resolution_item_param>div,
.resolution_item_users>div {
display: none;
}
.resolution_item.active .resolution_item_name>input,
.resolution_item.active .resolution_item_param>input,
.resolution_item.active .resolution_item_param>div,
.resolution_item.active .resolution_item_users>div {
display: block;
}
.resolution_item.active .resolution_item_name>span,
.resolution_item.active .resolution_item_param>span,
.resolution_item.active .resolution_item_users>span {
display: none;
}
.resolution_item_param {
width: 100%;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 2px;
}
.resolution_item.active .resolution_item_param {
flex-direction: row;
align-items: center;
}
.resolution_datetime_input_container {
display: none;
flex-direction: row;
}
.resolution_item.active .resolution_item_param .resolution_datetime_input_container {
display: flex;
}
.resolution_panel_items a.uk-icon[disabled] {
pointer-events: none;
}
.resolution_item .uk-select[disabled] {
background-color: #fff;
opacity: 1;
}
.resolution_item_param .uk-checkbox[disabled],
.resolution_item .resolution_datetime_input_container input[disabled]{
background-color: #fff;
}
.resolution_item *,
.resolution_item ::placeholder {
font-size: 14px
}
This diff is collapsed.
.workflow-tab-container {
display: flex;
flex-direction: row;
align-items: center;
border-bottom: 1px solid #e5e5e5;
height: 33px;
}
#workflow_add_file_button {
width: 32px;
height: 32px;
display: flex;
justify-content: center;
align-items: center;
}
.workflow-context-menu {
position: absolute;
display: none;
background-color: #fff;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
padding: 10px 0;
z-index: 100;
}
.workflow-context-menu ul {
list-style: none;
margin: 0;
padding: 0;
}
.workflow-context-menu ul li {
padding: 0;
background-color: #fff;
display: block;
}
.workflow-context-menu ul li a {
color: #555;
padding: 5px 10px;
}
.workflow-context-menu ul li a:hover {
color: var(--ic);
}
.workflow-context-menu ul .uk-disabled a {
color: #dedede;
}
.document-files-tabs li,
.document-files-container li {
list-style: none;
}
.document-files-container .data {
display: none;
width: 100%;
}
.document-files-container .data.active {
display: block;
}
.document-files-container,
.document-files-container ul {
padding: 0;
height: calc(100% - 60px);
overflow: auto;
}
.document-files-tabs {
display: flex;
width: calc(100% - 32px);
margin: 0;
flex-wrap: wrap;
padding: 0;
}
.document-files-tabs .tab a {
display: block;
text-align: center;
padding: 5px 10px;
color: #999;
border-bottom: 1px solid transparent;
text-transform: capitalize;
font-size: 9pt;
transition: color 0.1s ease-in-out;
text-decoration: none;
}
.document-files-tabs .tab a:hover {
color: #666;
}
.document-files-tabs .tab.active a {
color: #333;
border-color: #1e87f0;
}
.document-file-item a {
color: #999;
padding: 5px 0;
display: block;
text-decoration: none;
font-size: .875rem;
text-overflow: ellipsis;
overflow: hidden;
}
.document-file-item a:hover {
color: #666;
}
.document-file-item.select a {
color: #333;
}
This diff is collapsed.
.tab-comments-container {
display: flex;
flex-direction: row;
align-items: center;
border-bottom: 1px solid #e5e5e5;
margin: 10px 0;
width: 100%;
}
.comments-container {
padding: 5px 5px 20px 5px;
display: none;
flex-direction: column;
gap: 10px;
overflow-y: auto;
overflow-x: hidden;
width: 100%;
}
.comments-container.active {
display: flex;
}
.comments-container .uk-comment-title {
font-size: 0.9rem;
line-height: 1;
}
.comments-container .uk-comment-meta {
font-size: 0.7em;
line-height: 1;
}
.comments-container .uk-comment-body {
margin-top: 5px !important;
font-size: 0.9rem;
line-height: 1;
}
.comments-container .uk-comment {
position: relative;
border: 1px solid var(--gray);
z-index: 1;
}
.comments-container .uk-comment::after {
content: "";
position: absolute;
display: block;
width: 20px;
height: 20px;
right: 0;
bottom: 0;
border-left: 1px solid var(--gray);
border-top: 1px solid var(--gray);
background: #f8f8f8;
transform: translate(0px, 1px);
z-index: 2;
}
.comments-container .uk-comment::before {
content: "";
position: absolute;
display: block;
width: 20px;
height: 20px;
right: 0;
bottom: 0;
background: var(--panel-bg);
border-left: 1px solid var(--gray);
transform: skewX(-50deg) translate(12px, 1px);
z-index: 3;
}
.add-comment-input::placeholder {
font-size: 12px;
}
#add-comment-button {
width: 32px;
height: 32px;
display: flex;
justify-content: center;
align-items: center;
}
.tab-buttons-container {
width: calc(100% - 32px);
display: flex;
flex-wrap: wrap;
}
.comment-tab-name {
font-size: 9pt;
border-bottom: 1px solid transparent;
color: #999;
text-align: center;
margin-left: 5px;
padding: 5px 12px;
cursor: pointer;
transition: .2s;
}
.comment-tab-name:hover {
color: #333;
}
.comment-tab-name.active {
border-bottom: 1px solid #1e87f0;
color: #333;
}
This diff is collapsed.
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