MDL-55224 theme_noname: RTL adjustments for auto-flipping era

Part of MDL-55071
This commit is contained in:
Frederic Massart 2016-07-28 20:11:17 +08:00 committed by Dan Poltawski
parent 1d987cae5f
commit ed7844b5f4
50 changed files with 114 additions and 880 deletions

View File

@ -15,9 +15,6 @@
.path-admin-tool-lp .progress .bar {
min-width: 3em;
}
.dir-rtl.path-admin-tool-lp .progress .bar {
float: right;
}
.path-admin-tool-lp [data-region="managecompetencies"] ul[data-enhance="tree"],
.path-admin-tool-lp [data-region="plans"] ul[data-enhance="tree"],
.path-admin-tool-lp [data-region="competencylinktree"] ul[data-enhance="linktree"],
@ -63,10 +60,6 @@
margin-left: 10px;
}
.dir-rtl.path-admin-tool-lp [data-region="managecompetencies"] .row-fluid [class*="span"] {
float: right;
}
.path-admin-tool-lp [data-region="link-buttons"],
.path-admin-tool-lp [data-region="move-buttons"] {
text-align: center;
@ -77,10 +70,6 @@
height: 400px;
}
.dir-rtl.path-admin-tool-lp [data-region="filtercompetencies"] input {
margin-right: 10px;
}
.path-admin-tool-lp span.currentdragtarget {
border: 1px dashed;
}
@ -102,11 +91,6 @@
.path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-type"] label {
padding-right: 10px;
}
.dir-rtl.path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-outcome"] label,
.dir-rtl.path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-type"] label {
padding-left: 10px;
padding-right: 0;
}
.path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-outcome"] label,
.path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-outcome"] select,
.path-admin-tool-lp [data-region="competencyruleconfig"] [data-region="rule-type"] label,
@ -181,11 +165,6 @@
margin-left: -120px;
}
.dir-rtl .tool-lp-menu.tool-lp-menu-open-left .tool-lp-sub-menu {
margin-left: 0px;
margin-right: -120px;
}
/** This highlighting is copied from bootstrap - but can be overridden by a theme */
.tool-lp-menu .tool-lp-sub-menu .menu-focus a {
color: #fff ;
@ -234,17 +213,3 @@ input[type="checkbox"].tool_lp_scale_proficient {
max-width: 100%;
box-sizing: border-box;
}
/** Broader RTL changes */
.dir-rtl.path-admin-tool-lp .pull-left {
float: right;
}
.dir-rtl.path-admin-tool-lp .pull-right {
float: left;
}
.dir-rtl.path-admin-tool-lp dd {
margin-right: 10px;
}
.dir-rtl.path-admin-tool-lp ul.inline {
margin-right: 0;
}

View File

@ -5,7 +5,3 @@
.block_activity_results table.grades .name{text-align: left; width:77%;}
.block_activity_results table.grades .grade {text-align: right;}
.block_activity_results table.grades caption {font-weight: bold; font-size: 18px;}
.dir-rtl .block_activity_results table.grades {text-align: right;}
.dir-rtl .block_activity_results table.grades .number{text-align: right;}
.dir-rtl .block_activity_results table.grades .name{text-align: right;}

View File

@ -7,10 +7,6 @@
text-align: right;
}
.dir-rtl .block_course_overview .categorypath{
text-align: left;
}
.block_course_overview .content {
margin: 0 20px;
}
@ -26,9 +22,6 @@
.block_course_overview .profilepicture {
float: left;
}
.dir-rtl.block_course_overview .profilepicture {
float:right;
}
.block_course_overview .welcome_area {
width: 100%;
padding-bottom: 5px;
@ -41,18 +34,12 @@
border-collapse: separate;
clear: none;
}
.dir-rtl .block_course_overview .welcome_message {
float:right;
}
.block_course_overview .content h2.title {
float: left;
margin: 0 0 .5em 0;
position: relative;
}
.dir-rtl .block_course_overview .content h2.title {
float:right;
}
.block_course_overview .course_title {
position: relative;
@ -67,10 +54,6 @@
float: left;
padding: 2px 10px 0 0;
}
.dir-rtl.editing .block_course_overview .move {
float:right;
padding: 2px 10px;
}
.block_course_overview .course_list {
width: 100%;
@ -83,23 +66,16 @@
.block_course_overview .activity_info {
clear: both;
}
.dir-rtl .block_course_overview .activity_info {
margin-right: 25px;
}
.block_course_overview .activity_overview {
padding: 2px;
}
.block_course_overview .activity_overview img.iconlarge { vertical-align: text-bottom; margin-right: 6px; }
.dir-rtl .block_course_overview .activity_overview img.iconlarge { margin-left: 6px; margin-right: 0;}
.block_course_overview .singleselect {
text-align: left;
margin: 0;
}
.dir-rtl .block_course_overview .singleselect {
text-align: right;
}
.block_course_overview .content .course_list .movehere{
margin-bottom: 15px;

View File

@ -4,6 +4,3 @@
.block_messages .content .list li.listentry .message {float:right;}
.block_messages .content .info {text-align:center;}
.block_messages .content .footer {clear:both;}
.dir-rtl .block_messages .content .list li.listentry .user {float:right;}
.dir-rtl .block_messages .content .list li.listentry .message {float:left;}

View File

@ -13,18 +13,12 @@
.block_navigation .block_tree [aria-expanded="false"] {background-image: url('[[pix:t/collapsed]]');}
.block_navigation .block_tree [aria-expanded="true"].emptybranch {background-image: url('[[pix:t/collapsed_empty]]');}
.block_navigation .block_tree [aria-expanded="false"].loading {background-image: url('[[pix:i/loading_small]]');}
/*rtl:raw:
.block_navigation .block_tree [aria-expanded="false"] {background-image: url('[[pix:t/collapsed_rtl]]');}
.block_navigation .block_tree [aria-expanded="true"].emptybranch {background-image: url('[[pix:t/collapsed_empty_rtl]]');}
.block_navigation .block_tree [aria-expanded="false"].loading {background-image: url('[[pix:i/loading_small]]');}
*/
.block_navigation .block_tree [aria-hidden="false"] {display: block;}
.block_navigation .block_tree [aria-hidden="true"] {display: none;}
/** Internet explorer specific rules **/
.ie6 .block_navigation .block_tree .tree_item {width:100%;}
/** Overide for RTL layout **/
.dir-rtl .block_navigation .block_tree p.hasicon {padding-left: 0px; padding-right: 21px;}
.dir-rtl .block_navigation .block_tree .tree_item {background-position: 100% 50%;}
.dir-rtl .block_navigation .block_tree .tree_item.branch {padding-right: 21px; padding-left: 0;}
.dir-rtl .block_navigation .block_tree [aria-expanded="false"] {background-image: url('[[pix:t/collapsed_rtl]]');}
.dir-rtl .block_navigation .block_tree [aria-expanded="true"].emptybranch {background-image: url('[[pix:t/collapsed_empty_rtl]]');}
.dir-rtl .block_navigation .block_tree [aria-expanded="false"].loading {background-image: url('[[pix:i/loading_small]]');}
.dir-rtl .block_navigation .block_tree .tree_item img {margin-right: 0; margin-left: 5px;}
.dir-rtl .block_navigation .block_tree ul {margin: 0 16px 0 0;}
.block_navigation .block_tree [aria-hidden="true"] {display: none;}

View File

@ -3,6 +3,3 @@
.block_online_users .content .list li.listentry .user .userpicture { vertical-align: text-bottom;}
.block_online_users .content .list li.listentry .message {float:right; margin-top: 3px;}
.block_online_users .content .info {text-align:center;}
.dir-rtl .block_online_users .content .list li.listentry .user {float:right;}
.dir-rtl .block_online_users .content .list li.listentry .message {float:left;}

View File

@ -2,5 +2,3 @@
.block_recent_activity .activityhead {text-align:center;}
.block_recent_activity .unlist li {margin-bottom:1em;}
.block_recent_activity li .head .date {float:right;}
.dir-rtl .block_recent_activity .content h3 {text-align: right;}

View File

@ -11,18 +11,12 @@
.block_settings .block_tree [aria-expanded="false"] {background-image: url('[[pix:t/collapsed]]');}
.block_settings .block_tree [aria-expanded="true"].emptybranch {background-image: url('[[pix:t/collapsed_empty]]');}
.block_settings .block_tree [aria-expanded="false"].loading {background-image: url('[[pix:i/loading_small]]');}
/*rtl:raw:
.block_settings .block_tree [aria-expanded="false"] {background-image: url('[[pix:t/collapsed_rtl]]');}
.block_settings .block_tree [aria-expanded="true"].emptybranch {background-image: url('[[pix:t/collapsed_empty_rtl]]');}
.block_settings .block_tree [aria-expanded="false"].loading {background-image: url('[[pix:i/loading_small]]');}
*/
.block_settings .block_tree [aria-hidden="false"] {display: block;}
.block_settings .block_tree [aria-hidden="true"] {display: none;}
/** Internet explorer specific rules **/
.ie6 .block_settings .block_tree .tree_item {width:100%;}
/** Overide for RTL layout **/
.dir-rtl .block_settings .block_tree p.hasicon {padding-left: 0px; padding-right: 21px;}
.dir-rtl .block_settings .block_tree .tree_item {background-position: 100% 50%;}
.dir-rtl .block_settings .block_tree .tree_item.branch {padding-right: 21px; padding-left: 0;}
.dir-rtl .block_settings .block_tree [aria-expanded="false"] {background-image: url('[[pix:t/collapsed_rtl]]');}
.dir-rtl .block_settings .block_tree [aria-expanded="true"].emptybranch {background-image: url('[[pix:t/collapsed_empty_rtl]]');}
.dir-rtl .block_settings .block_tree [aria-expanded="false"].loading {background-image: url('[[pix:i/loading_small]]');}
.dir-rtl .block_settings .block_tree .tree_item img {margin-right: 0; margin-left: 5px;}
.dir-rtl .block_settings .block_tree ul {margin: 0 16px 0 0;}

View File

@ -11,7 +11,6 @@
border: 0;
background-color: inherit;
}
.dir-rtl .block_site_main_menu li .buttons { float: left; }
.block_site_main_menu li .buttons a img{ vertical-align: text-bottom;}
.block_site_main_menu .footer { margin-top: 1em; }
.block_site_main_menu .section_add_menus noscript div { display: inline;}

View File

@ -1,5 +1,4 @@
.block_social_activities li { clear: both; }
.block_social_activities li .column { width: 100%; }
.block_social_activities li .buttons { float: right; margin: 0; }
.dir-rtl .block_social_activities li .buttons { float: left; }
.block_social_activities li .buttons a img{ vertical-align: text-bottom;}

View File

@ -891,16 +891,11 @@ function calendar_top_controls($type, $data) {
$calendarlink->param('course', $data['id']);
}
if (right_to_left()) {
$left = $nextlink;
$right = $prevlink;
} else {
$left = $prevlink;
$right = $nextlink;
}
$prevlink = $prevlink;
$right = $nextlink;
$content .= html_writer::start_tag('div', array('class'=>'calendar-controls'));
$content .= $left.'<span class="hide"> | </span>';
$content .= $prevlink.'<span class="hide"> | </span>';
$content .= html_writer::tag('span', html_writer::link($calendarlink, userdate($time, get_string('strftimemonthyear')), array('title'=>get_string('monththis','calendar'))), array('class'=>'current'));
$content .= '<span class="hide"> | </span>'. $right;
$content .= "<span class=\"clearer\"><!-- --></span>\n";
@ -916,18 +911,10 @@ function calendar_top_controls($type, $data) {
$calendarlink->param('course', $data['id']);
}
if (right_to_left()) {
$left = $nextlink;
$right = $prevlink;
} else {
$left = $prevlink;
$right = $nextlink;
}
$content .= html_writer::start_tag('div', array('class'=>'calendar-controls'));
$content .= $left.'<span class="hide"> | </span>';
$content .= $prevlink.'<span class="hide"> | </span>';
$content .= html_writer::tag('span', html_writer::link($calendarlink, userdate($time, get_string('strftimemonthyear')), array('title'=>get_string('monththis','calendar'))), array('class'=>'current'));
$content .= '<span class="hide"> | </span>'. $right;
$content .= '<span class="hide"> | </span>'. $nextlink;
$content .= "<span class=\"clearer\"><!-- --></span>";
$content .= html_writer::end_tag('div');
break;
@ -951,18 +938,10 @@ function calendar_top_controls($type, $data) {
$prevlink = calendar_get_link_previous(userdate($prevmonthtime, get_string('strftimemonthyear')), 'view.php?view=month'.$courseid.'&amp;', false, false, false, false, $prevmonthtime);
$nextlink = calendar_get_link_next(userdate($nextmonthtime, get_string('strftimemonthyear')), 'view.php?view=month'.$courseid.'&amp;', false, false, false, false, $nextmonthtime);
if (right_to_left()) {
$left = $nextlink;
$right = $prevlink;
} else {
$left = $prevlink;
$right = $nextlink;
}
$content .= html_writer::start_tag('div', array('class'=>'calendar-controls'));
$content .= $left . '<span class="hide"> | </span>';
$content .= $prevlink . '<span class="hide"> | </span>';
$content .= $OUTPUT->heading(userdate($time, get_string('strftimemonthyear')), 2, 'current');
$content .= '<span class="hide"> | </span>' . $right;
$content .= '<span class="hide"> | </span>' . $nextlink;
$content .= '<span class="clearer"><!-- --></span>';
$content .= html_writer::end_tag('div')."\n";
break;
@ -980,18 +959,10 @@ function calendar_top_controls($type, $data) {
$prevlink = calendar_get_link_previous($prevname, 'view.php?view=day'.$courseid.'&amp;', false, false, false, false, $prevtimestamp);
$nextlink = calendar_get_link_next($nextname, 'view.php?view=day'.$courseid.'&amp;', false, false, false, false, $nexttimestamp);
if (right_to_left()) {
$left = $nextlink;
$right = $prevlink;
} else {
$left = $prevlink;
$right = $nextlink;
}
$content .= html_writer::start_tag('div', array('class'=>'calendar-controls'));
$content .= $left;
$content .= $prevlink;
$content .= '<span class="hide"> | </span><span class="current">'.userdate($time, get_string('strftimedaydate')).'</span>';
$content .= '<span class="hide"> | </span>'. $right;
$content .= '<span class="hide"> | </span>'. $nextlink;
$content .= "<span class=\"clearer\"><!-- --></span>";
$content .= html_writer::end_tag('div')."\n";

View File

@ -60,10 +60,6 @@
content: url([[pix:t/add]]);
padding-right:2px;
}
.dir-rtl.jsenabled .gradingform_guide .markingguidecomment:before {
padding-right: 0;
padding-left: 2px;
}
.gradingform_guide .commentheader {font-weight:bold;font-size:1.1em;padding-bottom:5px;}
.jsenabled .gradingform_guide .criterionnamelabel {display: none;}

View File

@ -101,7 +101,6 @@
.gradingform_rubric.editor .criterion .controls .delete input {width:12px;height:12px;background: transparent url([[pix:t/delete]]) no-repeat center top; margin: .3em .3em 0 .3em;}
.gradingform_rubric.editor .criterion .controls .duplicate input {width:12px;height:12px;background: transparent url([[pix:t/copy]]) no-repeat center top; margin: .3em .3em 0 .3em;}
.gradingform_rubric.editor .levels .level .delete input {width:12px;height:16px;background: transparent url([[pix:t/delete]]) no-repeat center center; }
.dir-rtl .gradingform_rubric.editor .levels .level .delete input { margin-right: .45em; margin-left: 0; }
.gradingform_rubric.editor .moveup input {width:12px;height:12px;background: transparent url([[pix:t/up]]) no-repeat center top; margin: .3em .3em 0 .3em; }
.gradingform_rubric.editor .movedown input {width:12px;height:12px;background: transparent url([[pix:t/down]]) no-repeat center top; margin: .3em .3em 0 .3em; }

View File

@ -31,10 +31,6 @@
border-right-width: 0;
margin-bottom: 2em;
}
.dir-rtl.path-grade-report-grader .gradeparent table {
border-left-width: 0;
border-right-width: 1px;
}
/**
* All the cells.
@ -48,11 +44,6 @@
text-align: right;
white-space: nowrap;
}
.dir-rtl.path-grade-report-grader .gradeparent .cell {
border-left-width: 1px;
border-right-width: 0;
text-align: left;
}
/**
* Stripped table.
@ -81,11 +72,6 @@
font-weight: normal;
text-align: left;
}
.dir-rtl.path-grade-report-grader .gradeparent .heading .cell,
.dir-rtl.path-grade-report-grader .gradeparent .avg .cell,
.dir-rtl.path-grade-report-grader .gradeparent .user.cell {
text-align: right;
}
/**
* All the floating cells.
@ -116,9 +102,6 @@
font-weight: normal;
text-align: left;
}
.dir-rtl.path-grade-report-grader .gradeparent .userfield {
text-align: right;
}
/**
* The footer's header.
@ -141,10 +124,6 @@
.path-grade-report-grader .gradeparent .avg .cell {
text-align: right;
}
.dir-rtl.path-grade-report-grader .gradeparent .avg .cell {
text-align: left;
}
/**
* Content styling.
*/
@ -156,10 +135,6 @@
.path-grade-report-grader .gradeparent .sorticon {
margin-left: 3px;
}
.dir-rtl.path-grade-report-grader .gradeparent .sorticon {
margin-left: 0;
margin-right: 3px;
}
.path-grade-report-grader .gradeparent .gradevalue {
display: inline-block;
}
@ -183,9 +158,6 @@
font-size: 9px;
float: left;
}
.dir-rtl.path-grade-report-grader .gradeparent .excludedfloater {
float: right;
}
.path-grade-report .gradeparent .floater .controls.cell,
.path-grade-report-grader .gradeparent .controls {
@ -194,9 +166,6 @@
.path-grade-report-grader .gradeparent .category {
text-align: left;
}
.dir-rtl.path-grade-report-grader .gradeparent .category {
text-align: right;
}
/**
* Editing fields.
@ -219,10 +188,6 @@
padding: 0;
margin-left: 10px;
}
.dir-rtl.path-grade-report-grader .gradeparent .quickfeedback {
margin-left: 0;
margin-right: 10px;
}
.path-grade-report-grader .yui3-overlay {
border: 0;

View File

@ -88,18 +88,3 @@
.gradereport_history_usp .usp-finish input {
margin: 0;
}
.dir-rtl .gradereport_history_usp .usp-search-results .usp-user {
text-align: right;
}
.dir-rtl .gradereport_history_usp .usp-picture,
.dir-rtl .gradereport_history_usp .usp-checkbox {
float: right;
}
.dir-rtl .gradereport_history_usp .usp-user .details {
margin-right: 67px;
margin-left: 0;
}
.dir-rtl .gradereport_history_usp input.usp-search-btn {
margin-right: 5px;
}

View File

@ -9,21 +9,11 @@
text-align: right;
clear: both;
}
.dir-rtl.path-grade-report-singleview div.groupselector,
.dir-rtl.path-grade-report-singleview div.reporttable form div.singleview_buttons,
.dir-rtl.path-grade-report-singleview div.selectitems {
text-align: left;
}
.path-grade-report-singleview div.singleselect+div.singleselect select,
.path-grade-report-singleview div.groupselector select {
margin-right: 0px;
}
dir-rtl.path-grade-report-singleview div.singleselect+div.singleselect select,
dir-rtl.path-grade-report-singleview div.groupselector select {
margin-right: 10px;
margin-left: 0px;
}
.path-grade-report-singleview div.reporttable div.singleselect form div {
text-align: center;
@ -66,15 +56,9 @@ dir-rtl.path-grade-report-singleview div.groupselector select {
.path-grade-report-singleview itemnav.previtem {
float:left;
}
.path-grade-report-singleview.dir-rtl div.previtem {
float:right;
}
.path-grade-report-singleview div.nextitem {
float:right;
}
.path-grade-report-singleview.dir-rtl div.nextitem {
float:left;
}
.path-grade-report-singleview .reporttable {
width: 100%;
}
@ -82,18 +66,11 @@ dir-rtl.path-grade-report-singleview div.groupselector select {
text-align: left;
}
.dir-rtl.path-grade-report-singleview .reporttable th {
text-align: right;
}
.path-grade-report-singleview div.reporttable form div.singleview_bulk {
display: inline-block;
text-align: left;
margin-bottom: 1em;
}
.dir-rtl.path-grade-report-singleview div.reporttable form div.singleview_bulk {
text-align: right;
}
.path-grade-report-singleview .singleview_bulk div > *,
.path-grade-report-singleview .singleview_bulk fieldset > * {
@ -109,7 +86,6 @@ dir-rtl.path-grade-report-singleview div.groupselector select {
margin-right: 10px;
}
.path-grade-report-singleview .singleview_bulk > fieldset {
display: block;
}
@ -118,6 +94,3 @@ dir-rtl.path-grade-report-singleview div.groupselector select {
margin-bottom: 0.5em;
text-align: left;
}
.dir-rtl.path-grade-report-singleview div.reporttable form .singleview_bulk > div.enable {
text-align: right;
}

View File

@ -20,12 +20,6 @@
min-width: 4.5em;
vertical-align: top;
}
.dir-rtl.path-grade-report-user .user-grade td {
direction: ltr;
}
.dir-rtl.path-grade-report-user table.user-grade {
border-collapse: separate;
}
.path-grade-report-user .user-grade .b1l {
padding: 0;
width:24px;
@ -48,22 +42,3 @@
.path-grade-report-user .user-grade .baggb {
font-weight: bold;
}
.dir-rtl.path-grade-report-user #graded_users_selector {
float: left;
}
.dir-rtl.path-grade-report-user .user-grade th {
text-align:right;
}
.dir-rtl.path-grade-report-user .user-grade tbody .column-itemname {
padding-right: 0;
padding-left: 8px;
}
.dir-rtl.path-grade-report-user .user-grade .column-itemname.item,
.dir-rtl.path-grade-report-user .user-grade .gradeitemdescription {
padding-right: 24px;
}
.dir-rtl.path-grade-report-user .user-grade .column-itemname.baggt,
.dir-rtl.path-grade-report-user .user-grade .column-itemname.baggb {
padding-right: 24px;
}

View File

@ -126,20 +126,6 @@ div.editor_atto_toolbar div.atto_group {
margin: 0 0 5px 0;
}
/* RTL Rules */
body.dir-rtl div.editor_atto_toolbar button + button {
border-left: 0;
border-right: 1px solid #CCC;
}
body.dir-rtl div.editor_atto_toolbar img.icon {
padding: 0;
}
body.dir-rtl div.editor_atto_toolbar div.atto_group {
margin: 9px 9px 0 0;
}
.atto_control {
position: absolute;
right: -6px;
@ -183,7 +169,8 @@ div.editor_atto_content:hover .atto_control {
.editor_atto_wrap {
position: relative;
}
.dir-rtl .editor_atto_wrap textarea {
/*rtl:ignore*/
.editor_atto_wrap textarea {
direction: ltr;
}
.editor_atto_notification{
@ -214,14 +201,3 @@ div.editor_atto_content:hover .atto_control {
.editor_atto + textarea {
box-sizing: border-box;
}
.dir-rtl .editor_atto_notification .atto_info,
.dir-rtl .editor_atto_notification .atto_warning {
border-bottom-right-radius: 1em;
border-bottom-left-radius: 1em;
}
.dir-ltr .editor_atto_notification {
right: 0;
}
.dir-rtl .editor_atto_notification {
left: 0;
}

View File

@ -17,8 +17,4 @@
.o2k7Skin tr.mceFirst .mceToolbar tr td.mceWrap {
margin-left: -3px;
}
.dir-rtl .o2k7Skin tr.mceLast .mceToolbar tr td.mceWrap,
.dir-rtl .o2k7Skin tr.mceFirst .mceToolbar tr td.mceWrap {
margin-left: 0px;
}
}

View File

@ -67,9 +67,6 @@
left: 20px;
top: 60px;
}
.dir-rtl .assignfeedback_editpdf_widget .assignfeedback_editpdf_unsavedchanges {
float: right;
}
.yui3-colourpicker-hidden,
.yui3-commentsearch-hidden,
.yui3-commentmenu-hidden {
@ -155,10 +152,6 @@
float: left;
}
.dir-rtl .assignfeedback_editpdf_widget .navigation-search,
.dir-rtl .assignfeedback_editpdf_widget .navigation {
float: right;
}
.assignfeedback_editpdf_widget .toolbar button {
box-shadow: none;
-moz-box-shadow: none;
@ -167,9 +160,6 @@
.assignfeedback_editpdf_widget .toolbar {
float: right;
}
.dir-rtl .assignfeedback_editpdf_widget .toolbar {
float: left;
}
.assignfeedback_editpdf_widget .navigation,
.assignfeedback_editpdf_widget .navigation-search,
.assignfeedback_editpdf_widget .toolbar {
@ -193,9 +183,6 @@
.assignfeedback_editpdf_commentmenu a.delete_quicklist_comment {
float: right;
}
.dir-rtl .assignfeedback_editpdf_commentmenu a.delete_quicklist_comment {
float: left;
}
.assignfeedback_editpdf_dropdown button {
border: 0px;
background: none;
@ -279,13 +266,6 @@ ul.assignfeedback_editpdf_menu {
line-height: 14px;
}
.dir-rtl .assignfeedback_editpdf_widget .commentdrawable a {
float: left;
right: -17px;
border-left: 0px;
border-right: 1px solid #ccc;
}
.assignfeedback_editpdf_widget .commentdrawable textarea {
padding: 4px;
padding-right: 20px;
@ -303,10 +283,6 @@ ul.assignfeedback_editpdf_menu {
display: inline-block;
}
.dir-rtl .assignfeedback_editpdf_widget .commentdrawable textarea {
padding-left: 20px;
padding-right: 4px;
}
.assignfeedback_editpdf_widget .drawingcanvas .loading .progressbarlabel {
text-align: center;
}

View File

@ -241,10 +241,6 @@
text-align: right;
}
.path-mod-assign.dir-rtl.jsenabled .mod-assign-history-link h4 {
text-align: right;
}
.path-mod-assign.jsenabled .mod-assign-history-link-open {
padding: 0 5px 0 20px; background: url([[pix:t/expanded]]) 2px center no-repeat;
}
@ -253,9 +249,11 @@
padding: 0 5px 0 20px; background: url([[pix:t/collapsed]]) 2px center no-repeat;
}
.path-mod-assign.dir-rtl.jsenabled .mod-assign-history-link-closed {
padding: 0 20px 0 5px; background: url([[pix:t/collapsed_rtl]]) 2px center no-repeat;
/*rtl:raw:
.path-mod-assign.jsenabled .mod-assign-history-link-closed {
background-image: url([[pix:t/collapsed_rtl]]);
}
*/
.path-mod-assign .submithelp {
padding: 1em;
@ -318,13 +316,6 @@
.path-mod-assign [data-region="user-selector"] [data-action="next-user"] {
margin-left: -10px;
}
.dir-rtl.path-mod-assign [data-region="user-selector"] [data-action="next-user"] {
margin-right: -10px;
}
.dir-rtl.path-mod-assign [data-region="user-selector"] .alignment {
float: left;
}
.path-mod-assign [data-region="user-selector"] .alignment input {
margin-bottom: 5px;
@ -344,9 +335,6 @@
.path-mod-assign [data-region="user-selector"] .form-autocomplete-suggestions {
margin-left: 48px;
}
.dir-rtl.path-mod-assign [data-region="user-selector"] .form-autocomplete-suggestions {
margin-right: 64px;
}
.path-mod-assign [data-region="user-filters"] {
font-size: small;
@ -392,12 +380,6 @@
border-bottom-color: #fff;
}
.path-mod-assign.dir-rtl [data-region="configure-filters"] {
text-align: right;
margin-left: 0;
margin-right: -140px;
}
.path-mod-assign [data-region="configure-filters"] label {
padding: 3px 20px;
}
@ -434,10 +416,6 @@
margin-top: -3px;
margin-right: 10px;
}
.dir-rtl.path-mod-assign [data-region="user-info"] .img-rounded {
float: right;
margin-left: 10px;
}
.path-mod-assign [data-region="user-info"] em {
display: block;
@ -880,9 +858,6 @@
.path-mod-assign #page-content [data-region="grade-panel"] [data-region="popout-button"] {
float: right;
}
.dir-rtl.path-mod-assign #page-content [data-region="grade-panel"] [data-region="popout-button"] {
float: left;
}
.path-mod-assign #page-content [data-region="grade-panel"] .mform:not(.unresponsive) .fitem.popout .fitemtitle [data-region="popout-button"] img {
margin-top: -10px;
@ -962,6 +937,7 @@
height: 60px;
}
/*rtl:ignore*/
.path-mod-assign [data-region="grade-actions-panel"] [data-region="grade-actions"] .collapse-buttons {
position: absolute;
top: 0;
@ -970,7 +946,6 @@
margin: 0;
height: 100%;
line-height: 60px;
direction: ltr;
}
.path-mod-assign [data-region="grade-actions"] {
@ -1134,31 +1109,6 @@
float: none;
margin: 0 auto 10px;
}
.dir-rtl.path-mod-assign [data-region="review-panel"] .pageheader {
padding-right: 40px;
padding-left: 20px;
}
.dir-rtl.path-mod-assign [data-region="review-panel"] [data-region="review-panel-toggle"] {
left: auto;
right: 0;
border-radius: 0 0 0 4px;
}
.dir-rtl.path-mod-assign [data-region="review-panel"].collapsed {
right: 0;
left: auto;
}
.dir-rtl.path-mod-assign [data-region="review-panel"] [data-region="review-panel-toggle"] .expand-icon .ltr-icon {
display: none;
}
.dir-rtl.path-mod-assign [data-region="review-panel"] [data-region="review-panel-toggle"] .expand-icon .rtl-icon {
display: block;
}
.dir-rtl.path-mod-assign [data-region="review-panel"].collapsed [data-region="review-panel-toggle"] .collapse-icon {
display: none;
}
.dir-rtl.path-mod-assign [data-region="review-panel"].collapsed [data-region="review-panel-toggle"] .expand-icon {
display: block;
}
}
/** Start of CSS to make forms vertical in the grading panel (taken from theme/bootstrapbase/less/moodle/forms.less). */
@ -1205,22 +1155,6 @@
padding: 6px;
}
.dir-rtl.path-mod-assign [data-region="grade-panel"] .mform .femptylabel .fitemtitle {
margin-right: 0px;
margin-left: 8px;
}
.dir-rtl.path-mod-assign [data-region="grade-panel"] .mform .fitem .fitemtitle {
text-align: right;
}
.dir-rtl.path-mod-assign [data-region="grade-panel"] .mform .fitem .felement {
margin-right: 0;
float: right;
padding-right: 0;
padding-left: 0;
}
.dir-rtl.path-mod-assign [data-region="grade-panel"] .mform .fitem_checkbox .felement {
float: right;
}
/** End of CSS to make forms vertical in the grading panel (taken from theme/bootstrapbase/less/moodle/forms.less). */
/** Styles to fix base theme **/

View File

@ -12,10 +12,6 @@
.path-mod-book .navtop {
text-align: right;
}
.dir-rtl.path-mod-book .navbottom,
.dir-rtl.path-mod-book .navtop {
text-align: left;
}
.path-mod-book .navtop {
margin-bottom: 0.5em;
}
@ -30,7 +26,6 @@
padding-left: 0;
padding-right: 0;
}
.dir-rtl.path-mod-book .block_book_toc ul { margin: 0 5px 0 0; }
.path-mod-book .block_book_toc li {
clear: both;
list-style: none;
@ -40,14 +35,11 @@
list-style: none;
}
.path-mod-book .block_book_toc .action-list { float: right; }
.dir-rtl.path-mod-book .block_book_toc .action-list { float: left; }
.path-mod-book .block_book_toc .action-list img.smallicon {
margin: 0 3px;
}
/* toc style NONE */
.path-mod-book .book_toc_none ul ul,
.dir-rtl.path-mod-book .book_toc_none ul ul {
.path-mod-book .book_toc_none ul ul{
margin-left: 0;
margin-right: 0;
}
@ -56,10 +48,6 @@
.path-mod-book .book_toc_bullets ul ul {
margin-left: 20px;
}
.dir-rtl.path-mod-book .book_toc_bullets ul ul {
margin-left: 0;
margin-right: 20px;
}
.path-mod-book .book_toc_bullets li li {
list-style: circle;
}
@ -72,17 +60,9 @@
.path-mod-book .book_toc_indented ul {
margin-left: 5px;
}
.dir-rtl.path-mod-book .book_toc_indented ul {
margin-left: 0;
margin-right: 5px;
}
.path-mod-book .book_toc_indented ul ul {
margin-left: 15px;
}
.dir-rtl.path-mod-book .book_toc_indented ul ul {
margin-left: 0;
margin-right: 15px;
}
.path-mod-book .book_toc_indented li li {
list-style: none;
}
@ -102,17 +82,10 @@
float: left;
text-align: left;
}
.dir-rtl .navtop.navtext a.bookprev,
.dir-rtl .navbottom.navtext a.bookprev {
float: right;
text-align: right;
}
@media (max-width: 480px) {
.path-mod-book .navbottom,
.path-mod-book .navtop,
.dir-rtl.path-mod-book .navbottom,
.dir-rtl.path-mod-book .navtop {
.path-mod-book .navtop {
text-align: center;
}
.navtop.navtext a,
@ -122,9 +95,7 @@
margin: auto;
}
.navtop.navtext a.bookprev,
.navbottom.navtext a.bookprev,
.dir-rtl .navtop.navtext a.bookprev,
.dir-rtl .navbottom.navtext a.bookprev {
.navbottom.navtext a.bookprev {
float: none;
}
}

View File

@ -151,45 +151,3 @@
float: none;
clear: both;
}
/**
* Override for RTL layout
*/
.path-mod-choice.dir-rtl .horizontal .choices .option {
padding-right: 0px;
padding-left: 20px;
float: right;
}
.path-mod-choice.dir-rtl .results.anonymous .graph.horizontal {
text-align: right;
}
.path-mod-choice.dir-rtl .results.anonymous {
text-align: center;
}
.path-mod-choice.dir-rtl .results.names .cell {
text-align: right;
}
.path-mod-choice.dir-rtl .results.names .user .attemptaction,
.path-mod-choice.dir-rtl .results.names .user .image,
.path-mod-choice.dir-rtl .results.names .user .fullname,
.path-mod-choice.dir-rtl .results.names .user .fullname {
padding-left: 0px;
padding-right: 5px;
}
.path-mod-choice.dir-rtl .downloadreport {
margin-left: 0;
margin-right: 25%;
}
#page-mod-choice-report.dir-rtl .downloadreport ul li {
float: right;
}
#page-mod-choice-view.dir-rtl .reportlink {
text-align: left;
}

View File

@ -71,10 +71,6 @@
}
#page-mod-data-templates #availabletags_wrapper {max-width:250px;}
.dir-rtl .mod-data-default-template .template-field {text-align:left;}
.dir-rtl .mod-data-default-template .template-token {text-align:right;}
.dir-rtl .mod-data-default-template searchcontrols {text-align:left;}
#page-mod-data-edit .req {
cursor: help;
}
@ -87,11 +83,3 @@
#page-mod-data-edit .mod-data-input {
margin-left: 10px;
}
.dir-rtl#page-mod-data-edit .inline-req {
text-align: right;
}
.dir-rtl#page-mod-data-edit .mod-data-input {
margin-left: 0px;
margin-right: 10px;
}

