Skip to content

Commit 60ef0cb

Browse files
committed
Fix EZP-26915: ezmultiupload cancel button is not visible
(cherry picked from commit 1d7245d)
1 parent 884e4b0 commit 60ef0cb

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

design/standard/stylesheets/ezmultiupload.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,20 @@
7575
background-color: #fc8c00;
7676
}
7777

78+
.content-view-ezmultiupload #uploadButtonOverlay {
79+
max-width: 40%;
80+
}
81+
7882
.content-view-ezmultiupload #cancelUploadButton {
7983
visibility: hidden;
84+
width: 40%;
85+
margin-top: 1em;
86+
border: none rgba(0,0,0,0);
87+
background-color: #e6e6e6;
88+
font-size: 100%;
89+
padding: .4em 1em .45em;
90+
box-shadow: 0 0 0 1px rgba(0,0,0,0.25) inset, 0 2px 0 rgba(255,255,255,0.30) inset, 0 1px 2px rgba(0,0,0,0.15);
91+
background-image: linear-gradient(rgba(255,255,255,0.30),rgba(255,255,255,0.15) 40%,transparent);
92+
transition: .1s linear box-shadow;
93+
border-radius: 4px;
8094
}

design/standard/templates/ezmultiupload/upload.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
</div>
4343
<div class="attribute-description">
4444
<p>{'The files are uploaded to'|i18n('extension/ezmultiupload')} <a href={$parent_node.url_alias|ezurl}>{$parent_node.name|wash}</a></p>
45-
<div id="uploadButtonOverlay" style="position: absolute; z-index: 2"></div>
45+
<div id="uploadButtonOverlay"></div>
4646
<button id="cancelUploadButton" type="button">{'Cancel'|i18n('extension/ezmultiupload')}</button>
4747
<p><noscript><em style="color: red;">{'Javascript has been disabled, this is needed for multiupload!'|i18n('extension/ezmultiupload')}</em></noscript></p>
4848
</div>

0 commit comments

Comments
 (0)