mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL-57177 theme_boost: Use regular ! for advanced form fields
Previously we used U+2757 on advanced form fields, which was problematic as it's part of emoji and displays differently on different platforms. This is a problem since we explicitly style it to be blue, but, for example on OS X it's red (since it gets replaced with their emoji).
This commit is contained in:
parent
dc801cb6b9
commit
d91cbe1e62
@ -121,6 +121,10 @@ a.dimmed_text:visited,
|
||||
@extend .text-info;
|
||||
}
|
||||
|
||||
.fitem.advanced .text-info {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.reportlink {
|
||||
text-align: right;
|
||||
}
|
||||
|
@ -37,7 +37,7 @@
|
||||
{{/text}}
|
||||
</label>
|
||||
<span class="text-nowrap">
|
||||
{{#advanced}}<abbr class="initialism text-info" title="{{#str}}advanced{{/str}}">❗</abbr>{{/advanced}}
|
||||
{{#advanced}}<abbr class="initialism text-info" title="{{#str}}advanced{{/str}}">!</abbr>{{/advanced}}
|
||||
{{{helpbutton}}}
|
||||
</span>
|
||||
<div class="form-control-feedback" id="id_error_{{element.name}}" {{^error}} style="display: none;"{{/error}}>
|
||||
|
@ -37,7 +37,7 @@
|
||||
{{/text}}
|
||||
</label>
|
||||
<span class="text-nowrap">
|
||||
{{#advanced}}<abbr class="initialism text-info" title="{{#str}}advanced{{/str}}">❗</abbr>{{/advanced}}
|
||||
{{#advanced}}<abbr class="initialism text-info" title="{{#str}}advanced{{/str}}">!</abbr>{{/advanced}}
|
||||
{{{helpbutton}}}
|
||||
</span>
|
||||
<div class="form-control-feedback" id="id_error_{{element.name}}" {{^error}} style="display: none;"{{/error}}>
|
||||
|
@ -38,7 +38,7 @@
|
||||
</label>
|
||||
<span class="text-nowrap">
|
||||
{{#required}}<abbr class="initialism text-danger" title="{{#str}}required{{/str}}">✲</abbr>{{/required}}
|
||||
{{#advanced}}<abbr class="initialism text-info" title="{{#str}}advanced{{/str}}">❗</abbr>{{/advanced}}
|
||||
{{#advanced}}<abbr class="initialism text-info" title="{{#str}}advanced{{/str}}">!</abbr>{{/advanced}}
|
||||
{{{helpbutton}}}
|
||||
</span>
|
||||
<div class="form-control-feedback" id="id_error_{{element.name}}" {{^error}} style="display: none;"{{/error}}>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<label class="col-form-label {{#element.hiddenlabel}}sr-only{{/element.hiddenlabel}}" for="{{element.id}}">
|
||||
{{{label}}} {{{helpbutton}}}
|
||||
{{#required}}<abbr class="initialism text-danger" title="{{#str}}required{{/str}}">✲</abbr>{{/required}}
|
||||
{{#advanced}}<abbr class="initialism text-info" title="{{#str}}advanced{{/str}}">❗</abbr>{{/advanced}}
|
||||
{{#advanced}}<abbr class="initialism text-info" title="{{#str}}advanced{{/str}}">!</abbr>{{/advanced}}
|
||||
</label>
|
||||
<span data-fieldtype="{{element.type}}">
|
||||
{{$ element }}
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div class="col-md-3">
|
||||
<span class="pull-xs-right text-nowrap">
|
||||
{{#required}}<abbr class="initialism text-danger" title="{{#str}}required{{/str}}">✲</abbr>{{/required}}
|
||||
{{#advanced}}<abbr class="initialism text-info" title="{{#str}}advanced{{/str}}">❗</abbr>{{/advanced}}
|
||||
{{#advanced}}<abbr class="initialism text-info" title="{{#str}}advanced{{/str}}">!</abbr>{{/advanced}}
|
||||
{{{helpbutton}}}
|
||||
</span>
|
||||
{{^element.staticlabel}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user