The draft of receipt

from reportlab.lib.pagesizes import A4 from datetime import datetime from reportlab.platypus import Table, TableStyle, Paragraph, SimpleDocTemplate, Image, Frame, PageTemplate from reportlab.lib import colors from reportlab.lib.styles import getSampleStyleSheet current_time = datetime.now() curr_date = current_time.date() time = current_time.strftime(“%H:%M:%S”) receipt_no = current_time.strftime(“%y%m%d%H%M%S”) # Style…Continue reading

Gravity Forms – Styling

body .gform_wrapper .gform_body .gform_fields #field_1_36.gfield input[type=text] { background-color: #FFFFFF; color: black; text-align: center; font-size: 15px; font-weight: bold; } body .gform_wrapper .gform_body .gform_fields #field_1_37.gfield input[type=text] { background-color: #A0A5A9; color: black; text-align: center; font-size: 15px; font-weight: bold; } .gform-theme–foundation .gform_fields { grid-row-gap:…Continue reading

Hide admin nags

.notice .is-dismissable { display: none; } /* In WordPress, set this to be inserted into the admin footer. That option is unavailable on the library website */Continue reading

slide-left-center.css

html div#om-{{id}} { left: 0 !important; height: 540px !important; top: calc(540px / 2) !important; bottom: calc(540px / 2) !important; margin-top: auto !important; margin-bottom: auto !important; animation: 1s ease-out 0s 1 slideInFromLeft; } @keyframes slideInFromLeft { 0% { transform: translateX(-100%); }…Continue reading