mirror of https://github.com/docker/docs.git
Restyle.
This commit is contained in:
parent
c5973426ec
commit
e7f3a55933
|
@ -11,7 +11,6 @@ var dialog = remote.require('dialog');
|
||||||
var ContainerStore = require('./ContainerStore');
|
var ContainerStore = require('./ContainerStore');
|
||||||
var ContainerUtil = require('./ContainerUtil');
|
var ContainerUtil = require('./ContainerUtil');
|
||||||
var boot2docker = require('./Boot2Docker');
|
var boot2docker = require('./Boot2Docker');
|
||||||
var ProgressBar = require('react-bootstrap/ProgressBar');
|
|
||||||
var ContainerDetailsHeader = require('./ContainerDetailsHeader.react');
|
var ContainerDetailsHeader = require('./ContainerDetailsHeader.react');
|
||||||
var ContainerHome = require('./ContainerHome.react');
|
var ContainerHome = require('./ContainerHome.react');
|
||||||
var RetinaImage = require('react-retina-image');
|
var RetinaImage = require('react-retina-image');
|
||||||
|
@ -418,7 +417,7 @@ var ContainerDetails = React.createClass({
|
||||||
if (this.state.progress) {
|
if (this.state.progress) {
|
||||||
body = (
|
body = (
|
||||||
<div className="details-progress">
|
<div className="details-progress">
|
||||||
<h3>Downloading</h3>
|
<h2>Downloading</h2>
|
||||||
<Radial progress={Math.round(this.state.progress * 100)}/>
|
<Radial progress={Math.round(this.state.progress * 100)}/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
@ -77,6 +77,7 @@ var NewContainer = React.createClass({
|
||||||
if (err) {
|
if (err) {
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
|
$(document.body).find('.new-container-item').parent().fadeOut();
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
},
|
},
|
||||||
handleDropdownClick: function (name) {
|
handleDropdownClick: function (name) {
|
||||||
|
|
|
@ -585,6 +585,9 @@
|
||||||
&.stopped {
|
&.stopped {
|
||||||
color: @gray-lighter;
|
color: @gray-lighter;
|
||||||
}
|
}
|
||||||
|
&.downloading {
|
||||||
|
color: @brand-action;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*.details-header-actions {
|
/*.details-header-actions {
|
||||||
|
@ -618,9 +621,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.details-progress {
|
.details-progress {
|
||||||
margin: 26% auto 0;
|
margin: 20% auto 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
|
h2 {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.details-panel {
|
.details-panel {
|
||||||
|
|
|
@ -5,6 +5,11 @@
|
||||||
@import "bootstrap/variables.less";
|
@import "bootstrap/variables.less";
|
||||||
@import "bootstrap/mixins.less";
|
@import "bootstrap/mixins.less";
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 18px;
|
||||||
|
color: @gray-normal;
|
||||||
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: @gray-darkest;
|
color: @gray-darkest;
|
||||||
|
|
Loading…
Reference in New Issue