aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-03-21 22:27:48 +0000
committerplegall <plg@piwigo.org>2011-03-21 22:27:48 +0000
commit197d3954ddbdb53bbd2f514bcd4efac8dd33318f (patch)
treeea14d0d954f7947850720a535418b12d0ab7d799
parent7aac5bba792d0929a5a1585dcad21651b82145b7 (diff)
move CSS rules from batch_manager_global.tpl to theme.css
change batch_manager_global selected thumbnail background color for "roma" admin theme. git-svn-id: http://piwigo.org/svn/trunk@9815 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/themes/clear/theme.css6
-rw-r--r--admin/themes/default/template/batch_manager_global.tpl29
-rw-r--r--admin/themes/default/theme.css22
-rw-r--r--admin/themes/roma/theme.css7
4 files changed, 35 insertions, 29 deletions
diff --git a/admin/themes/clear/theme.css b/admin/themes/clear/theme.css
index efc7ece62..f1060b7d3 100644
--- a/admin/themes/clear/theme.css
+++ b/admin/themes/clear/theme.css
@@ -264,4 +264,8 @@ display:block; height:85px; left:225px; position:relative; top:-42px; width:313p
UL.thumbnails li.rank-of-image {
background-color: #ddd;
-} \ No newline at end of file
+}
+
+#batchManagerGlobal ul.thumbnails span.wrap2 {background-color:#ddd;}
+#batchManagerGlobal .thumbSelected {background-color:#C2F5C2 !important}
+#batchManagerGlobal #selectedMessage {background-color:#C2F5C2;}
diff --git a/admin/themes/default/template/batch_manager_global.tpl b/admin/themes/default/template/batch_manager_global.tpl
index 8187b57ef..e9b09edca 100644
--- a/admin/themes/default/template/batch_manager_global.tpl
+++ b/admin/themes/default/template/batch_manager_global.tpl
@@ -304,32 +304,7 @@ $(document).ready(function() {
});
{/literal}{/footer_script}
-{literal}
-<style>
-#action p {text-align:left;}
-.bulkAction {text-align:left;margin:15px 0;padding:0;}
-#action_del_tags ul.tagSelection {margin:0 !important; width:620px;}
-#selectAction {}
-#checkActions {text-align:left; margin:0 0 20px 0;}
-.content ul.thumbnails span.wrap1 {margin:5px}
-.content ul.thumbnails span.wrap2 {border:0;background-color:#ddd;}
-.content ul.thumbnails span.wrap2:hover {background-color:#7CBA0F;}
-.thumbSelected {background-color:#C2F5C2 !important}
-
-#selectedMessage {background-color:#C2F5C2; padding:5px; -moz-border-radius:5px;}
-#selectSet a {border-bottom:1px dotted}
-#applyOnDetails {font-style:italic;}
-
-.actionButtons {text-align:left;}
-#filterList {padding-left:5px;}
-#filterList li {margin-bottom:5px; list-style-type:none;}
-a.removeFilter {background: url(admin/themes/default/icon/remove_filter.png) no-repeat top left;width:7px;height:7px;display:inline-block}
-a.removeFilter:hover {background: url(admin/themes/default/icon/remove_filter_hover.png); border:none;}
-.removeFilter span {display:none}
-#applyFilterBlock {margin-top:20px;}
-.useFilterCheckbox {display:none}
-</style>
-{/literal}
+<div id="batchManagerGlobal">
<h2>{'Batch Manager'|@translate}</h2>
@@ -580,3 +555,5 @@ a.removeFilter:hover {background: url(admin/themes/default/icon/remove_filter_ho
</fieldset>
</form>
+
+</div> <!-- #batchManagerGlobal -->
diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css
index cd9471346..7b282be5b 100644
--- a/admin/themes/default/theme.css
+++ b/admin/themes/default/theme.css
@@ -1026,4 +1026,24 @@ LEGEND {
font-weight: bold;
letter-spacing: 1px;
padding: 0 10px;
-} \ No newline at end of file
+}
+
+/* Batch Manager, global mode */
+#batchManagerGlobal #action p {text-align:left;}
+#batchManagerGlobal .bulkAction {text-align:left;margin:15px 0;padding:0;}
+#batchManagerGlobal #action_del_tags ul.tagSelection {margin:0 !important; width:620px;}
+#batchManagerGlobal #checkActions {text-align:left; margin:0 0 20px 0;}
+#batchManagerGlobal ul.thumbnails span.wrap1 {margin:5px}
+#batchManagerGlobal ul.thumbnails span.wrap2 {border:0}
+#batchManagerGlobal ul.thumbnails span.wrap2:hover {background-color:#7CBA0F;}
+#batchManagerGlobal #selectedMessage {padding:5px; -moz-border-radius:5px;-webkit-border-radius:5px;}
+#batchManagerGlobal #selectSet a {border-bottom:1px dotted}
+#batchManagerGlobal #applyOnDetails {font-style:italic;}
+#batchManagerGlobal .actionButtons {text-align:left;}
+#batchManagerGlobal #filterList {padding-left:5px;}
+#batchManagerGlobal #filterList li {margin-bottom:5px; list-style-type:none;}
+#batchManagerGlobal a.removeFilter {background: url(icon/remove_filter.png) no-repeat top left;width:7px;height:7px;display:inline-block}
+#batchManagerGlobal a.removeFilter:hover {background: url(icon/remove_filter_hover.png); border:none;}
+#batchManagerGlobal .removeFilter span {display:none}
+#batchManagerGlobal #applyFilterBlock {margin-top:20px;}
+#batchManagerGlobal .useFilterCheckbox {display:none}
diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css
index ff563f0b8..8830f5a12 100644
--- a/admin/themes/roma/theme.css
+++ b/admin/themes/roma/theme.css
@@ -239,4 +239,9 @@ display:block; height:85px; left:225px; position:relative; top:-42px; width:313p
.languageBox {background-color:#333;}
.languageName {color:#ccc;}
-.languageDefault {background-color:#555; color:#aaa;} \ No newline at end of file
+.languageDefault {background-color:#555; color:#aaa;}
+
+#batchManagerGlobal ul.thumbnails span.wrap2 {background-color:#333;}
+#batchManagerGlobal .thumbSelected {background-color:#555 !important}
+#batchManagerGlobal #selectedMessage {background-color:#555; color:#ddd;}
+