Skip to content

Commit

Permalink
MDL-39684 theme: RTL align of restrictions label in file manager
Browse files Browse the repository at this point in the history
  • Loading branch information
FMCorz committed Jan 13, 2014
1 parent 12efa52 commit fdbb039
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 17 deletions.
3 changes: 2 additions & 1 deletion theme/base/style/filemanager.css
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ a.ygtvspacer:hover {color:transparent;text-decoration:none;}
/*
* File Manager layout
*/
.fp-restrictions{text-align:right;}
.filemanager .fp-restrictions {text-align:right;}
.filemanager .fp-navbar {background:#F2F2F2;border-top:1px solid #BBBBBB;border-left:1px solid #BBBBBB;border-right:1px solid #BBBBBB;}
.filemanager-toolbar {min-height:40px;}
.fp-pathbar {border-top:1px solid #BBBBBB;padding:5px 8px 1px;min-height:20px;}
Expand Down Expand Up @@ -421,6 +421,7 @@ a.ygtvspacer:hover {color:transparent;text-decoration:none;}
.dir-rtl .filepicker .yui-layout-unit-center {left:0;}
.dir-rtl #filemenu .yuimenuitemlabel {text-align:right;}
.dir-rtl .filemanager-container .yui3-skin-sam .yui3-datatable-header {text-align:right;}
.dir-rtl .filemanager .fp-restrictions { text-align: left; }


/**
Expand Down
42 changes: 27 additions & 15 deletions theme/bootstrapbase/less/moodle/filemanager.less
Original file line number Diff line number Diff line change
Expand Up @@ -783,8 +783,10 @@ a.ygtvspacer:hover {
display: none;
}
// File Manager layout
.fp-restrictions{
text-align: right;
.filemanager {
.fp-restrictions{
text-align: right;
}
}
.filemanager .fp-navbar {
background: #F2F2F2;
Expand Down Expand Up @@ -1171,17 +1173,27 @@ a.ygtvspacer:hover {
.file-picker div.bd {
text-align: left;
}

// RTL Overrides
.dir-rtl .file-picker div.bd,
.dir-rtl .file-picker .fp-pathbar,
.dir-rtl .file-picker .fp-list,
.dir-rtl #filemenu .yuimenuitemlabel,
.dir-rtl .filemanager-container .yui3-skin-sam .yui3-datatable-header {
text-align: right;
}
.dir-rtl .filepicker .yui-layout-unit-left {
left: 500px;
}
.dir-rtl .filepicker .yui-layout-unit-center {
left: 0;
}
.dir-rtl {
.filemanager {
.fp-restrictions{
text-align: left;
}
}
.file-picker div.bd,
.file-picker .fp-pathbar,
.file-picker .fp-list,
#filemenu .yuimenuitemlabel,
.filemanager-container .yui3-skin-sam .yui3-datatable-header {
text-align: right;
}
.filepicker {
.yui-layout-unit-left {
left: 500px;
}
.yui-layout-unit-center {
left: 0;
}
}
}
2 changes: 1 addition & 1 deletion theme/bootstrapbase/style/moodle.css

Large diffs are not rendered by default.

0 comments on commit fdbb039

Please sign in to comment.