[css] remove more dead css, make more extension CSS be specific

This commit is contained in:
Shish
2024-01-01 16:21:43 +00:00
parent 7264683a04
commit 3acc3fa607
12 changed files with 11 additions and 73 deletions

View File

@@ -1,17 +1,8 @@
/* Only need to change the file/url inputs */
#large_upload_form INPUT.wid {
width: 100%;
}
#radio_button {
width: auto;
}
#wrapper {
opacity: 0.4;
filter: alpha(opacity=40); /* msie */
#large_upload_form TD,
#large_upload_form TH {
vertical-align: middle;
}
/* This is needed since the theme style.css forcibly sets vertical align to "top". */
TABLE.vert TD, TABLE.vert TH {vertical-align: middle;}
.mini_upload INPUT {
width: 100%;
}

View File

@@ -49,7 +49,7 @@ class UploadTheme extends Themelet
$form = SHM_FORM("upload", "POST", true, "file_upload");
$form->appendChild(
TABLE(
["id" => "large_upload_form", "class" => "vert"],
["id" => "large_upload_form"],
TR(
TD(["width" => "20"], rawHTML("Common Tags")),
TD(["colspan" => "6"], INPUT(["name" => "tags", "type" => "text", "placeholder" => "tagme", "class" => "autocomplete_tags"]))
@@ -242,7 +242,7 @@ class UploadTheme extends Themelet
$form = SHM_FORM("replace/".$image_id, "POST", true);
$form->appendChild(emptyHTML(
TABLE(
["id" => "large_upload_form", "class" => "vert"],
["id" => "large_upload_form"],
$upload_list,
TR(TD("Source"), TD(["colspan" => 3], INPUT(["name" => "source", "type" => "text"]))),
TR(TD(["colspan" => 4], INPUT(["id" => "uploadbutton", "type" => "submit", "value" => "Post"]))),