diff options
author | plegall <plg@piwigo.org> | 2012-02-02 20:47:12 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2012-02-02 20:47:12 +0000 |
commit | a68826cbb3ad9b09edc6c13a63923b4e827f918f (patch) | |
tree | 9658fcf0d5f4fc09c38adb6139949f0340e7df1b /admin/themes/default | |
parent | 36dd98bfab10104cca9f5a6d3052598731c1369b (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.tpl | 6 | ||||
-rw-r--r-- | admin/themes/default/theme.css | 17 |
2 files changed, 20 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 |