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:
Žan Žagar 2017-09-11 16:03:33 +02:00
parent 9b640c5df8
commit 62350d0d42
2 changed files with 8 additions and 2 deletions

View file

@ -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;

View file

@ -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">&nbsp;<%= 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 %>"