themes/enanium/css-extra/rtl.css
author Dan Fuhry <dan@enanocms.org>
Mon, 15 Nov 2010 19:21:47 -0500
changeset 1312 e6c6b42a5a51
parent 1254 221d14331ebe
permissions -rw-r--r--
common: log Enano upgrades
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1254
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
     1
/**
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
     2
 * Enanium - Right-To-Left (RTL) tweaks
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
     3
 * Polished black default theme for Enano CMS
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
     4
 * Copyright (C) 2009 Dan Fuhry
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
     5
 */
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
     6
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
     7
div.logo {
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
     8
	float: right;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
     9
	margin: 0 -13px 0 7px;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    10
}
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    11
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    12
div#header h1 a {
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    13
	padding-left: 20px;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    14
	padding-right: 0;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    15
}
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    16
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    17
div#header h1 a:hover {
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    18
	background-position: left center;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    19
}
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    20
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    21
form.searchform {
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    22
	left: 10px;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    23
	right: auto;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    24
}
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    25
ul.useropts {
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    26
	left: 10px;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    27
	right: auto;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    28
}
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    29
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    30
ul.useropts li {
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    31
	float: right;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    32
}
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    33
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    34
div.menu a, div.menu div.label, div.menu_nojs a, div.menu_nojs div.label {
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    35
	float: right;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    36
	margin-right: 0;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    37
	margin-left: 3px;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    38
}
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    39
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    40
div.menu.global_menu, div.menu_nojs.global_menu {
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    41
	float: left;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    42
	margin-right: 0;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    43
	margin-left: 10px;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    44
}
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    45
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    46
div.sidebar.right {
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    47
	float: left;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    48
	margin: 0 20px 0 0;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    49
}
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    50
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    51
div.sidebar a.closebtn {
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    52
	float: left;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    53
	margin-right: 0;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    54
	margin-left: 10px;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    55
}
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    56
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    57
div.sidebar.left a.closebtn {
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    58
	-moz-border-radius: 0 0 4px 0;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    59
	border-radius: 0 0 4px 0;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    60
	margin-left: 0;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    61
}
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    62
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    63
div.left-sidebar-hidden a.openbtn {
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    64
	-moz-border-radius: 4px 0 0 4px;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    65
	border-radius: 4px 0 0 4px;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    66
	float: right;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    67
}
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    68
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    69
div.right-sidebar-hidden a.openbtn {
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    70
	float: left;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    71
	margin-right: 0;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    72
	margin-left: -30px;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    73
	-moz-border-radius: 0 4px 4px 0;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    74
	border-radius: 0 4px 4px 0;
221d14331ebe Added basic support for right-to-left languages. Set meta_direction to "rtl" in core.json.
Dan Fuhry <dan@enanocms.org>
parents:
diff changeset
    75
}