opt mac sciter dark theme (#6824)

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2024-01-08 11:35:55 +08:00 committed by GitHub
parent 159c883bf3
commit a2d08fa40d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

View File

@ -219,6 +219,7 @@ div.tab {
text-align: center; text-align: center;
position: relative; position: relative;
padding: 0 5px; padding: 0 5px;
color: black
} }
div.active-tab { div.active-tab {

View File

@ -19,6 +19,7 @@ html {
var(light-green): #D4EAB7; var(light-green): #D4EAB7;
var(dark-green): #5CB85C; var(dark-green): #5CB85C;
var(blood-red): #F82600; var(blood-red): #F82600;
var(gray-bg-osx): rgba(238, 238, 238, 0.75);
} }
html.darktheme { html.darktheme {
@ -31,6 +32,7 @@ html.darktheme {
var(light-text): #999; var(light-text): #999;
var(lighter-text): #777; var(lighter-text): #777;
var(placeholder): #555; var(placeholder): #555;
var(gray-bg-osx): rgba(37, 37, 37, 0.75);
} }
body { body {

View File

@ -1,6 +1,5 @@
html { html {
background-color: transparent; background-color: transparent;
var(gray-bg-osx): rgba(238, 238, 238, 0.75);
} }
body { body {
@ -35,7 +34,6 @@ body {
} }
#ab .left-pane { #ab .left-pane {
background: white;
border-radius: 1em; border-radius: 1em;
padding: 1em; padding: 1em;
} }
@ -185,7 +183,6 @@ div.connect-status {
left: 240px; left: 240px;
border-top: color(border) solid 1px; border-top: color(border) solid 1px;
width: 100%; width: 100%;
background: color(gray-bg);
padding: 1em; padding: 1em;
} }
@ -418,3 +415,8 @@ li:disabled, li:disabled:hover {
background: color(menu); background: color(menu);
} }
@media platform == "OSX" {
div.eye-area > input {
font-size: 1em;
}
}