View File

@ -86,26 +86,6 @@ body.path-mod-feedback #region-main .mform.feedback_form .feedback-item-pagebrea
padding: 6px;
}
body.dir-rtl.path-mod-feedback #region-main .mform.feedback_form .femptylabel .fitemtitle {
margin-right: 0px;
margin-left: 0;
}
.dir-rtl.path-mod-feedback .mform.feedback_form .fitem .fitemtitle {
text-align: right;
}
.dir-rtl.path-mod-feedback .mform.feedback_form .fitem .felement {
margin-right: 0;
float: right;
padding-right: 0;
padding-left: 0;
}
.dir-rtl.path-mod-feedback .mform.feedback_form .fitem_fcheckbox .felement {
float: right;
}
.path-mod-feedback .mform.feedback_form#feedback_viewresponse_form .fitem.feedback_hasvalue:not(.feedback-item-captcha) .felement {
background: #FBFBF1;
min-height: 1em;
@ -198,19 +178,23 @@ body.dir-rtl.path-mod-feedback #region-main .mform.feedback_form .femptylabel .f
left: -50%;
position: relative;
}
.dir-rtl.path-mod-feedback .response_navigation .next_response:after,
.path-mod-feedback .response_navigation .prev_response:before {
/*rtl:raw:
content: ' ► ';
*/
/*rtl:remove*/
content: ' ◄ ';
}
.dir-rtl.path-mod-feedback .response_navigation .prev_response:before,
.path-mod-feedback .response_navigation .next_response:after {
/*rtl:raw:
content: ' ◄ ';
*/
/*rtl:remove*/
content: ' ► ';
}
.dir-rtl.path-mod-feedback .response_navigation .prev_response,
.path-mod-feedback .response_navigation .next_response {
float: right;
}
.dir-rtl.path-mod-feedback .response_navigation .next_response,
.path-mod-feedback .response_navigation .prev_response {
float: left;
}

View File

@ -44,15 +44,6 @@
.forumpost .post-word-count { font-size: .85em; font-style: italic; }
.forumpost .shortenedpost .post-word-count { display: inline; padding: 0 .3em; }
.dir-rtl .forumpost .row .topic,
.dir-rtl .forumpost .row .content-mask,
.dir-rtl .forumpost .row .options {margin-right:43px;margin-left:0;}
.dir-rtl .forumpost .row .left {float:right;}
.dir-rtl.path-mod-forum .indent {
margin-right: 3%;
margin-left: 0;
}
.path-mod-forum .forumolddiscuss,
#page-mod-forum-search .c0 {text-align:right;}
.path-mod-forum .indent {
@ -102,7 +93,6 @@
#page-mod-forum-index .unread img,
#page-mod-forum-view .unread img {margin-left: 5px;}
#page-mod-forum-view .unread img {margin-left: 5px;}
.dir-rtl#page-mod-forum-view .unread img {margin-right: 5px; margin-left: 0; }
/** Unknown Styles ??? */
#email .unsubscribelink {margin-top:20px;}
@ -139,19 +129,23 @@ span.unread {
margin: 0;
list-style: none;
}
.dir-rtl.path-mod-forum .discussion-nav .next-discussion:after,
.path-mod-forum .discussion-nav .prev-discussion:before {
/*rtl:raw:
content: ' ► ';
*/
/*rtl:remove*/
content: ' ◄ ';
}
.dir-rtl.path-mod-forum .discussion-nav .prev-discussion:before,
.path-mod-forum .discussion-nav .next-discussion:after {
/*rtl:raw:
content: ' ◄ ';
*/
/*rtl:remove*/
content: ' ► ';
}
.dir-rtl.path-mod-forum .discussion-nav .prev-discussion,
.path-mod-forum .discussion-nav .next-discussion {
float: right;
}
.dir-rtl.path-mod-forum .discussion-nav .next-discussion,
.path-mod-forum .discussion-nav .prev-discussion {
float: left;
}
@ -175,15 +169,6 @@ span.unread {
padding: 0 4px;
}
.dir-rtl .path-mod-forum .discussionsubscription {
text-align: left;
}
#page-mod-forum-view img.timedpost {
margin-right: 5px;
}
.dir-rtl#page-mod-forum-view img.timedpost {
margin: 3px 0 0 5px;
float: right;
}

View File

@ -35,7 +35,6 @@
#page-mod-glossary-print .mod-glossary-entrylist .mod-glossary-entry { vertical-align: top; }
#page-mod-glossary-print .displayprinticon,
.path-mod-glossary.dir-rtl .glossarypost {text-align: right;}
#page-mod-glossary-print .displaydate {text-align: right; font-size: 0.75em;}
#page-mod-glossary-print .strong {font-weight: bold;}

View File

@ -55,34 +55,12 @@
margin-bottom: 0px;
}
.path-mod-lesson.dir-rtl .answeroption .fcheckbox > span {
float: right;
}
.path-mod-lesson.dir-rtl .answeroption .fcheckbox input,
.path-mod-lesson.dir-rtl .answeroptiongroup .fgroup input {
left: inherit;
right: 0;
}
.path-mod-lesson.dir-rtl .answeroption .fcheckbox label,
.path-mod-lesson.dir-rtl .mform .fitem.answeroptiongroup fieldset.fgroup label {
padding-left: 0;
padding-right: 20px;
float: right;
}
/**
* Style for view.php
**/
#page-mod-lesson-view .password-form .submitbutton {display: inline;}
.path-mod-lesson .reviewessay {width:40%; border:1px solid #DDDDDD; background-color: #EEEEEE;}
.path-mod-lesson.dir-rtl .contents,
.path-mod-lesson.dir-rtl .standardtable,
.path-mod-lesson.dir-rtl .mform .box.contents,
.path-mod-lesson.dir-rtl .invisiblefieldset.fieldsetfix tr {text-align: right;}
/* Countdown timer. */
#lesson-timer {
text-align: center;

View File

@ -276,10 +276,6 @@
text-align: left;
}
.dir-rtl .tool-card-subheader {
text-align: right;
}
.tool-card-header .tool-card-icon {
width: 35px;
height: 35px;
@ -294,21 +290,12 @@
float: right;
}
.dir-rtl .tool-card-header .tool-card-actions {
float: left;
}
.tool-card-header .tool-card-actions img {
width: 15px;
height: 15px;
margin-left: 7px;
}
.dir-rtl .tool-card-header .tool-card-actions img {
margin-left: 0px;
margin-right: 7px;
}
.tool-card-body {
border-top: 1px solid #e5e5e5;
box-sizing: border-box;

View File

@ -18,19 +18,11 @@
text-align: left;
padding-top: 1.5em;
}
#page-mod-quiz-attempt.dir-rtl .submitbtns,
#page-mod-quiz-review.dir-rtl .submitbtns {
text-align: right;
}
#page-mod-quiz-attempt .submitbtns .mod_quiz-next-nav,
#page-mod-quiz-review .submitbtns .mod_quiz-next-nav {
float: right;
}
#page-mod-quiz-attempt.dir-rtl .submitbtns .mod_quiz-next-nav,
#page-mod-quiz-review.dir-rtl .submitbtns .mod_quiz-next-nav {
float: left;
}
.path-mod-quiz .mod_quiz-redo_question_button {
margin: 0;
@ -129,9 +121,6 @@ body.jsenabled .questionflagcheckbox {
font-weight: bold;
text-decoration: none;
}
.path-mod-quiz.dir-rtl .qnbutton {
float: right;
}
.path-mod-quiz .qnbutton:visited:hover,
.path-mod-quiz .qnbutton:link:hover {
text-decoration: underline;
@ -267,9 +256,6 @@ body.jsenabled .questionflagcheckbox {
width: 23%;
clear: none;
}
#page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr .fitem {
float: right;
}
#page-mod-quiz-mod #id_reviewoptionshdr .fitemtitle {
width: 100%;
@ -278,9 +264,6 @@ body.jsenabled .questionflagcheckbox {
height: 2.5em;
margin-left: 0;
}
#page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr .fitemtitle {
text-align: right;
}
#page-mod-quiz-mod #id_reviewoptionshdr fieldset.fgroup {
clear: left;
@ -291,10 +274,6 @@ body.jsenabled .questionflagcheckbox {
clear: left;
line-height: 1.7;
}
#page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr fieldset.fgroup > span {
float: right;
clear: right;
}
#page-mod-quiz-mod #id_reviewoptionshdr fieldset.fgroup span label {
margin-left: 0.4em;
}
@ -331,9 +310,6 @@ table.quizattemptsummary .noreviewmessage {
#page-mod-quiz-view .generalbox#feedback h3 {
text-align: left;
}
#page-mod-quiz-view.dir-rtl .generalbox#feedback h3 {
text-align: center;
}
#page-mod-quiz-view .generalbox#feedback .overriddennotice {
text-align: center;
font-size: 0.7em;
@ -398,12 +374,7 @@ body.path-mod-quiz table tbody tr.gradedattempt > td {
display:inline;
margin-left:20%;
}
.dir-rtl .quizattemptcounts {
margin-left:0;
margin-right: 20%;
}
#page-mod-quiz-view .quizattemptcounts,
.dir-rtl #page-mod-quiz-view .quizattemptcounts {
#page-mod-quiz-view .quizattemptcounts {
display: block;
margin-left: 0;
margin-right: 0;
@ -445,9 +416,6 @@ table.quizreviewsummary td.cell {
text-align: left;
background: #fafafa;
}
.dir-rtl table.quizreviewsummary td.cell {
text-align: right;
}
/** Mod quiz make comment or override grade popup. **/
#page-mod-quiz-comment .mform {
@ -542,10 +510,6 @@ table.quizreviewsummary td.cell {
vertical-align: text-bottom;
padding-left: 6px;
}
.dir-rtl#page-mod-quiz-report table#attempts .questionflag {
padding-right: 6px;
padding-left: 0;
}
#page-mod-quiz-report .graph.flexible-wrap {
text-align: center;
@ -587,10 +551,6 @@ table.quizreviewsummary td.cell {
margin: -2.85em 0 0;
padding: .2em;
}
#page-mod-quiz-edit.dir-rtl .maxgrade,
#page-mod-quiz-edit.dir-rtl .totalpoints {
float: left;
}
#page-mod-quiz-edit .maxgrade label {
display: inline;
}
@ -614,10 +574,6 @@ table.quizreviewsummary td.cell {
position: absolute;
right: 0;
}
#page-mod-quiz-edit.dir-rtl .add-menu-outer {
right: auto;
left: 0;
}
#page-mod-quiz-edit .slotnumber {
background-color: #D3D3D3;
@ -729,9 +685,6 @@ table.quizreviewsummary td.cell {
display: inline-block;
text-align: right;
}
#page-mod-quiz-edit.dir-rtl ul.slots li.section li.activity .instancemaxmark {
text-align: left;
}
#page-mod-quiz-edit ul.slots li.section li.activity .page_split_join_wrapper {
position: absolute;
}
@ -740,11 +693,6 @@ table.quizreviewsummary td.cell {
left: -20px;
top: -7px;
}
#page-mod-quiz-edit.dir-rtl ul.slots li.section li.activity .page_split_join {
left: auto;
right: -20px;
}
#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_0 {
min-width: 1.3em;
}
@ -789,10 +737,6 @@ table.quizreviewsummary td.cell {
top: 0;
right: 0;
}
#page-mod-quiz-edit.dir-rtl ul.slots li.section li.activity .question_dependency_wrapper {
left: 0;
right: auto;
}
#page-mod-quiz-edit ul.slots li.section li.activity .question_dependency_wrapper.question_dependency_cannot_depend {
display: none;
}
@ -803,11 +747,6 @@ table.quizreviewsummary td.cell {
left: 20px;
top: -1em;
}
#page-mod-quiz-edit.dir-rtl ul.slots li.section li.activity .question_dependency_wrapper .currentlink,
#page-mod-quiz-edit.dir-rtl ul.slots li.section li.activity .question_dependency_wrapper .cm-edit-action {
right: 20px;
left: auto;
}
#page-mod-quiz-edit ul.slots li.section li.activity .activityinstance {
display: block;
@ -817,18 +756,10 @@ table.quizreviewsummary td.cell {
left: 5em;
width: 100%;
}
#page-mod-quiz-edit.dir-rtl ul.slots li.section li.activity .activityinstance {
left: auto;
right: 5em;
}
#page-mod-quiz-edit ul.slots li.section li.activity .mod-indent-outer {
padding-left: 22px;
}
#page-mod-quiz-edit.dir-rtl ul.slots li.section li.activity .mod-indent-outer {
padding-left: 0;
padding-right: 22px;
}
#page-mod-quiz-edit ul.slots .activityinstance form {
display: inline;
@ -836,10 +767,6 @@ table.quizreviewsummary td.cell {
#page-mod-quiz-edit span.editinstructions {
right: 0;
}
#page-mod-quiz-edit.dir-rtl span.editinstructions {
left: 0;
right: auto;
}
#page-mod-quiz-edit ul.slots .activityinstance span.instancename {
overflow-x: hidden;
@ -871,9 +798,6 @@ table.quizreviewsummary td.cell {
margin: .2em 0 0;
padding: 0;
}
#page-mod-quiz-edit.dir-rtl ul.slots .activityinstance img.activityicon {
float: right;
}
#page-mod-quiz-edit .section .activity .actions {
white-space: nowrap;
@ -940,10 +864,6 @@ table#categoryquestions {
white-space: nowrap;
text-overflow: ellipsis;
}
.dir-rtl #categoryquestions .questiontext {
padding-left: 0;
padding-right: 0.3em;
}
#categoryquestions .questionname {
white-space: nowrap;
overflow: hidden;

