mirror of https://github.com/docker/docs.git
Better delete button.
This commit is contained in:
parent
16b68c495f
commit
b85999611c
|
@ -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>
|
||||||
|
|
|
@ -109,11 +109,13 @@
|
||||||
color: white;
|
color: white;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
.btn-delete {
|
.action {
|
||||||
font-size: 24px;
|
.btn {
|
||||||
|
border: 1px solid white;
|
||||||
|
.icon {
|
||||||
color: white;
|
color: white;
|
||||||
position: relative;
|
}
|
||||||
z-index: 9999;
|
}
|
||||||
}
|
}
|
||||||
.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;
|
||||||
|
.icon {
|
||||||
color: @gray-lighter;
|
color: @gray-lighter;
|
||||||
position: relative;
|
}
|
||||||
z-index: 9999;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.state {
|
.state {
|
||||||
|
|
|
@ -215,6 +215,7 @@ input[type="text"] {
|
||||||
&:active,
|
&:active,
|
||||||
&.active {
|
&.active {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus,
|
&:focus,
|
||||||
|
|
Loading…
Reference in New Issue