MDL-55388 theme_noname: Adjustments for RTL

Part of MDL-55071
This commit is contained in:
Frederic Massart 2016-08-02 11:59:16 +08:00 committed by Dan Poltawski
parent 11efad5ccc
commit 92e32fc45c
4 changed files with 19 additions and 3 deletions

View file

@ -3,10 +3,14 @@ $iconSpritePath: "[[pix:theme|glyphicons-halflings]]" !default;
$iconWhiteSpritePath: "[[pix:theme|glyphicons-halflings-white]]" !default;
$breadcrumb-divider: "" !default;
$breadcrumb-divider-rtl: "" !default;
// Import the bootstrap variables.
@import "bootstrap/bootstrap";
// Specific overrides to make Bootstrap RTL.
@import "moodle/bootstrap-rtl";
// Old Moodle stuff from base theme.
// Massive, needs broken up.
@import "moodle/core";

View file

@ -0,0 +1,7 @@
.breadcrumb-item {
+ .breadcrumb-item::before {
content: "#{$breadcrumb-divider-rtl}";
/*rtl:remove*/
content: "#{$breadcrumb-divider}";
}
}

View file

@ -1183,6 +1183,7 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
}
.moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd .yui3-widget-buttons {
padding: 5px;
right: 0;
}
.moodle-dialogue-base .closebutton {
@extend .close;

View file

@ -33,11 +33,15 @@ form {
margin-bottom: 4px;
}
.mform fieldset.collapsible legend a.fheader {
padding: 0 5px 0 20px;
margin-left: -20px;
background: url([[pix:t/expanded]]) 2px center no-repeat;
padding: 0 5px 0 18px;
margin-left: -18px;
background: url([[pix:t/expanded]]) 0 center no-repeat;
}
.mform fieldset.collapsed legend a.fheader {
/*rtl:raw:
background-image: url([[pix:t/collapsed_rtl]]);
*/
/*rtl:remove*/
background-image: url([[pix:t/collapsed]]);
}
.jsenabled .mform .collapsed .fcontainer {