View File

@ -282,5 +282,3 @@
#page-mod-scorm-player #scormpage div.yui3-g-r img {
max-width: 100%;
}
.dir-rtl#page-mod-scorm-player #scormpage span.yui3-treeview-icon {float:right;}

View File

@ -136,12 +136,10 @@
border: thin solid black;
}
.wiki_restore_yes, .wiki_deletecomment_yes,
.dir-rtl .wiki_restore_no, .dir-rtl .wiki_deletecomment_no {
.wiki_restore_yes, .wiki_deletecomment_yes {
float: left;
}
.wiki_restore_no, .wiki_deletecomment_no,
.dir-rtl .wiki_restore_yes, .dir-rtl .wiki_deletecomment_yes {
.wiki_restore_no, .wiki_deletecomment_no {
float: right;
}
@ -163,10 +161,6 @@
float: right;
}
.dir-rtl .wiki_diffuserleft {
float: left;
}
.wiki_diffuserright {
float: left;
}
@ -310,10 +304,6 @@ a.wiki_edit_section {
text-align: left;
}
.dir-rtl #wiki_printable_content {
text-align: right;
}
#wiki_printable_content a {
color: black;
}

View File

@ -95,11 +95,6 @@
.path-mod-workshop .submission-full .header .userdate {
margin: 0px 0px 0px 80px;
}
.dir-rtl.path-mod-workshop .submission-full .header .title,
.dir-rtl.path-mod-workshop .submission-full .header .author,
.dir-rtl.path-mod-workshop .submission-full .header .userdate {
margin: 0px 80px 0px 0px;
}
.path-mod-workshop .submission-full.anonymous .header .title,
.path-mod-workshop .submission-full.anonymous .header .author,
.path-mod-workshop .submission-full.anonymous .header .userdate {
@ -131,10 +126,6 @@
top: 3px;
left: 3px;
}
.dir-rtl.path-mod-workshop .submission-full .header .author .picture{
right:3px;
left:auto;
}
.path-mod-workshop .submission-full .content,
.path-mod-workshop .submission-full .attachments {
@ -310,9 +301,6 @@
min-height: 16px;
margin: .3em 0;
}
.dir-rtl.path-mod-workshop .userplan tr.phasetasks li {
background-position: top right;
}
.path-mod-workshop .userplan tr.phasetasks li.completed {
background-image: url([[pix:mod_workshop|userplan/task-done]]);
@ -335,17 +323,11 @@
.path-mod-workshop .userplan tr.phasetasks .title {
padding: 0px 10px 0px 20px;
}
.dir-rtl.path-mod-workshop .userplan tr.phasetasks .title {
padding: 0px 20px 0px 10px;
}
.path-mod-workshop .userplan tr.phasetasks .details {
padding: 0px 10px 0px 25px;
font-size: 80%;
}
.dir-rtl.path-mod-workshop .userplan tr.phasetasks .details {
padding: 0px 25px 0px 10px;
}
/**
* Assessment - full display
@ -372,12 +354,6 @@
.path-mod-workshop .assessment-full .header .weight {
margin: 0px 0px 0px 40px;
}
.dir-rtl.path-mod-workshop .assessment-full .header .title,
.dir-rtl.path-mod-workshop .assessment-full .header .reviewer,
.dir-rtl.path-mod-workshop .assessment-full .header .grade,
.dir-rtl.path-mod-workshop .assessment-full .header .weight {
margin: 0px 40px 0px 0px;
}
.path-mod-workshop .assessment-full.anonymous .header .title,
.path-mod-workshop .assessment-full.anonymous .header .reviewer,
@ -391,10 +367,6 @@
top: 3px;
left: 3px;
}
.dir-rtl.path-mod-workshop .assessment-full .header .reviewer .picture {
right:3px;
left:auto;
}
.path-mod-workshop .assessment-full .header .actions {
position: absolute;

View File

@ -6,16 +6,14 @@
width: 30%;
}
/* Numeric INPUT text boxes should be left aligned in RTL mode
*/
#page-question-type-calculated.dir-rtl input[name^="answer"],
#page-question-type-calculated.dir-rtl input[name^="unit"],
#page-question-type-calculated.dir-rtl input[name^="multiplier"],
#page-question-type-calculated.dir-rtl input[name^="calcmax"],
#page-question-type-calculated.dir-rtl input[name^="calcmin"],
#page-question-type-calculated.dir-rtl input[name^="number"],
#page-question-type-calculated.dir-rtl input[name^="tolerance"]
{
/*rtl:ignore*/
#page-question-type-calculated input[name^="answer"],
#page-question-type-calculated input[name^="unit"],
#page-question-type-calculated input[name^="multiplier"],
#page-question-type-calculated input[name^="calcmax"],
#page-question-type-calculated input[name^="calcmin"],
#page-question-type-calculated input[name^="number"],
#page-question-type-calculated input[name^="tolerance"] {
direction: ltr;
text-align: left;
}

View File

@ -22,10 +22,6 @@
padding: 0;
width: 15px;
}
.dir-rtl .que.multichoice .answer div.r0,
.dir-rtl .que.multichoice .answer div.r1 {
padding: 0.3em 25px 0.3em 0;
}
/* Editing form. */
body#page-question-type-multichoice div[id^=fitem_id_][id*=answer_] {
@ -49,13 +45,6 @@ body#page-question-type-multichoice div[id^=fitem_id_] .fitemtitle{
padding-right: 0px;
}
body.dir-rtl#page-question-type-multichoice div[id^=fitem_id_] .fitemtitle {
margin-left: 0px;
margin-right: 0px;
padding-left: 0px;
padding-right: 6px;
}
body#page-question-type-multichoice div[id^=fitem_id_][id*=fraction_] {
background: #EEE;
margin-bottom: 0;

