From 3baaa3530d47c5d9c66a9ded5802ec4100df6650 Mon Sep 17 00:00:00 2001 From: Ingo Renner Date: Fri, 14 Aug 2009 19:20:29 +0000 Subject: [PATCH] Fixed vertical alignment of text and icons in list module git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5789 709f56b5-9817-0410-a4d7-c38de5d9e867 --- ChangeLog | 1 + typo3/stylesheet.css | 22 +++++++++++++++------- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 40d88782bca5..f9e7100ec6d8 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ * Added feature #11438: Add a registry to t3lib * Added missing icon in t3skin for the divider content element + * Fixed vertical alignment of text and icons in list module 2009-08-14 Michael Stucki diff --git a/typo3/stylesheet.css b/typo3/stylesheet.css index 74a00d38473a..0087e1e35c6f 100644 --- a/typo3/stylesheet.css +++ b/typo3/stylesheet.css @@ -1395,7 +1395,7 @@ div#typo3-docbody { } div#typo3-inner-docbody { - padding: 10px 0 10px 10px; + padding: 10px; } /* Fix for IE 6 */ @@ -1492,11 +1492,11 @@ table#logintable { position: absolute; left: 35%; top: 78px; - margin: 5px 20px 5px 20px; + margin: 5px 20px; } table#logintable tr td { - padding: 1px 1px 1px 1px; + padding: 1px; } table#logintable H2 { @@ -1522,8 +1522,8 @@ table#logintable P.c-wrong { font-size: 10px; width: 300px; border: #858585 solid 1px; - margin: 5px 0px 5px 0px; - padding: 5px 15px 5px 15px; + margin: 5px 0px; + padding: 5px 15px; } table#logintable input.c-username, @@ -1847,11 +1847,18 @@ table.typo3-dblist tr:hover td { } table.typo3-dblist tr td.col-icon { - width: 40px; + width: 20px; + padding-right: 0px; + padding-left: 4px; + vertical-align: middle; +} + +table.typo3-dblist tr.c-headLineTable td.col-icon { + padding-left: 3px; } table.typo3-dblist tr td.col-icon a { - width: 40px; + width: 20px; display: block; } @@ -1862,6 +1869,7 @@ table.typo3-dblist tr td.col-icon a img.collapseIcon { table.typo3-dblist tr td.col-title { width: 240px; overflow: hidden; + vertical-align: middle; } table.typo3-dblist tr.c-headLine td.col-title a { -- 2.20.1