mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 09:45:39 +02:00
styling for hint icon
This commit is contained in:
3
themes/grav/css-compiled/preset.css
vendored
3
themes/grav/css-compiled/preset.css
vendored
@@ -1514,4 +1514,7 @@ span.range-append {
|
||||
.jqCron-container.disable .jqCron-selector-title {
|
||||
background: #ffffff !important; }
|
||||
|
||||
.hint-icon {
|
||||
color: #06A599; }
|
||||
|
||||
/*# sourceMappingURL=preset.css.map */
|
||||
File diff suppressed because one or more lines are too long
4
themes/grav/css-compiled/template.css
vendored
4
themes/grav/css-compiled/template.css
vendored
@@ -1004,6 +1004,10 @@ form label {
|
||||
margin: 0; }
|
||||
form label [data-hint] {
|
||||
display: inline; }
|
||||
form label .hint-icon {
|
||||
opacity: 0.7; }
|
||||
form label:hover .hint-icon {
|
||||
opacity: 1.0; }
|
||||
form label.inline {
|
||||
display: inline;
|
||||
vertical-align: middle;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -2366,3 +2366,7 @@ body .bootstrap-datetimepicker-widget {
|
||||
.jqCron-container.disable .jqCron-selector-title {
|
||||
background: $content-bg !important;
|
||||
}
|
||||
|
||||
.hint-icon {
|
||||
color: $notice_bg;
|
||||
}
|
||||
|
||||
@@ -164,6 +164,13 @@ form {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.hint-icon {
|
||||
opacity: 0.7;
|
||||
}
|
||||
&:hover .hint-icon {
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
&.inline {
|
||||
display: inline;
|
||||
vertical-align: middle;
|
||||
@@ -484,7 +491,6 @@ form {
|
||||
position: relative;
|
||||
padding: 0 0 0 2rem;
|
||||
margin-right: 15px;
|
||||
|
||||
}
|
||||
label:before {
|
||||
content:"";
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
{% if field.markdown %}
|
||||
<span class="hint--bottom" data-hint="{{ field.help|t|markdown(false) }}">{{ field.label|t|markdown(false)|raw }}</span>
|
||||
{% else %}
|
||||
<span class="hint--bottom" data-hint="{{ field.help|t }}">{{ field.label|t|raw }} <i class="fa fa-info-circle" aria-hidden="true"></i></span>
|
||||
<span class="hint--bottom" data-hint="{{ field.help|t }}">{{ field.label|t|raw }} <i class="hint-icon fa fa-question-circle" aria-hidden="true"></i></span>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if field.markdown %}
|
||||
|
||||
Reference in New Issue
Block a user