This commit is contained in:
Denis 2023-04-05 14:12:02 +03:00
parent 2bb2b0b81f
commit 12c99a73eb
4 changed files with 25 additions and 3 deletions

View File

@ -146,7 +146,7 @@ class Form_1_Main extends QuestionnaireForm
<p className="title">1. Информация о лизингополучателе</p>
<div className="form_field">
<label>Краткое наименование</label>
<label>Краткое наименование <sup className="requared_label">*</sup></label>
<input type="text"
id="main.title"
name="main.title"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1448,6 +1448,28 @@
a {
text-decoration: underline;
}
.requared_label {
color: #A8026B;
vertical-align: super;
font-size: 15px;
display: inline-block;
margin-left: 3px;
position: relative;
&:hover:after {
content: "Обязательное поле";
position: absolute;
left: 12px;
top: -8px;
white-space: nowrap;
font-size: 13px;
line-height: 20px;
color: #000;
padding: 4px 4px 4px 7px;
background-image: url("data:image/svg+xml,%3Csvg width='146' height='28' viewBox='0 0 146 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-1.96701e-07 14L4.5 9.5L4.5 18.5L-1.96701e-07 14Z' fill='%23EDEFF5'/%3E%3Crect x='4.5' width='141' height='28' rx='4' fill='%23EDEFF5'/%3E%3C/svg%3E%0A");
}
}
}
textarea,