Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore #7913

Closed

ignore #7913

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
558 changes: 558 additions & 0 deletions Themes/theme1/BoardIndex.template.php

Large diffs are not rendered by default.

560 changes: 560 additions & 0 deletions Themes/theme1/MessageIndex.template.php

Large diffs are not rendered by default.

609 changes: 609 additions & 0 deletions Themes/theme1/css/admin.css

Large diffs are not rendered by default.

211 changes: 211 additions & 0 deletions Themes/theme1/css/attachments.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
:root {

--post_attachments_area_border_color: hsl(0, 0%, 93%);;
--post_attachments_area_border_style: dotted;
--post_attachments_area_border_width: 1px;
--post_attachments_area_hover_border_color: hsl(207, 31%, 48%);

}

/* For the revamped attachments UI introduced in 2.1.4 */

/* Stuff common to both Display.template.php and Post.template.php */
.attachments {
padding: 12px 0 0 0;
display: flex;
flex-flow: row wrap;
}
.attached {
padding: 0 6px 8px 6px;
max-width: 100%;
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
vertical-align: initial;
}
.attachments_top {
margin: 0 auto;
text-align: center;
flex: 1 1 auto;
display: flex;
flex-flow: column;
justify-content: center;
}
.attachments_bot {
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
.attachments_bot a,
.attachments_bot .name,
.attachments_info .name {
white-space: nowrap;
}

/* Stuff unique to Post.template.php */
div#post_attachments_area.roundframe {
overflow: visible;
border-top: none;
padding: 0;
}
#post_attachments_area #postAttachment,
#post_attachments_area #postAttachment2,
#post_attachments_area #attachment_previews {
padding: initial;
}
#post_attachments_area #postAttachment .attachments {
padding: 0;
border-top: none;
box-shadow: none;
}
#post_attachments_area #postAttachment .attached {
border-right: var(--post_attachments_area_border_width) vaR(--post_attachments_area_border_style) var(--post_attachments_area_border_color);
border-top: var(--post_attachments_area_border_width) vaR(--post_attachments_area_border_style) var(--post_attachments_area_border_color);
padding-top: 9px;
width: 200px;
position: relative;
}
#post_attachments_area #postAttachment input {
line-height: initial;
}
#post_attachments_area #postAttachment .attached input[type="checkbox"] {
position: absolute;
right: 0;
top: 0;
}
#post_attachments_area .attachment_spacer {
display: flex;
flex-flow: column;
flex: 1 1 200px;
min-width: 200px;
order: 9999;
}
#post_attachments_area .attach_drop_zone_label {
font-weight: bold;
margin: auto;
width: 100%;
}
#post_attachments_area .attachment_restrictions {
flex: 0 0 auto;
display: flex;
flex-flow: row wrap;
justify-content: center;
}
#post_attachments_area .attachment_restrictions > * {
margin: 0 2ch;
}
#post_attachments_area .dz-image-preview {
flex: 1 0 auto;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
position: relative;
margin: 0;
}
#post_attachments_area .dz-image-preview .attachment_preview_wrapper {
flex: 1 0 auto;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
width: 200px;
padding: 5px;
}
#post_attachments_area .dz-image-preview:not(.errorbox) .attachment_preview_wrapper {
position: relative;
}
#post_attachments_area #attachment_previews {
display: none;
flex-flow: row wrap;
justify-content: space-evenly;
}
#post_attachments_area #attachment_previews .descbox .attachment_preview_wrapper,
#post_attachments_area #attachment_previews .errorbox .attachment_preview_wrapper,
#post_attachments_area #attachment_previews .infobox .attachment_preview_wrapper {
padding: initial;
width: 155px;
}
#post_attachments_area #attachment_previews .descbox .attach-preview,
#post_attachments_area #attachment_previews .errorbox .attach-preview,
#post_attachments_area #attachment_previews .infobox .attach-preview {
display: none;
}
#post_attachments_area #attachment_previews .attach-preview {
flex: 1 1 auto;
display: flex;
justify-content: center;
margin: 0.5em 0;
min-height: 75px;
max-height: 200px;
width: auto;
}
#post_attachments_area #attachment_previews .attach-preview img {
object-fit: contain;
}
#post_attachments_area #attachment_previews .attachment_info {
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
flex: initial;
width: auto;
}
#post_attachments_area #attachment_previews .attachment_info span:not(:first-child)::before {
display: block;
content: "";
}
#post_attachments_area #attachment_previews .attach-ui {
position: absolute;
right: 5px;
top: 5px;
border-radius: 4px;
padding: 0.5ch;
min-height: initial;
margin: 0;
box-shadow: none;
z-index: 2;
}
#post_attachments_area .attached_BBC_width_height {
display: none;
clear: both;
}
#post_attachments_area .attached_BBC_width,
#post_attachments_area .attached_BBC_height {
padding: 5px 0;
margin: 0;
display: block;
}
#post_attachments_area #attachment_upload {
border: 2px dashed transparent;
border-radius: 5px;
min-height: initial;
}
#post_attachments_area #attachment_upload.dz-drag-hover {
border-color: var(--post_attachments_area_hover_border_color);
}
#post_attachments_area .dz-clickable {
cursor: pointer;
}
#post_attachments_area #drop_zone_ui {
display: none;
min-width: 100%;
flex-flow: row wrap;
padding: 5px;
}
#post_attachments_area #max_files_progress {
display: none;
border-radius: 0 0 7px 7px;
border-left: none;
border-right: none;
border-bottom: none;
}
#post_attachments_area #max_files_progress_text {
display: none;
position: relative;
z-index: 1;
}
#post_attachments_area #max_files_progress,
#post_attachments_area .progress_bar .bar {
z-index: initial;
}
Loading