mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
MDL-79629 core_question: Improve autocomplete categories UI
This commit is contained in:
parent
e9afd7f072
commit
2ea44fb45e
5 changed files with 2 additions and 20 deletions
|
@ -58,6 +58,6 @@
|
|||
}}{{#filtertypeclass}}data-filter-type-class="{{filtertypeclass}}" {{/filtertypeclass}}{{!
|
||||
}}>
|
||||
{{#values}}
|
||||
<option value="{{value}}"{{#disabled}} disabled{{/disabled}}>{{{title}}}</option>
|
||||
<option value="{{value}}"{{#disabled}} disabled{{/disabled}}{{#classes}} class="{{{classes}}}"{{/classes}}>{{{title}}}</option>
|
||||
{{/values}}
|
||||
</select>
|
||||
|
|
|
@ -307,6 +307,7 @@ class category_condition extends condition {
|
|||
'value' => '',
|
||||
'title' => $heading,
|
||||
'disabled' => true,
|
||||
'classes' => 'suggestions-heading',
|
||||
];
|
||||
foreach ($catlist as $key => $value) {
|
||||
$values[] = (object) [
|
||||
|
|
|
@ -667,13 +667,6 @@ body.path-question-type .mform fieldset.hidden {
|
|||
position: relative;
|
||||
}
|
||||
|
||||
// qbank_managecategories
|
||||
[data-filterregion=filter][data-filter-type=category] .form-autocomplete-suggestions li[aria-disabled=true] {
|
||||
font-weight: bold;
|
||||
color: $body-color;
|
||||
background-color: $body-bg;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(sm) {
|
||||
.que .info {
|
||||
float: none;
|
||||
|
|
|
@ -32587,12 +32587,6 @@ body.path-question-type .mform fieldset.hidden {
|
|||
position: relative;
|
||||
}
|
||||
|
||||
[data-filterregion=filter][data-filter-type=category] .form-autocomplete-suggestions li[aria-disabled=true] {
|
||||
font-weight: bold;
|
||||
color: #1d2125;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.que .info {
|
||||
float: none;
|
||||
|
|
|
@ -32587,12 +32587,6 @@ body.path-question-type .mform fieldset.hidden {
|
|||
position: relative;
|
||||
}
|
||||
|
||||
[data-filterregion=filter][data-filter-type=category] .form-autocomplete-suggestions li[aria-disabled=true] {
|
||||
font-weight: bold;
|
||||
color: #1d2125;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.que .info {
|
||||
float: none;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue