summaryrefslogtreecommitdiffstats
path: root/l10n-fa/toolkit/chrome/global/intl.css
blob: 9577d5894e344c0e2eb9c85f3555a853c8c76167 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/*
 * This file contains all localizable skin settings such as
 *   font, layout, and geometry
 *   Contributor(s):
 *   Tsahi Asher (tsahi_75@yahoo.com)
 *   Reuven Gonen  (linxspider@yahoo.com)
 */
window {
  font: 3mm tahoma,arial,helvetica,sans-serif;
}


/**************************
**  Global Settings  **
***************************/

/*make UI RTL */

window,prefwindow,dialog,wizard,page,menu { direction: rtl; }

/*
   chrome://browser/skin/pageInfo.css uses italic font style for the disabled textboxes.
   Because Persian italic fonts are busted on some platforms (such as Vista), opt for not
   using them.
   We do this globally because any other similar code would result in imperfect rendering.
*/

textbox[disabled] {
  font-style: normal !important;
}

/* Make the XML error page RTL (bug 417489) */

parsererror {
  direction: rtl;
}


/********************
**  Firefox  **
*********************/


/*
    Set LTR for url and file paths and align them to the right - Bug 289934
    Updates:
    - Removed #downloadFolder (bug 1457720).
*/

#source, #path, #url, #feedurl, #urltext {
  direction: ltr !important;
  text-align: right !important;
}


/********************
**  Thunderbird  **
*********************/


/* Set Folder Pane on the left side of window */

#mailContentWrapper {
  direction: ltr !important;
}

/* Set Mail Content titlebar as RTL */

#searchBox {
  direction: rtl !important;
}