Better delete button.

This commit is contained in:
Sean Li 2015-06-08 11:24:09 -07:00
parent 16b68c495f
commit b85999611c
3 changed files with 14 additions and 11 deletions

View File

@ -108,7 +108,7 @@ var ContainerListItem = React.createClass({
</div>
</div>
<div className="action">
<span className="icon icon-delete btn-delete" onClick={this.handleDeleteContainer}></span>
<span className="btn circular" onClick={this.handleDeleteContainer}><span className="icon icon-delete"></span></span>
</div>
</li>
</Router.Link>

View File

@ -109,11 +109,13 @@
color: white;
opacity: 0.8;
}
.btn-delete {
font-size: 24px;
.action {
.btn {
border: 1px solid white;
.icon {
color: white;
position: relative;
z-index: 9999;
}
}
}
.state-new {
.at2x('container-white.png', @container-state-size, @container-state-size);
@ -180,11 +182,11 @@
position: relative;
top: 0.2rem;
text-align: right;
.btn-delete {
font-size: 24px;
.btn {
border: 1px solid @gray-lighter;
.icon {
color: @gray-lighter;
position: relative;
z-index: 9999;
}
}
}
.state {

View File

@ -215,6 +215,7 @@ input[type="text"] {
&:active,
&.active {
background-image: none;
box-shadow: none;
}
&:focus,