Projet

Général

Profil

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

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

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-primary__tab.is-active,
52
.tabs-secondary__tab,
53
.tabs-secondary__tab.is-active {
54
  float: right;
55
}
56

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

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

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

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

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

    
95
/**
96
 * Comments.
97
 */
98

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

    
105
/**
106
 * Forms.
107
 */
108

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

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

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