[css] remove more dead css, make more extension CSS be specific
This commit is contained in:
parent
7264683a04
commit
3acc3fa607
12 changed files with 11 additions and 73 deletions
|
@ -68,11 +68,11 @@ function get_selected_items() {
|
|||
}
|
||||
|
||||
function set_selected_items(items) {
|
||||
$(".shm-thumb").removeClass('selected');
|
||||
$(".shm-thumb").removeClass('bulk_selected');
|
||||
|
||||
$(items).each(
|
||||
function(index,item) {
|
||||
$('.shm-thumb[data-post-id="' + item + '"]').addClass('selected');
|
||||
$('.shm-thumb[data-post-id="' + item + '"]').addClass('bulk_selected');
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.selected {
|
||||
.bulk_selected {
|
||||
outline: 3px solid blue;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
table.log th {
|
||||
table.cron_uploader_log th {
|
||||
width: 200px;
|
||||
}
|
|
@ -115,7 +115,7 @@ class CronUploaderTheme extends Themelet
|
|||
$page->add_block($block_usage);
|
||||
|
||||
if (!empty($log_entries)) {
|
||||
$log_html = "<table class='log'>";
|
||||
$log_html = "<table class='cron_uploader_log'>";
|
||||
foreach ($log_entries as $entry) {
|
||||
$log_html .= "<tr><th>{$entry["date_sent"]}</th><td>{$entry["message"]}</td></tr>";
|
||||
}
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
/*noinspection CssRedundantUnit*/
|
||||
#image-list .blockbody {
|
||||
background: none;
|
||||
border: none;
|
||||
|
|
|
@ -17,17 +17,6 @@
|
|||
resize: vertical;
|
||||
}
|
||||
|
||||
.helpable {
|
||||
border-bottom: 1px dashed gray;
|
||||
}
|
||||
|
||||
.ok {
|
||||
background: #AFA;
|
||||
}
|
||||
.bad {
|
||||
background: #FAA;
|
||||
}
|
||||
|
||||
#Setupmain .blockbody {
|
||||
background: none;
|
||||
border: none;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
span.tag-selected {
|
||||
.tageditcloud span.tag-selected {
|
||||
background:#88EE88;
|
||||
}
|
||||
|
||||
|
|
|
@ -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%;
|
||||
}
|
||||
|
|
|
@ -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"]))),
|
||||
|
|
|
@ -219,21 +219,6 @@ margin:16px;
|
|||
padding:8px;
|
||||
width:350px;
|
||||
}
|
||||
.helpable {
|
||||
border-bottom:1px dashed gray;
|
||||
}
|
||||
.ok {
|
||||
-moz-background-clip:border;
|
||||
-moz-background-inline-policy:continuous;
|
||||
-moz-background-origin:padding;
|
||||
background:#AAFFAA none repeat scroll 0 0;
|
||||
}
|
||||
.bad {
|
||||
-moz-background-clip:border;
|
||||
-moz-background-inline-policy:continuous;
|
||||
-moz-background-origin:padding;
|
||||
background:#FFAAAA none repeat scroll 0 0;
|
||||
}
|
||||
.comment .username {
|
||||
font-size:1.5em;
|
||||
font-weight:bold;
|
||||
|
|
|
@ -269,21 +269,6 @@ width:100%;
|
|||
margin-top:0.4rem;
|
||||
padding:0.2rem 0.6rem;
|
||||
}
|
||||
.helpable {
|
||||
border-bottom:1px dashed gray;
|
||||
}
|
||||
.ok {
|
||||
background:#AAFFAA none repeat scroll 0 0;
|
||||
-moz-background-clip:border;
|
||||
-moz-background-inline-policy:continuous;
|
||||
-moz-background-origin:padding;
|
||||
}
|
||||
.bad {
|
||||
background:#FFAAAA none repeat scroll 0 0;
|
||||
-moz-background-clip:border;
|
||||
-moz-background-inline-policy:continuous;
|
||||
-moz-background-origin:padding;
|
||||
}
|
||||
.comment .username {
|
||||
font-weight:bold;
|
||||
font-size:1.5em;
|
||||
|
|
|
@ -316,16 +316,6 @@ ARTICLE TABLE {
|
|||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.helpable {
|
||||
border-bottom: 1px dashed gray;
|
||||
}
|
||||
|
||||
.ok {
|
||||
background: #AFA;
|
||||
}
|
||||
.bad {
|
||||
background: #FAA;
|
||||
}
|
||||
|
||||
NAV .thumbblock {
|
||||
float: none;
|
||||
|
|
Reference in a new issue