File tree Expand file tree Collapse file tree 2 files changed +42
-26
lines changed
script-gen-ui/src/app/components/main-sweep Expand file tree Collapse file tree 2 files changed +42
-26
lines changed Original file line number Diff line number Diff line change 277277.checkbox input {
278278 margin-top : 4.2vh ;
279279 box-sizing : border-box ;
280- // appearance: none;
280+ appearance : none ;
281281 padding : 1.3vh ;
282282 border-radius : 3px ;
283283}
284284
285+ .checkbox input [type = " checkbox" ]:checked {
286+ border-color : var (--vscode-activityBar-activeBorder );
287+ }
288+
289+ .checkbox input [type = " checkbox" ]:checked ::after {
290+ content : " " ;
291+ left : 5px ;
292+ top : 1px ;
293+ width : 5px ;
294+ height : 10px ;
295+ border : solid var (--vscode-activityBar-activeBorder );
296+ border-width : 0 2px 2px 0 ;
297+ transform : rotate (45deg );
298+ display : block ;
299+ margin : -6.5px -3px -3px -2px ;
300+ margin-left : -2.5px ;
301+ }
302+
285303.h3 {
286304 padding : 0 ;
287305 display : flex ;
Original file line number Diff line number Diff line change @@ -161,39 +161,37 @@ h4 {
161161 margin-right : auto ;
162162}
163163
164- // .checkbox input[type="checkbox"]:checked {
165- // background-color: #2196f3; // or your preferred color
166- // border-color: #2196f3;
167- // }
164+ .checkbox input [type = " checkbox" ]:checked {
165+ border-color : var (--vscode-activityBar-activeBorder );
166+ }
168167
169- // .checkbox input[type="checkbox"]:checked::after {
170- // content: '';
171- // position: absolute;
172- // left: 5px;
173- // top: 1px;
174- // width: 5px;
175- // height: 10px;
176- // border: solid blue;
177- // border-width: 0 2px 2px 0;
178- // transform: rotate(45deg);
179- // display: block;
180- // }
168+ .checkbox input [type = " checkbox" ]:checked ::after {
169+ content : " " ;
170+ left : 5px ;
171+ top : 1px ;
172+ width : 5px ;
173+ height : 10px ;
174+ border : solid var (--vscode-activityBar-activeBorder );
175+ border-width : 0 2px 2px 0 ;
176+ transform : rotate (45deg );
177+ display : block ;
178+ margin : -6.5px -3px -3px -1.6px ;
179+ margin-left : -3px ;
180+ margin-top : -7px ;
181+ }
181182
182183.checkbox input {
183184 margin-top : 3.5vh ;
184185 box-sizing : border-box ;
185- // appearance: none;
186186 padding : 1.3vh ;
187- border-radius : 3px ;
188- // appearance: none;
187+ border-radius : 4px ;
189188}
190189
191- // .checkbox input[type="checkbox"] {
192- // appearance: none;
193- // width: 18px;
194- // height: 18px;
195- // // border: 2px solid #888;
196- // }
190+ .checkbox input [type = " checkbox" ] {
191+ appearance : none ;
192+ width : 18px ;
193+ height : 18px ;
194+ }
197195
198196.input-group input [type = " checkbox" ]:disabled {
199197 opacity : 0.6 ;
You can’t perform that action at this time.
0 commit comments