CSS – Ajout de Ninja Tables

/* Ajout de Ninja Tables */ .footable .open>.dropdown-menu { display: block !important; } .footable .dropdown-menu{ display: none !important; } .container { overflow: initial !important; } .post-page-numbers { border: 1px solid rgb(0 0 0); padding: 5px 10px; border-radius: 5px; }Continue reading

CSS – Formattage des tables

/* Formattage des tables */ /* Formattage par defaut */ table, th, td { border: 1px solid black; border-collapse: collapse; padding: 10px; max-width: 90%; } /* Standard tr */ tr:nth-child(even) { background-color: white;} tr:nth-child(odd) { background-color: lightyellow;} tr:hover { background-color:…Continue reading

css – Pour les images

/* Formattage des images */ img.natha { vertical-align: baseline;} .nath-text-top { vertical-align: text-top; } .nath-align-text-bottom { vertical-align: text-bottom; } .nath-align-sub { vertical-align: sub; } .nath-align-super { vertical-align: super; } .nath-size-square-50px { height : 50px; } .nath-img120par80 { height: 120px; width:…Continue reading

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