Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6d01555

Browse files
author
minjk-bl
committed
add checkbox:disabled style with gray colored svg
1 parent03994b2 commit6d01555

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

‎css/main.css‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ input[type=number]::-webkit-inner-spin-button { margin-left: 5px; }
138138
padding-left:18px;
139139
cursor: pointer;
140140
}
141+
#vp-wrapperinput[type=checkbox]:disabled+label,
142+
#vp-wrapperlabelinput[type=checkbox]:disabled+span {
143+
color:var(--gray-color);
144+
}
141145
#vp-wrapperinput[type=checkbox]+label::before,
142146
#vp-wrapperlabelinput[type=checkbox]+span::before {
143147
content:'';
@@ -167,6 +171,20 @@ input[type=number]::-webkit-inner-spin-button { margin-left: 5px; }
167171
border: none;
168172
box-sizing: border-box;
169173
}
174+
#vp-wrapperinput[type=checkbox]:disabled+label::before,
175+
#vp-wrapperlabelinput[type=checkbox]:disabled+span::before {
176+
content:'';
177+
position: absolute;
178+
left:0;
179+
top:0;
180+
width:15px;
181+
height:15px;
182+
background: url(../resource/checkbox_gray.svg);
183+
background-size:15px15px;
184+
background-repeat: no-repeat;
185+
border: none;
186+
box-sizing: border-box;
187+
}
170188
#vp-wrapperinput[type=text].vp-file-browser {
171189
color:#C4C4C4;
172190
font-style: normal;

‎resource/checkbox_gray.svg‎

Lines changed: 6 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp