Updates
This commit is contained in:
parent
075b56fcc6
commit
742991ace8
75
dist/tuicss.css
vendored
75
dist/tuicss.css
vendored
@ -557,9 +557,21 @@ input, select, textarea {
|
||||
.inline {
|
||||
display: inline !important; }
|
||||
|
||||
.inline-block {
|
||||
display: inline-block !important; }
|
||||
|
||||
.block {
|
||||
display: block !important; }
|
||||
|
||||
.valign-top {
|
||||
vertical-align: top !important; }
|
||||
|
||||
.valign-middle {
|
||||
vertical-align: middle !important; }
|
||||
|
||||
.valign-bottom {
|
||||
vertical-align: bottom !important; }
|
||||
|
||||
.fixed {
|
||||
position: fixed !important; }
|
||||
|
||||
@ -796,7 +808,7 @@ input, select, textarea {
|
||||
background: white;
|
||||
text-align: center; }
|
||||
|
||||
.tui-progress {
|
||||
.tui-progress-bar {
|
||||
display: block;
|
||||
position: relative;
|
||||
height: 20px;
|
||||
@ -804,14 +816,14 @@ input, select, textarea {
|
||||
background-color: #00a8a8;
|
||||
overflow: hidden; }
|
||||
|
||||
.tui-progress span {
|
||||
.tui-progress {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
background-color: cyan;
|
||||
height: 20px;
|
||||
height: 100%;
|
||||
display: inline-block; }
|
||||
|
||||
.tui-progress .tui-indeterminate {
|
||||
.tui-progress-bar .tui-indeterminate {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
background-color: cyan;
|
||||
@ -822,6 +834,13 @@ input, select, textarea {
|
||||
animation-iteration-count: infinite;
|
||||
animation-timing-function: linear; }
|
||||
|
||||
.tui-progress-label {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
z-index: 1; }
|
||||
|
||||
@keyframes indeterminate {
|
||||
from {
|
||||
margin-left: -10%; }
|
||||
@ -1100,54 +1119,6 @@ input, select, textarea {
|
||||
.tui-no-shadow {
|
||||
box-shadow: none !important; }
|
||||
|
||||
.tui-texturized-blue-white {
|
||||
background-image: url("./images/bg-blue-white.png");
|
||||
background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-blue-black {
|
||||
background-image: url("./images/bg-blue-black.png");
|
||||
background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-green-white {
|
||||
background-image: url("./images/bg-green-white.png");
|
||||
background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-green-black {
|
||||
background-image: url("./images/bg-green-black.png");
|
||||
background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-cyan-white {
|
||||
background-image: url("./images/bg-cyan-white.png");
|
||||
background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-cyan-black {
|
||||
background-image: url("./images/bg-cyan-black.png");
|
||||
background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-red-white {
|
||||
background-image: url("./images/bg-red-white.png");
|
||||
background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-red-black {
|
||||
background-image: url("./images/bg-red-black.png");
|
||||
background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-purple-white {
|
||||
background-image: url("./images/bg-purple-white.png");
|
||||
background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-purple-black {
|
||||
background-image: url("./images/bg-purple-black.png");
|
||||
background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-yellow-white {
|
||||
background-image: url("./images/bg-yellow-white.png");
|
||||
background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-yellow-black {
|
||||
background-image: url("./images/bg-yellow-black.png");
|
||||
background-repeat: repeat; }
|
||||
|
||||
.tui-bg-blue-white {
|
||||
background-image: url("./images/bg-blue-white.png");
|
||||
background-repeat: repeat; }
|
||||
|
2
dist/tuicss.min.css
vendored
2
dist/tuicss.min.css
vendored
File diff suppressed because one or more lines are too long
60
examples/progress-bar.html
Normal file
60
examples/progress-bar.html
Normal file
@ -0,0 +1,60 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="tui-bg-blue-black">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Progress Example</title>
|
||||
<script src="plugins/jquery-3.4.1.min.js"></script>
|
||||
<script src="../dist/tuicss.min.js"></script>
|
||||
<link rel="stylesheet" href="../dist/tuicss.min.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<body class="center" style="padding: 50px">
|
||||
<div class="tui-window" style="text-align: left;">
|
||||
<fieldset class="tui-window-fieldset">
|
||||
<legend class="center">Progress</legend>
|
||||
0% ............:
|
||||
<div class="tui-progress-bar inline-block valign-middle">
|
||||
<span class="tui-progress" style="width: 0%"></span>
|
||||
</div><br><br>
|
||||
25% ...........:
|
||||
<div class="tui-progress-bar inline-block valign-middle">
|
||||
<span class="tui-progress" style="width: 25%"></span>
|
||||
</div><br><br>
|
||||
50% ...........:
|
||||
<div class="tui-progress-bar inline-block valign-middle">
|
||||
<span class="tui-progress" style="width: 50%"></span>
|
||||
</div><br><br>
|
||||
75% ...........:
|
||||
<div class="tui-progress-bar inline-block valign-middle">
|
||||
<span class="tui-progress" style="width: 75%"></span>
|
||||
</div><br><br>
|
||||
100% ..........:
|
||||
<div class="tui-progress-bar inline-block valign-middle">
|
||||
<span class="tui-progress" style="width: 100%"></span>
|
||||
</div><br><br>
|
||||
Texture bg ....:
|
||||
<div class="tui-progress-bar inline-block valign-middle tui-bg-blue-black">
|
||||
<span class="tui-progress" style="width: 50%"></span>
|
||||
</div><br><br>
|
||||
Indeterminate .:
|
||||
<div class="tui-progress-bar inline-block valign-middle">
|
||||
<span class="tui-indeterminate"></span>
|
||||
</div><br><br>
|
||||
Labeled .......:
|
||||
<div class="tui-progress-bar inline-block valign-middle">
|
||||
<span class="tui-progress-label black-text">75%</span>
|
||||
<span class="tui-progress" style="width: 75%"></span>
|
||||
</div><br><br>
|
||||
Custom ........:
|
||||
<div class="tui-progress-bar inline-block valign-middle red-255">
|
||||
<span class="tui-progress green-255" style="width: 50%"></span>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
178
examples/table.html
Normal file
178
examples/table.html
Normal file
@ -0,0 +1,178 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="tui-bg-blue-black">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Table Example</title>
|
||||
<script src="plugins/jquery-3.4.1.min.js"></script>
|
||||
<script src="../dist/tuicss.min.js"></script>
|
||||
<link rel="stylesheet" href="../dist/tuicss.min.css">
|
||||
<style>
|
||||
.tui-window {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<body class="center" style="padding: 50px">
|
||||
<div class="tui-window" style="text-align: left;">
|
||||
<fieldset class="tui-window-fieldset">
|
||||
<legend class="center">Table</legend>
|
||||
<table class="tui-table" style="width: 700px">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>PID</th>
|
||||
<th>CPU</th>
|
||||
<th>Memory</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>conhost.exe</td>
|
||||
<td>25768</td>
|
||||
<td>00</td>
|
||||
<td>1.748 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>msdos.exe</td>
|
||||
<td>748</td>
|
||||
<td>00</td>
|
||||
<td>22.216 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>System</td>
|
||||
<td>25000</td>
|
||||
<td>12</td>
|
||||
<td>112 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>svchost.exe</td>
|
||||
<td>580</td>
|
||||
<td>01</td>
|
||||
<td>9.440 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>explorer.exe</td>
|
||||
<td>4</td>
|
||||
<td>00</td>
|
||||
<td>53.740 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>conhost.exe</td>
|
||||
<td>25768</td>
|
||||
<td>00</td>
|
||||
<td>1.748 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>msdos.exe</td>
|
||||
<td>748</td>
|
||||
<td>00</td>
|
||||
<td>22.216 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>System</td>
|
||||
<td>25000</td>
|
||||
<td>12</td>
|
||||
<td>112 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>svchost.exe</td>
|
||||
<td>580</td>
|
||||
<td>01</td>
|
||||
<td>9.440 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>explorer.exe</td>
|
||||
<td>4</td>
|
||||
<td>00</td>
|
||||
<td>53.740 Kb</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="tui-window" style="text-align: left;">
|
||||
<fieldset class="tui-window-fieldset">
|
||||
<legend class="center">Table hover</legend>
|
||||
<table class="tui-table tui-table-hover" style="width: 700px">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>PID</th>
|
||||
<th>CPU</th>
|
||||
<th>Memory</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>conhost.exe</td>
|
||||
<td>25768</td>
|
||||
<td>00</td>
|
||||
<td>1.748 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>msdos.exe</td>
|
||||
<td>748</td>
|
||||
<td>00</td>
|
||||
<td>22.216 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>System</td>
|
||||
<td>25000</td>
|
||||
<td>12</td>
|
||||
<td>112 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>svchost.exe</td>
|
||||
<td>580</td>
|
||||
<td>01</td>
|
||||
<td>9.440 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>explorer.exe</td>
|
||||
<td>4</td>
|
||||
<td>00</td>
|
||||
<td>53.740 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>conhost.exe</td>
|
||||
<td>25768</td>
|
||||
<td>00</td>
|
||||
<td>1.748 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>msdos.exe</td>
|
||||
<td>748</td>
|
||||
<td>00</td>
|
||||
<td>22.216 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>System</td>
|
||||
<td>25000</td>
|
||||
<td>12</td>
|
||||
<td>112 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>svchost.exe</td>
|
||||
<td>580</td>
|
||||
<td>01</td>
|
||||
<td>9.440 Kb</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>explorer.exe</td>
|
||||
<td>4</td>
|
||||
<td>00</td>
|
||||
<td>53.740 Kb</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
@ -1,4 +1,4 @@
|
||||
.tui-progress {
|
||||
.tui-progress-bar {
|
||||
display: block;
|
||||
position: relative;
|
||||
height: 20px;
|
||||
@ -6,14 +6,14 @@
|
||||
background-color: rgb(0, 168, 168);
|
||||
overflow: hidden;
|
||||
}
|
||||
.tui-progress span {
|
||||
.tui-progress {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
background-color: rgb(0, 255, 255);
|
||||
height: 20px;
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
}
|
||||
.tui-progress .tui-indeterminate {
|
||||
.tui-progress-bar .tui-indeterminate {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
background-color: rgb(0, 255, 255);
|
||||
@ -24,6 +24,13 @@
|
||||
animation-iteration-count: infinite;
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
.tui-progress-label {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
z-index: 1;
|
||||
}
|
||||
@keyframes indeterminate {
|
||||
from {margin-left: -10%; }
|
||||
to {margin-left: 100%}
|
||||
|
@ -1,17 +0,0 @@
|
||||
.tui-texturized-blue-white { background-image: url('./images/bg-blue-white.png'); background-repeat: repeat; }
|
||||
.tui-texturized-blue-black { background-image: url('./images/bg-blue-black.png'); background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-green-white { background-image: url('./images/bg-green-white.png'); background-repeat: repeat; }
|
||||
.tui-texturized-green-black { background-image: url('./images/bg-green-black.png'); background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-cyan-white { background-image: url('./images/bg-cyan-white.png'); background-repeat: repeat; }
|
||||
.tui-texturized-cyan-black { background-image: url('./images/bg-cyan-black.png'); background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-red-white { background-image: url('./images/bg-red-white.png'); background-repeat: repeat; }
|
||||
.tui-texturized-red-black { background-image: url('./images/bg-red-black.png'); background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-purple-white { background-image: url('./images/bg-purple-white.png'); background-repeat: repeat; }
|
||||
.tui-texturized-purple-black { background-image: url('./images/bg-purple-black.png'); background-repeat: repeat; }
|
||||
|
||||
.tui-texturized-yellow-white { background-image: url('./images/bg-yellow-white.png'); background-repeat: repeat; }
|
||||
.tui-texturized-yellow-black { background-image: url('./images/bg-yellow-black.png'); background-repeat: repeat; }
|
@ -33,10 +33,23 @@
|
||||
.inline {
|
||||
display: inline!important;
|
||||
}
|
||||
.inline-block {
|
||||
display: inline-block!important;
|
||||
}
|
||||
.block {
|
||||
display: block!important;
|
||||
}
|
||||
|
||||
.valign-top {
|
||||
vertical-align: top!important;
|
||||
}
|
||||
.valign-middle {
|
||||
vertical-align: middle!important;
|
||||
}
|
||||
.valign-bottom {
|
||||
vertical-align: bottom!important;
|
||||
}
|
||||
|
||||
.fixed {
|
||||
position: fixed!important;
|
||||
}
|
||||
|
@ -26,7 +26,6 @@
|
||||
@import './components/date.scss';
|
||||
@import './components/shortcut.scss';
|
||||
@import './components/shadow.scss';
|
||||
@import './components/texture.scss';
|
||||
@import './components/background.scss';
|
||||
@import './components/border.scss';
|
||||
@import './components/grid.scss';
|
Loading…
x
Reference in New Issue
Block a user