CSS – National Tax Agency

h3 { border-color: transparent transparent brown transparent; border-bottom-style: groove; background-color: #f3ede5; padding: 10px; } h4 { background: #fff; border-bottom: 1px solid #c3c4c7; border-left-width: 4px; padding: 10px; } h5 { background: #efefef; border-bottom: 1px solid #c3c4c7; border-left-width: 4px; border-left-color: greenyellow; padding:…Continue reading

CSS – Formattage de blocs

.nath-bloc-bordure { border-width:4px; border-style:solid; padding:15px; } .nath-bloc-souligner { border-bottom-width:2px; border-bottom-style:solid; } /* Bloc avec une bordure arrondie */ .nath-bloc-bordure-ronde {border-radius:30px;} .nath-bloc-drop-left {border-radius: 10% 30% 50%;} .nath-bloc-drop-right {border-radius: 10% 30% 50%;} /* Epaisseur de bordure */ .nath-4border-thinner {border-width:2px;} /* Couleurs de…Continue reading

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