[TASK] EXT: t3skin - .list-unstyled for ol & ul 01/27801/2
authorFelix Kopp <felix-source@phorax.com>
Sun, 23 Feb 2014 22:30:44 +0000 (23:30 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 24 Feb 2014 05:46:18 +0000 (06:46 +0100)
Brings CSS class for lists that semantically need to be
UL or OL tags but do not have a visible list-style-item:

<ul class="list-unstyled">
<li>…</li>
</ul>
<ol class="list-unstyled">
<li>…</li>
</ol>

Resolves: #55834
Releases: 6.2
Change-Id: Ic51fbe1f0995b4504d5b10a4c83775a977a19e33
Reviewed-on: https://review.typo3.org/27801
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/t3skin/Resources/Public/Css/structure/main_content.css
typo3/sysext/t3skin/Resources/Public/Css/visual/main_content.css

index 87afbde..b638ddb 100644 (file)
@@ -47,6 +47,11 @@ ol {
        padding-left: 3em;
 }
 
+ul.list-unstyled,
+ol.list-unstyled {
+       padding-left: 0;
+}
+
 /* Preformatted text - not used so much in TYPO3 */
 pre {
        margin: 0px;
index b15bd33..5a4dc56 100644 (file)
@@ -38,6 +38,11 @@ ol {
        list-style-type: decimal;
 }
 
+ul.list-unstyled,
+ol.list-unstyled {
+       list-style-type: none;
+}
+
 /* Links in general */
 a {
        color: #212424;