Skip to content

Commit

Permalink
为Windows提供了稍好的浏览效果
Browse files Browse the repository at this point in the history
  • Loading branch information
iamapig120 committed Jan 5, 2019
1 parent 1602b17 commit 9377af4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions manager/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
--mac-close-btn-border: #d33f;
--mac-close-btn-hover: #f44f;
--mac-close-btn-hover-border: #d33f;
--main-height: 628px;
--main-heigth: 628px;
}

.blur {
Expand Down Expand Up @@ -99,10 +99,9 @@ h1 {
}

.darwin {
--main-height: 634px;
--main-heigth: 634px;
}

.darwin h1 {
.darwin.h1 {
height: 22px;
line-height: 22px;
font-size: 12px;
Expand All @@ -119,6 +118,8 @@ h1 {
color: var(--title-text);
font-weight: 300;
background-color: #f000;
-webkit-transition: color var(--animation-time) var(--ease-in-out);
transition: color var(--animation-time) var(--ease-in-out);
-webkit-transition: background-color var(--animation-time) var(--ease-in-out);
transition: background-color var(--animation-time) var(--ease-in-out);
-webkit-app-region: no-drag;
Expand Down
1 change: 1 addition & 0 deletions manager/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ h1 {
color: var(--title-text);
font-weight: 300;
background-color: #f000;
transition: color var(--animation-time) var(--ease-in-out);
transition: background-color var(--animation-time) var(--ease-in-out);
-webkit-app-region: no-drag;
text-align: center;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"devDependencies": {
"cross-env": "^5.2.0",
"electron": "^4.0.0-beta.8",
"electron": "^4.0.1",
"electron-packager": "^13.0.1"
}
}

0 comments on commit 9377af4

Please sign in to comment.