fix checkbox view state equipment depot
This commit is contained in:
@@ -315,16 +315,16 @@
|
||||
.depot-checkbox label {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: #fff;
|
||||
border: 1px solid @color-clear-blue;
|
||||
background-color: @color-white2;
|
||||
box-shadow: inset 0 1px 3px @color-black-50;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.depot-checkbox label:after {
|
||||
opacity: 0.2;
|
||||
opacity: 0;
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
@@ -337,8 +337,16 @@
|
||||
border-right: none;
|
||||
transform: rotate(-48deg);
|
||||
}
|
||||
.depot-checkbox label:hover::after {
|
||||
opacity: 0.5;
|
||||
.depot-checkbox input[type=checkbox]:checked+label{
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-color: @color-white2;
|
||||
border: solid 1px @color-clear-blue;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.depot-checkbox input[type=checkbox]:checked+label:after {
|
||||
opacity: 1;
|
||||
|
||||
@@ -4246,16 +4246,16 @@ footer .container button.big:before {
|
||||
.depot-container .depot-box .depot-footer .depot-footer-left .depot-checkbox label {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: #fff;
|
||||
border: 1px solid #1791ff;
|
||||
background-color: #f1f1f1;
|
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
|
||||
border-radius: 2px;
|
||||
}
|
||||
.depot-container .depot-box .depot-footer .depot-footer-left .depot-checkbox label:after {
|
||||
opacity: 0.2;
|
||||
opacity: 0;
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
@@ -4268,8 +4268,16 @@ footer .container button.big:before {
|
||||
border-right: none;
|
||||
transform: rotate(-48deg);
|
||||
}
|
||||
.depot-container .depot-box .depot-footer .depot-footer-left .depot-checkbox label:hover::after {
|
||||
opacity: 0.5;
|
||||
.depot-container .depot-box .depot-footer .depot-footer-left .depot-checkbox input[type=checkbox]:checked + label {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-color: #f1f1f1;
|
||||
border: solid 1px #1791ff;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.depot-container .depot-box .depot-footer .depot-footer-left .depot-checkbox input[type=checkbox]:checked + label:after {
|
||||
opacity: 1;
|
||||
|
||||
Reference in New Issue
Block a user