Projet

Général

Profil

Paste
Télécharger (2,51 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / zen / STARTERKIT / css / components / misc-rtl.css @ 87dbc3bf

1
/**
2
 * @file
3
 * RTL companion for the modular-styles.css file.
4
 */
5

    
6
/**
7
 * Branding header.
8
 */
9

    
10
/* Wrapping link for logo. */
11
.header__logo {
12
  float: right;
13
}
14

    
15
/* The secondary menu (login, etc.) */
16
.header__secondary-menu {
17
  float: left;
18
}
19

    
20
/**
21
 * Navigation bar.
22
 */
23

    
24
/* Main menu and secondary menu links and menu block links. */
25
#navigation .links,
26
#navigation .menu {
27
  text-align: right;
28
}
29
#navigation .links li,
30
#navigation .menu li {
31
  /* A simple method to get navigation links to appear in one line. */
32
  float: right;
33
  padding: 0 0 0 10px;
34
}
35

    
36
/**
37
 * Messages.
38
 */
39
.messages,
40
.messages--status,
41
.messages--warning,
42
.messages--error {
43
  padding: 10px 50px 10px 10px;
44
  background-position: 99% 8px;
45
}
46

    
47
/**
48
 * Tabs.
49
 */
50
.tabs-primary__tab,
51
.tabs-secondary__tab,
52
.tabs-secondary__tab.is-active {
53
  float: right;
54
}
55

    
56
/**
57
 * Inline styles.
58
 */
59

    
60
/* List of links */
61
.inline li {
62
  /* Bug in Safari causes display: inline to fail. */
63
  display: inline-block;
64
  padding: 0 0 0 1em;
65
}
66

    
67
/* The inline field label used by the Fences.module */
68
span.field-label {
69
  padding: 0 0 0 1em;
70
}
71

    
72
/**
73
 * "More" links.
74
 */
75
.more-link {
76
  text-align: left;
77
}
78
.more-help-link {
79
  text-align: left;
80
}
81
.more-help-link a {
82
  background-position: 100% 50%;
83
  padding: 1px 20px 1px 0;
84
}
85

    
86
/**
87
 * Menus.
88
 */
89
.menu__item.is-collapsed {
90
  list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABNJREFUCB1j4GASYFJgcmD+A4IADUIDfIUMT4wAAAAASUVORK5CYII=');
91
  *list-style-image: url('../../images/menu-collapsed-rtl.png');
92
}
93

    
94
/**
95
 * Comments.
96
 */
97

    
98
/* Nested comments are indented. */
99
.indented {
100
  margin-left: 0;
101
  margin-right: 30px;
102
}
103

    
104
/**
105
 * Forms.
106
 */
107

    
108
/* Drupal's default login form block */
109
#user-login-form {
110
  text-align: right;
111
}
112
html.js #user-login-form li.openid-link,
113
#user-login-form li.openid-link {
114
  /* Un-do some of the padding on the ul list. */
115
  margin-left: 0;
116
  margin-right: -20px;
117
}
118

    
119
/*
120
 * Drupal admin tables.
121
 */
122
form th {
123
  text-align: right;
124
  padding-left: 1em;
125
  padding-right: 0;
126
}
127

    
128
/**
129
 * Collapsible fieldsets.
130
 *
131
 * @see collapse.js
132
 */
133
html.js .collapsible .fieldset-legend {
134
  background-position: 98% 75%;
135
  padding-left: 0;
136
  padding-right: 15px;
137
}
138
html.js .collapsed .fieldset-legend {
139
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABNJREFUCB1j4GASYFJgcmD+A4IADUIDfIUMT4wAAAAASUVORK5CYII=');
140
  *background-image: url('../../images/menu-collapsed-rtl.png');
141
  background-position: 98% 50%;
142
}