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> </div>
<div className="action"> <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> </div>
</li> </li>
</Router.Link> </Router.Link>

View File

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

View File

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