# TuiCss
Text-based user interface CSS framework
TuiCss is a framework to create web applications using an interface based in ASCII text like MS-DOS applications. This kind of interface is very eligible because the ultra-contrast colors used. This framework was created following the Turbo Vision UI Framework and other applications based on TUI.

## Getting Started
To use TuiCss, you have to download the TuiCss folder of the repository and import the tuicss.css to your html page using this tag:
```html
```
Don't forget to keep the images folder in the same folder of the css file because the css uses this folder as reference to get the images for some classes.
## Components
This is a simple doc for the avaiable components in the framework. For more details, download the repository and run example.html to check the full code.
### Navbar
```html
```
### Navbar Menu
```html
```
## CSS Classes
| Class | Description |
| --- | --- |
| `.tui-divider` | Create a white bottom divider |
| `.tui-black-divider` | Create a black bottom divider |
| `.tui-no-shadow` | Remove the shadow |
| `.tui-no-padding` | Remove padding |
| `.tui-shadow` | Create a shadow in the element |
| `.tui-white-bg` | Used in html tag to create a white 168 dot background |
| `.tui-blue-bg` | Used in html tag to create a blue 168 dot background |
| `.left` | Quick left float |
| `.right` | Quick right float |
| `.inline` | Quick inline display |
| `.block` | Quick block display |
| `.tui-shortcut` | Used in lists to put some text like shortcuts on the right side of the main text |
| `.tui-content` | Put a default padding in the container |
| `.tui-nav` | Create a navbar |
| `.tui-nav-fixed` | Change the navbar to a fixed position |
| `.tui-statusbar` | Create a status bar |
| `.tui-statusbar-divider` | Put a vertical divider in the status bar |
| `.tui-input` | Create a TUI theme input like inputs, selects, textareas... |
| `.tui-button` | Create a TUI button. It can be used to a, buttons, input[type="button"] |
| `.tui-panel` | Create a TUI panel |
| `.tui-window` | Create a TUI window |
| `.tui-window-fieldset` | Put the border for the TUI window |
| `.tui-input-fieldset` | Used to create a container for the inputs like checkboxes and radios |
| `.tui-border-solid` | Change the border like fieldset borders to a solid border |
| `.tui-fieldset-button` | Create a action button in the fieldset like buttons to close, minimize, maximize... |
| `.tui-fieldset-button-left` | Change the position of the fieldset button to the left side |
| `.tui-fieldset-statusbar` | Create a bottom status bar in the fieldset |
| `.tui-checkbox` | Create TUI checkbox |
| `.tui-radio` | Create TUI radio |
| `.tui-progress` | Create a TUI progress bar |
| `.tui-indeterminate` | Set the progress bar to indeterminate property |
| `.tui-dropdown` | Create a menu dropdown. It can be used to the navbar itens, buttons... |
| `.tui-dropdown-content` | The content that will be displayed for the dropdown |
| `.tui-sidenav` | Create a left sidenav. To active, just move the cursor for the left side of the screen |
| `.tui-table` | Create a table |
| `.tui-table-hover` | Add an hover effect for the table rows |
| `.tui-textarea` | Create a textarea without background |
| `.tui-clock` | Create a clock space in the navbar |
## CSS Colors
| Colors |
| --- |
| `black` |
| `blue` |
| `green` |
| `cyan` |
| `red` |
| `purple` |
| `yellow` |
| `white` |
## CSS Color Classes
| Class | Description |
| --- | --- |
| `.-168` | Change the background color to a specified color name with value 168 |
| `.-255` | Change the background color to a specified color name with value 255 |
| `.-168-text` | Change the foreground color to a specified color name with value 168 |
| `.-255-text` | Change the foreground color to a specified color name with value 255 |
| `.-168-border` | Change the border color to a specified color name with value 168 |
| `.-255-border` | Change the border color to a specified color name with value 255 |
| `.-168-hover` | Change the background color to a specified color name with value 168 on mouse hover |
| `.-255-hover` | Change the background color to a specified color name with value 255 on mouse hover |
| `.-168-text-hover` | Change the foreground color to a specified color name with value 168 on mouse hover |
| `.-255-text-hover` | Change the foreground color to a specified color name with value 255 on mouse hover |
## Credit
TuiCss Framework (c) Copyright 2018
by Vinícius Reif Biavatti
VBFoundation