Commit 5a54b3b4 authored by Randall Leeds's avatar Randall Leeds

Button consistency

- Use .btn wherever we use .btn-clean

- No border on .btn-clean
parent 03b89e85
......@@ -58,6 +58,9 @@
button {
color: $gray-light;
font-weight: normal;
padding: 0 .125em;
.annotation:hover & {
color: $link-color;
}
......
......@@ -235,13 +235,12 @@
}
.btn-clean {
border: none;
&, &:focus, &:hover, &:active, &[disabled],
&.js-hover, &.js-focus, &.js-active, &.js-disabled {
@include box-shadow(none);
padding-left: 0;
padding-right: 0;
background: none;
border-color: transparent;
}
&:focus, &:hover, &:active, &.js-hover, &.js-focus, &.js-active {
......
......@@ -159,12 +159,12 @@
</div>
<div class="annotation-actions" ng-if="!vm.editing && vm.annotation.id">
<button class="small btn-clean"
<button class="small btn btn-clean"
ng-click="vm.reply()"
><i class="h-icon-reply btn-icon"></i>
<span class="btn-text">Reply</span></button>
<span class="share-dialog-wrapper">
<button class="small btn-clean"
<button class="small btn btn-clean"
ng-click="share($event)"
><i class="h-icon-link btn-icon"></i>
<span class="btn-text">Link</span></button>
......@@ -176,12 +176,12 @@
<input type="text" value="{{vm.annotationURI}}" readonly>
</span>
</span>
<button class="small btn-clean"
<button class="small btn btn-clean"
ng-show="vm.authorize('update')"
ng-click="vm.edit()"
><i class="h-icon-edit btn-icon"></i>
<span class="btn-text">Edit</span></button>
<button class="small btn-clean"
<button class="small btn btn-clean"
ng-show="vm.authorize('delete')"
ng-click="vm.delete()"
><i class="h-icon-delete btn-icon"></i>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment