Skip to content
Snippets Groups Projects
Commit 2cb90e24 authored by Daniel Poggenpohl's avatar Daniel Poggenpohl Committed by Alexander Bias
Browse files

#106

- Added CSS class to help icon modal dialog
- Fix help icon modal dialog text layout in table headers (if normal text alignment is left alignment)
parent e733b4ce
No related branches found
No related tags found
No related merge requests found
...@@ -1044,6 +1044,12 @@ body.scrolled #goto-top-link { ...@@ -1044,6 +1044,12 @@ body.scrolled #goto-top-link {
@if variable-exists(helptextmodal) { @if variable-exists(helptextmodal) {
@if $helptextmodal == 'yes' { @if $helptextmodal == 'yes' {
th .boost-campus-modal-help-dialog .modal-body {
text-align: left;
font-weight: $font-weight-base;
}
.modal { .modal {
/* Set font-size to normal size as the modals inherit the font size from the element they are placed in. /* Set font-size to normal size as the modals inherit the font size from the element they are placed in.
* This is not intended and so we force the font size to be the normal size. */ * This is not intended and so we force the font size to be the normal size. */
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
{{#pix}}help, core, {{{alt}}}{{/pix}} {{#pix}}help, core, {{{alt}}}{{/pix}}
</a> </a>
<div class="modal moodle-has-zindex" {{#linkid}}id="{{linkid}}-modal-dialogue"{{/linkid}} data-region="modal-container" aria-hidden="true" role="dialog"> <div class="modal moodle-has-zindex boost-campus-modal-help-dialog" {{#linkid}}id="{{linkid}}-modal-dialogue"{{/linkid}} data-region="modal-container" aria-hidden="true" role="dialog">
<div class="modal-dialog {{$classes}}{{/classes}}" role="document" data-region="modal" aria-labelledby="{{uniqid}}-modal-title" tabindex="0"> <div class="modal-dialog {{$classes}}{{/classes}}" role="document" data-region="modal" aria-labelledby="{{uniqid}}-modal-title" tabindex="0">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header {{$headerclasses}}{{headerclasses}}{{/headerclasses}}" data-region="header"> <div class="modal-header {{$headerclasses}}{{headerclasses}}{{/headerclasses}}" data-region="header">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment