MDL-63582 theme_boost: Fix the license field in the file picker width.

This commit is contained in:
Luca Bösch 2018-10-08 23:57:36 +02:00
parent 8b019fb709
commit 2eec5251af
3 changed files with 29 additions and 22 deletions

View File

@ -173,6 +173,10 @@ $tag-font-weight: bold !default;
@include float-right(); @include float-right();
} }
.custom-select {
width: auto;
}
.fade.in { .fade.in {
opacity: 1; opacity: 1;
} }

View File

@ -8594,6 +8594,9 @@ a.dimmed_text:visited,
#page-admin-report-backups-index .backup-unfinished[href]:focus, #page-admin-index .adminwarning.availableupdatesinfo .moodleupdateinfo.maturity50 .info.release[href]:focus { #page-admin-report-backups-index .backup-unfinished[href]:focus, #page-admin-index .adminwarning.availableupdatesinfo .moodleupdateinfo.maturity50 .info.release[href]:focus {
background-color: #c9302c; } background-color: #c9302c; }
.custom-select {
width: auto; }
.fade.in { .fade.in {
opacity: 1; } opacity: 1; }

View File

@ -2,8 +2,8 @@
<div class="fp-select-loading"> <div class="fp-select-loading">
{{#pix}}i/loading_small{{/pix}} {{#pix}}i/loading_small{{/pix}}
</div> </div>
<form class="form clearfix"> <form class="mform clearfix">
<div class="form-group"> <div class="form-group mx-0">
<button class="fp-file-download btn btn-secondary">{{#str}}download{{/str}}</button> <button class="fp-file-download btn btn-secondary">{{#str}}download{{/str}}</button>
<button class="fp-file-delete btn btn-secondary">{{#str}}delete{{/str}}</button> <button class="fp-file-delete btn btn-secondary">{{#str}}delete{{/str}}</button>
<button class="fp-file-setmain btn btn-secondary">{{#str}}setmainfile, repository{{/str}}</button> <button class="fp-file-setmain btn btn-secondary">{{#str}}setmainfile, repository{{/str}}</button>
@ -12,36 +12,36 @@
<button class="fp-file-unzip btn btn-secondary">{{#str}}unzip{{/str}}</button> <button class="fp-file-unzip btn btn-secondary">{{#str}}unzip{{/str}}</button>
</div> </div>
<div class="fp-saveas form-group row"> <div class="fp-saveas form-group row mx-0">
<label class="form-control-label col-4">{{#str}}name, repository{{/str}}</label> <label class="form-control-label col-4 px-0">{{#str}}name, repository{{/str}}</label>
<div class="col-8"><input class="form-control" type="text"/></div> <div class="col-8 form-inline"><input class="form-control" type="text"/></div>
</div> </div>
<div class="fp-author form-group row"> <div class="fp-author form-group row mx-0">
<label class="form-control-label col-4">{{#str}}author, repository{{/str}}</label> <label class="form-control-label col-4 px-0">{{#str}}author, repository{{/str}}</label>
<div class="col-8"><input class="form-control" type="text"/></div> <div class="col-8 form-inline"><input class="form-control" type="text"/></div>
</div> </div>
<div class="fp-license form-group row"> <div class="fp-license form-group row mx-0">
<label class="form-control-label col-4">{{#str}}chooselicense, repository{{/str}}</label> <label class="form-control-label col-4 px-0">{{#str}}chooselicense, repository{{/str}}</label>
<div class="col-8"> <div class="col-8 form-inline pr-0">
<select class="custom-select"></select> <select class="custom-select form-control"></select>
</div> </div>
</div> </div>
<div class="fp-path form-group row"> <div class="fp-path form-group row mx-0">
<label class="form-control-label col-4">{{#str}}path, repository{{/str}}</label> <label class="form-control-label col-4 px-0">{{#str}}path, repository{{/str}}</label>
<div class="col-8"> <div class="col-8 form-inline pr-0">
<select class="custom-select"></select> <select class="custom-select form-control"></select>
</div> </div>
</div> </div>
<div class="fp-original form-group row"> <div class="fp-original form-group row mx-0">
<label class="form-control-label col-4">{{#str}}original, repository{{/str}}</label> <label class="form-control-label col-4 px-0">{{#str}}original, repository{{/str}}</label>
<div class="col-8"> <div class="col-8 form-inline">
<span class="fp-originloading">{{#pix}}i/loading_small{{/pix}} {{#str}}loading, repository{{/str}}</span><span class="fp-value"></span> <span class="fp-originloading">{{#pix}}i/loading_small{{/pix}} {{#str}}loading, repository{{/str}}</span><span class="fp-value"></span>
</div> </div>
</div> </div>
<div class="fp-reflist form-group row"> <div class="fp-reflist form-group row mx-0">
<label class="form-control-label col-4">{{#str}}referenceslist, repository{{/str}}</label> <label class="form-control-label col-4 px-0">{{#str}}referenceslist, repository{{/str}}</label>
<div class="col-8"> <div class="col-8 form-inline">
<p class="fp-refcount"></p> <p class="fp-refcount"></p>
<span class="fp-reflistloading">{{#pix}}i/loading_small{{/pix}} {{#str}}loading, repository{{/str}}</span> <span class="fp-reflistloading">{{#pix}}i/loading_small{{/pix}} {{#str}}loading, repository{{/str}}</span>
<ul class="fp-value"></ul> <ul class="fp-value"></ul>