Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit c5fa2f9

Browse files
committed
fix: select all mobile
1 parent 9b248bf commit c5fa2f9

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

css/reskin-2/paymentHistory.css

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,6 +1116,59 @@ body {
11161116
}
11171117
}
11181118

1119+
.mobile-select-all-checkbox {
1120+
display: inline-flex;
1121+
align-items: center;
1122+
justify-content: center;
1123+
width: 40px;
1124+
height: 40px;
1125+
background-color: var(--black-5);
1126+
border-radius: 4px;
1127+
box-sizing: border-box;
1128+
}
1129+
.mobile-select-all-checkbox .checkbox {
1130+
position: relative;
1131+
display: inline-flex;
1132+
align-items: center;
1133+
}
1134+
.mobile-select-all-checkbox .checkbox input[type="checkbox"] {
1135+
position: absolute;
1136+
top: 0;
1137+
left: 0;
1138+
width: 100%;
1139+
height: 100%;
1140+
opacity: 0;
1141+
cursor: pointer;
1142+
}
1143+
.mobile-select-all-checkbox .checkbox input[type="checkbox"] ~ .checkbox-label {
1144+
}
1145+
.mobile-select-all-checkbox .checkbox input[type="checkbox"] ~ .checkbox-label::before {
1146+
content: '';
1147+
display: block;
1148+
width: 20px;
1149+
height: 20px;
1150+
background-color: #fff;
1151+
border: 1.52px solid #7f7f7f;
1152+
border-radius: 3px;
1153+
box-sizing: border-box;
1154+
}
1155+
.mobile-select-all-checkbox .checkbox input[type="checkbox"] ~ .checkbox-label::after {
1156+
content: url('/i/reskin-2/checkbox.svg');
1157+
display: none;
1158+
box-sizing: border-box;
1159+
}
1160+
.mobile-select-all-checkbox .checkbox input[type="checkbox"]:checked ~ .checkbox-label::before {
1161+
display: none;
1162+
}
1163+
.mobile-select-all-checkbox .checkbox input[type="checkbox"]:checked ~ .checkbox-label::after {
1164+
display: block;
1165+
}
1166+
@media (min-width: /* --md-min */ 960px) {
1167+
.mobile-select-all-checkbox {
1168+
display: none;
1169+
}
1170+
}
1171+
11191172
.mobile-payments-sort-button {
11201173
display: inline-flex;
11211174
align-items: center;

0 commit comments

Comments
 (0)