Skip to content

Commit

Permalink
Merge pull request #14 from vinibiavatti1/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
vinibiavatti1 authored Dec 31, 2020
2 parents 845713b + 2fcb426 commit 120b5d8
Show file tree
Hide file tree
Showing 34 changed files with 1,123 additions and 477 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
node_modules
.idea
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# TuiCss ChangeLog
### This is the change log of TuiCss. Here you can find the documentations of the feature of each released version

#### 2.0.0
- Jquery removed (Now use vanilla Javascript)
- Chart example page
- Readme update
- Changelog markdown
- Chart component
- NPM Package

#### 1.0.0
- Utilities
- Examples
- DOS font
- Wiki documentation
- Button component
- Checkbox component
- Divider component
- Dropdown component
- Fieldset component
- Input component
- Navbar component
- Panel component
- Progressbar component
- Radio component
- Scrollbar component
- Sidenav component
- Statusbar component
- Table component
- Tablegrid component
- Tabs component
- Textarea component
- Window component
- Screen component
- Datetime component
- Shortcut component
- Shadow component
- Background component
- Border component
- Grid component
- Modal component
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Click [here](https://github.com/vinibiavatti1/TuiCss/wiki/Contributing) to access the contributing page on the wiki!
36 changes: 31 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,35 @@
# TuiCss
### Text-based user interface CSS library
<p align="center">
<a href="https://github.com/vinibiavatti1/TuiCss">
<img src="https://raw.githubusercontent.com/vinibiavatti1/TuiCss/develop/resources/TUICSS%20Logo%20160x160%20transparent.png" />
</a>
</p>

TuiCss is a library focused to create web applications using an interface based in ASCII table, like MS-DOS applications. This kind of interface is very eligible because the ultra-contrast colors used and the less effects of the elements. The main framework thats is following to develop TuiCss is <a href="https://en.wikipedia.org/wiki/Turbo_Vision">Turbo Vision Framework</a> with some techniques with [box-drawing characters](https://en.wikipedia.org/wiki/Box-drawing_character), but some others frameworks were checked too, like [curses](https://en.wikipedia.org/wiki/Curses_(programming_library)), [ncurses](https://en.wikipedia.org/wiki/Ncurses), [Newt](https://en.wikipedia.org/wiki/Newt_(programming_library)), etc. Check the examples page in the wiki to see some creations!
<h3 align="center">TuiCss</h3>

<img src="https://i.ibb.co/zhJMy1h/Tui-Css-home.png" width="600">
<p align="center">
Text-based user interface CSS library
<br>
<a href="https://github.com/vinibiavatti1/TuiCss/wiki"><strong>-- Documentation --</strong></a>
<br><br>
<a href="https://badge.fury.io/js/tuicss">
<img src="https://badge.fury.io/js/tuicss.svg" alt="npm version badge">
</a>
</p>

### About

TuiCss is a library focused to create web applications using an interface based on ASCII table, like the old MS-DOS applications. This kind of interface is very eligible because the ultra-contrast colors used and because the reduced effects used on the components in the view. The base of this project is <a href="https://en.wikipedia.org/wiki/Turbo_Vision">Turbo Vision Framework</a>, but some other frameworks were checked also to introduce some features to TuiCss, like [curses](https://en.wikipedia.org/wiki/Curses_(programming_library)), [ncurses](https://en.wikipedia.org/wiki/Ncurses), [Newt](https://en.wikipedia.org/wiki/Newt_(programming_library)), etc. Check the examples page in the wiki to stay on top of some creations, or check the getting started page to start use this library!

<img src="https://raw.githubusercontent.com/vinibiavatti1/TuiCss/develop/resources/TUICSS%20Demo.png" width="676">

### Getting Started
To start to use the TuiCss in your project, you can just download the repository content and import the files that are in the dist folder with the html directives. On the other hand, you can install the package with NPM using the following command:

```bash
$ npm install tuicss
```

For more details, visit the [Getting Started Page](https://github.com/vinibiavatti1/TuiCss/wiki/Getting-Started) in the respoitory wiki.

### Documentation
Check the [repository wiki](https://github.com/vinibiavatti1/TuiCss/wiki) to access the documentation, getting started, components index, examples, styles, or to know how to contribute for this project.
Check the [repository wiki](https://github.com/vinibiavatti1/TuiCss/wiki) to access the documentation, components index, examples, styles, or to know how to contribute for this project.
111 changes: 109 additions & 2 deletions dist/tuicss.css
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,12 @@ input[type=button] {
border: none;
cursor: pointer;
outline: 0;
padding: 2px; }
padding: 2px;
user-select: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none; }
.tui-fieldset-button.left {
right: initial;
left: 16px !important; }
Expand Down Expand Up @@ -1201,7 +1206,8 @@ input[type=button] {
.tui-screen-640-480,
.tui-screen-800-600,
.tui-screen-1024-768 {
position: relative; }
position: relative;
overflow: hidden; }
.tui-screen-640-480.bordered,
.tui-screen-800-600.bordered,
.tui-screen-1024-768.bordered {
Expand Down Expand Up @@ -1925,3 +1931,104 @@ input[type=button] {
display: none; }
.tui-overlap.active {
display: block !important; }

/* Chart container */
.tui-chart-vertical {
position: relative;
background-color: black; }

.tui-chart-horizontal {
position: relative;
background-color: black; }

/* Chart display */
.tui-chart-vertical .tui-chart-display {
display: flex;
position: absolute;
top: 0px;
left: 50px;
right: 0px;
bottom: 30px;
align-items: flex-end;
border-bottom: 2px solid white;
border-left: 2px solid white; }
.tui-chart-vertical .tui-chart-display.no-x-axis {
bottom: 0px; }
.tui-chart-vertical .tui-chart-display.no-y-axis {
left: 0px; }

.tui-chart-horizontal .tui-chart-display {
display: flex;
position: absolute;
flex-direction: column;
top: 0px;
left: 50px;
right: 0px;
bottom: 30px;
align-items: stretch;
border-bottom: 2px solid white;
border-left: 2px solid white; }
.tui-chart-horizontal .tui-chart-display.no-x-axis {
bottom: 0px; }
.tui-chart-horizontal .tui-chart-display.no-y-axis {
left: 0px; }

/* Chart X axis */
.tui-chart-x-axis {
display: flex;
position: absolute;
height: 30px;
left: 50px;
right: 0px;
bottom: 0px;
line-height: 30px; }

/* Chart Y axis */
.tui-chart-y-axis {
display: flex;
flex-direction: column;
position: absolute;
top: 0px;
left: 0px;
bottom: 30px;
width: 50px; }

/* Chart legends */
.tui-chart-vertical .tui-chart-x-axis .tui-chart-legend {
flex: 0 1 100%;
text-align: center; }

.tui-chart-vertical .tui-chart-y-axis .tui-chart-legend {
flex: 1;
text-align: right;
padding-right: 2px;
display: flex;
align-items: flex-start;
justify-content: flex-end; }

.tui-chart-horizontal .tui-chart-x-axis .tui-chart-legend {
flex: 0 1 100%;
text-align: right; }

.tui-chart-horizontal .tui-chart-y-axis .tui-chart-legend {
flex: 1;
text-align: right;
padding-right: 2px;
display: flex;
align-items: center;
justify-content: flex-end; }

/* Chart value */
.tui-chart-vertical .tui-chart-display .tui-chart-value {
flex: 0 1 100%;
text-align: center;
overflow: hidden; }

.tui-chart-horizontal .tui-chart-display .tui-chart-value {
flex: 1;
text-align: right;
display: flex;
align-items: center;
align-content: flex-start;
justify-content: flex-end;
overflow: hidden; }
Loading

0 comments on commit 120b5d8

Please sign in to comment.