mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
merged, corrected validation errors, reformated rtl.css to Moodle standard formatting
This commit is contained in:
parent
501e725ec4
commit
210a323e1b
@ -8,109 +8,291 @@
|
||||
|
||||
*******************************************************************/
|
||||
|
||||
body, td, li, div { direction: rtl; } /* required for chat windows */
|
||||
body, td, li, div {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.ltr-input { direction: ltr; } /* for input that require LTR, e.g. filenames or URLs */
|
||||
.headermain, h1.headermain { float: right; }
|
||||
.headermenu { float: left; text-align: left; }
|
||||
.navbar .breadcrumb { float: right; }
|
||||
.breadcrumb { padding-left:0px; padding-right:3px; }
|
||||
.navbar .navbutton, .navbar .menu { float: left; }
|
||||
.navbar .navbutton { padding-left:3px; padding-right:0px; }
|
||||
.navbar { margin-left:5px; margin-right:0px; }
|
||||
/* required for chat windows */
|
||||
|
||||
.ltr-input {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
/* for input that require LTR, e.g. filenames or URLs */
|
||||
|
||||
.headermain, h1.headermain {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.headermenu {
|
||||
float: left;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.navbar .breadcrumb {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.breadcrumb {
|
||||
padding-left: 0px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
.navbar .navbutton, .navbar .menu {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navbar .navbutton {
|
||||
padding-left: 3px;
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
margin-left: 5px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
/* login window */
|
||||
.loginbox.twocolumns .signuppanel { float: left; }
|
||||
.loginbox.twocolumns .loginpanel { float: right; }
|
||||
.loginbox .loginform .form-label { float: right; text-align: left; }
|
||||
.loginbox .loginform .form-input { float: left; }
|
||||
.loginbox .loginform { text-align: right; }
|
||||
.loginbox .signuppanel .subcontent { text-align: right; }
|
||||
|
||||
.calendar-controls .previous, .calendar-controls .current, .calendar-controls .next { float: right; }
|
||||
.coursebox .summary { float: left; text-align: right; }
|
||||
.coursebox .info { float: right; text-align: right; }
|
||||
.calendar-controls .previous { text-align: right; }
|
||||
.calendar-controls .next { text-align: left; }
|
||||
.reportlink { text-align: left; }
|
||||
form.mform fieldset legend { margin-left:0px; margin-right:0.5em; }
|
||||
form.mform div.felement, form.mform fieldset.felement { margin: 5px 10pt 0pt 0px; }
|
||||
form.mform .fitemtitle { margin: 5px 10pt 0pt 0px; }
|
||||
form.mform fieldset .advancedbutton { text-align: left; }
|
||||
form.mform .fdescription.required { text-align: left; }
|
||||
.loginbox.twocolumns .signuppanel {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.loginbox.twocolumns .loginpanel {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.loginbox .loginform .form-label {
|
||||
float: right;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.loginbox .loginform .form-input {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.loginbox .loginform {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.loginbox .signuppanel .subcontent {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.calendar-controls .previous, .calendar-controls .current, .calendar-controls .next {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.coursebox .summary {
|
||||
float: left;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.coursebox .info {
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.calendar-controls .previous {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.calendar-controls .next {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.reportlink {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
form.mform fieldset legend {
|
||||
margin-left: 0px;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
form.mform div.felement, form.mform fieldset.felement {
|
||||
margin: 5px 10pt 0pt 0px;
|
||||
}
|
||||
|
||||
form.mform .fitemtitle {
|
||||
margin: 5px 10pt 0pt 0px;
|
||||
}
|
||||
|
||||
form.mform fieldset .advancedbutton {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
form.mform .fdescription.required {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* language selectors */
|
||||
#chooselang_jump { direction: ltr; }
|
||||
#id_lang { direction: ltr; }
|
||||
|
||||
#chooselang_jump {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
#id_lang {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
/* admin > lang > language pack selection */
|
||||
select#pack { direction: ltr; }
|
||||
select#uninstalllang { direction: ltr; }
|
||||
|
||||
.mod-forum .indent { margin-right: 30px; margin-left: 0px; }
|
||||
.glossarypost { text-align: right; }
|
||||
h1, h2, h3, h4 { text-align: right; padding-left:0px; padding-right:5px; }
|
||||
select#pack {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
select#uninstalllang {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.mod-forum .indent {
|
||||
margin-right: 30px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.glossarypost {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
text-align: right;
|
||||
padding-left: 0px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/* lessons */
|
||||
.mod-lesson .invisiblefieldset.fieldsetfix tr { text-align: right; }
|
||||
.mod-lesson .contents { text-align: right; }
|
||||
|
||||
.sideblock .header .hide-show { float: left; }
|
||||
.sideblock .content h3, .sideblock .content h2 { text-align: right; }
|
||||
.sideblock .footer { text-align: right; }
|
||||
.mod-lesson .invisiblefieldset.fieldsetfix tr {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.mod-lesson .contents {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.sideblock .header .hide-show {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.sideblock .content h3, .sideblock .content h2 {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.sideblock .footer {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* blocks */
|
||||
h1.main, h2.main, h3.main, h4.main, h5.main, h6.main { text-align: right; }
|
||||
.entrylowersection .icons, .entrylowersection .ratings { text-align: left; padding-left:5px; padding-right:0px; }
|
||||
.block_calendar_upcoming .event .date { text-align: left; direction: ltr; }
|
||||
.block_admin_tree .admintree { text-align: right; }
|
||||
|
||||
h1.main, h2.main, h3.main, h4.main, h5.main, h6.main {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.entrylowersection .icons, .entrylowersection .ratings {
|
||||
text-align: left;
|
||||
padding-left: 5px;
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
.block_calendar_upcoming .event .date {
|
||||
text-align: left;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.block_admin_tree .admintree {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
body#admin-blocks table.generaltable th.c0, body#admin-blocks table.generaltable td.c0, body#admin-filters table.generaltable th.c0, body#admin-filters table.generaltable td.c0, body#admin-modules table.generaltable th.c0, body#admin-modules table.generaltable td.c0, body#admin-auth table.generaltable th.c0, body#admin-auth table.generaltable td.c0 {
|
||||
text-align:right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#mod-chat-gui_header_js-jsupdate
|
||||
.chat-event,
|
||||
#mod-chat-gui_header_js-jsupdate
|
||||
.fdate_time_selector { direction: ltr; }
|
||||
.chat-event .text, .chat-message .text { text-align: right; }
|
||||
.fdate_time_selector {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.chat-event .text, .chat-message .text {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* participants */
|
||||
body#user-index table#participants td, body#user-index table#participants th { text-align: right; }
|
||||
|
||||
body#user-index table#participants td, body#user-index table#participants th {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* Admin > Security */
|
||||
#adminsettings label { float: right; text-align: left; }
|
||||
#adminsettings select, #adminsettings input { float: right; margin:0pt 10pt 0pt 0px; }
|
||||
#adminsettings .description { margin: 0pt 160px 0pt 1em; }
|
||||
#adminsettings .form-group { float: right; }
|
||||
|
||||
#adminsettings label {
|
||||
float: right;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#adminsettings select, #adminsettings input {
|
||||
float: right;
|
||||
margin: 0pt 10pt 0pt 0px;
|
||||
}
|
||||
|
||||
#adminsettings .description {
|
||||
margin: 0pt 160px 0pt 1em;
|
||||
}
|
||||
|
||||
#adminsettings .form-group {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* Courses backup */
|
||||
#admin-backup_sche_hour .form-group { direction:ltr; float:right; } /* backup_sche_hour */
|
||||
|
||||
form.mform div.felement, form.mform fieldset.felement
|
||||
{
|
||||
float: right;
|
||||
text-align: right;
|
||||
margin-right: 10px
|
||||
#admin-backup_sche_hour .form-group {
|
||||
direction: ltr;
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* backup_sche_hour */
|
||||
|
||||
form.mform div.felement, form.mform fieldset.felement {
|
||||
float: right;
|
||||
text-align: right;
|
||||
margin-right: 10px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.que .info { float: right; }
|
||||
.que .prompt { float: right; }
|
||||
.que { text-align: right; }
|
||||
body#mod-quiz-report table#attempts .header { text-align: right; }
|
||||
.logtable th { text-align: right; }
|
||||
form.mform .fitemtitle
|
||||
{
|
||||
float: right;
|
||||
text-align: left;
|
||||
margin-right: 10px
|
||||
.que .info {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.que .prompt {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.que {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
body#mod-quiz-report table#attempts .header {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.logtable th {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
form.mform .fitemtitle {
|
||||
float: right;
|
||||
text-align: left;
|
||||
margin-right: 10px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
#course-view .section td.right
|
||||
{
|
||||
border-left-width: 1px; border-left-style: solid;
|
||||
border-right-width: 0px; border-right-style: none;
|
||||
#course-view .section td.right {
|
||||
border-left-width: 1px;
|
||||
border-left-style: solid;
|
||||
border-right-width: 0px;
|
||||
border-right-style: none;
|
||||
}
|
||||
|
||||
/* ========================
|
||||
@ -118,55 +300,72 @@ form.mform .fitemtitle
|
||||
======================== */
|
||||
|
||||
.tabrow0 {
|
||||
overflow: auto; PADDING-BOTTOM: 2.75em;
|
||||
overflow: auto;
|
||||
PADDING-BOTTOM: 2.75em;
|
||||
}
|
||||
|
||||
.tabrow0 LI {
|
||||
float : right; MARGIN: 0px; width : 130px; BACKGROUND: url(pix/tab/rtlbg.gif) no-repeat right top;
|
||||
float: right;
|
||||
MARGIN: 0px;
|
||||
width: 130px;
|
||||
BACKGROUND: url(pix/tab/rtlbg.gif) no-repeat right top;
|
||||
}
|
||||
|
||||
.tabrow0 A SPAN {
|
||||
padding: 10px 0px 0.35em 0px; BACKGROUND: none;
|
||||
padding: 10px 0px 0.35em 0px;
|
||||
BACKGROUND: none;
|
||||
}
|
||||
|
||||
.tabrow0 A {
|
||||
PADDING-LEFT: 0px !important; MARGIN: 0px; BACKGROUND-IMAGE: none;
|
||||
PADDING-LEFT: 0px !important;
|
||||
MARGIN: 0px;
|
||||
BACKGROUND-IMAGE: none;
|
||||
}
|
||||
|
||||
.tabrow0 A:hover,
|
||||
.tabrow0 A:hover span,
|
||||
.tabrow0 .here A:hover,
|
||||
.tabrow0 .here A:hover span {
|
||||
BACKGROUND-IMAGE: none
|
||||
BACKGROUND-IMAGE: none
|
||||
}
|
||||
|
||||
.tabrow0 ul a {
|
||||
PADDING-LEFT: 0px;
|
||||
PADDING-LEFT: 0px;
|
||||
}
|
||||
|
||||
UL.tabrow1 {
|
||||
right: 0px;
|
||||
width: 800px; /* must have absolute width here, otherwise IE makes a total mess */
|
||||
min-width: 100%;
|
||||
UL.tabrow1 {
|
||||
right: 0px;
|
||||
width: 800px;
|
||||
|
||||
/* must have absolute width here, otherwise IE makes a total mess */
|
||||
min-width: 100%;
|
||||
}
|
||||
|
||||
UL.tabrow1 li {
|
||||
float: right;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.tabtree * { width: auto; }
|
||||
.tabtree * {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* ========================
|
||||
overrides styles_ie6
|
||||
======================== */
|
||||
|
||||
FORM.mform INPUT { margin-left: 5px !important; margin-right: -5px !important; }
|
||||
|
||||
FORM.mform INPUT {
|
||||
margin-left: 5px !important;
|
||||
margin-right: -5px !important;
|
||||
}
|
||||
|
||||
/* ========================
|
||||
for htmlarea editor
|
||||
======================== */
|
||||
|
||||
.htmlarea { direction: rtl; }
|
||||
form#adminsettings div.htmlarea { clear: right; }
|
||||
|
||||
.htmlarea {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
form#adminsettings div.htmlarea {
|
||||
clear: right;
|
||||
}
|
@ -255,6 +255,10 @@ table.formtable tbody th {
|
||||
*** Admin
|
||||
***/
|
||||
|
||||
.admin .generalboxcontent {
|
||||
background-color:#EEEEEE;
|
||||
}
|
||||
|
||||
.admin .generalbox {
|
||||
border-color:#BBBBBB;
|
||||
background-color:#EEEEEE;
|
||||
@ -371,8 +375,9 @@ table.flexible .r1 {
|
||||
}
|
||||
|
||||
.environmenttable .ok {
|
||||
background-color : lightgreen;
|
||||
background-color : lime;
|
||||
}
|
||||
|
||||
/***
|
||||
*** Blocks
|
||||
***/
|
||||
@ -772,6 +777,9 @@ table.message_search_results td {
|
||||
border-color: #DDD;
|
||||
}
|
||||
.que .incorrect {
|
||||
}
|
||||
|
||||
.que.multianswer .incorrect {
|
||||
background-color: #faa;
|
||||
}
|
||||
.que .partiallycorrect {
|
||||
|
@ -51,4 +51,4 @@ form.mform textarea {
|
||||
|
||||
.que .info {
|
||||
margin-left: 0.6em;
|
||||
}
|
||||
}
|
@ -42,11 +42,17 @@
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
/*fix for misalignment of text fields in ie */
|
||||
form.mform input[type=text],
|
||||
form.mform input[type=file],
|
||||
form.mform input[type=password] {
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
form.mform textarea {
|
||||
margin-left: -10px;
|
||||
}
|
||||
}
|
||||
|
||||
form.mform .fcheckbox input {
|
||||
margin-left: -3px;
|
||||
}
|
||||
|
@ -582,7 +582,7 @@ form#adminsettings div.htmlarea {
|
||||
|
||||
/* form frozen */
|
||||
div.mform div.fitem div.fstatic{
|
||||
border-color : lightgrey;
|
||||
border-color : lime;
|
||||
border-style : dashed;
|
||||
border-width : thin;
|
||||
}
|
||||
@ -2912,7 +2912,7 @@ form#tag-management-form {
|
||||
/* autocomplete start*/
|
||||
#relatedtags-autocomplete-container
|
||||
{
|
||||
margin-left::auto;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
min-height:4.6em;
|
||||
width:100%;
|
||||
@ -2922,7 +2922,7 @@ form#tag-management-form {
|
||||
position:relative;
|
||||
display:block;
|
||||
width:60%;
|
||||
margin-left::auto;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
#relatedtags-autocomplete .yui-ac-content
|
||||
|
Loading…
x
Reference in New Issue
Block a user