- fixed issue with validation on registration page; - fixed issue with inputnumber; - fixed issue with editor field;; - added editors for new faq item form; - fixed displaying html as simple text; - fixed saving company data after saving; - added toast for edit bando form; - improved edit forms form; - fixed styles for various elements;
258 lines
4.4 KiB
SCSS
258 lines
4.4 KiB
SCSS
.appForm {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
.appForm__field {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
padding: 5px 0;
|
|
width: 100%;
|
|
|
|
label {
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
line-height: normal;
|
|
|
|
span {
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: normal;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
small {
|
|
font-size: 12px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 21px;
|
|
}
|
|
|
|
&.datepicker, &.formfieldrepeater, &.datepickerrange, &.fileupload {
|
|
.p-button:not(.p-button-danger) {
|
|
background: var(--button-secondary-background);
|
|
border: 1px solid var(--button-secondary-borderColor);
|
|
}
|
|
.p-button:not(:disabled, .p-button-danger):hover {
|
|
background: var(--button-secondary-borderColor);
|
|
}
|
|
}
|
|
|
|
input[disabled], div.p-disabled:not(.p-inputswitch) {
|
|
background-color: #e3e3e3;
|
|
}
|
|
|
|
&.table {
|
|
div.addNewTableRow {
|
|
width: 100%;
|
|
text-align: center;
|
|
padding: 5px 0;
|
|
background: var(--table-border-color);
|
|
color: var(--primary-text);
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
:where(table) {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
text-indent: 0;
|
|
border-right: 1px solid var(--table-border-color);
|
|
}
|
|
|
|
td,
|
|
th {
|
|
padding: 10px;
|
|
border-top: 1px solid var(--table-border-color);
|
|
border-bottom: 1px solid var(--table-border-color);
|
|
border-left: 1px solid var(--table-border-color);
|
|
background-color: white;
|
|
color: var(--global-textColor);
|
|
font-size: 15px;
|
|
text-align: left;
|
|
text-align: start;
|
|
}
|
|
|
|
th {
|
|
padding: 15px 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
td {
|
|
input {
|
|
width: 100%;
|
|
padding: 3px 5px;
|
|
}
|
|
}
|
|
|
|
tfoot td,
|
|
tfoot th {
|
|
border-top: 1px solid var(--table-border-color);
|
|
border-bottom: 0
|
|
}
|
|
|
|
table.striped tbody tr:nth-child(odd) td,
|
|
table.striped tbody tr:nth-child(odd) th {
|
|
background-color: var(--table-border-color)
|
|
}
|
|
}
|
|
}
|
|
|
|
.appForm__field--required.appForm__field--required {
|
|
margin-left: 2px;
|
|
color: var(--message-error-color);
|
|
}
|
|
|
|
.appForm__fieldItem {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.appForm__fileUploadItem {
|
|
display: grid;
|
|
grid-template-columns: 2fr 0.5fr 0.5fr;
|
|
|
|
> div {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
&:nth-of-type(2) {
|
|
justify-content: center;
|
|
}
|
|
|
|
&:nth-of-type(3) {
|
|
justify-content: flex-end;
|
|
}
|
|
}
|
|
}
|
|
|
|
.appForm__fileUploadItemName {
|
|
color: var(--global-textColor);
|
|
font-style: italic;
|
|
}
|
|
|
|
.appForm__row {
|
|
display: flex;
|
|
gap: 7px;
|
|
align-items: center;
|
|
}
|
|
|
|
.appForm__col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 7px;
|
|
|
|
label {
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
|
|
.appForm__cols {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
width: 100%;
|
|
|
|
> div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
> div:not(.appForm__field) {
|
|
label {
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
}
|
|
|
|
.appForm__repeaterItem {
|
|
padding: 0.5rem 0.5rem 0.5rem 1rem;
|
|
border-left: 3px solid #dadada;
|
|
|
|
|
|
&:hover {
|
|
border-color: var(--button-secondary-background);
|
|
background: #FCF7E7;
|
|
}
|
|
}
|
|
|
|
.appForm__faqHeaderControls {
|
|
display: flex;
|
|
gap: 1rem;
|
|
|
|
button {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
> div {
|
|
flex: 1 1 auto;
|
|
}
|
|
}
|
|
|
|
.appForm__faqTab {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
}
|
|
.appForm__faqTabItem {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
|
|
.p-togglebutton[data-p-highlight="true"] {
|
|
.p-button:not(.p-button-danger) {
|
|
background: var(--menuitem-active-background);
|
|
border: 1px solid var(--menuitem-active-background);
|
|
}
|
|
}
|
|
}
|
|
|
|
.appForm__content {
|
|
p {
|
|
margin: 0;
|
|
|
|
&.ql-indent-1 {
|
|
padding-left: 3em;
|
|
}
|
|
&.ql-indent-2 {
|
|
padding-left: 6em;
|
|
}
|
|
&.ql-indent-3 {
|
|
padding-left: 9em;
|
|
}
|
|
&.ql-indent-4 {
|
|
padding-left: 12em;
|
|
}
|
|
&.ql-indent-5 {
|
|
padding-left: 15em;
|
|
}
|
|
&.ql-indent-6 {
|
|
padding-left: 18em;
|
|
}
|
|
&.ql-indent-7 {
|
|
padding-left: 21em;
|
|
}
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: 15px;
|
|
font-size: 1.5em;
|
|
}
|
|
h3 {
|
|
font-size: 1.2em;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
li[data-list="bullet"] {
|
|
list-style: disc;
|
|
}
|
|
} |