ENH: ScrollBar Color

Change-Id: Ice87a8ddae0ccadaa63652bb4fa8464c4bee408f
(cherry picked from commit 5db33442578ac72433131229889cc1055527de74)
This commit is contained in:
zorro.zhang 2022-12-05 21:34:23 +08:00 committed by Lane.Wei
parent 7a40310924
commit d965a93673
16 changed files with 74 additions and 1560 deletions

View file

@ -48,6 +48,12 @@
color: #fff;
}
.RegionSelected:hover
{
background-color:#00AE42;
color: #fff;
}
#ChangeTip
{

View file

@ -4,26 +4,6 @@
overflow-y:auto;
}
#Content::-webkit-scrollbar {/*滚动条整体样式*/
width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
height: 1px;
}
#Content::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
border-radius: 10px;
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
background-color: #AAAAAA;
}
#Content::-webkit-scrollbar-track {/*滚动条里面轨道*/
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
border-radius: 10px;
background: #EDEDED;
}
.BlockBanner
{
padding: 0px;

View file

@ -19,7 +19,7 @@
<div id="Title">
<div class="trans" tid="t10">Printer Selection</div>
</div>
<div id="Content">
<div id="Content" class="ZScrol">
<!--<div class="OneVendorBlock" Vendor="BBL">
<div class="BlockBanner">

View file

@ -67,7 +67,7 @@
<div class="SmallBtn_Green trans" tid="t11" onClick="SelectAllFilament(1)">All</div>
<div class="SmallBtn trans" tid="t12" onClick="SelectAllFilament(0)">Clear all</div>
</div>
<div id="ItemBlockArea">
<div id="ItemBlockArea" class="ZScrol">
<!-- <div class="MItem"><input type="checkbox" vendor="" filatype="" model="ALL PLA EXPSilk" name="" />ALL PLA EXPSilk</div>
<div class="MItem"><input type="checkbox" />ALL PLA Silk</div>
<div class="MItem"><input type="checkbox" />BBL PA-CF</div>

View file

@ -67,7 +67,7 @@
<div class="SmallBtn trans" tid="t12" onClick="SelectAllFilament(0)">Clear all</div>
</div>
<div id="ItemBlockArea">
<div id="ItemBlockArea" class="ZScrol">
<!-- <div class="MItem"><input type="checkbox" vendor="" filatype="" model="ALL PLA EXPSilk" name="" />ALL PLA EXPSilk</div>
<div class="MItem"><input type="checkbox" />ALL PLA Silk</div>
<div class="MItem"><input type="checkbox" />BBL PA-CF</div>

View file

@ -3,25 +3,6 @@
overflow-y:auto;
}
#Content::-webkit-scrollbar {/*滚动条整体样式*/
width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
height: 1px;
}
#Content::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
border-radius: 10px;
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
background-color: #AAAAAA;
}
#Content::-webkit-scrollbar-track {/*滚动条里面轨道*/
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
border-radius: 10px;
background: #EDEDED;
}
.BlockBanner
{
padding: 0px;

View file

@ -19,7 +19,7 @@
<div id="Title">
<div class="trans" tid="t10">Printer Selection</div>
</div>
<div id="Content">
<div id="Content" class="ZScrol"s>
<!--<div class="OneVendorBlock" Vendor="BBL">
<div class="BlockBanner">

View file

@ -7,9 +7,12 @@
{
padding: 12px;
word-wrap:break-word;
overflow-y: scroll;
overflow-y: auto;
min-height: 200px;
text-indent: 2em;
border-style: solid;
border-width: 1px;
border-color: #D7D7D7;
}
#PolicyTxt::-webkit-scrollbar {/*滚动条整体样式*/

View file

@ -19,7 +19,7 @@
<div class="trans" tid="t6">We kindly request your help to improve<br/> everyone's printing</div>
</div>
<div id="Content">
<div id="PolicyTxt" class="TextS2 TextArea1">
<div id="PolicyTxt" class="TextS2 TextArea1 ZScrol">
<a class="trans" tid="t54">In the 3D Printing community, we learn from each others successes and failures to adjust our own slicing parameters and settings. Bambu Studio follows the same principle and uses machine learning to improve its performance from the successes and failures of the vast number of prints by our users. We are training Bambu Studio to be smarter by feeding them the real-world data. If you are willing, this service will access information from your error logs and usage logs, which may include information described in </a><a class="HyperLink trans" tid="t55" href="https://bambulab.com/policies/privacy" target="_blank">Privacy Policy</a><a class="trans" tid="t56">
. We will not collect any Personal Data by which an individual can be identified directly or indirectly, including without limitation names, addresses, payment information, or phone numbers. By enabling this service, you agree to these terms and the statement about Privacy Policy.
</a>

View file

@ -26,6 +26,26 @@ body
line-height: 22px;
}
.ZScrol::-webkit-scrollbar {/*滚动条整体样式*/
width: 12px; /*高宽分别对应横竖滚动条的尺寸*/
height: 12px;
padding: 2px;
}
.ZScrol::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
border-radius: 6px;
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
background-color: #AAAAAA;
}
.ZScrol::-webkit-scrollbar-track {/*滚动条里面轨道*/
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
border-radius: 10px;
background: #EDEDED;
}
/*----Three Part----*/
body
{

View file

@ -10,6 +10,14 @@ body
color: #efeff0;
}
.ZScrol::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
background-color: #939594;
}
.ZScrol::-webkit-scrollbar-track {/*滚动条里面轨道*/
background: #161817;
}
#Title div
{
color: #21A452;
@ -51,4 +59,10 @@ body
.RegionItem:hover
{
background-color:#4C4C55;
}
.RegionSelected:hover
{
background-color:#00AE42;
color: #fff;
}