mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-09 06:35:37 +08:00
New asset box style update
This commit is contained in:
parent
2cbf70819f
commit
a3932cc67f
5 changed files with 17 additions and 7 deletions
|
@ -54,7 +54,7 @@
|
|||
|
||||
img {
|
||||
margin-right: 5px;
|
||||
width: 32px;
|
||||
width: 23px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -1874,8 +1874,8 @@ en:
|
|||
edit: "SciNote | %{file_name} | Edit"
|
||||
view: "SciNote | %{file_name} | View"
|
||||
drag_n_drop:
|
||||
label_html: 'Drag & drop files here, CTRL+V (for images from clipboard) or '
|
||||
browse_label: 'Browse to add'
|
||||
label_html: 'Drag & drop here. Copy & Paste images.'
|
||||
browse_label: 'Select to Upload...'
|
||||
drop_label: 'Drop to add to Step'
|
||||
file_label: 'File'
|
||||
from_clipboard:
|
||||
|
|
Loading…
Add table
Reference in a new issue