mirror of
https://github.com/docker/docs.git
synced 2026-04-12 22:36:10 +07:00
Added KI logo.
This commit is contained in:
BIN
images/logo.png
Normal file
BIN
images/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 571 B |
BIN
images/logo@2x.png
Normal file
BIN
images/logo@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
@@ -1,5 +1,6 @@
|
||||
var React = require('react/addons');
|
||||
var remote = require('remote');
|
||||
var RetinaImage = require('react-retina-image');
|
||||
|
||||
var Header = React.createClass({
|
||||
getInitialState: function () {
|
||||
@@ -43,6 +44,7 @@ var Header = React.createClass({
|
||||
<div className="button button-minimize yellow disabled"></div>
|
||||
<div className="button button-fullscreenclose green enabled" onClick={this.handleFullscreen}></div>
|
||||
</div>
|
||||
<RetinaImage className="logo" src="logo.png"/>
|
||||
</div>
|
||||
);
|
||||
} else {
|
||||
@@ -53,6 +55,7 @@ var Header = React.createClass({
|
||||
<div className="button button-minimize yellow enabled" onClick={this.handleMinimize}></div>
|
||||
<div className="button button-fullscreen green enabled" onClick={this.handleFullscreen}></div>
|
||||
</div>
|
||||
<RetinaImage className="logo" src="logo.png"/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -13,6 +13,14 @@
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
.logo {
|
||||
position: relative;
|
||||
float: right;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.buttons {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user