mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 22:38:52 +00:00
#7150 ... part 3. As per http://www.phpbb.com/bugs/viewreport.php?b=7150#c15182 ... hopefully this works first time. RTL language (Arabic, Hebrew, etc) testers might was to have a gander using CVS and see if everything "works" as expected.
git-svn-id: file:///svn/phpbb/trunk@6924 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2a2814265d
commit
180a5a243d
1 changed files with 180 additions and 27 deletions
|
@ -48,6 +48,10 @@ h2, caption {
|
||||||
margin-top: 25px;
|
margin-top: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl h2, .rtl caption {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
h3, h4 {
|
h3, h4 {
|
||||||
font: bold 1.2em "Lucida Grande", Arial, Helvetica, sans-serif;
|
font: bold 1.2em "Lucida Grande", Arial, Helvetica, sans-serif;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -63,8 +67,11 @@ p {
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style: disc;
|
list-style: disc;
|
||||||
margin-left: 2em;
|
margin: 0 0 1em 2em;
|
||||||
margin-bottom: 1em;
|
}
|
||||||
|
|
||||||
|
.rtl ul {
|
||||||
|
margin: 0 2em 1em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
|
@ -105,6 +112,10 @@ a:hover {
|
||||||
height: 84px;
|
height: 84px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl #page-header {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
#page-header h1 {
|
#page-header h1 {
|
||||||
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
|
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
|
@ -136,12 +147,17 @@ a:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
#main {
|
#main {
|
||||||
float:left;
|
float: left;
|
||||||
width: 76%;
|
width: 76%;
|
||||||
margin-left: 3%;
|
margin: 0 0 0 3%;
|
||||||
min-height: 350px;
|
min-height: 350px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl #main {
|
||||||
|
float: right;
|
||||||
|
margin: 0 3% 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
* html #main {
|
* html #main {
|
||||||
height: 350px;
|
height: 350px;
|
||||||
}
|
}
|
||||||
|
@ -156,6 +172,10 @@ a:hover {
|
||||||
min-width: 570px;
|
min-width: 570px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl #tabs {
|
||||||
|
margin: 0 7px -6px 0;
|
||||||
|
}
|
||||||
|
|
||||||
#tabs ul {
|
#tabs ul {
|
||||||
margin:0;
|
margin:0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -171,7 +191,7 @@ a:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
#tabs a {
|
#tabs a {
|
||||||
float:left;
|
float: left;
|
||||||
background:url("../images/bg_tabs1.gif") no-repeat 0% -35px;
|
background:url("../images/bg_tabs1.gif") no-repeat 0% -35px;
|
||||||
margin: 0 1px 0 0;
|
margin: 0 1px 0 0;
|
||||||
padding: 0 0 0 6px;
|
padding: 0 0 0 6px;
|
||||||
|
@ -179,6 +199,12 @@ a:hover {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl #tabs a {
|
||||||
|
float: right;
|
||||||
|
margin: 0 0 0 1px;
|
||||||
|
padding: 0 6px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
#tabs a span {
|
#tabs a span {
|
||||||
float: left;
|
float: left;
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -189,8 +215,13 @@ a:hover {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl #tabs a span {
|
||||||
|
float: left;
|
||||||
|
padding: 7px 6px 6px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Commented Backslash Hack hides rule from IE5-Mac \*/
|
/* Commented Backslash Hack hides rule from IE5-Mac \*/
|
||||||
#tabs a span { float:none;}
|
#tabs a span, .rtl #tabs a span { float:none;}
|
||||||
/* End hack */
|
/* End hack */
|
||||||
|
|
||||||
#tabs a:hover span {
|
#tabs a:hover span {
|
||||||
|
@ -244,6 +275,10 @@ span.corners-top span, span.corners-bottom span {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl #menu {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
#menu p {
|
#menu p {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
@ -323,6 +358,10 @@ th, td {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl th, .rtl td {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
padding: 6px 4px;
|
padding: 6px 4px;
|
||||||
color: #FFA34F;
|
color: #FFA34F;
|
||||||
|
@ -382,6 +421,14 @@ fieldset {
|
||||||
background-color: #ECECEC;
|
background-color: #ECECEC;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl fieldset {
|
||||||
|
border-right: 1px solid #D5D5C8;
|
||||||
|
border-bottom: 1px solid #AFAEAA;
|
||||||
|
border-left: 1px solid #AFAEAA;
|
||||||
|
border-top: 1px solid #D5D5C8;
|
||||||
|
}
|
||||||
|
|
||||||
legend {
|
legend {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -0.5em;
|
top: -0.5em;
|
||||||
|
@ -412,6 +459,13 @@ input {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl input {
|
||||||
|
border-left: 1px solid #D5D5C8;
|
||||||
|
border-top: 1px solid #AFAEAA;
|
||||||
|
border-right: 1px solid #AFAEAA;
|
||||||
|
border-bottom: 1px solid #D5D5C8;
|
||||||
|
}
|
||||||
|
|
||||||
input.langvalue, textarea.langvalue {
|
input.langvalue, textarea.langvalue {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
}
|
}
|
||||||
|
@ -434,7 +488,11 @@ optgroup {
|
||||||
}
|
}
|
||||||
|
|
||||||
option {
|
option {
|
||||||
padding-right: 1em;
|
padding: 0 1em 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rtl option {
|
||||||
|
padding: 0 0 0 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sep {
|
.sep {
|
||||||
|
@ -455,10 +513,21 @@ textarea {
|
||||||
cursor: text;
|
cursor: text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl textarea {
|
||||||
|
border-left: 1px solid #D5D5C8;
|
||||||
|
border-top: 1px solid #AFAEAA;
|
||||||
|
border-right: 1px solid #AFAEAA;
|
||||||
|
border-bottom: 1px solid #D5D5C8;
|
||||||
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
cursor:pointer;
|
cursor: pointer;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
padding-right: 5px;
|
padding: 0 5px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rtl label {
|
||||||
|
padding: 0 0 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
label input {
|
label input {
|
||||||
|
@ -471,14 +540,18 @@ label img {
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset.quick, p.quick {
|
fieldset.quick, p.quick {
|
||||||
margin: 0 0 5px 0;
|
margin: 0 0 5px;
|
||||||
padding: 5px 0 0 0;
|
padding: 5px 0 0;
|
||||||
border: none;
|
border: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl fieldset.quick, .rtl p.quick {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
fieldset.quick legend {
|
fieldset.quick legend {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -542,9 +615,14 @@ dt {
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl dt {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
dd { color: #000;}
|
dd { color: #000;}
|
||||||
dd + dd { padding-top: 5px;}
|
dd + dd { padding-top: 5px;}
|
||||||
dt span { padding-right: 5px;}
|
dt span { padding: 0 5px 0 0;}
|
||||||
|
.rtl dt span { padding: 0 0 0 5px;}
|
||||||
|
|
||||||
dt .explain { font-style: italic;}
|
dt .explain { font-style: italic;}
|
||||||
|
|
||||||
|
@ -554,9 +632,17 @@ dt label {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl dt label {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
dd label {
|
dd label {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
margin-right: 10px;
|
margin: 0 10px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rtl dd label {
|
||||||
|
margin: 0 0 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
html>body dd label input { vertical-align: text-bottom;} /* Tweak for Moz to align checkboxes/radio buttons nicely */
|
html>body dd label input { vertical-align: text-bottom;} /* Tweak for Moz to align checkboxes/radio buttons nicely */
|
||||||
|
@ -590,21 +676,36 @@ fieldset dl {
|
||||||
fieldset dt {
|
fieldset dt {
|
||||||
width: 45%;
|
width: 45%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
border: none;
|
||||||
border-right: 1px solid #CCC;
|
border-right: 1px solid #CCC;
|
||||||
padding-top: 3px;
|
padding-top: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl fieldset dt {
|
||||||
|
text-align: right;
|
||||||
|
border: none;
|
||||||
|
border-left: 1px solid #CCC;
|
||||||
|
}
|
||||||
|
|
||||||
fieldset dd {
|
fieldset dd {
|
||||||
margin-left: 45%;
|
margin: 0 0 0 45%;
|
||||||
padding-left: 5px;
|
padding: 0 0 0 5px;
|
||||||
|
border: none;
|
||||||
border-left: 1px solid #CCC;
|
border-left: 1px solid #CCC;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl fieldset dd {
|
||||||
|
margin: 0 45% 0 0;
|
||||||
|
padding: 0 5px 0 0;
|
||||||
|
border: none;
|
||||||
|
border-right: 1px solid #CCC;
|
||||||
|
}
|
||||||
|
|
||||||
dd.full {
|
dd.full {
|
||||||
margin-left: 0;
|
margin: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
padding-left: 0;
|
padding: 0;
|
||||||
padding-top: 3px;
|
padding-top: 3px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 95%;
|
width: 95%;
|
||||||
|
@ -661,6 +762,13 @@ fieldset.submit-buttons legend {
|
||||||
width: 75%;
|
width: 75%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl .inputbox {
|
||||||
|
border-left: 1px solid #D5D5C8;
|
||||||
|
border-top: 1px solid #AFAEAA;
|
||||||
|
border-right: 1px solid #AFAEAA;
|
||||||
|
border-bottom: 1px solid #D5D5C8;
|
||||||
|
}
|
||||||
|
|
||||||
select.inputbox {
|
select.inputbox {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -668,10 +776,7 @@ select.inputbox {
|
||||||
}
|
}
|
||||||
|
|
||||||
.inputbox:hover {
|
.inputbox:hover {
|
||||||
border-left: 1px solid #AFAEAA;
|
border: 1px solid #AFAEAA;
|
||||||
border-top: 1px solid #AFAEAA;
|
|
||||||
border-right: 1px solid #AFAEAA;
|
|
||||||
border-bottom: 1px solid #AFAEAA;
|
|
||||||
background-color: #E9E9E2;
|
background-color: #E9E9E2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -705,6 +810,10 @@ input.autowidth { width: auto !important;}
|
||||||
padding-bottom: 2px;
|
padding-bottom: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl .pagination {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
.pagination strong,
|
.pagination strong,
|
||||||
.pagination b {
|
.pagination b {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
@ -892,6 +1001,10 @@ a.button2, a.button2:link, a.button2:visited, a.button2:active {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl .sourcenum {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
.source {
|
.source {
|
||||||
font-family: Monaco, 'Courier New', monospace;
|
font-family: Monaco, 'Courier New', monospace;
|
||||||
font-size: 125%;
|
font-size: 125%;
|
||||||
|
@ -939,11 +1052,19 @@ fieldset.perm .perm_simple {
|
||||||
padding-top: 3px;
|
padding-top: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl fieldset.perm .perm_simple {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
fieldset.perm .perm_advanced {
|
fieldset.perm .perm_advanced {
|
||||||
padding-left: 5px;
|
padding: 10px 0 0 5px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
clear: right;
|
clear: right;
|
||||||
padding-top: 10px;
|
}
|
||||||
|
|
||||||
|
.rtl fieldset.perm .perm_advanced {
|
||||||
|
padding: 10px 5px 0 0;
|
||||||
|
clear: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset.perm .perm_switch {
|
fieldset.perm .perm_switch {
|
||||||
|
@ -951,6 +1072,10 @@ fieldset.perm .perm_switch {
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl fieldset.perm .perm_switch {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
.perm_switch a {
|
.perm_switch a {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
@ -958,13 +1083,17 @@ fieldset.perm .perm_switch {
|
||||||
/* Tabbed menu */
|
/* Tabbed menu */
|
||||||
.perm_cat {
|
.perm_cat {
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
margin: 0 0 0px 7px;
|
margin: 0 0 0 7px;
|
||||||
min-width: 570px;
|
min-width: 570px;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl .perm_cat {
|
||||||
|
margin: 0 7px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
.perm_cat ul {
|
.perm_cat ul {
|
||||||
margin:0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
@ -986,6 +1115,12 @@ fieldset.perm .perm_switch {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl .perm_cat a {
|
||||||
|
float: right;
|
||||||
|
margin: 0 0 0 1px;
|
||||||
|
padding: 0 6px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
.perm_cat a span.tabbg {
|
.perm_cat a span.tabbg {
|
||||||
float: left;
|
float: left;
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -995,8 +1130,13 @@ fieldset.perm .perm_switch {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl .perm_cat a span.tabbg {
|
||||||
|
float: left;
|
||||||
|
padding: 7px 6px 6px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Commented Backslash Hack hides rule from IE5-Mac \*/
|
/* Commented Backslash Hack hides rule from IE5-Mac \*/
|
||||||
.perm_cat a span.tabbg { float:none;}
|
.perm_cat a span.tabbg, .rtl .perm_cat a span.tabbg { float: none;}
|
||||||
/* End hack */
|
/* End hack */
|
||||||
|
|
||||||
.perm_cat a:hover span.tabbg {
|
.perm_cat a:hover span.tabbg {
|
||||||
|
@ -1036,7 +1176,12 @@ fieldset.perm .perm_switch {
|
||||||
float: left;
|
float: left;
|
||||||
width: 10px;
|
width: 10px;
|
||||||
height: 10px;
|
height: 10px;
|
||||||
margin-right: 5px;
|
margin: 0 5px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rtl .perm_cat a span.colour {
|
||||||
|
float: right;
|
||||||
|
margin: 0 0 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.perm_cat .activetab span.colour {
|
.perm_cat .activetab span.colour {
|
||||||
|
@ -1080,6 +1225,10 @@ fieldset.perm .perm_switch {
|
||||||
margin-top: -1px;
|
margin-top: -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl .perm_panel {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
.perm_panel span.corners-top {
|
.perm_panel span.corners-top {
|
||||||
background-image: url("../images/corners_left2.gif");
|
background-image: url("../images/corners_left2.gif");
|
||||||
}
|
}
|
||||||
|
@ -1152,6 +1301,10 @@ fieldset.perm .perm_switch {
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl .perm_panel th.name {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
.perm_panel th.permission_name {
|
.perm_panel th.permission_name {
|
||||||
border: none;
|
border: none;
|
||||||
color: #536482;
|
color: #536482;
|
||||||
|
|
Loading…
Add table
Reference in a new issue