mirror of
https://github.com/servo/servo.git
synced 2025-08-30 09:38:19 +01:00
feat: display file chosen for input file (#35789)
Signed-off-by: DK Liao <dklassic@gmail.com>
This commit is contained in:
parent
34047f8da8
commit
ce4ba30992
3 changed files with 53 additions and 5 deletions
|
@ -74,13 +74,17 @@ input[type="radio"]:checked::before { content: "●"; line-height: 1em; }
|
|||
|
||||
input[type="file"]::before {
|
||||
content: "Choose File";
|
||||
background: lightgrey;
|
||||
border-top: solid 1px #EEEEEE;
|
||||
border-left: solid 1px #CCCCCC;
|
||||
border-right: solid 1px #999999;
|
||||
border-bottom: solid 1px #999999;
|
||||
}
|
||||
|
||||
input[type="file"] {
|
||||
background: lightgrey;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
color: black;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
select {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue