mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-12-26 12:42:06 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -16,9 +16,9 @@
|
||||
vertical-align: top;
|
||||
width: 80px;
|
||||
height: 30px;
|
||||
border-radius: 18px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
zoom: 0.6;
|
||||
zoom: 0.7;
|
||||
}
|
||||
|
||||
#options .checked-switch {
|
||||
@@ -29,13 +29,13 @@
|
||||
}
|
||||
|
||||
#options .text-switch {
|
||||
background-color: #ed5b49;
|
||||
border: 1px solid #d2402e;
|
||||
background-color: #cccccc;
|
||||
border: 1px solid #dddddd;
|
||||
border-radius: inherit;
|
||||
color: #fff;
|
||||
display: block;
|
||||
font-size: 15px;
|
||||
width: 50px;
|
||||
width: 60px;
|
||||
height: inherit;
|
||||
position: relative;
|
||||
text-transform: uppercase;
|
||||
@@ -54,13 +54,13 @@
|
||||
}
|
||||
|
||||
#options .text-switch:before {
|
||||
content: attr(data-no);
|
||||
right: 11px;
|
||||
content: 'OF';
|
||||
right: 6px;
|
||||
}
|
||||
|
||||
#options .text-switch:after {
|
||||
content: attr(data-yes);
|
||||
left: 11px;
|
||||
content: 'ON';
|
||||
left: 6px;
|
||||
color: #FFFFFF;
|
||||
opacity: 0;
|
||||
}
|
||||
@@ -71,8 +71,16 @@
|
||||
}
|
||||
|
||||
#options .checked-switch:disabled~.text-switch {
|
||||
background-color: #9E9E9E!important;
|
||||
border: 1px solid #9E9E9E !important;
|
||||
cursor: no-drop;
|
||||
}
|
||||
|
||||
#options .checked-switch:disabled~.text-switch~.toggle-btn {
|
||||
cursor: no-drop;
|
||||
}
|
||||
|
||||
#options .checked-switch:disabled~.text-switch:before {
|
||||
content: '▬';
|
||||
right: 11px;
|
||||
}
|
||||
|
||||
#options .checked-switch:checked~.text-switch:before {
|
||||
@@ -85,7 +93,7 @@
|
||||
|
||||
#options .toggle-btn {
|
||||
background: linear-gradient(#eee, #fafafa);
|
||||
border-radius: 100%;
|
||||
border-radius: 5px;
|
||||
height: 28px;
|
||||
left: 1px;
|
||||
position: absolute;
|
||||
@@ -94,7 +102,7 @@
|
||||
}
|
||||
|
||||
#options .checked-switch:checked~.toggle-btn {
|
||||
left: 20px;
|
||||
left: 30px;
|
||||
}
|
||||
|
||||
#options .text-switch,
|
||||
|
||||
Reference in New Issue
Block a user