General
List of contents
- Menu
- Panel
- Sidebar
- Table
- Modal
- Tooltip
- Notifier
- Form
- Helper classes
Panel
| Options | ||
|---|---|---|
| Class | div.sai-panel |
Defines SAI Panel component |
| Elements | div.header |
Panel header (1) |
ul.buttons |
List with buttons in .header (1...*) |
|
li.trigger |
Button with trigger icon in .buttons list (1) |
|
li.close |
Button with close icon in .buttons list (0...*) |
|
li.plus |
Button with plus icon in .buttons list (0...*) |
|
li.move |
Button with move icon in .buttons list (0...*) |
|
div.content |
Panel content (1) |
|
div.footer |
Panel footer (0...1) |
|
| Options | div.sai-panel.collapsed |
Will collapse panel on page load |
| Code example |
|---|
|
| Screenshot | ||
|---|---|---|
|
||
Table
| Options | ||
|---|---|---|
| Class | table.sai-table |
Defines SAI Table component |
| Elements | thead |
Table header (1) |
tbody |
Table body (1) |
|
tfoot |
Table footer (1) |
|
| Options | table.sai-table.dataTable |
Turns table into a DataTable (reference) |
td span.highlight |
Adds highlight color to text | |
td span.background |
Adds background color to span | |
table.no-borders |
Removes all borders from table | |
table.no-vertical-borders |
Removes all vertical borders (left/right) from table | |
table.no-horizontal-borders |
Removes all horizontal borders (top/bottom) from table | |
| Code example |
|---|
|
| Screenshot | ||
|---|---|---|
|
||
Modal
| Options | ||
|---|---|---|
| Class | div.sai-modal |
Defines SAI Modal component |
| Elements | - | No required elements |
| Options | - | No further options |
| Code example |
|---|
|
| Screenshot | ||
|---|---|---|
|
||
Tooltip
| Options | ||
|---|---|---|
| Class | *.sai-tooltip |
Defines SAI Tooltip component |
| Elements | .sai-tooltip[title] |
Content to display in the tooltip. HTML-code is allowed. (1) |
| Options | - | No further options |
| Code example |
|---|
|
| Screenshot | ||
|---|---|---|
|
||
Notifier
| Options | ||
|---|---|---|
| Class | *.sai-notifier |
Defines SAI Notifier component |
| Elements | - | No further elements |
| Options | - | No further options |
| Code example |
|---|
|
| Screenshot | ||
|---|---|---|
|
||
Form
Helper classes
| Elements | ||
|---|---|---|
| Class | Description | CSS |
*.sai-full-width |
Sets the element to full width of parent | width: 100%; |
*.sai-no-margin |
Removes margin | margin: 0; |
*.sai-no-padding |
Removes padding | padding: 0; |
*.sai-left |
Floats element to left | float: left; |
*.sai-right |
Floats element to right | float: right; |
*.sai-center-content |
Makes content of element centered in screen | display: flex; |
| Background colors | ||
| Class | Description | CSS |
*.sai-bg-primary |
Sets background color to #179AEE | background-color: #179AEE; |
*.sai-bg-secondary |
Sets background color to #0368A8 | background-color: #0368A8; |
*.sai-bg-alert |
Sets background color to #F94D4D | background-color: #F94D4D; |
*.sai-bg-warning |
Sets background color to #ffae00 | background-color: #ffae00; |
*.sai-bg-success |
Sets background color to #3adb76 | background-color: #3adb76; |
*.sai-bg-very-dark-gray |
Sets background color to #727272 | background-color: #727272; |
*.sai-bg-dark-gray |
Sets background color to #A2A2A2 | background-color: #A2A2A2; |
*.sai-bg-medium-gray |
Sets background color to #D8D8D8 | background-color: #D8D8D8; |
*.sai-bg-light-gray |
Sets background color to #F4F4F4 | background-color: #F4F4F4; |
*.sai-bg-very-light-gray |
Sets background color to #FCFCFC | background-color: #FCFCFC; |
*.sai-bg-sterrk-yellow |
Sets background color to #FFC100 | background-color: #FFC100; |
*.sai-bg-sterrk-blue |
Sets background color to #3A6A80 | background-color: #3A6A80; |
*.sai-bg-sterrk-gray |
Sets background color to #385563 | background-color: #385563; |
*.sai-bg-black |
Sets background color to #2E2E2E | background-color: #2E2E2E; |
*.sai-bg-white |
Sets background color to #FFFFFF | background-color: #FFFFFF; |
| Text colors | ||
| Class | Description | CSS |
*.sai-text-primary |
Sets text color to #179AEE | color: #179AEE; |
*.sai-text-secondary |
Sets text color to #0368A8 | color: #0368A8; |
*.sai-text-alert |
Sets text color to #F94D4D | color: #F94D4D; |
*.sai-text-warning |
Sets text color to #ffae00 | color: #ffae00; |
*.sai-text-success |
Sets text color to #3adb76 | color: #3adb76; |
*.sai-text-very-dark-gray |
Sets text color to #727272 | color: #727272; |
*.sai-text-dark-gray |
Sets text color to #A2A2A2 | color: #A2A2A2; |
*.sai-text-medium-gray |
Sets text color to #D8D8D8 | color: #D8D8D8; |
*.sai-text-light-gray |
Sets text color to #F4F4F4 | color: #F4F4F4; |
*.sai-text-very-light-gray |
Sets text color to #FCFCFC | color: #FCFCFC; |
*.sai-text-sterrk-yellow |
Sets text color to #FFC100 | color: #FFC100; |
*.sai-text-sterrk-blue |
Sets text color to #3A6A80 | color: #3A6A80; |
*.sai-text-sterrk-gray |
Sets text color to #385563 | color: #385563; |
*.sai-text-black |
Sets text color to #2E2E2E | color: #2E2E2E; |
*.sai-text-white |
Sets text color to #FFFFFF | color: #FFFFFF; |