New asset box style update

This commit is contained in:
Urban Rotnik 2019-04-04 18:15:30 +02:00
parent 2cbf70819f
commit a3932cc67f
5 changed files with 17 additions and 7 deletions

View file

@ -54,7 +54,7 @@
img {
margin-right: 5px;
width: 32px;
width: 23px;
}
}

View file

@ -1041,6 +1041,16 @@ ul.content-activities {
margin-top: 20px;
padding-bottom: 30px;
padding-top: 30px;
background-color: $color-concrete;
.new-asset-upload-icon{
margin-right: 6px;
}
.new-asset-upload-button {
margin-left: 20px;
background-color: inherit;
}
}
.dnd-error,

View file

@ -5,8 +5,8 @@
data-tooltipcontent="<%= I18n.t('tooltips.text.protocol.step_add_files') %>">
<%=t 'assets.drag_n_drop.label_html' %>
<label>
<span class="btn btn-primary">
<span class="fas fa-plus"></span>
<span class="btn btn-default new-asset-upload-button">
<span class="fas fa-file-upload new-asset-upload-icon"></span>
<%=t 'assets.drag_n_drop.browse_label' %>
</span>
<input type="file"

View file

@ -48,8 +48,8 @@
data-tooltipcontent="<%= I18n.t('tooltips.text.protocol.step_add_files') %>">
<%=t 'assets.drag_n_drop.label_html' %>
<label>
<span class="btn btn-primary">
<span class="fas fa-plus"></span>
<span class="btn btn-default new-asset-upload-button">
<span class="fas fa-file-upload new-asset-upload-icon"></span>
<%=t 'assets.drag_n_drop.browse_label' %>
</span>
<input type="file"

View file

@ -1874,8 +1874,8 @@ en:
edit: "SciNote | %{file_name} | Edit"
view: "SciNote | %{file_name} | View"
drag_n_drop:
label_html: 'Drag &amp; drop files here, CTRL+V (for images from clipboard) or '
browse_label: 'Browse to add'
label_html: 'Drag &amp; drop here. Copy &amp Paste images.'
browse_label: 'Select to Upload...'
drop_label: 'Drop to add to Step'
file_label: 'File'
from_clipboard: