mirror of
https://github.com/openvk/openvk
synced 2025-01-22 15:54:26 +03:00
openvk midn. support, change midn.photomodal color
This commit is contained in:
parent
f9ad37b0c9
commit
43548f531b
4 changed files with 32 additions and 5 deletions
|
@ -14,7 +14,7 @@
|
||||||
{/if}
|
{/if}
|
||||||
</a>
|
</a>
|
||||||
<div class="doc_content noOverflow">
|
<div class="doc_content noOverflow">
|
||||||
<a class="viewerOpener" href="/doc{$doc->getPrettyId()}?key={$doc->getAccessKey()}"><b class="noOverflow doc_name">{$doc->getName()}</b></a>
|
<a class="viewerOpener noOverflow" href="/doc{$doc->getPrettyId()}?key={$doc->getAccessKey()}"><b class="noOverflow doc_name">{$doc->getName()}</b></a>
|
||||||
|
|
||||||
<div class="doc_content_info">
|
<div class="doc_content_info">
|
||||||
<span>{$doc->getPublicationTime()}</span>,
|
<span>{$doc->getPublicationTime()}</span>,
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
|
|
||||||
<div class='attachment_note_content'>
|
<div class='attachment_note_content'>
|
||||||
<span class="attachment_note_text">{_document}</span>
|
<span class="attachment_note_text">{_document}</span>
|
||||||
<span class="attachment_note_name"><a href="/doc{$attachment->getPrettyId()}">{ovk_proc_strtr($attachment->getName(), 50)}</a></span>
|
<span class="attachment_note_name"><a href="/doc{$attachment->getPrettyId()}">{ovk_proc_strtr($attachment->getName(), 40)}</a></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -18,6 +18,7 @@ function showDocumentUploadDialog(target = null, append_to_url = null, after_upl
|
||||||
`,
|
`,
|
||||||
buttons: [tr('close')],
|
buttons: [tr('close')],
|
||||||
callbacks: [Function.noop],
|
callbacks: [Function.noop],
|
||||||
|
unique_name: "doc_upload_dialog",
|
||||||
})
|
})
|
||||||
|
|
||||||
cmsg.getNode().find('.ovk-diag-body').attr('style', "padding:15px;")
|
cmsg.getNode().find('.ovk-diag-body').attr('style', "padding:15px;")
|
||||||
|
@ -126,6 +127,7 @@ u(document).on('click', '.docMainItem #edit_icon', async (e) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const cmsg_2 = new CMessageBox({
|
const cmsg_2 = new CMessageBox({
|
||||||
|
unique_name: "document_edit_modal",
|
||||||
title: tr("document_editing_in_general"),
|
title: tr("document_editing_in_general"),
|
||||||
body: `
|
body: `
|
||||||
<p><b>${tr("info_name")}</b></p>
|
<p><b>${tr("info_name")}</b></p>
|
||||||
|
@ -401,7 +403,7 @@ async function __docAttachment(form, ctx = "wall", source = "user", source_arg =
|
||||||
res.find(".docMainItem").attr("style", "width: 85%;")
|
res.find(".docMainItem").attr("style", "width: 85%;")
|
||||||
res.append(`
|
res.append(`
|
||||||
<div class="attachButton" id='__attach_doc'>
|
<div class="attachButton" id='__attach_doc'>
|
||||||
<span>${this.isDocAttached(id) ? tr("detach") : tr("attach")}</span>
|
${this.isDocAttached(id) ? tr("detach") : tr("attach")}
|
||||||
</div>
|
</div>
|
||||||
`)
|
`)
|
||||||
u('#_attachment_insert .docsInsert').append(res)
|
u('#_attachment_insert .docsInsert').append(res)
|
||||||
|
|
|
@ -8,10 +8,14 @@ html {
|
||||||
|
|
||||||
body,
|
body,
|
||||||
#backdropDripper,
|
#backdropDripper,
|
||||||
#standaloneCommentBox,
|
#standaloneCommentBox {
|
||||||
|
background-color: #0e0b1a;
|
||||||
|
color: #c6d2e8;
|
||||||
|
}
|
||||||
|
|
||||||
.ovk-photo-view,
|
.ovk-photo-view,
|
||||||
.articleView {
|
.articleView {
|
||||||
background-color: #0e0b1a;
|
background-color: #100539;
|
||||||
color: #c6d2e8;
|
color: #c6d2e8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -633,3 +637,24 @@ ul {
|
||||||
border: 1px solid #383052;
|
border: 1px solid #383052;
|
||||||
background: #1e1b2a;
|
background: #1e1b2a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#docs_page_wrapper .docs_page_search {
|
||||||
|
background: #1d1a27;
|
||||||
|
border-bottom: #2a2841 solid 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.docListViewItem {
|
||||||
|
border-bottom-color: #2a2841;
|
||||||
|
}
|
||||||
|
|
||||||
|
.docListViewItem:hover, .attachButton:hover {
|
||||||
|
background: #271c48;
|
||||||
|
}
|
||||||
|
|
||||||
|
.docListViewItem .doc_icon {
|
||||||
|
background: #33255e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.docListViewItem .doc_content b {
|
||||||
|
color: #7c94c5;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue