summaryrefslogtreecommitdiff
path: root/css/yaml4/add-ons/rtl-support/navigation/hlist-rtl.css
blob: 53f3cdde5b687ae836699b2e0d0abaf148a59906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/**
 * "Yet Another Multicolumn Layout" - YAML CSS Framework
 *
 * (en) RTL Horizontal list navigation "hlist"
 * (de) RTL Horizontale Navigationsliste "hlist"
 *
 * @note:           Many thanks to Alexander Hass (http://www.yaml-fuer-drupal.de/) for contribution
 *
 * @copyright       Copyright 2005-2012, Dirk Jesse
 * @license         CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
 *                  YAML-CDL (http://www.yaml.de/license.html)
 * @link            http://www.yaml.de
 * @package         yaml
 * @version         v4.0
 * @revision        $Revision: 686 $
 * @lastmodified    $Date: 2012-01-22 13:09:37 +0100 (So, 22 Jan 2012) $
 */

@media all
{
	/**
	* (en) Workaround disappearing list elements on hover
	* (de) Workaround verhindert das Verschwinden der Listenelemente beim Hovern
	*
	* @workaround
	* @affected   IE 5.x/Win, IE6, IE7
	* @css-for    IE 5.x/Win, IE6, IE7
	* @valid      yes
	*/

	.ym-hlist * { direction:ltr !important; }
	.ym-hlist a,
	.ym-hlist strong { direction:rtl !important; }

  	.ym-hlist ul {
		position:relative;
		float:right;
		/* (en) Left margin of the first button  */
		/* (de) Abstand des ersten Buttons vom linken Rand  */
		margin-left: 0; /* Reset LTR */
	}

	.ym-hlist ul li {
		float: right;
		text-align:right !important;
	}

	.ym-searchform {
		float:left;
		display: inline;
		line-height: 2em;
		padding: 0.5em 1.5em;
	}
}