aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-02-02 20:47:12 +0000
committerplegall <plg@piwigo.org>2012-02-02 20:47:12 +0000
commita68826cbb3ad9b09edc6c13a63923b4e827f918f (patch)
tree9658fcf0d5f4fc09c38adb6139949f0340e7df1b /admin
parent36dd98bfab10104cca9f5a6d3052598731c1369b (diff)
feature 2561: move some CSS rules from cat_modify.tpl to theme.css
git-svn-id: http://piwigo.org/svn/trunk@13020 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/cat_modify.tpl6
-rw-r--r--admin/themes/default/theme.css17
-rw-r--r--admin/themes/roma/theme.css5
3 files changed, 25 insertions, 3 deletions
diff --git a/admin/themes/default/template/cat_modify.tpl b/admin/themes/default/template/cat_modify.tpl
index 2b5f15fdc..31a9e6ef9 100644
--- a/admin/themes/default/template/cat_modify.tpl
+++ b/admin/themes/default/template/cat_modify.tpl
@@ -9,10 +9,10 @@
<table style="width:100%">
<tr>
- <td style="width:1%;padding-right:10px;text-align:center;">
+ <td id="albumThumbnail">
{if isset($representant) }
{if isset($representant.picture) }
- <a href="{$representant.picture.URL}"><img src="{$representant.picture.SRC}" alt="" style="border:2px solid #ddd"></a>
+ <a href="{$representant.picture.URL}"><img src="{$representant.picture.SRC}" alt=""></a>
{else}
<img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_representant_random.png" alt="{'Random photo'|@translate}">
{/if}
@@ -27,7 +27,7 @@
{/if}
</td>
- <td style="vertical-align:top;border-left:2px solid #ddd;padding-left:10px;">
+ <td id="albumLinks">
<p>{$INTRO}</p>
<ul style="padding-left:15px;">
{if cat_admin_access($CAT_ID)}
diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css
index c1d34dcd1..87c28c531 100644
--- a/admin/themes/default/theme.css
+++ b/admin/themes/default/theme.css
@@ -1036,3 +1036,20 @@ p#uploadModeInfos {text-align:left;margin-top:1em;font-size:90%;color:#999;}
.warningDeletion {display:none;font-style:italic;}
#debug { margin-left: 227px; font-size:12px; }
+
+/* Album Properties */
+#albumThumbnail {
+ width:1%;
+ padding-right:10px;
+ text-align:center;
+}
+
+#albumThumbnail img {
+ border:2px solid #ddd;
+}
+
+#albumLinks {
+ vertical-align:top;
+ border-left:2px solid #ddd;
+ padding-left:10px;
+} \ No newline at end of file
diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css
index f795edd9f..75bfc95e8 100644
--- a/admin/themes/roma/theme.css
+++ b/admin/themes/roma/theme.css
@@ -253,3 +253,8 @@ div.token-input-dropdown ul li {background-color:#eee;}
div.token-input-dropdown ul li.token-input-selected-dropdown-item {background-color:#FF7800;}
#progressbar {border:1px solid #666; background-color:#666;}
+
+/* Album Properties */
+#albumThumbnail img, #albumLinks {
+ border-color:#333;
+}