orcaslicer/resources/web/homepage/css/home.css
zorro.zhang 30a473c977 ENH: Add darkmode of Html,depend on UserAgent
Change-Id: I8b60db9e2cb7b0d163288e3d8a23db10b64b9bb3
2022-12-15 04:38:15 -05:00

598 lines
7.1 KiB
CSS

*
{
padding:0px;
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 {
height: 100%;
width: 100%;
margin: 0px;
padding: 0px;
line-height: 20px;
font-size: 16px;
}
.RedFont
{
font-size:12px;
color: #F07E4A;
}
.LinkBtn
{
font-size:12px;
color: #1200FF;
cursor: pointer;
}
.LinkBtn:hover
{
text-decoration:underline;
}
/*------------------*/
#DebugText
{
height:30px;
}
/*------------------*/
body
{
display:flex;
justify-content: flex-start;
}
#LeftBoard
{
border-right-width: 1px;
border-right-style: solid;
width:262px;
height: 100%;
}
#LoginArea
{
height: 180px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex-wrap: nowrap;
position: relative;
width:262px;
}
#Login1
{
height:36px;
line-height: 36px;
display: flex;
justify-content: center;
}
#LoginBtn
{
cursor:pointer;
}
#LoginBtn:hover
{
font-size:17px;
}
#NoPluginTip
{
position: absolute;
top: 0px;
left: 0px;
bottom: 0px;
right: 0px;
z-index: 1;
display: none;
flex-direction: column;
justify-content: flex-end;
padding: 5px;
}
#DownloadBtn
{
color:#0A00FF;
}
#Icon1
{
margin-right: 10px;
}
#BBLIcon
{
height:36px;
}
#Login2
{
display: none;
flex-direction: column;
align-items: center;
text-align: center;
width: 262px;
}
#UserAvatarIcon
{
height: 85px;
}
#UserName
{
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
overflow: hidden;
width: 80%;
}
#LogoutBtn
{
font-size: 14px;
height: 24px;
line-height: 24px;
color: #00B731;
border: 1px solid #00AE42;
border-radius: 4px;
cursor: pointer;
margin-top: 5px;
padding: 0px 8px;
}
#LogoutBtn:hover
{
background: #00B731;
color: #fff;
}
/*------------------*/
#BtnArea
{
}
.BtnItem
{
padding-left:40px;
height:50px;
line-height: 50px;
display: flex;
justify-content:flex-start;
cursor: pointer;
}
.BtnItem:hover
{
background-color: #E0FCEB;
}
.BtnItemSelected
{
background-color: #E0FCEB;
}
.BtnIcon
{
margin-right:6px;
display: flex;
flex-direction: column;
justify-content: center;
}
.LeftIcon
{
width:20px;
height: 20px;
}
/*--------------------*/
#RightBoard
{
width: 100%;
height: 100%;
min-width: 835px;
overflow-y:auto;
}
#ContentBoard
{
overflow-y:hidden;
padding: 0px 40px;
display: flex;
flex-direction: column;
position: relative;
}
#MenuArea
{
height: 140px;
display: flex;
align-items: center;
}
.MenuItem
{
border-width: 1px;
border-style: solid;
border-radius: 12px;
height: 101px;
width: 253px;
padding-left: 20px;
display: flex;
justify-content: flex-start;
align-items: center;
margin-right: 16px;
cursor: pointer;
}
.MenuItem:hover
{
border-color: #4CAA50;
background-color: #E0FCEB;
}
.MenuIcon
{
margin-right: 1em;
}
.MenuIcon img
{
width:56px;
height: 56px;
}
.MenuDesc
{
color: #A8A8A8;
}
.Content-Title
{
line-height: 30px;
font-weight: 700;
}
#HotspotWEB
{
width:100%;
height: 420px;
}
#RecentFileArea
{
margin-top: 10px;
flex: 1;
display: flex;
flex-direction: column;
}
#RecentTitleBlock
{
display:flex;
align-items: center;
padding: 6px;
border-bottom-width: 1px;
border-bottom-style: solid;
}
#RecentClearAllBtn
{
border: 1px solid #000;
padding: 0px 10px;
border-radius: 6px;
line-height: 26px;
height: 26px;
margin-left: 20px;
cursor: pointer;
color: #000;
display: none;
}
#RecentClearAllBtn:hover
{
background-color:#CDCECE;
}
#RecentTitle
{
}
#FileList
{
flex: 1;
display: flex;
flex-wrap: wrap;
align-content: flex-start;
overflow-y: auto;
}
.FileItem
{
width: 184px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
position: relative;
cursor: pointer;
margin: 8px;
}
.FileTip
{
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}
.FileImg
{
text-align: center;
background-color: #E4E4E4;
border-radius: 8px;
width: 184px;
height: 184px;
}
.FileItem img
{
width: 184px;
height: 184px;
border-radius: 8px;
display: inline-block;
}
.FileDate
{
color: #A8A8A8;
}
#recnet_context_menu
{
position: absolute;
margin: 0px;
padding: 10px;
border: 0px;
min-width: 100px;
top: 800px;
border: 1px solid #C3C3C3;
border-radius: 5px;
color: #323A3D;
background-color: #fff;
display: none;
}
.CT_Item
{
padding: 2px 10px;
display: flex;
flex-direction: row;
align-items: center;
border: 2px solid #fff;
border-radius: 4px;
}
.CT_Item:hover
{
cursor: pointer;
background-color: #0078D4;
color: #fff;
}
.CT_Icon
{
margin-right: 6px;
width: 16px;
height: 16px;
}
#CT_Delete_Bar:hover .CT_Delete
{
background: url("../img/remove2.svg");
background-repeat: no-repeat;
background-size: contain;
}
.CT_Delete
{
background: url("../img/remove.svg");
background-repeat: no-repeat;
background-size: contain;
}
#CT_Folder_Bar:hover .CT_Explore
{
background: url("../img/open_folder2.svg");
background-repeat: no-repeat;
background-size: contain;
}
.CT_Explore
{
background: url("../img/open_folder.svg");
background-repeat: no-repeat;
background-size: contain;
}
.CT_Seperate
{
border-bottom:1px solid #C5C5C5;
}
.CT_Text
{
line-height: 20px;
height: 20px;
display: block;
}
/*--------Mall------*/
#MallBoard
{
height: 100%;
max-width: 1600px;
overflow-y: hidden;
padding: 0px 40px;
display: none;
}
#MallWeb
{
width: 100%;
height: 95%;
border: 1px solid #D9D9D9;
}
/*------Manual------*/
#ManualBoard
{
height: 100%;
max-width: 1600px;
overflow-y: hidden;
padding: 0px 40px;
display: none;
}
#ManualWeb
{
width: 100%;
height: 95%;
border: 1px solid #D9D9D9;
}
/*---------Wiki----------*/
#WikiGuideBigBoard
{
display:none;
}
#WikiGuideBoard
{
display: flex;
flex-wrap: wrap;
align-content: flex-start;
overflow-y: auto;
margin: 30px 40px;
position: relative;
top: 0px;
bottom: 0px;
right: 0px;
left: 0px;
}
@media screen and (max-width: 1100px) {
.GuideBlock
{
width: calc(50% - 20px);
margin: 0px 10px 40px 10px;
cursor: pointer;
}
}
@media screen and ( min-width:1101px) and ( max-width:1680px )
{
.GuideBlock
{
width: calc(33% - 20px);
margin: 0px 10px 40px 10px;
cursor: pointer;
}
}
@media screen and ( min-width:1681px) and (max-width:2120px ) {
.GuideBlock
{
width: calc(25% - 20px);
margin: 0px 10px 40px 10px;
cursor: pointer;
}
}
@media screen and ( min-width:2121px) and (max-width:2620px ) {
.GuideBlock
{
width: calc(20% - 20px);
margin: 0px 10px 40px 10px;
cursor: pointer;
}
}
@media screen and (min-width:2621px ) and (max-width:3120px ) {
.GuideBlock
{
width: calc(16.6% - 20px);
margin: 0px 10px 40px 10px;
cursor: pointer;
}
}
@media screen and (min-width:3121px ) {
.GuideBlock
{
width: calc(14.2% - 20px);
margin: 0px 10px 40px 10px;
cursor: pointer;
}
}
.UG_IMG
{
width: 100%;
}
.UG_IMG img
{
width: 100%;
border-radius: 5px 5px 0px 0px;
}
.UG_TITLE
{
font-size: 18px;
font-weight: 700;
line-height: 20px;
width: 100%;
margin-top: 20px;
margin-bottom: 4px;
}
.UG_DESC
{
width: 100%;
line-height: 18px;
color: #4E5454;
font-size: 14px;
}