1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00

Add tertiary button style

This commit is contained in:
Tim Daubenschütz 2015-10-27 17:15:23 +01:00
parent 12c7fa7ba4
commit 9765ed040b
2 changed files with 24 additions and 1 deletions

View File

@ -45,7 +45,7 @@ let DeleteButton = React.createClass({
title = getLangText('Delete Edition'); title = getLangText('Delete Edition');
} }
btnDelete = <Button bsStyle="danger" className="btn-delete" bsSize="small">{getLangText('DELETE')}</Button>; btnDelete = <button className="btn btn-sm btn-tertiary">{getLangText('DELETE')}</button>;
} else if(availableAcls.acl_unshare){ } else if(availableAcls.acl_unshare){

View File

@ -327,6 +327,29 @@ fieldset[disabled] .btn-secondary.active {
} }
} }
.btn-tertiary {
background-color: transparent;
border-color: transparent;
color: #888;
&:focus,
&:active:focus,
&:active.focus {
background-color: transparent;
border-color: transparent;
color: #888;
}
&:hover,
&:active,
&:active:hover,
&.active:hover{
background-color: $ascribe-pink;
border-color: $ascribe-pink;
color: $ascribe-white;
}
}
.ascribe-piece-list-toolbar-filter-widget button { .ascribe-piece-list-toolbar-filter-widget button {
background-color: transparent; background-color: transparent;
border: 1px solid transparent; border: 1px solid transparent;