add retina logo

This commit is contained in:
menglingjun
2014-12-23 15:13:34 +08:00
parent e653bd6687
commit 4acd274918
5 changed files with 13 additions and 3 deletions

View File

@@ -49,10 +49,14 @@ body, html {
top: 0; top: 0;
>.logo { >.logo {
float: left;
width: 180px; width: 180px;
height: 50px; height: 50px;
background: url(./img/logo.png) no-repeat; background-color: #fff;
float: left; background-position: center;
background-image: url(./img/logo@1x.png);
background-image: -webkit-image-set(url(./img/logo@1x.png) 1x, url(./img/logo@2x.png) 2x);
background-repeat: no-repeat;
} }
>.action-groups { >.action-groups {
@@ -148,7 +152,7 @@ body, html {
background: rgba(112, 119, 128, 1); background: rgba(112, 119, 128, 1);
margin-top: -40px; margin-top: -40px;
} }
.close-editor { .close-editor {
position: absolute; position: absolute;
right: 0; right: 0;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

BIN
css/img/logo@1x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

BIN
css/img/logo@2x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -139,6 +139,12 @@ a:hover {
.i-tangencyshapes:before { .i-tangencyshapes:before {
content: '\e027'; content: '\e027';
} }
.i-rangemode:before {
content: '\e029';
}
.i-pointmode:before {
content: '\e028';
}
.glyf-editor { .glyf-editor {
width: 100%; width: 100%;
height: 100%; height: 100%;