Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* RTL direction for the whole form */
- .form-all {
- direction : rtl !important;
- padding : 20px;
- box-sizing : border-box;
- }
- /* Fix label alignment and spacing */
- .form-label {
- float : none !important;
- text-align : right !important;
- display : block !important;
- margin-bottom : 6px;
- font-weight : bold;
- }
- /* Full-width inputs */
- .form-textbox,
- .form-textarea,
- .form-dropdown,
- .form-input,
- .form-input-wide {
- box-sizing : border-box;
- }
- /* Responsive layout for checkboxes */
- .form-checkbox-item,
- .form-single-column {
- display : flex !important;
- align-items : center;
- flex-direction : row-reverse;
- text-align : right !important;
- }
- @media screen and (max-width: 480px){
- .form-checkbox-item, .form-single-column {
- gap : 20px;
- }
- label.form-label.form-label-auto, label.form-label:not(.form-label-top) {
- direction : rtl !important;
- text-align : right !important;
- }
- }
- .form-line-column .form-label {
- text-align : right !important;
- }
- /* Button styling */
- .form-buttons-wrapper {
- text-align : center !important;
- margin-top : 20px;
- }
- .form-submit-button {
- max-width : 400px;
- padding : 14px;
- font-size : 16px;
- border-radius : 30px;
- box-sizing : border-box;
- }
- .form-line {
- padding : 8px 0 !important;
- }
- .form-submit-button {
- font-size : 15px;
- padding : 12px;
- }
- /* Name fields: RTL text and numbers correct */
- input#first_4,
- input#last_4 {
- direction: rtl;
- unicode-bidi: embed;
- text-align: right !important;
- }
- /* Name fields: placeholder right aligned */
- input#first_4::placeholder,
- input#last_4::placeholder {
- text-align: right;
- direction: rtl;
- }
- /* Email field: type LTR */
- input#input_5 {
- direction: ltr;
- text-align: left !important;
- }
- /* Email field: placeholder right aligned */
- input#input_5::placeholder {
- text-align: right;
- direction: rtl;
- }
- /* Phone number: type LTR */
- input#input_6_full {
- direction: ltr;
- text-align: left !important;
- }
- /* Phone number: placeholder right aligned */
- input#input_6_full::placeholder {
- text-align: right;
- direction: rtl;
- }
- div#cid_4 > div {
- gap: 10px;
- }
- .form-submit-button {
- background : linear-gradient(to right, #85d3cc, #75cfc9);
- color : #ffffff !important;
- font-size : 18px;
- font-weight : normal;
- border : none;
- border-radius : 50px;
- padding : 16px 40px;
- width : auto;
- max-width : 400px;
- margin : 0 auto;
- display : block;
- text-align : center;
- transition : all 0.3s ease;
- box-shadow : 0 4px 12px rgba(0,0,0,0.1);
- }
- /* החרגה לשדות מספר */
- input[type="number"],
- input[type="tel"],
- input[name*="phone"],
- input[data-type="control_number"] input {
- direction : ltr !important;
- text-align : left !important;
- }
- /*Gil: remove required astrix */
- .form-required {
- display : none;
- }
- /* Gil: reduce gap between paragraph and consent field */
- [data-css-selector="id_13"] {
- margin-bottom : -25px !important;
- }
- /* Gil: button */
- .form-line[data-type="control_button"] {
- text-align : center !important;
- /* override RTL right-alignment */
- direction : ltr !important;
- /* keep the inside flex neutral */;
- }
- /*Break any floats & let the button size itself */
- .form-line[data-type="control_button"] .form-submit-button {
- float : none !important;
- /* Jotform sometimes floats it */
- display : inline-block !important;
- margin : 20px auto !important;
- /* centres inside the centred line*/
- width : auto !important;
- /* natural width */
- max-width : 400px;
- /* ← make it slimmer – adjust */
- padding : 12px 32px;
- /* slimmer vertical + horizontal */;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement