mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-53773 competency: RTL styles for report_competency and tool_lp
Notice that some styles are made specific to the plugins because I don't want to take the risk of introducing regressions by patching core so broadly for RTL support.
This commit is contained in:
parent
56537316f6
commit
dee226a94d
@ -15,6 +15,9 @@
|
||||
margin-left: 2em;
|
||||
margin-right: 2em;
|
||||
}
|
||||
.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"],
|
||||
@ -60,6 +63,10 @@
|
||||
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;
|
||||
@ -220,3 +227,17 @@ 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;
|
||||
}
|
||||
|
21
report/competency/styles.css
Normal file
21
report/competency/styles.css
Normal file
@ -0,0 +1,21 @@
|
||||
.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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user