diff --git a/gulp/res/css/themes/pink.css b/gulp/res/css/themes/pink.css index d2e3e761..4c662ef2 100644 --- a/gulp/res/css/themes/pink.css +++ b/gulp/res/css/themes/pink.css @@ -30,7 +30,7 @@ --greentext-color:#789922; --pinktext-color:#FF00EF; } -.post-container:not(.op) { +.post-container:not(.op), .stickynav, .pages, .toggle-summary, .catalog-tile, #livetext, #threadstats,#float, .table-container { box-shadow: 3px 3px 3px var(--darken); } hr { @@ -39,17 +39,22 @@ hr { border-style: dashed none none; border-color: var(--post-outline-color); } -.post-container.highlighted { +.anchor:target + .post-container, +.post-container.highlighted, +.anchor:target + table tbody tr th, +.anchor:target + table { border: 1px dashed; } -#float { - box-shadow: 3px 3px 3px var(--darken); -} -@media only screen and (max-width:600px) { - .post-info, - anchor:target+.post-container .post-info, - post-container.highlighted .post-info { - border-bottom:none; + +@media only screen and (max-width: 600px) { + + .post-info{ + background: none; + border-bottom: none; + } + + .anchor:target + .post-container .post-info, .post-container.highlighted .post-info { + border-bottom: none; } -} +} diff --git a/gulp/res/js/forms.js b/gulp/res/js/forms.js index 1801df1d..9e8f6ac5 100644 --- a/gulp/res/js/forms.js +++ b/gulp/res/js/forms.js @@ -44,6 +44,7 @@ class formHandler { this.files = []; if (this.fileInput) { this.fileLabel = this.fileInput.previousSibling; + this.multipleFiles = this.fileLabel.parentNode.previousSibling.firstChild.textContent.endsWith('s'); this.fileLabelText = this.fileLabel.childNodes[0]; this.fileLabel.addEventListener('dragover', e => this.fileLabelDrag(e)); this.fileLabel.addEventListener('drop', e => this.fileLabelDrop(e)); @@ -184,7 +185,7 @@ class formHandler { return; } if (this.files && this.files.length === 0) { - this.fileLabelText.nodeValue = 'Upload/Drop/Paste file(s)'; + this.fileLabelText.nodeValue = `Select/Drop/Paste file${this.multipleFiles ? 's' : ''}`; } else { this.fileLabelText.nodeValue = `${this.files.length} file${this.files.length > 1 ? 's' : ''} selected`; }