forked from proginosko/LeechBlockNG
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change default theme to honor dark/light mode (proginosko#284)
- Loading branch information
1 parent
a6f8d99
commit 52dcc25
Showing
12 changed files
with
125 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* LeechBlock options CSS style */ | ||
/* LeechBlock options style */ | ||
|
||
html { | ||
overflow-y: scroll; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* LeechBlock popup CSS style */ | ||
/* LeechBlock popup style */ | ||
|
||
body { | ||
background-color: #fff; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* LeechBlock CSS style */ | ||
/* LeechBlock blocking/delaying page style */ | ||
|
||
body { | ||
background: #fff; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* LeechBlock Dark theme CSS style */ | ||
/* LeechBlock Dark theme style */ | ||
|
||
body { | ||
background: #222; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
/* LeechBlock Default theme style */ | ||
|
||
@media (prefers-color-scheme: dark) { | ||
|
||
/* The following should replicate the Dark theme style */ | ||
|
||
body { | ||
background: #222; | ||
color: #bbb; | ||
} | ||
|
||
.ui-button { | ||
background: #444; | ||
color: #bbb; | ||
border: 1px solid #666; | ||
} | ||
|
||
.ui-button:focus { | ||
background: #444; | ||
color: #bbb; | ||
border: 1px solid #666; | ||
} | ||
|
||
.ui-button:hover { | ||
background: #333; | ||
color: #bbb; | ||
border: 1px solid #666; | ||
} | ||
|
||
.ui-widget button { | ||
background: #444; | ||
color: #bbb; | ||
border: 1px solid #666; | ||
} | ||
|
||
.ui-widget button:hover:enabled { | ||
background: #333; | ||
} | ||
|
||
.ui-widget button:disabled { | ||
background: #333; | ||
color: #666; | ||
border: 1px solid #444; | ||
} | ||
|
||
.ui-widget fieldset, .ui-widget input, .ui-widget select, .ui-widget textarea { | ||
background: #222; | ||
color: #bbb; | ||
border: 1px solid #666; | ||
} | ||
|
||
.ui-widget input:disabled, .ui-widget select:disabled, .ui-widget textarea:disabled { | ||
background: #333; | ||
color: #666; | ||
border: 1px solid #444; | ||
} | ||
|
||
.ui-widget hr { | ||
height: 0px; | ||
margin: 0px; | ||
border-top: none; | ||
border-left: none; | ||
border-right: none; | ||
border-bottom: 1px solid #666; | ||
} | ||
|
||
.ui-widget th, td { | ||
border: 1px solid #666; | ||
} | ||
|
||
.ui-widget-header { | ||
background: #444; | ||
color: #bbb; | ||
border: 1px solid #888; | ||
} | ||
|
||
.ui-widget-content { | ||
background: #222; | ||
color: #bbb; | ||
border: 1px solid #888; | ||
} | ||
|
||
.ui-widget.ui-widget-content { | ||
border: 1px solid #888; | ||
} | ||
|
||
.ui-tabs .ui-state-default { | ||
background: #aaa; | ||
border: 1px solid #666; | ||
} | ||
|
||
.ui-tabs .ui-state-default a { | ||
color: #000; | ||
} | ||
|
||
.ui-tabs .ui-state-hover { | ||
background: #999; | ||
border: 1px solid #666; | ||
} | ||
|
||
.ui-tabs .ui-state-active { | ||
background: #222; | ||
border: 1px solid #666; | ||
} | ||
|
||
.ui-tabs .ui-state-active a { | ||
color: #bbb; | ||
} | ||
|
||
#paneAbout { | ||
color: #bbb; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/* LeechBlock Light theme style */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* LeechBlock Spruce theme CSS style */ | ||
/* LeechBlock Spruce theme style */ | ||
|
||
body { | ||
background: #031; | ||
|