mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 19:06:41 +02:00
Merge branch 'MDL-80562' of https://github.com/paulholden/moodle
This commit is contained in:
commit
6654b37ea1
5 changed files with 20 additions and 2 deletions
|
@ -259,7 +259,10 @@ class system_report_table extends base_report_table {
|
||||||
global $OUTPUT;
|
global $OUTPUT;
|
||||||
|
|
||||||
$menu = new action_menu();
|
$menu = new action_menu();
|
||||||
$menu->set_menu_trigger($OUTPUT->pix_icon('a/setting', get_string('actions', 'core_reportbuilder')));
|
$menu->set_menu_trigger(
|
||||||
|
$OUTPUT->pix_icon('i/menu', get_string('actions', 'core_reportbuilder')),
|
||||||
|
'btn btn-icon d-flex align-items-center justify-content-center no-caret',
|
||||||
|
);
|
||||||
|
|
||||||
$actions = array_filter($this->report->get_actions(), function($action) use ($row) {
|
$actions = array_filter($this->report->get_actions(), function($action) use ($row) {
|
||||||
// Only return dividers and action items who can be displayed for current users.
|
// Only return dividers and action items who can be displayed for current users.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// Size of default icons.
|
// Size of default icons.
|
||||||
$icon-width: 16px;
|
$icon-width: 16px;
|
||||||
$icon-height: 16px;
|
$icon-height: 16px;
|
||||||
// Size of big icons.
|
// Size of medium icons.
|
||||||
$icon-medium-width: 32px;
|
$icon-medium-width: 32px;
|
||||||
$icon-medium-height: 32px;
|
$icon-medium-height: 32px;
|
||||||
// Size of big icons.
|
// Size of big icons.
|
||||||
|
|
|
@ -26,6 +26,11 @@
|
||||||
}
|
}
|
||||||
.action-menu .menubar {
|
.action-menu .menubar {
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
|
.btn.btn-icon {
|
||||||
|
height: $icon-medium-height;
|
||||||
|
width: $icon-medium-width;
|
||||||
|
@include border-radius();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38102,6 +38102,11 @@ div.editor_atto_toolbar button .icon {
|
||||||
.reportbuilder-table .action-menu .menubar {
|
.reportbuilder-table .action-menu .menubar {
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
}
|
}
|
||||||
|
.reportbuilder-table .action-menu .menubar .btn.btn-icon {
|
||||||
|
height: 32px;
|
||||||
|
width: 32px;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
.reportbuilder-wrapper .filters-dropdown {
|
.reportbuilder-wrapper .filters-dropdown {
|
||||||
width: 27rem;
|
width: 27rem;
|
||||||
|
|
|
@ -38036,6 +38036,11 @@ div.editor_atto_toolbar button .icon {
|
||||||
.reportbuilder-table .action-menu .menubar {
|
.reportbuilder-table .action-menu .menubar {
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
}
|
}
|
||||||
|
.reportbuilder-table .action-menu .menubar .btn.btn-icon {
|
||||||
|
height: 32px;
|
||||||
|
width: 32px;
|
||||||
|
border-radius: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
.reportbuilder-wrapper .filters-dropdown {
|
.reportbuilder-wrapper .filters-dropdown {
|
||||||
width: 27rem;
|
width: 27rem;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue