mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 05:24:01 -06:00
ENH: Add darkmode of Html,depend on UserAgent
Change-Id: I8b60db9e2cb7b0d163288e3d8a23db10b64b9bb3
This commit is contained in:
parent
46bde9b337
commit
30a473c977
21 changed files with 305 additions and 67 deletions
50
resources/web/homepage/css/dark.css
Normal file
50
resources/web/homepage/css/dark.css
Normal file
|
@ -0,0 +1,50 @@
|
|||
body
|
||||
{
|
||||
background-color:black;
|
||||
}
|
||||
|
||||
*
|
||||
{
|
||||
border-color: #494949;
|
||||
}
|
||||
|
||||
|
||||
.TextS1
|
||||
{
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*----Left Menu Button----*/
|
||||
#LogoutBtn:hover
|
||||
{
|
||||
background: #243E30;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
.BtnItem:hover
|
||||
{
|
||||
color: #000;
|
||||
background-color: #243E30;
|
||||
}
|
||||
|
||||
.BtnItemSelected
|
||||
{
|
||||
background-color: #243E30;
|
||||
}
|
||||
|
||||
/*-----Right Top MenuBtn-----*/
|
||||
.MenuItem:hover
|
||||
{
|
||||
border-color: #4CAA50;
|
||||
background-color: #243E30;
|
||||
}
|
||||
|
||||
/*----User Manual------*/
|
||||
.UG_DESC
|
||||
{
|
||||
color:#A4A4A4;
|
||||
}
|
|
@ -4,6 +4,7 @@
|
|||
border: 0px;
|
||||
margin: 0px;
|
||||
font-family: "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-sans;
|
||||
border-color: #D7D7D7;
|
||||
}
|
||||
|
||||
html, body {
|
||||
|
@ -48,7 +49,8 @@ body
|
|||
|
||||
#LeftBoard
|
||||
{
|
||||
border-right: 1px solid #EFF0F0;
|
||||
border-right-width: 1px;
|
||||
border-right-style: solid;
|
||||
width:262px;
|
||||
height: 100%;
|
||||
}
|
||||
|
@ -228,7 +230,8 @@ body
|
|||
|
||||
.MenuItem
|
||||
{
|
||||
border: 1px solid #EEEEEE;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-radius: 12px;
|
||||
height: 101px;
|
||||
width: 253px;
|
||||
|
@ -288,7 +291,8 @@ body
|
|||
display:flex;
|
||||
align-items: center;
|
||||
padding: 6px;
|
||||
border-bottom: 1px solid #D9D9D9;
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-style: solid;
|
||||
}
|
||||
|
||||
#RecentClearAllBtn
|
||||
|
|
0
resources/web/homepage/css/light.css
Normal file
0
resources/web/homepage/css/light.css
Normal file
Loading…
Add table
Add a link
Reference in a new issue