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:
Frederic Massart 2016-04-12 16:06:03 +08:00
parent 56537316f6
commit dee226a94d
2 changed files with 42 additions and 0 deletions

View File

@ -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;
}

View 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;
}