ui: make the action buttons with more-option have a divider + removed inline styles.

This commit is contained in:
Daniel Dourvaris 2020-07-16 21:46:12 +02:00
parent 5ea49c819c
commit 4d5ea5c67f
4 changed files with 10 additions and 3 deletions

View file

@ -259,6 +259,13 @@ input[type="button"] {
&:not(.open) .btn-action-switcher-container {
display: none;
}
.btn-more-option {
margin-left: -1px;
padding-left: 2px;
padding-right: 2px;
border-left: 1px solid @grey3;
}
}

View file

@ -24,7 +24,7 @@
${_('Add File')}
</a>
<a class="tooltip btn btn-primary" style="margin-left: -1px" data-toggle="dropdown" aria-pressed="false" role="button" title="${_('more options')}">
<a class="tooltip btn btn-primary btn-more-option" data-toggle="dropdown" aria-pressed="false" role="button" title="${_('more options')}">
<i class="icon-down"></i>
</a>

View file

@ -512,7 +512,7 @@
${_('Update commits')}
</a>
<a id="update_commits_switcher" class="tooltip btn btn-primary" style="margin-left: -1px" data-toggle="dropdown" aria-pressed="false" role="button" title="${_('more update options')}">
<a id="update_commits_switcher" class="tooltip btn btn-primary btn-more-option" data-toggle="dropdown" aria-pressed="false" role="button" title="${_('more update options')}">
<i class="icon-down"></i>
</a>

View file

@ -193,7 +193,7 @@
## replaced by some JS on select
</a>
<a class="tooltip btn btn-primary" style="margin-left: -1px" data-toggle="dropdown" aria-pressed="false" role="button" title="${_('more download options')}">
<a class="tooltip btn btn-primary btn-more-option" data-toggle="dropdown" aria-pressed="false" role="button" title="${_('more download options')}">
<i class="icon-down"></i>
</a>