Skip to content

Commit 8189eed

Browse files
committed
2 parents 85bb2c4 + dbb32fd commit 8189eed

25 files changed

+3266
-438
lines changed

css/activities.css

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,7 @@
1616
outline: none;
1717
}
1818

19-
body:not(.dark-mode) #helpfulSearch,
20-
body:not(.dark-mode) .ui-autocomplete {
21-
background-color: #fff !important;
22-
color: #000 !important;
23-
}
24-
25-
body:not(.dark-mode) .ui-autocomplete li:hover {
26-
background-color: #ddd !important;
27-
}
2819

29-
body:not(.dark-mode) #helpfulSearchDiv {
30-
background-color: #f9f9f9 !important;
31-
}
3220

3321
.modal {
3422
display: none;

css/darkmode.css

Lines changed: 0 additions & 81 deletions
This file was deleted.

css/themes.css

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
/* Dark Mode */
2+
3+
.dark .blue {
4+
background-color: #022363 !important;
5+
}
6+
7+
.dark .blue.darken-1 {
8+
background-color: #01143b !important;
9+
}
10+
11+
.dark #floatingWindows > .windowFrame {
12+
border: 2px solid #000000;
13+
background-color: #454545;
14+
}
15+
16+
.dark .wfbtItem {
17+
background-color: #225a91;
18+
}
19+
20+
.dark #floatingWindows > .windowFrame > .wfTopBar .wftTitle {
21+
color: #e8e8e8;
22+
}
23+
24+
.dark .popupMsg {
25+
background-color: #084e86;
26+
color: #e8e8e8;
27+
}
28+
29+
.dark #printText {
30+
border-color: #000000;
31+
}
32+
33+
.dark #loading-image-container {
34+
background: #1a1a1a !important;
35+
background-color: #1a1a1a !important;
36+
}
37+
38+
.dark #loadingText {
39+
color: white !important;
40+
}
41+
42+
.dark .dropdown-content li > a {
43+
background-color: #1c1c1c;
44+
color: #3fe0d1;
45+
}
46+
47+
.dark .dropdown-content li > a:hover {
48+
color: #252525;
49+
}
50+
51+
.dark .dropdown-content {
52+
background-color: #1c1c1c;
53+
}
54+
55+
.dark .language-link {
56+
color: #fff;
57+
}
58+
59+
.dark .modal-content {
60+
background-color: #1c1c1c;
61+
color: #fff;
62+
}
63+
64+
.dark #submitLilypond {
65+
background-color: rgb(0, 102, 255);
66+
}
67+
68+
.dark #search,
69+
#helpfulSearch,
70+
.ui-autocomplete {
71+
background-color: #1c1c1c;
72+
color: #fff;
73+
}
74+
75+
.dark .ui-autocomplete li:hover {
76+
background-color: #225a91;
77+
}
78+
79+
.dark #helpfulSearchDiv {
80+
background-color: transparent;
81+
}
82+
83+
.dark #crossButton {
84+
color: #fff;
85+
}
86+
87+
88+
/* Your Custom Theme can go here if you don't want to modify the existing dark mode */

index.html

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
<link type="text/css" href="fonts/material-icons.css" rel="stylesheet"/>
7272
<link rel="stylesheet" href="lib/materialize-iso.css" />
73-
<link rel="stylesheet" href="css/darkmode.css" />
73+
<link rel="stylesheet" href="css/themes.css" />
7474

7575
<script src="lib/easeljs.min.js" defer></script>
7676

@@ -776,13 +776,13 @@
776776
>
777777
</li>
778778
<li>
779-
<a
780-
id="darkModeIcon"
781-
class="tooltipped"
782-
data-position="bottom"
783-
><i class="material-icons md-48"
784-
>brightness_4</i
785-
></a>
779+
<a
780+
id="themeSelectIcon"
781+
class="tooltipped dropdown-trigger"
782+
data-position="left"
783+
data-activates="themedropdown"
784+
><i class="material-icons md-48">brightness_4</i></a
785+
>
786786
</li>
787787
<li>
788788
<a
@@ -920,6 +920,12 @@
920920
<li><a id="he"></a></li>
921921
<li><a id="ur"></a></li>
922922
</ul>
923+
924+
<ul id="themedropdown" class="dropdown-content">
925+
<li><a id="light"></a></li>
926+
<li><a id="dark"></a></li>
927+
</ul>
928+
923929
<div id="modal-container" style="display: none;z-index: 999;">
924930
<ul id="newdropdown" class="dropdown-content" style="padding: 24px;">
925931
</ul>

0 commit comments

Comments
 (0)