From 9681486db2545fb6503175ceda17f6d166e3760a Mon Sep 17 00:00:00 2001 From: life Date: Wed, 4 Mar 2015 22:03:24 +0800 Subject: [PATCH] close, left style --- note.html | 14 ++++++++------ package.json | 4 ++-- public/css/theme/basic.less | 13 ++++++++++++- public/css/theme/black.css | 3 +-- public/css/theme/black.less | 2 +- public/css/theme/blue.css | 3 +-- public/css/theme/blue.less | 2 +- public/css/theme/default.css | 14 ++++++++++++-- public/css/theme/simple.css | 14 ++++++++++++-- public/css/theme/writting-overwrite.css | 14 ++++++++++++-- public/css/theme/writting.css | 14 ++++++++++++-- 11 files changed, 74 insertions(+), 23 deletions(-) diff --git a/note.html b/note.html index ef59866f..bf8ef188 100755 --- a/note.html +++ b/note.html @@ -36,6 +36,13 @@ function log(o) { + +
+ + + +
+
@@ -99,12 +106,7 @@ function log(o) {
- -
- - - -
+
diff --git a/package.json b/package.json index d589a59a..7472ad68 100755 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "window": { "toolbar": true, - "frame": true, - "transparent": false, + "frame": false, + "transparent": true, "min_width": 400, "min_height": 200, diff --git a/public/css/theme/basic.less b/public/css/theme/basic.less index 99ce6931..8815cac8 100644 --- a/public/css/theme/basic.less +++ b/public/css/theme/basic.less @@ -1552,6 +1552,10 @@ top: 4px; .win-tool { // height: 14px; padding: 5px; + position: absolute; + left: 0; + top: 0; + z-index: 99999; a { display: block; float: left; @@ -1621,11 +1625,18 @@ body { overflow: hidden; border-radius: 5px 0 0 0; } -#notebook, #notebookBottom { +#notebook { + top: 25px !important; + background: transparent !important; +} +#leftNotebook { // background-color: rgba(245, 246, 248, 0.98) !important; background: url(images/mohu.png) !important; background-repeat: repeat; } +#notebookBottom { + background: transparent !important; +} #notesAndSort, .win-tool { -webkit-user-select: none; diff --git a/public/css/theme/black.css b/public/css/theme/black.css index 7f0872d9..e96228ce 100644 --- a/public/css/theme/black.css +++ b/public/css/theme/black.css @@ -1,5 +1,4 @@ -#notebook, -#notebookBottom { +#leftNotebook { background: none !important; background-color: rgba(37, 49, 62, 0.9) !important; } diff --git a/public/css/theme/black.less b/public/css/theme/black.less index 39a10b07..6862e4e8 100644 --- a/public/css/theme/black.less +++ b/public/css/theme/black.less @@ -1,4 +1,4 @@ -#notebook, #notebookBottom { +#leftNotebook { background: none !important; background-color: rgba(37,49,62, 0.9) !important; // background: url(images/mohu.png) !important; diff --git a/public/css/theme/blue.css b/public/css/theme/blue.css index 2d9ee912..afef56b2 100644 --- a/public/css/theme/blue.css +++ b/public/css/theme/blue.css @@ -1,5 +1,4 @@ -#notebook, -#notebookBottom { +#leftNotebook { background: none !important; background-color: rgba(40, 167, 233, 0.9) !important; } diff --git a/public/css/theme/blue.less b/public/css/theme/blue.less index 5c7a6f8a..502a8a7e 100644 --- a/public/css/theme/blue.less +++ b/public/css/theme/blue.less @@ -1,4 +1,4 @@ -#notebook, #notebookBottom { +#leftNotebook { background: none !important; background-color: rgba(40,167,233, 0.9) !important; // background: url(images/mohu.png) !important; diff --git a/public/css/theme/default.css b/public/css/theme/default.css index c12f7c8e..0abde144 100644 --- a/public/css/theme/default.css +++ b/public/css/theme/default.css @@ -1401,6 +1401,10 @@ h3 { */ .win-tool { padding: 5px; + position: absolute; + left: 0; + top: 0; + z-index: 99999; } .win-tool a { display: block; @@ -1461,11 +1465,17 @@ body { overflow: hidden; border-radius: 5px 0 0 0; } -#notebook, -#notebookBottom { +#notebook { + top: 25px !important; + background: transparent !important; +} +#leftNotebook { background: url(images/mohu.png) !important; background-repeat: repeat; } +#notebookBottom { + background: transparent !important; +} #notesAndSort, .win-tool { -webkit-user-select: none; diff --git a/public/css/theme/simple.css b/public/css/theme/simple.css index 1e691f62..dedd7700 100644 --- a/public/css/theme/simple.css +++ b/public/css/theme/simple.css @@ -1401,6 +1401,10 @@ h3 { */ .win-tool { padding: 5px; + position: absolute; + left: 0; + top: 0; + z-index: 99999; } .win-tool a { display: block; @@ -1461,11 +1465,17 @@ body { overflow: hidden; border-radius: 5px 0 0 0; } -#notebook, -#notebookBottom { +#notebook { + top: 25px !important; + background: transparent !important; +} +#leftNotebook { background: url(images/mohu.png) !important; background-repeat: repeat; } +#notebookBottom { + background: transparent !important; +} #notesAndSort, .win-tool { -webkit-user-select: none; diff --git a/public/css/theme/writting-overwrite.css b/public/css/theme/writting-overwrite.css index dde0b2ea..7467c25b 100644 --- a/public/css/theme/writting-overwrite.css +++ b/public/css/theme/writting-overwrite.css @@ -1401,6 +1401,10 @@ h3 { */ .win-tool { padding: 5px; + position: absolute; + left: 0; + top: 0; + z-index: 99999; } .win-tool a { display: block; @@ -1461,11 +1465,17 @@ body { overflow: hidden; border-radius: 5px 0 0 0; } -#notebook, -#notebookBottom { +#notebook { + top: 25px !important; + background: transparent !important; +} +#leftNotebook { background: url(images/mohu.png) !important; background-repeat: repeat; } +#notebookBottom { + background: transparent !important; +} #notesAndSort, .win-tool { -webkit-user-select: none; diff --git a/public/css/theme/writting.css b/public/css/theme/writting.css index f164ff85..1b66da82 100644 --- a/public/css/theme/writting.css +++ b/public/css/theme/writting.css @@ -1401,6 +1401,10 @@ h3 { */ .win-tool { padding: 5px; + position: absolute; + left: 0; + top: 0; + z-index: 99999; } .win-tool a { display: block; @@ -1461,11 +1465,17 @@ body { overflow: hidden; border-radius: 5px 0 0 0; } -#notebook, -#notebookBottom { +#notebook { + top: 25px !important; + background: transparent !important; +} +#leftNotebook { background: url(images/mohu.png) !important; background-repeat: repeat; } +#notebookBottom { + background: transparent !important; +} #notesAndSort, .win-tool { -webkit-user-select: none;