mirror of
https://github.com/moodle/moodle.git
synced 2025-03-23 17:10:20 +01:00
MDL-32479 - RTL Theme fixes for Moodle 2 (theme/base)
Correctly align the filemanager-toolbar , .fp-repo-name , .fp-repo-area , .fp-list .fp-repo .fp-vb-icons , .fp-vb-details , .fp-vb-tree (need more work!) .fp-icon , .fp-filename theme/base/style/core.css theme/base/style/filemanager.css Conflicts: resolved by taking out all non .dir-rtl lines as there were heavy changes to filemanager and filepicker. we can't afford changes or breakage to LTR at this point. theme/base/style/core.css theme/base/style/filemanager.css
This commit is contained in:
parent
cbf4d2f3af
commit
25df8c4e48
@ -447,12 +447,21 @@ body.tag .managelink {padding: 5px;}
|
||||
.dir-rtl .file-picker .ygtvtp {background: url([[pix:moodle|y/tp_rtl]]) 0 0 no-repeat;width:34px;height:22px;cursor:pointer;}
|
||||
.dir-rtl .file-picker .ygtvln {background: url([[pix:moodle|y/ln_rtl]]) 0 0 no-repeat;width:17px;height:22px;}
|
||||
.dir-rtl .file-picker .fp-list {text-align:right;}
|
||||
.dir-rtl .file-picker .fp-toolbar {padding:0;}
|
||||
.dir-rtl .file-picker .fp-list {text-align:right; margin-left: 20px;}
|
||||
.dir-rtl .file-picker .fp-repo-name {display:inline;}
|
||||
.dir-rtl .file-picker .fp-pathbar {text-align: right;}
|
||||
.dir-rtl .file-picker div.bd {text-align:right;}
|
||||
.dir-rtl #filemenu .yuimenuitemlabel {text-align: right;}
|
||||
.dir-rtl .filepicker .yui-layout-unit-left {left:500px;}
|
||||
.dir-rtl .filepicker .yui-layout-unit-center {left:0px;}
|
||||
|
||||
/**
|
||||
* File Manager
|
||||
*/
|
||||
.dir-rtl .filemanager-toolbar a {padding:0px;}
|
||||
.dir-rtl .filemanager-toolbar a:hover {background:none; border:2px solid black}
|
||||
|
||||
/*
|
||||
* Backup and Restore CSS
|
||||
*/
|
||||
|
@ -25,6 +25,7 @@ background: #CCCCCC;filter: progid:DXImageTransform.Microsoft.gradient(startColo
|
||||
*/
|
||||
#filesskin .file-picker.fp-generallayout {width: 724px;background: #FFFFFF;border-radius:10px;border: 1px solid #CCCCCC;position: relative;}
|
||||
.file-picker .fp-repo-area {width:180px;overflow:auto;display:inline-block;border-right:1px solid #BBBBBB;position:absolute;top:26px;bottom:1px;}
|
||||
.dir-rtl .file-picker .fp-repo-area {top:29px;}
|
||||
.file-picker .fp-repo-items {vertical-align:top;display: inline-block;margin-left: 181px;}
|
||||
.file-picker .fp-navbar {background: #F2F2F2;min-height:22px;border-bottom: 1px solid #BBBBBB;padding: 5px 8px;}
|
||||
.file-picker .fp-content {background: #FFFFFF;clear: both;overflow:auto;width: 543px;height: 349px;margin-bottom:-14px;}
|
||||
@ -40,6 +41,7 @@ background: #CCCCCC;filter: progid:DXImageTransform.Microsoft.gradient(startColo
|
||||
.file-picker .fp-list {list-style-type:none;padding:0;float:left;width:100%;margin:0;}
|
||||
.dir-rtl .file-picker .fp-list {text-align:right;}
|
||||
.file-picker .fp-list .fp-repo a{display:block;padding:.5em .7em;}
|
||||
.dir-rtl .file-picker .fp-list .fp-repo a {display:inline;}
|
||||
.file-picker .fp-list .fp-repo.active {background:#F2F2F2;}
|
||||
.file-picker .fp-list .fp-repo-icon {padding: 0px 7px 0px 5px;}
|
||||
|
||||
@ -53,6 +55,7 @@ background: #CCCCCC;filter: progid:DXImageTransform.Microsoft.gradient(startColo
|
||||
.fp-toolbar.empty {display:none;}
|
||||
.fp-toolbar .disabled {display:none;}
|
||||
.fp-toolbar div {display: inline-block;padding: 0px 2px;padding-right: 10px;}
|
||||
.dir-rtl .fp-toolbar div {width:100px;}
|
||||
.fp-toolbar img {vertical-align: -15%; margin-right: 5px;}
|
||||
|
||||
.fp-toolbar .fp-tb-search {width: 228px;height: 14px;}
|
||||
@ -64,12 +67,15 @@ background: #CCCCCC;filter: progid:DXImageTransform.Microsoft.gradient(startColo
|
||||
.dir-rtl .fp-viewbar {float: left;width: 100px;}
|
||||
|
||||
.fp-vb-icons {background:url('[[pix:theme|fp/view_icon_active]]') no-repeat 0 0;width:22px;height:22px;display: inline-block;}
|
||||
.dir-rtl .fp-vb-icons {background:url('[[pix:theme|fp/view_icon_active]]') no-repeat 0 0;}
|
||||
.fp-vb-icons.checked {background:url('[[pix:theme|fp/view_icon_selected]]');}
|
||||
.fp-viewbar.disabled .fp-vb-icons {background:url('[[pix:theme|fp/view_icon_inactive]]');}
|
||||
.fp-vb-details {background:url('[[pix:theme|fp/view_list_active]]') no-repeat 0px 0px;width:23px;height:22px;display: inline-block;margin-left: -4px;}
|
||||
.dir-rtl .fp-vb-details {background:url('[[pix:theme|fp/view_list_active]]') no-repeat 0px 0px;}
|
||||
.fp-vb-details.checked {background:url('[[pix:theme|fp/view_list_selected]]');}
|
||||
.fp-viewbar.disabled .fp-vb-details {background:url('[[pix:theme|fp/view_list_inactive]]');}
|
||||
.fp-vb-tree {background:url('[[pix:theme|fp/view_tree_active]]') no-repeat 0px 0px;width:23px;height:22px;display: inline-block;margin-left: -4px;}
|
||||
.dir-rtl .fp-vb-tree {background:url('[[pix:theme|fp/view_tree_active]]') no-repeat 0px 0px;}
|
||||
.fp-vb-tree.checked {background:url('[[pix:theme|fp/view_tree_selected]]');}
|
||||
.fp-viewbar.disabled .fp-vb-tree {background:url('[[pix:theme|fp/view_tree_inactive]]');}
|
||||
.file-picker .fp-clear-left {clear: left;}
|
||||
@ -149,8 +155,10 @@ a.ygtvspacer:hover {color: transparent;text-decoration: none;}
|
||||
|
||||
.fp-filename-icon {margin-top: 10px;display: block;position: relative;}
|
||||
.fp-icon {float: left;margin-top: -7px;width: 24px;height: 24px;margin-right: 10px;text-align: center;line-height: 24px;}
|
||||
.dir-rtl .fp-icon {float: right}
|
||||
.fp-icon img {max-height:24px;max-width:24px;vertical-align: middle;}
|
||||
.fp-filename {padding-right: 10px;}
|
||||
.dir-rtl .fp-filename {padding-left: 10px;}
|
||||
|
||||
/*
|
||||
* Repositories Login on fp-content (File Picker only)
|
||||
|
Loading…
x
Reference in New Issue
Block a user