Skip to content

Commit b82035a

Browse files
committed
Update styles
1 parent 76e036a commit b82035a

File tree

5 files changed

+25
-4
lines changed

5 files changed

+25
-4
lines changed

.vscode/tasks.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
// for the documentation about the tasks.json format
44
"version": "2.0.0",
55
"tasks": [
6+
{
7+
"label": "Watch CSS",
8+
"type": "shell",
9+
"command": "sass dizzylab.scss:dizzylab.css --no-source-map --watch",
10+
"problemMatcher": []
11+
},
612
{
713
"label": "Build CSS",
814
"type": "shell",

build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const style = `
55
@name dizzylab auto theme
66
@description dizzylab 自适应主题
77
@namespace the1812
8-
@version 1.0.6
8+
@version 1.0.7
99
@author Grant Howard
1010
@homepageURL https://github.com/the1812/dizzylab-auto-theme/
1111
@supportURL https://github.com/the1812/dizzylab-auto-theme/issues

dizzylab.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ html button.bg-primary:focus,
77
html button.bg-primary:hover {
88
background-color: #ddd !important;
99
}
10-
html .navbar .btn-primary {
10+
html .btn-group > .btn-primary {
11+
color: #000 !important;
12+
}
13+
html .dropdown > .btn-primary:not([style*=color]),
14+
html .btn-group > .btn-primary,
15+
html .navbar .btn-primary {
1116
background-color: #ddd !important;
1217
}
1318
html .page-link:focus, html .page-link:hover {

dizzylab.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
background-color: #ddd !important;
1616
}
1717
}
18+
.btn-group > .btn-primary {
19+
color: #000 !important;
20+
}
21+
.dropdown > .btn-primary:not([style*="color"]),
22+
.btn-group > .btn-primary,
1823
.navbar .btn-primary {
1924
background-color: #ddd !important;
2025
}

dizzylab.user.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@name dizzylab auto theme
33
@description dizzylab 自适应主题
44
@namespace the1812
5-
@version 1.0.6
5+
@version 1.0.7
66
@author Grant Howard
77
@homepageURL https://github.com/the1812/dizzylab-auto-theme/
88
@supportURL https://github.com/the1812/dizzylab-auto-theme/issues
@@ -20,7 +20,12 @@ html button.bg-primary:focus,
2020
html button.bg-primary:hover {
2121
background-color: #ddd !important;
2222
}
23-
html .navbar .btn-primary {
23+
html .btn-group > .btn-primary {
24+
color: #000 !important;
25+
}
26+
html .dropdown > .btn-primary:not([style*=color]),
27+
html .btn-group > .btn-primary,
28+
html .navbar .btn-primary {
2429
background-color: #ddd !important;
2530
}
2631
html .page-link:focus, html .page-link:hover {

0 commit comments

Comments
 (0)