mirror of
https://github.com/moodle/moodle.git
synced 2025-01-20 23:18:43 +01:00
644 lines
12 KiB
CSS
Executable File
644 lines
12 KiB
CSS
Executable File
/*******************************************************************
|
|
rtl.css
|
|
|
|
This CSS file contains all layout definitions that are required for
|
|
right-to-left languages. It overrides definitions in other fils to
|
|
move right-floating blocks to the left, align text to the right,
|
|
swap left and right margins, etc.
|
|
|
|
*******************************************************************/
|
|
|
|
body, td, li, div {
|
|
direction: rtl;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
.categorylist .category.number {
|
|
text-align: left;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.categorylist .category.number {
|
|
text-align:left;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.advancedbutton {
|
|
text-align: left;
|
|
}
|
|
|
|
form.mform .fdescription.required {
|
|
text-align: left;
|
|
}
|
|
|
|
/* language selectors */
|
|
|
|
#chooselang_jump {
|
|
direction: ltr;
|
|
}
|
|
|
|
/* on firefox the main layout-table might be pushed to the right by editing buttons **** */
|
|
|
|
#layout-table {
|
|
clear: both;
|
|
}
|
|
|
|
/* admin > appearance > themes > theme settings */
|
|
|
|
#adminsettings .form-label {
|
|
float: right;
|
|
text-align: left;
|
|
}
|
|
|
|
#adminsettings .form-setting {
|
|
text-align: right;
|
|
margin-right: 13em;
|
|
margin-left: 0px;
|
|
}
|
|
|
|
#adminsettings .form-description {
|
|
margin: 0.5em 13em 0em 0pt;
|
|
text-align: right;
|
|
}
|
|
|
|
#id_lang {
|
|
direction: ltr;
|
|
}
|
|
|
|
/* admin > lang > language pack selection */
|
|
|
|
select#pack {
|
|
direction: ltr;
|
|
}
|
|
|
|
select#uninstalllang {
|
|
direction: ltr;
|
|
}
|
|
|
|
/* in forums, fix top and bottom navigation bars' buttons */
|
|
li form .invisiblefieldset {
|
|
display: inline;
|
|
}
|
|
|
|
.mod-forum .indent {
|
|
margin-right: 30px;
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.glossarypost {
|
|
text-align: right;
|
|
}
|
|
|
|
.glossarypost .entryheader {
|
|
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 .skip {
|
|
left: 10em;
|
|
top: -1000em;
|
|
}
|
|
|
|
/* 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 .depth1 {
|
|
padding-right:16px;
|
|
}
|
|
|
|
.block_admin_tree .admintree .depth2 {
|
|
padding-right:32px;
|
|
}
|
|
|
|
.block_admin_tree .admintree .depth3 {
|
|
padding-right:48px;
|
|
}
|
|
|
|
.block_admin_tree .admintree .depth4 {
|
|
padding-right:64px;
|
|
}
|
|
|
|
.block_admin_tree .admintree {
|
|
text-align: right;
|
|
}
|
|
|
|
/* online users block */
|
|
.sideblock img.userpicture {
|
|
margin-right:inherit;
|
|
margin-left:4px;
|
|
}
|
|
|
|
.block_online_users .listentry div.user,
|
|
.block_messages .listentry div.user {
|
|
float: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;
|
|
}
|
|
|
|
#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;
|
|
}
|
|
|
|
/* participants */
|
|
|
|
body#user-index table#participants td, body#user-index table#participants th {
|
|
text-align: right;
|
|
}
|
|
|
|
/* Admin > Security */
|
|
|
|
#adminsettings label {
|
|
text-align: left;
|
|
}
|
|
|
|
#adminsettings select, #adminsettings input {
|
|
margin: 0pt 5pt 0pt 5pt;
|
|
}
|
|
|
|
#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;
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.que .info {
|
|
float: right;
|
|
}
|
|
|
|
.que .prompt {
|
|
float: right;
|
|
}
|
|
|
|
.que {
|
|
text-align: right;
|
|
}
|
|
|
|
.invisiblefieldset {
|
|
display: block;
|
|
}
|
|
|
|
body#mod-quiz-report table#attempts .header {
|
|
text-align: right;
|
|
}
|
|
|
|
#mod-quiz-mod #reviewoptionshdr fieldset.fgroup span {
|
|
clear: right;
|
|
float: right;
|
|
}
|
|
|
|
#mod-quiz-mod #reviewoptionshdr .fitemtitle {
|
|
text-align: right;
|
|
}
|
|
|
|
#mod-quiz-edit div.sideblock{
|
|
float:left;
|
|
}
|
|
#mod-quiz-edit div.quizcontents {
|
|
clear:none;
|
|
}
|
|
#mod-quiz-edit div.quizpage span.pagetitle{
|
|
float:right;
|
|
}
|
|
#mod-quiz-edit div.question div.qnum{
|
|
float:right;
|
|
padding-right:0;
|
|
padding-left:0.3em;
|
|
}
|
|
|
|
#mod-quiz-edit div.question div.content div.points,
|
|
#mod-quiz-edit div.question div.content div.qorder{
|
|
left:50px;
|
|
right:auto;
|
|
|
|
}
|
|
#mod-quiz-edit div.question div.content div.questioncontrols{
|
|
right:auto;
|
|
left:0.3em;
|
|
}
|
|
#mod-quiz-edit div.question div.content div.questioncontrols{
|
|
text-align:left;
|
|
}
|
|
|
|
#mod-quiz-edit div.reorder .reordercontrols .moveselectedonpage{
|
|
clear:left;
|
|
float:left;
|
|
}
|
|
|
|
#mod-quiz-edit div.reorder .reordercontrols .addnewpagesafterselected,#mod-quiz-edit .repaginatecommand{
|
|
float:left;
|
|
clear:left;
|
|
padding-right:auto;
|
|
padding-left:1em;
|
|
}
|
|
|
|
#mod-quiz-edit div.reorder .reordercontrols .deleteselected{
|
|
float:left;
|
|
margin-right:auto;
|
|
margin-left:1em;
|
|
}
|
|
|
|
#mod-quiz-edit div.reorder .reordercontrols{
|
|
padding-right:auto;
|
|
padding-left:1em;
|
|
}
|
|
#mod-quiz-edit div.reorder .reordercontrols .moveselectedonpage{
|
|
text-align:left;
|
|
}
|
|
#mod-quiz-edit div.question div.qnum{
|
|
text-align:left;
|
|
}
|
|
#mod-quiz-edit div.reorder div.question div.qnum{
|
|
text-align:left;
|
|
}
|
|
|
|
|
|
|
|
#mod-quiz-edit .editq div.question div.content .randomquestioncategory a{
|
|
float:right;
|
|
}
|
|
#mod-quiz-edit div.editq div.question div.content .singlequestion a .questionname,
|
|
#mod-quiz-edit div.editq div.question div.content .singlequestion a .questiontext{
|
|
float:right;
|
|
}
|
|
#mod-quiz-edit div.question div.content .questiontype{
|
|
clear:right;
|
|
float:right;
|
|
}
|
|
#mod-quiz-edit .editq div.questioncontentcontainer div.singlequestion img{
|
|
float:right;
|
|
padding-left:0.3em;
|
|
}
|
|
#mod-quiz-edit .editq div.question div.content .questionpreview{
|
|
float:right;
|
|
}
|
|
#mod-quiz-edit div.quizpage .pagecontent{
|
|
float:right;
|
|
margin-left:auto;
|
|
margin-right:0.3em;
|
|
|
|
border-left:none;
|
|
-webkit-border-radius:0.6em;
|
|
border-radius:0.6em;
|
|
-moz-border-radius:0.6em;
|
|
|
|
margin-right:0.3em;
|
|
border-right:solid #777 thin;
|
|
-webkit-border-radius-bottomright:0;
|
|
-webkit-border-radius-topright:0;
|
|
border-radius-bottomright:0;
|
|
border-radius-topright:0;
|
|
-moz-border-radius-bottomright:0;
|
|
-moz-border-radius-topright:0;
|
|
}
|
|
#mod-quiz-edit div.editq div.question div.content{
|
|
float:right;
|
|
-webkit-border-radius:0.6em;
|
|
border-radius:0.6em;
|
|
-moz-border-radius:0.6em;
|
|
-webkit-border-radius-bottomright:0;
|
|
-webkit-border-radius-topright:0;
|
|
border-radius-bottomright:0;
|
|
border-radius-topright:0;
|
|
-moz-border-radius-bottomright:0;
|
|
-moz-border-radius-topright:0;
|
|
|
|
}
|
|
|
|
#mod-quiz-edit .reorder div.question div.content{
|
|
float:right;
|
|
-webkit-border-radius:0.3em;
|
|
border-radius:0.3em;
|
|
-moz-border-radius:0.3em;
|
|
-webkit-border-radius-bottomright:0;
|
|
-webkit-border-radius-topright:0;
|
|
border-radius-bottomright:0;
|
|
border-radius-topright:0;
|
|
-moz-border-radius-bottomright:0;
|
|
-moz-border-radius-topright:0;
|
|
}
|
|
#mod-quiz-edit div.quizpage .pagecontent .pagestatus{
|
|
-webkit-border-radius:0.3em;
|
|
border-radius:0.3em;
|
|
-moz-border-radius:0.3em;
|
|
-webkit-border-radius-bottomright:0;
|
|
-webkit-border-radius-topright:0;
|
|
border-radius-bottomright:0;
|
|
border-radius-topright:0;
|
|
-moz-border-radius-bottomright:0;
|
|
-moz-border-radius-topright:0;
|
|
}
|
|
#mod-quiz-edit .pagecontrols{
|
|
margin-left:auto;
|
|
margin-right:0.5em;
|
|
}
|
|
#mod-quiz-edit .pagecontrols .singlebutton{
|
|
float:right;
|
|
}
|
|
#mod-quiz-edit div.quizpage .pagecontent form.randomquestionform{
|
|
padding-right:1em;
|
|
}
|
|
#mod-quiz-edit div.question{
|
|
clear:right;
|
|
}
|
|
|
|
#mod-quiz-edit h2.main{
|
|
padding-left:1em;
|
|
padding-right:inherit;
|
|
}
|
|
|
|
#mod-quiz-edit .quizpagedelete{
|
|
right:auto;
|
|
left:0.2em;
|
|
}
|
|
|
|
|
|
/* survey */
|
|
#surveyform th {
|
|
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;
|
|
}
|
|
|
|
.form-setting .form-time {
|
|
direction: ltr;
|
|
float:right;
|
|
}
|
|
|
|
/* ========================
|
|
for tabs support
|
|
======================== */
|
|
|
|
.tabrow0 a span {
|
|
background: transparent url(pix/tab/right.gif) no-repeat right top !important;
|
|
}
|
|
|
|
.tabrow0 a {
|
|
background: transparent url(pix/tab/left.gif) no-repeat left top !important;
|
|
}
|
|
|
|
.tabrow0 a:hover {
|
|
background-image: transparent url(pix/tab/left_hover.gif) no-repeat left top !important;
|
|
}
|
|
|
|
.tabrow0 a:hover span {
|
|
background-image: transparent url(pix/tab/right_hover.gif) no-repeat right top !important;
|
|
}
|
|
|
|
.tabrow1 li a {
|
|
background: none !important;
|
|
}
|
|
|
|
.tabrow0 a span {
|
|
padding-left: 0px !important;
|
|
padding-right: 14px !important;
|
|
#padding-left: 14px !important; /* IE only. The # hides from firefox */
|
|
#padding-right: 0px !important; /* IE only. The # hides from firefox */
|
|
}
|
|
|
|
* html body .tabrow0 a { /* IE6 only. Exploit IE's "star html selector bug" to apply to IE6 ONLY */
|
|
#display: inline-block !important;
|
|
#padding: 8px 0 0 13px !important;
|
|
}
|
|
|
|
.tabrow0 div,
|
|
.tabrow0 ul { /* IE7 only. The # hides from firefox. The following rule will override this for IE6 */
|
|
#top: 2.6em !important;
|
|
}
|
|
|
|
* html body .tabrow0 div,
|
|
* html body .tabrow0 ul { /* IE6 only. Exploit IE's "star html selector bug" to apply to IE6 ONLY */
|
|
top: 4.2em !important;
|
|
}
|
|
|
|
@media all and (min-width: 0px) { /* Opera only, the floating # will hide this from Safari */
|
|
.tabrow0 a {
|
|
padding-right: 14px;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.tabrow0 a span {
|
|
padding-left: 14px !important;
|
|
padding-right: 0 !important;
|
|
}
|
|
#
|
|
}
|
|
|
|
|
|
|
|
/* ========================
|
|
overrides styles_ie6
|
|
======================== */
|
|
|
|
FORM.mform INPUT {
|
|
margin-left: 5px !important;
|
|
margin-right: -5px !important;
|
|
}
|
|
|
|
/* ========================
|
|
for htmlarea editor
|
|
======================== */
|
|
|
|
.htmlarea {
|
|
direction: rtl;
|
|
}
|
|
|
|
.htmlarea * select {
|
|
max-width: 100px;
|
|
}
|
|
|
|
.navigation option {
|
|
text-align:right;
|
|
}
|
|
|
|
#navmenupopup option,
|
|
#navmenufooterpopup option {
|
|
padding: 2px 20px 2px 5px;
|
|
background-position: center right;
|
|
}
|
|
|
|
.grade-report-grader table#user-grades th.user {
|
|
text-align:right;
|
|
}
|