mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Resolve issue #129
This commit is contained in:
parent
ff8e1ebd80
commit
2f87ada0c4
2 changed files with 30 additions and 4 deletions
|
|
@ -23,4 +23,31 @@
|
|||
width: 400px;
|
||||
height: 70px;
|
||||
}
|
||||
|
||||
.help-block {
|
||||
cursor:help;
|
||||
display: inline-block;
|
||||
margin-left: 0.25em;
|
||||
white-space: break-spaces;
|
||||
}
|
||||
.help-block::before {
|
||||
content: 'ⓘ';
|
||||
}
|
||||
.help-block span {
|
||||
background-color: #fff;
|
||||
border: 1px solid #000;
|
||||
border-radius: 3px;
|
||||
display: none;
|
||||
left: 2px;
|
||||
padding: 4px 20px 4px 4px;
|
||||
position: absolute;
|
||||
right: 2px;
|
||||
z-index: 1000;
|
||||
}
|
||||
.help-block:active span,
|
||||
.help-block:focus span,
|
||||
.help-block:hover span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
<div class="b-admin-plugin-property">
|
||||
<label class="control-label" data-bind="text: Label, visible: 5 !== Type"></label>
|
||||
<div class="controls">
|
||||
<!-- ko if: 0 === Type -->
|
||||
|
|
@ -32,7 +31,7 @@
|
|||
<input type="url"
|
||||
data-bind="value: value, attr: {placeholder: placeholder}" />
|
||||
<!-- /ko -->
|
||||
<span class="help-block" data-bind="text: Desc, visible: '' !== Desc"></span>
|
||||
<span tabindex="0" class="help-block" data-bind="visible: '' !== Desc">
|
||||
<span data-bind="text: Desc"></span>
|
||||
</span>
|
||||
</div>
|
||||
<br />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue