Skip to content

Commit 2e374f7

Browse files
authored
Merge pull request #46 from Weilbyte/Weilbyte/issue45
Replace colors with variable (fix #45), fix format
2 parents f5da908 + c4f1130 commit 2e374f7

29 files changed

+136
-136
lines changed

PVEDiscordDark/sass/PVEDiscordDark.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PVEDiscordDark/sass/_vars.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ $yellow: #faa61a
44
$red: #ba2b2d
55
$dark: #2C2F33
66
$darker: #23272a
7-
$light: #4A4D53
7+
$light: #4A4D53
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
div[id^="proxmoxRRDChart-"] > div:nth-child(3) > div
2-
background-color: #23272a
2+
background-color: $darker
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
div[id^="pveCephInstallWindow-"][id$="-innerCt"] div div div div
2-
background: #23272a
2+
background: $darker
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
div[id^="pveDcHealth-"][id$="-body"], div[id^="pveDcGuests-"][id$="-body"], div[id^="pveDcSummary-"][id$="-innerCt"] > div:nth-child(3) > div:nth-child(2), div[id^="pveDcSummary-"][id$="-innerCt"] > div:nth-child(5) > div:nth-child(2) > div > div
2-
background-color: #23272a
2+
background-color: $darker
33

44
div[id^="pveDcSummary-"][id$="-innerCt"] > div:nth-child(4) > div:nth-child(3)
5-
border: 1px solid #23272a
5+
border: 1px solid $darker

PVEDiscordDark/sass/special/_icons.sass

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
color: white
6363

6464
.fa-building.online
65-
color: $blurple!important
65+
color: $blurple !important
6666

6767
.fa-fw.x-grid-icon-custom.fa
6868
&.fa-database
@@ -76,11 +76,11 @@
7676

7777

7878
.lxc:after
79-
background: transparent!important
79+
background: transparent !important
8080
color: $blurple
81-
text-shadow: 0 0 0 #2c2f33!important
81+
text-shadow: 0 0 0 $dark !important
8282

8383
.qemu:after
84-
background: transparent!important
84+
background: transparent !important
8585
color: $blurple
86-
text-shadow: 0 0 0 #2c2f33!important
86+
text-shadow: 0 0 0 $dark !important

PVEDiscordDark/sass/special/_proxmox.sass

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
background-color: #401314
33

44
.usage
5-
background-color: #7289DA
5+
background-color: $blurple
66

77
.usage-wrapper
8-
border: 1px solid #7289DA
8+
border: 1px solid $blurple
99

1010
.x-tool-img
1111
background-image: url('/pve2/images/dd_tool-sprites.png') !important
Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#toolbar-1069-innerCt
2-
background: #2c2f33
2+
background: $dark
33

44
#button-1030
5-
background: #23272a
5+
background: $darker
66
border: 1px solid #d23d3f
77

88
#menuitem-1030-iconEl
@@ -18,64 +18,64 @@
1818
color: #c52d2f
1919

2020
[id^="pveNodeStatus"]
21-
background: #23272a
21+
background: $darker
2222

2323
div[id^="toolbar-"][id$="-innerCt"] div[id^="toolbar-"][id$="-targetEl"] div ul li div
24-
background-color: #2C2F33
24+
background-color: $dark
2525

2626
div[id^="pveGuestStatusView-"][id$="-body"]
27-
background: #23272a
27+
background: $darker
2828

2929
div[id^="pveStorageStatusView-"][id$="-body"]
30-
background: #23272a
30+
background: $darker
3131

3232
div[id^="pveNotesView-"][id$="-innerCt"]
33-
background: #23272a
33+
background: $darker
3434

3535
[id^="versioninfo"]
36-
background: #23272a
36+
background: $darker
3737

3838
[id^="proxmoxGauge"]
39-
background: #23272a
39+
background: $darker
4040

4141
[id^="tooltip"]
42-
background: #7289da
42+
background: $blurple
4343
color: #fff
4444
border-width: 0
4545

4646
[id^="ext-quicktips-tip-body"]
47-
background-color: #7289da
47+
background-color: $blurple
4848
color: #fff
4949
//If you use compass, instead of the line below you could use + border-radius($radius, $vertical-radius)
5050
border-radius: 0
5151
border-width: 0
5252

5353
[id^="ext-quicktips-tip-innerCt"]
54-
background-color: #7289da
54+
background-color: $blurple
5555
color: #fff
5656
//If you use compass, instead of the line below you could use + border-radius($radius, $vertical-radius)
5757
border-radius: 0
5858
border-width: 0
5959

6060
[id^="ext-quicktips-tip-ext-quicktips-tip-outerCt"]
61-
background-color: #7289da
61+
background-color: $blurple
6262
color: #fff
6363
//If you use compass, instead of the line below you could use + border-radius($radius, $vertical-radius)
6464
border-radius: 0
6565
border-width: 0
6666

6767
[id^="ext-form-error"]
68-
background-color: #7289da
68+
background-color: $blurple
6969
color: #fff
7070
//If you use compass, instead of the line below you could use + border-radius($radius, $vertical-radius)
7171
border-radius: 0
7272
border-width: 0
7373

7474
[id^="toolbar"]
75-
background: #2c2f33
75+
background: $dark
7676

7777
[id^="legend"]
78-
background: #23272a
78+
background: $darker
7979
border-color: red
8080

8181
a[id^="menuitem-"][id$="-itemEl"] div[class*="fa-refresh"]:before, span[id^="proxmoxButton-"][id$="-btnEl"] span[class*="fa-undo"]:before
@@ -89,9 +89,9 @@ a[id^="menuitem-"][id$="-itemEl"] div[class*="fa-trash-o"]:before
8989
background-color: transparent !important
9090
border: 1px solid #d23d3f !important
9191
div[id="menu-1029-targetEl"] > div[class*="x-menu-item"]
92-
background: #2c2f33
92+
background: $dark
9393
div[id="menu-1029-targetEl"] > div[class*="x-menu-item"] > a[class*="x-menu-item-focus"]
94-
background: #23272A
94+
background: $darker
9595
div[id="menu-1029-targetEl"] > div[class*="x-menu-item"] > div[class*="x-menu-item"] > a[aria-disabled="true"]
9696
opacity: 0.5
97-
background: #23272A
97+
background: $darker
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
.x-autocontainer-innerCt
2-
background: #2c2f33
2+
background: $dark

PVEDiscordDark/sass/x/_boundlist.sass

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.x-boundlist-item
22
color: white
3-
background-color: #2c2f33
3+
background-color: $dark
44
border: none
55
&:hover
6-
background-color: #23272a
6+
background-color: $darker
77

88
.x-boundlist
9-
border-color: #23272a
9+
border-color: $darker

PVEDiscordDark/sass/x/_box.sass

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
.x-box-scroller
2-
background: #2c2f33!important
2+
background: $dark !important
33

44
.x-box-scroller-body-vertical
5-
background: #2c2f33!important
5+
background: $dark !important
66

77
.x-box-inner
88
overflow: hidden
99
position: relative
1010
left: 0
1111
top: 0
12-
background: #23272a
12+
background: $darker

PVEDiscordDark/sass/x/_btn.sass

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.x-btn
2-
background: #7289da
2+
background: $blurple
33
border-width: 0
44
&.x-unselectable.x-box-item
55
&.x-toolbar-item.x-btn-default-toolbar-small
@@ -16,7 +16,7 @@
1616

1717
.x-btn-focus
1818
&.x-btn-default-toolbar-small
19-
background-color: #7289da
19+
background-color: $blurple
2020

2121
.x-btn-inner
2222
color: #fff
@@ -28,7 +28,7 @@
2828

2929
.x-btn-disabled
3030
background-image: none
31-
background-color: #737fab!important
31+
background-color: #737fab !important
3232

3333
.x-btn-icon-el
3434
&.x-btn-icon-el-default-toolbar-small
@@ -40,7 +40,7 @@
4040
&.fa-send-o
4141
color: #fff
4242
&.fa-play
43-
color: #43b581
43+
color: $green
4444
&.fa-fw.fa-ellipsis-v
4545
color: #fff
4646
&.fa-power-off

PVEDiscordDark/sass/x/_column.sass

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
.x-column-header-inner
2-
background: #23272a
3-
border-width: 0!important
2+
background: $darker
3+
border-width: 0 !important
44

55
.x-column-header-default
6-
background: #2c2f33
7-
border-width: 0!important
6+
background: $dark
7+
border-width: 0 !important
88

99
.x-column-header-text-inner
1010
color: #fff
1111

1212
.x-column-header-trigger
13-
border-color: #23272a
13+
border-color: $darker

PVEDiscordDark/sass/x/_form.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.x-form-text-default
22
color: #818082
3-
background-color: #4a4d53
3+
background-color: $light
44
font: 300 13px/17px 'helvetica', 'arial', 'verdana', 'sans-serif'
55
min-height: 22px
66
padding: 0 6px 2px

PVEDiscordDark/sass/x/_grid.sass

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
color: #fff
44

55
.x-grid-cell-rowbody
6-
background: #2c2f33
6+
background: $dark
77
color: #fff
88

99
.x-grid-item
10-
background: #2c2f33
11-
border-width: 0!important
10+
background: $dark
11+
border-width: 0 !important
1212
&:hover
1313
background-color: $light
1414

1515
.x-grid-item-alt
16-
background: #23272a
17-
border-width: 0!important
16+
background: $darker
17+
border-width: 0 !important
1818

1919
.x-grid-header-ct
20-
background: #2c2f33
21-
border-width: 0!important
20+
background: $dark
21+
border-width: 0 !important
2222

2323
.x-grid-group-title
2424
color: #fff
@@ -28,13 +28,13 @@
2828
background-size: 32px
2929

3030
.x-grid-group-hd.x-grid-group-hd-collapsible
31-
background: #23272a
31+
background: $darker
3232
color: #fff
3333
border-width: 0
3434

3535
.x-grid-icon-custom:after
3636
//If you use compass, instead of the line below you could use + text-shadow($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10)
37-
text-shadow: 0 0 0 #2c2f33
37+
text-shadow: 0 0 0 $dark
3838

3939
.x-grid-icon-custom.lock-migrate:after
4040
color: $yellow

PVEDiscordDark/sass/x/_legend.sass

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.x-legend-item
2-
background: #2c2f33
2+
background: $dark
33
color: #fff
44
border-width: 0
55

66
.x-legend-container
7-
background: #2c2f33
7+
background: $dark
88
//If you use compass, instead of the line below you could use + border-radius($radius, $vertical-radius)
99
border-radius: 0
1010
//If you use compass, instead of the line below you could use + box-shadow($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10)

PVEDiscordDark/sass/x/_menu.sass

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
background-color: #677bc4
33

44
.x-menu-item
5-
background: #7289da
5+
background: $blurple
66
border-style: none
77
border-width: 0
88

99
.x-menu-default
10-
background: #7289da
11-
border: 1px solid #23272A
10+
background: $blurple
11+
border: 1px solid $darker
1212

1313
.x-menu-item-text
1414
color: #fff
1515

1616
.x-menu-header
1717
//If you use compass, instead of the line below you could use + border-radius($radius, $vertical-radius)
1818
border-radius: 1px
19-
background: #23272a
19+
background: $darker
2020
border-width: 0
2121

2222
.x-menu-item-icon-default.x-menu-item-icon.fa
@@ -37,7 +37,7 @@
3737
color: #fff
3838

3939
&.fa-play
40-
color: #43b581
40+
color: $green
4141

4242
&.fa-stop
4343
color: #d23d3f
@@ -46,7 +46,7 @@
4646
color: #d23d3f
4747

4848
&.fa-pause
49-
color: #faa61a
49+
color: $yellow
5050

5151

5252
&.fa-heartbeat
@@ -76,17 +76,17 @@
7676

7777
// 🙃
7878
div[aria-labelledby^="ext-comp-"][aria-labelledby$="_header-title-textEl"] > div:nth-child(2) > div:nth-child(2) > div > div[class*="x-menu-item"], div[aria-labelledby^="nodeCmdMenu-"][aria-labelledby$="_header-title-textEl"] > div:nth-child(2) > div:nth-child(2) > div > div[class*="x-menu-item"]
79-
background: #2c2f33
79+
background: $dark
8080

8181
div[aria-labelledby^="ext-comp-"][aria-labelledby$="_header-title-textEl"] > div:nth-child(2) > div:nth-child(2) > div > div[class*="x-menu-item"] > a[class*="x-menu-item-focus"], div[aria-labelledby^="nodeCmdMenu-"][aria-labelledby$="_header-title-textEl"] > div:nth-child(2) > div:nth-child(2) > div > div[class*="x-menu-item"] > a[class*="x-menu-item-focus"]
82-
background: #23272A
82+
background: $darker
8383

8484
div[aria-labelledby^="ext-comp-"][aria-labelledby$="_header-title-textEl"] > div:nth-child(2) > div:nth-child(2) > div > div[class*="x-menu-item"] > a[aria-disabled="true"], div[aria-labelledby^="nodeCmdMenu-"][aria-labelledby$="_header-title-textEl"] > div:nth-child(2) > div:nth-child(2) > div > div[class*="x-menu-item"] > a[aria-disabled="true"]
8585
opacity: 0.5
86-
background: #23272A
86+
background: $darker
8787

8888
div[aria-labelledby^="ext-comp-"][aria-labelledby$="_header-title-textEl"]>div:nth-child(2)>div:nth-child(3)>div:nth-child(1)>div[class*=x-menu-item]
8989
background: inherit
9090

9191
div[aria-labelledby^="ext-comp-"][aria-labelledby$="_header-title-textEl"]>div:nth-child(2)>div:nth-child(3)>div:nth-child(1)>div[class*=x-menu-item]>a[class*=x-menu-item-focus]
92-
background: #23272A
92+
background: $darker

0 commit comments

Comments
 (0)