mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-55388 theme_noname: Adjustments for RTL
Part of MDL-55071
This commit is contained in:
parent
11efad5ccc
commit
92e32fc45c
4 changed files with 19 additions and 3 deletions
|
@ -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";
|
||||
|
|
7
theme/noname/scss/moodle/bootstrap-rtl.scss
vendored
Normal file
7
theme/noname/scss/moodle/bootstrap-rtl.scss
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
.breadcrumb-item {
|
||||
+ .breadcrumb-item::before {
|
||||
content: "#{$breadcrumb-divider-rtl}";
|
||||
/*rtl:remove*/
|
||||
content: "#{$breadcrumb-divider}";
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue