1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-03 18:35:09 +01:00

Merge pull request #8 from ascribe/AD-1233-delete-button-is-way-to-prominent

Change delete button back to old styling
This commit is contained in:
Tim Daubenschütz 2015-10-28 15:56:02 +01:00
commit cc8e455a0e
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="default" 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

@ -342,6 +342,29 @@ fieldset[disabled] .btn-secondary.active {
} }
} }
.btn-tertiary {
background-color: transparent;
border-color: transparent;
color: $ascribe-dark-blue;
&:focus,
&:active:focus,
&:active.focus {
background-color: transparent;
border-color: transparent;
color: $ascribe-dark-blue;
}
&: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;