View File

@ -6,14 +6,12 @@
width: 30%;
}
/* Numeric INPUT text boxes should be left aligned in RTL mode
*/
#page-question-type-numerical.dir-rtl input[name="unitpenalty"],
#page-question-type-numerical.dir-rtl input[name^="answer"],
#page-question-type-numerical.dir-rtl input[name^="tolerance"],
#page-question-type-numerical.dir-rtl input[name^="multiplier"],
#page-question-type-numerical.dir-rtl input[name^="unit"]
{
/*rtl:ignore*/
#page-question-type-numerical input[name="unitpenalty"],
#page-question-type-numerical input[name^="answer"],
#page-question-type-numerical input[name^="tolerance"],
#page-question-type-numerical input[name^="multiplier"],
#page-question-type-numerical input[name^="unit"] {
direction: ltr;
text-align: left;
}

View File

@ -1,21 +0,0 @@
.dir-rtl.path-report-competency [data-region="competency-breakdown-report"] .row-fluid [class*="span"] {
float: right;
}
/** Broader RTL changes. */
.dir-rtl.path-report-competency .pull-left {
float: right;
}
.dir-rtl.path-report-competency .pull-right {
float: left;
}
.dir-rtl.path-report-competency dd {
margin-right: 10px;
}
.dir-rtl.path-report-competency ul.inline {
margin-right: 0;
}
.dir-rtl.path-report-competency .table th,
.dir-rtl.path-report-competency .table td {
text-align: right;
}

View File

@ -7,6 +7,7 @@
text-align: center;
list-style: none;
}
#page-report-completion-index.dir-rtl #completion-progress th svg {
/*rtl:ignore*/
#page-report-completion-index #completion-progress th svg {
direction: ltr;
}

View File

@ -38,34 +38,3 @@
margin-left: 0;
}
}
#page-admin-report-eventlist-index.dir-rtl dt {
float: right;
text-align: left;
width: 20em;
}
#page-admin-report-eventlist-index.dir-rtl dd {
display: block;
text-align: right;
margin-right: 22em;
}
#page-admin-report-eventlist-index.dir-rtl dd + dd {
clear: right;
}
@media (max-width : 767px) {
#page-admin-report-eventlist-index.dir-rtl dt {
width: 100%;
text-align: right;
}
#page-admin-report-eventlist-index.dir-rtl dd {
margin-right: 0em;
}
#page-admin-report-eventlist-index.dir-rtl dd + dd {
margin-right: 0em;
}
}

View File

@ -22,6 +22,7 @@
display: inline;
margin-left: 2em;
}
#page-report-progress-index.dir-rtl #completion-progress th svg {
/*rtl:ignore*/
#page-report-progress-index #completion-progress th svg {
direction: ltr;
}

View File

@ -226,76 +226,6 @@
}
}
// RTL overrides for main calendar.
.dir-rtl.path-calendar {
.cal_courses_flt {
float: right;
label {
margin-left: .45em;
margin-right: 0;
}
}
.maincalendar {
.calendar_event_course,
.calendar_event_global,
.calendar_event_group,
.calendar_event_user {
border-left-width: 1px;
border-right-width: 12px;
}
.calendar-controls {
.next {
text-align: left;
}
.previous {
text-align: right;
}
}
.calendartable {
td,
li {
text-align: right;
}
li {
padding-right: 10px;
padding-left: 5px;
}
}
.header {
.buttons {
float: left;
}
}
.eventlist {
.event {
> img {
float: right;
}
.name {
float: right;
}
.date {
float: left;
}
.description {
.commands {
right: inherit;
left: 0;
}
}
.course,
.subscription {
float: right;
clear: right;
}
.commands {
left: 2px;
right: inherit;
}
}
}
}
}
// Calendar export.
#page-calendar-export {
.indent {

File diff suppressed because one or more lines are too long

View File

@ -25,14 +25,8 @@
// Get the HTML for the settings bits.
$html = theme_clean_get_html_for_settings($OUTPUT, $PAGE);
// Set default (LTR) layout mark-up for a two column page (side-pre-only).
$regionmain = 'span9 pull-right';
$sidepre = 'span3 desktop-first-column';
// Reset layout mark-up for RTL languages.
if (right_to_left()) {
$regionmain = 'span9 desktop-first-column';
$sidepre = 'span3 pull-right';
}
echo $OUTPUT->doctype() ?>
<html <?php echo $OUTPUT->htmlattributes(); ?>>

View File

@ -31,18 +31,10 @@
// Get the HTML for the settings bits.
$html = theme_clean_get_html_for_settings($OUTPUT, $PAGE);
// Set default (LTR) layout mark-up for a three column page.
$regionmainbox = 'span9 desktop-first-column';
$regionmain = 'span8 pull-right';
$sidepre = 'span4 desktop-first-column';
$sidepost = 'span3 pull-right';
// Reset layout mark-up for RTL languages.
if (right_to_left()) {
$regionmainbox = 'span9 pull-right';
$regionmain = 'span8';
$sidepre = 'span4 pull-right';
$sidepost = 'span3 desktop-first-column';
}
echo $OUTPUT->doctype() ?>
<html <?php echo $OUTPUT->htmlattributes(); ?>>

View File

@ -25,18 +25,10 @@
// Get the HTML for the settings bits.
$html = theme_clean_get_html_for_settings($OUTPUT, $PAGE);
// Set default (LTR) layout mark-up for a three column page.
$regionmainbox = 'span9 desktop-first-column';
$regionmain = 'span8 pull-right';
$sidepre = 'span4 desktop-first-column';
$sidepost = 'span3 pull-right';
// Reset layout mark-up for RTL languages.
if (right_to_left()) {
$regionmainbox = 'span9 pull-right';
$regionmain = 'span8';
$sidepre = 'span4 pull-right';
$sidepost = 'span3 desktop-first-column';
}
echo $OUTPUT->doctype() ?>
<html <?php echo $OUTPUT->htmlattributes(); ?>>

View File

@ -143,13 +143,7 @@ $THEME->layouts = [
// $THEME->javascripts = array();
// $THEME->javascripts_footer = array();
$THEME->parents = [];
$THEME->rarrow = '▶';
$THEME->larrow = '◀';
$THEME->enable_dock = false;
$THEME->supportscssoptimisation = false;
$THEME->yuicssmodules = array();
$THEME->rendererfactory = 'theme_overridden_renderer_factory';
$THEME->blockrtlmanipulations = array(
'side-pre' => 'side-post',
'side-post' => 'side-pre'
);

View File

@ -1,8 +1,8 @@
// Set image location.
$iconSpritePath: "[[pix:theme|glyphicons-halflings]]";
$iconWhiteSpritePath: "[[pix:theme|glyphicons-halflings-white]]";
$iconSpritePath: "[[pix:theme|glyphicons-halflings]]" !default;
$iconWhiteSpritePath: "[[pix:theme|glyphicons-halflings-white]]" !default;
$breadcrumb-divider: "";
$breadcrumb-divider: "" !default;
// Import the bootstrap variables.
@import "bootstrap/bootstrap";

View File

@ -124,10 +124,11 @@ a.autolink.glossary:hover {
padding-left: 20px;
background: url([[pix:t/collapsed]]) 2px center no-repeat;
}
/* rtl:ignore */
.dir-rtl .collapsible-actions .collapseexpand {
/*rtl:raw:
.collapsible-actions .collapseexpand {
background: url([[pix:t/collapsed_rtl]]) right center no-repeat;
}
*/
.collapsible-actions .collapse-all {
background-image: url([[pix:t/expanded]]);
}

View File

@ -613,10 +613,11 @@ span.editinstructions {
margin:3px;
background-position:center left;
}
/* rtl:ignore */
.dir-rtl .course_category_tree .category > .info > .categoryname {
/* rtl:raw:
.course_category_tree .category > .info > .categoryname {
background-image:url([[pix:moodle|t/collapsed_empty_rtl]]);
}
*/
.course_category_tree .category.with_children > .info > .categoryname {
background-image:url([[pix:moodle|t/expanded]]);
cursor: pointer;
@ -624,10 +625,11 @@ span.editinstructions {
.course_category_tree .category.with_children.collapsed >.info > .categoryname {
background-image:url([[pix:moodle|t/collapsed]]);
}
/* rtl:ignore */
.dir-rtl .course_category_tree .category.with_children.collapsed > .info > .categoryname {
/* rtl:raw:
.course_category_tree .category.with_children.collapsed > .info > .categoryname {
background-image:url([[pix:moodle|t/collapsed_rtl]]);
}
*/
.course_category_tree .category.collapsed>.content {
display:none;
}

View File

@ -148,18 +148,17 @@
height: 12px;
margin-left: 4px;
}
/*rtl:ignore*/
.dir-rtl .fp-pathbar .fp-path-folder {
background: url('[[pix:theme|fp/path_folder_rtl]]') no-repeat right top;
width: auto;
height: 12px;
margin-left: 4px;
/*rtl:raw:
.fp-pathbar .fp-path-folder {
background-image: url('[[pix:theme|fp/path_folder_rtl]]');
}
/*rtl:ignore*/
.dir-rtl .fp-pathbar span {
*/
/*rtl:raw:
.fp-pathbar span {
display: inline-block;
margin-left: 32px;
}
*/
.fp-pathbar .fp-path-folder-name {
margin-left: 32px;
@ -220,13 +219,12 @@
width: 17px;
height: 22px;
}
/*rtl:ignore*/
.dir-rtl .filemanager .ygtvtn,
.dir-rtl .file-picker .ygtvtn {
/*rtl:raw:
.filemanager .ygtvtn,
.file-picker .ygtvtn {
background: url('[[pix:moodle|y/tn_rtl]]') 0 0 no-repeat;
width: 17px;
height: 22px;
}
*/
// first or middle sibling, collapsable
.file-picker .ygtvtm,
.filemanager .ygtvtm {
@ -251,11 +249,12 @@
height: 12px;
cursor: pointer;
}
/*rtl:ignore*/
.dir-rtl .file-picker .ygtvtp,
.dir-rtl .filemanager .ygtvtp {
/*rtl:raw:
.file-picker .ygtvtp,
.filemanager .ygtvtp {
background: url('[[pix:moodle|y/tp_rtl]]') 0 10px no-repeat;
}
*/
// first or middle sibling, expandable, hover
.file-picker .ygtvtph,
.filemanager .ygtvtph {
@ -264,11 +263,12 @@
height: 22px;
cursor: pointer;
}
/*rtl:ignore*/
.dir-rtl .file-picker .ygtvtph,
.dir-rtl .filemanager .ygtvtph {
/*rtl:raw:
.file-picker .ygtvtph,
.filemanager .ygtvtph {
background: url('[[pix:moodle|y/tp_rtl]]') 0 10px no-repeat;
}
*/
// last sibling, no children
.file-picker .ygtvln,
.filemanager .ygtvln {
@ -276,11 +276,12 @@
width: 17px;
height: 22px;
}
/*rtl:ignore*/
.dir-rtl .file-picker .ygtvln,
.dir-rtl .filemanager .ygtvln {
/*rtl:raw:
.file-picker .ygtvln,
.filemanager .ygtvln {
background: url('[[pix:moodle|y/ln_rtl]]') 0 0 no-repeat;
}
*/
// Last sibling, collapsable
.file-picker .ygtvlm,
.filemanager .ygtvlm {
@ -305,11 +306,12 @@
height: 12px;
cursor: pointer;
}
/*rtl:ignore*/
.dir-rtl .file-picker .ygtvlp,
.dir-rtl .filemanager .ygtvlp {
/*rtl:raw:
.file-picker .ygtvlp,
.filemanager .ygtvlp {
background: url('[[pix:moodle|y/lp_rtl]]') 0 10px no-repeat;
}
*/
// Last sibling, expandable, hover
.file-picker .ygtvlph,
.filemanager .ygtvlph {
@ -318,11 +320,12 @@
height: 12px;
cursor: pointer;
}
/*rtl:ignore*/
.dir-rtl .file-picker .ygtvlph,
.dir-rtl .filemanager .ygtvlph {
/*rtl:raw:
.file-picker .ygtvlph,
.filemanager .ygtvlph {
background: url('[[pix:moodle|y/lp_rtl]]') 0 10px no-repeat;
}
*/
// Loading icon
.file-picker .ygtvloading,
.filemanager .ygtvloading {