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

Commitce75b25

Browse files
author
minjk-bl
committed
Add disabled input and select style
1 parente9575c1 commitce75b25

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

‎visualpython/css/component/popupComponent.css‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
min-height:400px;
1818
width:400px;
1919
height:400px;
20-
background:var(--vp-background-color);
20+
background-color:var(--vp-background-color);
2121
border:1px solidvar(--vp-border-gray-color);
2222
border-top:3px solidvar(--vp-border-gray-color);
2323
box-shadow:1px1px2pxrgb(000/10%);
@@ -360,6 +360,11 @@
360360
.vp-popup-frameinput[type=number]::placeholder {
361361
color:var(--vp-gray-color);
362362
}
363+
.vp-popup-frameinput[type=text]:disabled,
364+
.vp-popup-frameinput[type=number]:disabled {
365+
background-color:var(--vp-light-gray-color);
366+
cursor: not-allowed;
367+
}
363368

364369
.vp-popup-frameselect {
365370
width:160px;

‎visualpython/css/root.css‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ input.vp-input {
8080
height:30px;
8181
padding:3px7px;
8282
color:var(--vp-font-primary);
83-
background:var(--vp-background-color);
83+
background-color:var(--vp-background-color);
8484
outline-color:var(--vp-highlight-color);
8585
border:0.25px solidvar(--vp-border-gray-color);
8686
box-sizing: border-box;
@@ -90,6 +90,7 @@ input.vp-input::placeholder {
9090
}
9191
input.vp-input:disabled,
9292
select.vp-select:disabled {
93+
background-color:var(--vp-light-gray-color);
9394
cursor: not-allowed;
9495
}
9596

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp