diff --git a/.github/workflows/syntax.yml b/.github/workflows/syntax.yml index 0d9d0d17b0..9773575ac4 100644 --- a/.github/workflows/syntax.yml +++ b/.github/workflows/syntax.yml @@ -21,7 +21,7 @@ jobs: steps: - uses: actions/checkout@v4.1.1 - - uses: shivammathur/setup-php@2.25.5 + - uses: shivammathur/setup-php@2.36.0 with: php-version: ${{ matrix.php }} - name: Check PHP ${{ matrix.multisite }} syntax diff --git a/css/_single_theme.css.php b/css/_single_theme.css.php index 2b0bd69981..885160851e 100644 --- a/css/_single_theme.css.php +++ b/css/_single_theme.css.php @@ -20,8 +20,8 @@ } .frm_forms.{ - max-width:; - direction:; + max-width:var(--form-width); + direction:var(--direction); unicode-bidi:embed; @@ -38,7 +38,7 @@ . .form-field{ - margin-bottom:; + margin-bottom:var(--field-margin); } @@ -119,7 +119,7 @@ . .frm_pos_right{ display:inline; - width:; + width:var(--width); } . .frm_none_container .frm_primary_label, @@ -144,10 +144,9 @@ } -/* These do not work if they are combined */ . input::placeholder, . textarea::placeholder{ - color: ; + color:var(--text-color-disabled); } . .frm_default, @@ -159,7 +158,7 @@ . .chosen-container-single .chosen-default, . .placeholder { - color: ; + color:var(--text-color-disabled); } . .form-field input:not([type=file]):not([type=range]):not([readonly]):focus, @@ -178,9 +177,9 @@ . .chosen-container-active .chosen-choices, . .frm_focus_field .frm-card-element.StripeElement { - background-color:; - border-color:; - color: var(--text-color); + background-color:var(--bg-color-active); + border-color:var(--border-color-active); + color:var(--text-color); box-shadow:none; outline: none; @@ -249,9 +248,9 @@ . input[type=submit]:hover, . .frm_submit input[type=button]:hover, . .frm_submit button:hover{ - background: ; - border-color: ; - color: ; + background:var(--submit-hover-bg-color); + border-color:var(--submit-hover-border-color); + color:var(--submit-hover-color); } ..frm_center_submit .frm_submit .frm_ajax_loading{ @@ -265,9 +264,9 @@ . input[type=submit]:active, . .frm_submit input[type=button]:active, . .frm_submit button:active{ - background: ; - border-color: ; - color: ; + background:var(--submit-active-bg-color); + border-color:var(--submit-active-border-color); + color:var(--submit-active-color); outline: none; } @@ -279,20 +278,20 @@ . .frm_loading_form .frm_button_submit:hover, . .frm_loading_form .frm_button_submit:active, . .frm_loading_form .frm_button_submit:focus{ - color: transparent ; - background: ; - border-color: ; + color: transparent; + background:var(--submit-bg-color); + border-color:var(--submit-bg-color); } . .frm_loading_prev .frm_prev_page:before, . .frm_loading_form .frm_button_submit:before { - border-bottom-color: ; - border-right-color: ; + border-bottom-color:var(--submit-text-color); + border-right-color:var(--submit-text-color); - max-height:; + max-height:var(--submit-height); - max-width:; + max-width:var(--submit-width); } font-family:; - font-size:; - color:; - font-weight:; + font-size:var(--font-size); + color:var(--label-color); + font-weight:var(--weight); margin:0; - padding:; + padding:var(--label-padding); width:auto; display:block; visibility:hidden; @@ -323,15 +322,22 @@ margin: 0 !important; } + . #frm_field_cptch_number_container{ font-family:; - font-size:; - color:; - font-weight:; + font-size:var(--font-size); + color:var(--label-color); + font-weight:var(--weight); clear:both; } + . .frm_blank_field input[type=text], . .frm_blank_field input[type=password], @@ -353,31 +359,38 @@ . .frm_blank_field .chosen-container-single .chosen-single, . .frm_form_field :invalid { - color:; - background-color:; - border-color:; - border-width:var(--border-width-error) ; - border-style:; + color:var(--text-color-error); + background-color:var(--bg-color-error); + border-color:var(--border-color-error); + border-width:var(--border-width-error); + border-style:var(--border-style-error); } + . .frm_blank_field .sigWrapper{ - border-color: !important; + border-color:var(--border-color-error) !important; } + . .frm_error, . .frm_limit_error{ - font-weight:; - color:; + font-weight:var(--weight); + color:var(--border-color-error); } . .frm_error_style{ - background-color:; - border:1px solid ; - border-radius:; - color: ; - font-size:; + background-color:var(--error-bg); + border:1px solid var(--error-border); + border-radius:var(--border-radius); + color:var(--error-text); + font-size:var(--error-font-size); margin:0; - margin-bottom:; + margin-bottom:var(--field-margin); } . #frm_loading .progress-striped .progress-bar{ @@ -385,7 +398,7 @@ } . #frm_loading .progress-bar{ - background-color:; + background-color:var(--bg-color); } . .frm_form_field.frm_total_big input,