Skip to content

Commit

Permalink
Improved color palette and minor UI bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanli committed Apr 27, 2015
1 parent 5e159c8 commit 708493b
Show file tree
Hide file tree
Showing 19 changed files with 25 additions and 16 deletions.
Binary file modified images/boot2docker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/docker-terminal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/preferences.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/report-issue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/virtualbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/ContainerListItem.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var ContainerListItem = React.createClass({
});
ContainerStore.remove(this.props.container.Name, () => {
var containers = ContainerStore.sorted();
if (containers.length === 1) {
if (containers.length === 0) {
$(document.body).find('.new-container-item').parent().fadeIn();
}
});
Expand Down
4 changes: 2 additions & 2 deletions src/components/ImageCard.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var ImageCard = React.createClass({
name = (
<div>
<div className="namespace official">{namespace}</div>
<OverlayTrigger placement="bottom" overlay={<Tooltip>View on DockerHub</Tooltip>}>
<OverlayTrigger placement="bottom" overlay={<Tooltip>View on Docker Hub</Tooltip>}>
<span className="repo" onClick={this.handleRepoClick}>{repo}</span>
</OverlayTrigger>
</div>
Expand All @@ -84,7 +84,7 @@ var ImageCard = React.createClass({
name = (
<div>
<div className="namespace">{namespace}</div>
<OverlayTrigger placement="bottom" overlay={<Tooltip>View on DockerHub</Tooltip>}>
<OverlayTrigger placement="bottom" overlay={<Tooltip>View on Docker Hub</Tooltip>}>
<span className="repo" onClick={this.handleRepoClick}>{repo}</span>
</OverlayTrigger>
</div>
Expand Down
5 changes: 4 additions & 1 deletion src/components/Setup.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ var Setup = React.createClass({
<h1>We&#39;re Sorry!</h1>
<p>There seems to have been an unexpected error with Kitematic:</p>
<p className="error">{this.state.error.message || this.state.error}</p>
<p><button className="btn btn-action" onClick={this.handleErrorRetry}>Retry Setup</button> <button className="btn btn-action" onClick={this.handleErrorRemoveRetry}>Delete VM and Retry Setup</button></p>
<p className="setup-actions">
<button className="btn btn-action" onClick={this.handleErrorRetry}>Retry Setup</button>
<button className="btn btn-action" onClick={this.handleErrorRemoveRetry}>Delete VM and Retry Setup</button>
</p>
</div>
</div>
</div>
Expand Down
9 changes: 5 additions & 4 deletions styles/new-container.less
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@
padding: 4px 8px 4px 35px;
color: @gray-darkest;
margin-bottom: 3px;
border-color: @gray-lightest;
border-color: @gray-lighter;
box-shadow: none;
&:focus {
box-shadow: none;
border-color: @gray-lighter;
border-color: @brand-primary;
}
&::-webkit-input-placeholder {
color: #DDD;
Expand All @@ -96,7 +96,6 @@
width: 320px;
height: 166px;
border-radius: 4px;
border: 1px solid @gray-lightest;
background-color: white;
margin-right: 20px;
margin-bottom: 20px;
Expand Down Expand Up @@ -154,13 +153,16 @@
border-bottom-left-radius: 3px;
justify-content: center;
text-align: center;
box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,0.2);
img {
margin-top: 15px;
}
}
.card {
padding: 10px 20px 10px 20px;
position: relative;
border: 1px solid @gray-lightest;
border-left: 0;
.badges {
position: absolute;
right: 15px;
Expand All @@ -186,7 +188,6 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-decoration: underline;
}
}
.description {
Expand Down
2 changes: 1 addition & 1 deletion styles/radial.less
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
}

&.radial-gray {
background: #EEE;
background: @gray-lightest;
}

&.radial-transparent {
Expand Down
5 changes: 5 additions & 0 deletions styles/setup.less
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@
overflow: auto;
}
}
.setup-actions {
button {
margin-right: 12px;
}
}
}

}
Expand Down
14 changes: 7 additions & 7 deletions styles/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
@traffic-light-gray: #E5E5E5;
@traffic-light-gray-border: #D3D3D3;

@gray-darkest: #253237;
@gray-darker: #394C51;
@gray-normal: #546C70;
@gray-lighter: #7A9999;
@gray-lightest: #C7D7D7;
@gray-darkest: #233137;
@gray-darker: #556473;
@gray-normal: #7A8491;
@gray-lighter: #C4CDDA;
@gray-lightest: #E1E8EF;

@color-divider: #DCE2E2;
@color-background: #F9F9F9;
@color-divider: @gray-lightest;
@color-background: #FCFCFC;

@font-regular: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
@font-code: Menlo;

0 comments on commit 708493b

Please sign in to comment.