Index: trunk/extensions/LiquidThreads/lqt.css |
— | — | @@ -39,7 +39,16 @@ |
40 | 40 | float: left; |
41 | 41 | width: 100%; |
42 | 42 | } |
43 | | - |
| 43 | +.lqt_thread_heading { |
| 44 | + border-bottom: 1px solid #AAAAAA; |
| 45 | + margin-bottom: 0.6em; |
| 46 | + padding: 10px 0 0; |
| 47 | +} |
| 48 | +.lqt_header { |
| 49 | + border: none; |
| 50 | + margin-bottom: 0; |
| 51 | + display: inline; |
| 52 | +} |
44 | 53 | .lqt_header_commands { |
45 | 54 | float: right; |
46 | 55 | clear: both; |
— | — | @@ -116,19 +125,17 @@ |
117 | 126 | } |
118 | 127 | |
119 | 128 | .lqt_threadlevel_commands { |
120 | | - /* shift up to be in line with the h2. */ |
121 | | - position: relative; |
122 | | - top: -2.9em; |
123 | | - margin-bottom: -2.9em; |
124 | 129 | float: right; |
125 | | - |
126 | | - color: #777; |
| 130 | + color: #777; |
| 131 | + margin-bottom: 0 !important; |
| 132 | + margin-top: 0; |
127 | 133 | } |
128 | 134 | |
129 | 135 | .lqt_threadlevel_commands li { |
130 | 136 | display: inline; |
131 | 137 | list-style-type: none; |
132 | 138 | padding-right: 0.6em; |
| 139 | + line-height: 1em; |
133 | 140 | } |
134 | 141 | #lqt_subject_field { |
135 | 142 | margin-top: 0.7em; |
— | — | @@ -478,3 +485,24 @@ |
479 | 486 | top: 15px; |
480 | 487 | height: 32px; |
481 | 488 | } |
| 489 | + |
| 490 | +/* Float Clearing - If you confused, http://www.positioniseverything.net/easyclearing.html */ |
| 491 | +.lqt_thread_heading:after |
| 492 | +{ |
| 493 | + content: "."; |
| 494 | + display: block; |
| 495 | + height: 0; |
| 496 | + clear: both; |
| 497 | + visibility: hidden; |
| 498 | +} |
| 499 | + |
| 500 | +.lqt_thread_heading |
| 501 | +{display: inline-block;} |
| 502 | + |
| 503 | +/* Hides from IE-mac */ |
| 504 | +* html .lqt_thread_heading |
| 505 | +{height: 1%;} |
| 506 | + |
| 507 | +.lqt_thread_heading |
| 508 | +{display: block;} |
| 509 | +/* End hide from IE-mac */ |
Index: trunk/extensions/LiquidThreads/classes/View.php |
— | — | @@ -1562,7 +1562,11 @@ |
1563 | 1563 | array( 'class' => 'lqt_header', 'id' => $id ), |
1564 | 1564 | $html ) . $commands_html; |
1565 | 1565 | } |
1566 | | - |
| 1566 | + |
| 1567 | + // wrap it all in a container |
| 1568 | + $html = Xml::tags( 'div', |
| 1569 | + array( 'class' => 'lqt_thread_heading' ), |
| 1570 | + $html ); |
1567 | 1571 | return $html; |
1568 | 1572 | } |
1569 | 1573 | |