Bug 10309 - New OPAC theme based on Bootstrap
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / css / right-to-left.css
1 /* Adjust text directions */
2 body,
3 body #doc,
4 #doc2,
5 #doc3,
6 #doc4,
7 .yui-t1,
8 .yui-t2,
9 .yui-t3,
10 .yui-t4,
11 .yui-t5,
12 .yui-t6,
13 .yui-t7
14 {
15    text-align:right;
16    direction: rtl;
17 }
18
19 caption,
20 table#marc th
21 {
22    text-align: right;
23 }
24
25 /* Swap floats */
26
27
28 body#advsearch #cartmenulink,
29 body#advsearch #listsmenulink,
30 #renewcontrols,
31 .commentline .avatar,
32 .resort,
33 .yui-t1 #yui-main,
34 .yui-t2 #yui-main,
35 .yui-t3 #yui-main
36 {
37    float: left;
38 }
39 .ui-tabs .ui-tabs-nav li,
40 div.lang,
41 fieldset.rows label,
42 fieldset.rows span.label,
43 #auth,
44 #bookcover,
45 .left,
46 .nav_results ul.pg_menu li,
47 .ui-tabs-nav li,
48 .yui-g div.first,
49 .yui-gc div.first,
50 .yui-gc div.first div.first,
51 .yui-gd div.first,
52 .yui-ge div.first,
53 .yui-gf div.first,
54 .yui-t1 .yui-b
55 {
56    float: right;
57 }
58
59 h1#libraryname
60 {
61    float: right !important;
62 }
63
64 #fluid-offset
65 {
66    float: none;
67 }
68
69 /* Adjust margins, padding, alignment and table-element widths */
70
71 div#menu li a
72 {
73    margin-left: -1px;
74 }
75
76 .yui-t1 #yui-main,
77 .yui-t1 #yui-main .yui-b,
78 .yui-t2 #yui-main,
79 .yui-t3 #yui-main
80 {
81    margin-left: 0;
82 }
83
84 h1,
85 h2,
86 h3,
87 h4,
88 h5,
89 h6
90 {
91    margin-left: 0.5em;
92 }
93
94 .results_summary .label
95 {
96    margin-left: 0.5em;
97 }
98
99
100 ul.pg_menu li,
101 .author,
102 .nav_results
103 {
104    margin-right: 0.5em;
105 }
106
107 #usershowreviews
108 {
109    margin-right: 15em;
110 }
111
112 #moresearches
113 {
114    margin: .6em 10em .3em 0;
115 }
116
117 #menu ul
118 {
119    padding-left:0;
120 }
121
122 #custom-doc,
123 #opac-main-search
124 {
125    padding-right: 2em;
126 }
127
128 .nav_results .l_Results a
129 {
130    padding: 8px 3px 8px 28px;
131 }
132
133 body#advsearch #moresearches
134 {
135    clear:none;
136 }
137
138 span.koha_url
139 {
140    left: 2em;
141    right:auto;
142 }
143
144 .yui-u first
145 {
146    right: 15em;
147 }
148
149 table#marc td:first-child
150 {
151    width: 15em;
152 }
153
154 .yui-t1 #yui-main,
155 .yui-t2 #yui-main,
156 .yui-t3 #yui-main {
157    width: 80%;
158 }
159
160 /* Borders */
161
162 div#menu {
163    border-right: 0;
164    border-left: 1px solid #979797;
165 }
166
167 #menu ul li.active a {
168    border-left: 0;
169    border-right: 1px solid #979797;
170 }
171
172 /* flip over breadcrumb image */
173
174 h3 img {
175         -moz-transform: scaleX(-1);
176         -o-transform: scaleX(-1);
177         -webkit-transform: scaleX(-1);
178         transform: scaleX(-1);
179         filter: FlipH;
180         -ms-filter: "FlipH";
181 }
182
183
184 #moresearches {
185     clear: right;
186 }
187
188 #cartmenulink, #listsmenulink {
189     float: right;
190     margin-right: 1em;
191     margin-left: 0em;
192 }
193
194 #listsmenulink {
195
196     background-image: url("../images/sprite.png"), -moz-linear-gradient(center top , rgb(215, 229, 255) 0%, rgb(177, 203, 255) 50%, rgb(159, 191, 255) 100%);
197
198     background-position: -5px -287px, left top;
199
200     padding-left: 20px;
201 }
202 #listsmenulink:hover {
203     background-position: -5px -287px, left top;
204 }
205
206 #cartmenulink {
207     padding-right: 30px;
208     background-position: 20px -256px, left top;
209     padding-left: 13px;
210 }
211 #cartmenulink:hover {
212     background-position: 20px -256px, left top;
213 }
214 .lang {
215 float:right;
216
217 }
218 .morelang,
219 li.more {
220 float:right;
221 }
222
223 ul#i18nMenu li {
224     border-right: 1px solid rgb(204, 204, 204);
225 }
226 div.rating-cancel, div.star-rating {
227     float: right;
228 }
229
230
231 #shelfbrowser #browser_previous {
232     background-position: -9px -1051px;
233 }
234
235 #shelfbrowser #browser_next {
236     background-position: -9px -1001px;
237 }