The style template
Add these rules to your shop’s stylesheet. They define the appearance of the layer and the fields within it.Style rules for the IBAN converter
Style rules for the IBAN converter
Which classes are styled here
These names are the tool’s defaults. Each of them can be renamed via a parameter, in which case the stylesheet must be updated as well. The list of parameters is on the guide page.
The template also styles
column_left, column_right, subheadline, and clear_both. These four classes do not belong to the tool, but to the sample markup the template was originally written for: a two-column layer with subheadings.The markup on the guide page is single-column and does not need them. If you adopt it as is, these four rules have no effect. This note has been added here.The template contains no rules for the three areas
ibanStep1, ibanStep2, and ibanStep3, or for ibanCountry and ibanResult. The tool itself shows and hides these areas. If you want to give them spacing or borders, add the rules.The expand/collapse function
For countries with many additional fields, the explanations for the individual fields can be expanded and collapsed. The previous documentation supplies a JavaScript file namedjquery.accordion.js for this purpose.
This is the jQuery plugin Accordion 1.6 by Jörn Zaefferer from 2007, MIT and GPL. It does not come from WEBSALE, is no longer maintained by its author, and has long since been merged into jQuery UI.
The stylesheet above already contains the three rules for the expand/collapse function. You only need them if you actually make the additional fields expandable.
Reference: WEBSALE JavaScript library
Compared to the previous documentation, three issues in the template have been corrected: a missing closing semicolon after
width: 48%, the inconsistent indentation from mixed tabs and spaces, and the typo “Acordionfunktion” in the comment.