diff options
author | rvelices <rv-github@modusoptimus.com> | 2013-05-08 05:23:07 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2013-05-08 05:23:07 +0000 |
commit | 3234bb5bc9c3f13faa14ae1716f67b7ffca9db99 (patch) | |
tree | 8744a4b507bddc219f4d51410f470edaf73edeaf /admin/themes/default | |
parent | cb0aec202dea252586759429218bca8f2b31aa93 (diff) |
admin theme links use text-decoration on hovering instead of border-bottom (css simpler, no box sizing issues on hover ...)
git-svn-id: http://piwigo.org/svn/trunk@22541 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default')
-rw-r--r-- | admin/themes/default/template/cat_list.tpl | 2 | ||||
-rw-r--r-- | admin/themes/default/template/menubar.tpl | 2 | ||||
-rw-r--r-- | admin/themes/default/theme.css | 26 |
3 files changed, 9 insertions, 21 deletions
diff --git a/admin/themes/default/template/cat_list.tpl b/admin/themes/default/template/cat_list.tpl index 859034a77..0f2f3eaee 100644 --- a/admin/themes/default/template/cat_list.tpl +++ b/admin/themes/default/template/cat_list.tpl @@ -115,7 +115,7 @@ jQuery(document).ready(function(){ <li class="categoryLi{if $category.IS_VIRTUAL} virtual_cat{/if}" id="cat_{$category.ID}"> <!-- category {$category.ID} --> <p class="albumTitle"> - <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="button drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}"> + <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}"> <strong><a href="{$category.U_CHILDREN}" title="{'manage sub-albums'|@translate}">{$category.NAME}</a></strong> </p> diff --git a/admin/themes/default/template/menubar.tpl b/admin/themes/default/template/menubar.tpl index 4d65c0858..f3bd1f45b 100644 --- a/admin/themes/default/template/menubar.tpl +++ b/admin/themes/default/template/menubar.tpl @@ -38,7 +38,7 @@ jQuery(document).ready(function(){ <strong>{'Hide'|@translate} <input type="checkbox" name="hide_{$block.reg->get_id()}" {if $block.pos<0}checked="checked"{/if}></strong> </span> - <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="button drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}"> + <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}"> <strong>{$block.reg->get_name()|@translate}</strong> ({$block.reg->get_id()}) </p> diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index c4ad7923e..046d56be6 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -96,7 +96,7 @@ display:block; position:absolute; z-index:101; padding:8px 0 0 3px; color:white; /* History tables */ TABLE.table2 { border: 1px solid #111; - margin: 1em auto; + margin: 0 auto; padding: 0; } @@ -110,7 +110,6 @@ TABLE.table2 TR { TABLE.table2 THEAD TD { padding:7px 10px 3px 10px; } TABLE.table2 TR.throw { text-align: center; } -TABLE.table2 { margin:0pt auto; } .sort { display:block; padding:8px 5px 0px 1px; clear: right; float:left; } @@ -301,19 +300,15 @@ float:left; } #pwgHead A {color:#ccc;} -#pwgHead A:hover {color:#fff;border-bottom:1px solid #fff} +#pwgHead A:hover {color:#fff} #headActions {float:right; height:36px; line-height:36px; margin-right:10px;} A { - text-decoration:none; - border-bottom: 0; + text-decoration: none; } A:hover { - border-bottom: 1px solid #FF3363; -} -A.button, A.button:hover { - border: 0; + text-decoration: underline; } IMG { border: none; @@ -494,9 +489,6 @@ UL.actions { UL.actions LI { display: inline; } -UL.actions A { - border: none; -} UL.tagSelection { width: 99%; @@ -604,7 +596,7 @@ html, body {height:100%; margin:0; padding:0;} } #footer A {color:#ccc;} -#footer A:hover {color:#fff;border-bottom:1px solid #fff;} +#footer A:hover {color:#fff} #adminHome { text-align:center; @@ -616,7 +608,7 @@ html, body {height:100%; margin:0; padding:0;} } #adminHome A {display:block; font-size:1.1em; font-weight:bold;} -#adminHome A {border:none;} +#adminHome A {text-decoration:none;} #piwigoInfos {float:left; margin-left:140px;} #pageInfos {float:right; margin-right:10px;} @@ -816,7 +808,6 @@ h2:lang(en) { text-transform:capitalize; } .infos .submit {margin-left:30px;} .checkActions {text-align:left;padding:0;margin:0;} -.comment A:hover {border:none;} .pluginBoxes { text-align:left; @@ -878,7 +869,6 @@ h2:lang(en) { text-transform:capitalize; } } .HelpActions a { border:0; margin:0; } -.HelpActions a:hover {border:0;} .HelpActions li {list-style-image:none; list-style-position:outside; list-style-type:none; text-align:center; text-indent:0pt; } legend {text-align:left;} @@ -948,16 +938,14 @@ LEGEND { #batchManagerGlobal #checkActions {text-align:left; margin:0 0 20px 0;} #batchManagerGlobal ul.thumbnails div.actions {display:none;position:absolute;top:0;right:5px;color:#fff} #batchManagerGlobal ul.thumbnails div.actions a {color:#fff;} -#batchManagerGlobal ul.thumbnails div.actions a:hover {border-color:#fff;} #batchManagerGlobal ul.thumbnails span.wrap1:hover div.actions {display:block;} #batchManagerGlobal #selectedMessage {padding:5px; 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 a.removeFilter:hover {background: url(icon/remove_filter_hover.png);} #batchManagerGlobal .removeFilter span {display:none} #batchManagerGlobal #applyFilterBlock {margin-top:20px;} #batchManagerGlobal .useFilterCheckbox {display:none;} |