MDL-36836 filepicker: alfresco select box fix
Adjusted position of alfresco select box.
This commit is contained in:
@@ -207,9 +207,11 @@ class repository_alfresco extends repository {
|
||||
|
||||
public function print_search() {
|
||||
$str = parent::print_search();
|
||||
$str .= html_writer::label(get_string('space', 'repository_alfresco'), 'space', false, array('class' => 'accesshide'));
|
||||
$str .= html_writer::empty_tag('br');
|
||||
$str .= '<select id="space" name="space">';
|
||||
$str .= html_writer::label(get_string('space', 'repository_alfresco'),
|
||||
'repository_alfresco_space',
|
||||
false,
|
||||
array('class' => 'accesshide'));
|
||||
$str .= '<select id="repository_alfresco_space" class="alfresco-workplace" name="space">';
|
||||
foreach ($this->user_session->stores as $v) {
|
||||
$str .= '<option ';
|
||||
if ($v->__toString() === 'workspace://SpacesStore') {
|
||||
|
||||
@@ -411,6 +411,22 @@ a.ygtvspacer:hover {color: transparent;text-decoration: none;}
|
||||
*/
|
||||
.file-picker div.bd {text-align:left;}
|
||||
|
||||
|
||||
/*
|
||||
* Alfresco.
|
||||
*/
|
||||
.repository_alfresco .fp-toolbar .fp-tb-search {
|
||||
width: auto;
|
||||
}
|
||||
.repository_alfresco .fp-toolbar .fp-tb-search input {
|
||||
height: 17px;
|
||||
width: 140px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.repository_alfresco .fp-toolbar .fp-tb-search .alfresco-workplace {
|
||||
width: 160px;
|
||||
}
|
||||
|
||||
/* RTL Overrides
|
||||
-------------------------*/
|
||||
.dir-rtl .file-picker div.bd {text-align: right;}
|
||||
@@ -421,3 +437,8 @@ a.ygtvspacer:hover {color: transparent;text-decoration: none;}
|
||||
.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; }
|
||||
|
||||
.dir-rtl .fp-toolbar .fp-tb-search input {
|
||||
background-position: right 3px;
|
||||
padding: 2px 20px 1px 6px;
|
||||
}
|
||||
|
||||
@@ -357,7 +357,6 @@
|
||||
.dir-rtl .fp-pathbar span {
|
||||
display: inline-block;
|
||||
.ie7-inline-block();
|
||||
float: right;
|
||||
margin-left: 32px;
|
||||
}
|
||||
.fp-pathbar .fp-path-folder-name {
|
||||
@@ -1155,6 +1154,33 @@ a.ygtvspacer:hover {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
// Alfresco.
|
||||
.repository_alfresco {
|
||||
.fp-toolbar {
|
||||
.fp-tb-search {
|
||||
width: auto;
|
||||
height: auto;
|
||||
|
||||
@searchMargin: 0px;
|
||||
input {
|
||||
height: 25px;
|
||||
width: 140px;
|
||||
border-radius: 4px;
|
||||
padding: 2px 6px 1px 28px;
|
||||
background-position: 6px 6px;
|
||||
margin-bottom: @searchMargin;
|
||||
}
|
||||
.alfresco-workplace {
|
||||
width: 160px;
|
||||
margin-bottom: @searchMargin;
|
||||
}
|
||||
}
|
||||
}
|
||||
.fp-clear-left {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
// RTL Overrides
|
||||
.dir-rtl {
|
||||
.filemanager {
|
||||
@@ -1177,4 +1203,8 @@ a.ygtvspacer:hover {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
.repository_alfresco .fp-toolbar .fp-tb-search input {
|
||||
background-position: right 6px;
|
||||
padding: 2px 28px 1px 6px;
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user