mirror of
https://github.com/openvk/openvk
synced 2025-01-22 07:44:27 +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}
|
||||
</a>
|
||||
<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">
|
||||
<span>{$doc->getPublicationTime()}</span>,
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
|
||||
<div class='attachment_note_content'>
|
||||
<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>
|
||||
|
|
|
@ -18,6 +18,7 @@ function showDocumentUploadDialog(target = null, append_to_url = null, after_upl
|
|||
`,
|
||||
buttons: [tr('close')],
|
||||
callbacks: [Function.noop],
|
||||
unique_name: "doc_upload_dialog",
|
||||
})
|
||||
|
||||
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({
|
||||
unique_name: "document_edit_modal",
|
||||
title: tr("document_editing_in_general"),
|
||||
body: `
|
||||
<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.append(`
|
||||
<div class="attachButton" id='__attach_doc'>
|
||||
<span>${this.isDocAttached(id) ? tr("detach") : tr("attach")}</span>
|
||||
${this.isDocAttached(id) ? tr("detach") : tr("attach")}
|
||||
</div>
|
||||
`)
|
||||
u('#_attachment_insert .docsInsert').append(res)
|
||||
|
|
|
@ -8,10 +8,14 @@ html {
|
|||
|
||||
body,
|
||||
#backdropDripper,
|
||||
#standaloneCommentBox,
|
||||
#standaloneCommentBox {
|
||||
background-color: #0e0b1a;
|
||||
color: #c6d2e8;
|
||||
}
|
||||
|
||||
.ovk-photo-view,
|
||||
.articleView {
|
||||
background-color: #0e0b1a;
|
||||
background-color: #100539;
|
||||
color: #c6d2e8;
|
||||
}
|
||||
|
||||
|
@ -633,3 +637,24 @@ ul {
|
|||
border: 1px solid #383052;
|
||||
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