# Styles and Layout ## Css This project only supports scss and css. All css files need to be provided with a scss file which will be processed for every build. The css file has to be minimized, optimized and compressed as `.gz`. This means there is at least one scss file (multiple if you are combining/importing multiple scss files and creating one output css file), one css file and one compressed `.gz` file. The file name has to be lower case and the same for every file and only the extension is different. ## Grid/Flexbox Flexboxes are preferred for all content containers. ```html
...
``` Available sizes are `xs-*`, `sm-*`, `md-*`, `lg-*` with a grid ranging from `1-12`. ## Sizes ### Container A container (e.g. section, div, table, etc) can be sized by using `.wf-*` classes. Available sizes for `*` are `100`, `80`, `75`, `66`, `50`, `33`, `25`, `20`. ## Icons This project uses font-awesome for its icons, the following example allows for stacked icons e.g. creating new/unread email notifications: ```html 333 ``` ## Form Elements ### Input with button The following snippet creates a 100% input with a button next to it. ```html
``` ### Input with dictionary The following snippet creates a dictionary button (e.g. for opening a popup window to search for accounts/groups etc) right before an input field. ```html ``` ### Checkbox The following snippet creates a checkbox. ```html ``` ### Radio The following snippet creates a checkbox. ```html
Title
...
Footer
``` Additional coloring of sections can be achieved by adding a coloring class. ```html
...
``` ## Tabs Tabs are a useful tool in order to display more information on one page. ```html
... Tab content ...
... Tab content ...
... Tab content ...
``` ## Tables ## Lists ## Accordion ## Breadcrumbs ## Badges/Tags ## Examples An example of all styles can be found in the tests called `StandardElements.htm`.