mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-10 22:25:59 +08:00
Changed the styling so first option isnt outlined like button, but now mouse cursor wont change to hand when hovering over; will leave this small bug for fixing later
This commit is contained in:
parent
9b640c5df8
commit
62350d0d42
2 changed files with 8 additions and 2 deletions
|
|
@ -2008,6 +2008,12 @@ th.custom-field .modal-tooltiptext {
|
|||
margin-right: 5px;
|
||||
padding: 3px;
|
||||
}
|
||||
.btn-link {
|
||||
border-radius: 4px;
|
||||
margin-right: 5px;
|
||||
padding: 3px;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.btn:last-child {
|
||||
margin-right: 20px;
|
||||
|
|
|
|||
|
|
@ -55,9 +55,9 @@
|
|||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
|
||||
<a class="btn btn-default-link btn-open-file" <%= can_import_protocols(@current_team) ? 'data-action="import"' : 'disabled="disabled"' %>>
|
||||
<a class="btn-link btn-default-link btn-open-file" <%= can_import_protocols(@current_team) ? 'data-action="import"' : 'disabled="disabled"' %>>
|
||||
<span class="glyphicon glyphicon-file"></span>
|
||||
<span class="hidden-xs"> <%= t("protocols.index.import_alt") %></span>
|
||||
<span class="hidden-xs"><%= t("protocols.index.import_alt") %></span>
|
||||
<input type="file" value="" accept=".eln" data-role="import-file-input"
|
||||
data-team-id="<%= @current_team.id %>"
|
||||
data-type="<%= @type %>" data-import-url="<%= import_protocols_path %>"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue