@dev-tcloud/tcloud-ui 0.0.15 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ .tcloud-ui-start-loading{
2
+ display: block !important;
3
+ position: fixed;
4
+ width: 100%;
5
+ height: 100%;
6
+ background-color: #cccc;
7
+ z-index: 1090;
8
+ top: 0;
9
+ left: 0;
10
+ cursor: progress;
11
+
12
+ .tc-loading-icon{
13
+ text-align: center;
14
+ position: relative;
15
+ top: 50%;
16
+ transform: translateY(-50%);
17
+
18
+ i{
19
+ font-size: 55px;
20
+ opacity: 0.4;
21
+ }
22
+ }
23
+ }
24
+
25
+ body.tcloud-ui-body-loading-transitions{
26
+ position: relative;
27
+ overflow: hidden;
28
+ }
@@ -0,0 +1,86 @@
1
+ .tc-table{
2
+ width: 100%;
3
+ font-size: 12px;
4
+ line-height: 1.5;
5
+
6
+ .nowrap{
7
+ white-space: nowrap;
8
+ }
9
+
10
+ th{
11
+ font-weight: 400;
12
+ line-height: 1.5;
13
+ text-align: center;
14
+ border-collapse: collapse;
15
+ border: 1px solid #FFF;
16
+ border-left: none;
17
+ padding: 9px 5px;
18
+ background-color: var(--cinza);
19
+ color: #FFF;
20
+ }
21
+
22
+ th:first-child{
23
+ border-radius: 5px 0 0 0;
24
+ }
25
+
26
+ tbody{
27
+ td {
28
+ text-align: center;
29
+ border-collapse: collapse;
30
+ border: 1px solid #FFF;
31
+ padding: 9px 5px;
32
+ }
33
+ }
34
+
35
+ }
36
+
37
+
38
+ /* TABELA RESPONSIVA */
39
+ @media screen and (max-width: 900px) {
40
+ table.tc-table-responsive {
41
+ border: 0;
42
+ display: grid !important;
43
+ }
44
+ table.tc-table-responsive caption {
45
+ font-size: 1.3em;
46
+ }
47
+ table.tc-table-responsive thead {
48
+ border: none;
49
+ clip: rect(0 0 0 0);
50
+ height: 1px;
51
+ margin: -1px;
52
+ overflow: hidden;
53
+ padding: 0;
54
+ position: absolute;
55
+ width: 1px;
56
+ }
57
+ table.tc-table-responsive th {
58
+ text-align: left !important;
59
+ }
60
+ table.tc-table-responsive tr {
61
+ border-bottom: 3px solid #ddd;
62
+ display: block;
63
+ margin-bottom: .625em;
64
+ }
65
+ table.tc-table-responsive td {
66
+ border-bottom: 1px solid #ddd;
67
+ display: block;
68
+ font-size: .8em;
69
+ text-align: right !important;
70
+ }
71
+ table.tc-table-responsive td::before {
72
+ content: attr(tc-data-label);
73
+ float: left;
74
+ font-weight: bold;
75
+ text-transform: uppercase;
76
+ }
77
+ table.tc-table-responsive td:last-child {
78
+ border-bottom: 0;
79
+ }
80
+ table.table-table-w100 input{
81
+ width: 100%;
82
+ }
83
+ }
84
+
85
+
86
+
@@ -0,0 +1,68 @@
1
+ /* You can add global styles to this file, and also import other style files */
2
+
3
+ :root{
4
+ --bk-tootltip: #434343;
5
+ --color-text-tooltip: #fff;
6
+ }
7
+
8
+ .tc-directive-tooltip{
9
+ background-color: var(--bk-tootltip) !important;
10
+ color: var(--color-text-tooltip) !important;
11
+ }
12
+
13
+
14
+ .tc-directive-tooltip-top:before{
15
+ content: "";
16
+ position: absolute;
17
+ left: calc( 50% - 8px);
18
+ top: calc( 100% - 11px);
19
+ width: 15px;
20
+ height: 15px;
21
+ transform: rotateZ(45deg);
22
+ background-color: var(--bk-tootltip);
23
+ border: none;
24
+ z-index: -1;
25
+ }
26
+
27
+ .tc-directive-tooltip-bottom:before{
28
+ content: "";
29
+ position: absolute;
30
+ left: calc( 50% - 8px);
31
+ top: -3px;
32
+ width: 15px;
33
+ height: 15px;
34
+ transform: rotateZ(45deg);
35
+ background-color: var(--bk-tootltip);
36
+ border: none;
37
+ z-index: -1;
38
+ }
39
+
40
+ .tc-directive-tooltip-right:before{
41
+ content: "";
42
+ position: absolute;
43
+ left: -4px;
44
+ top: calc( 50% - 8px);
45
+ width: 15px;
46
+ height: 15px;
47
+ transform: rotateZ(45deg);
48
+ background-color: var(--bk-tootltip);
49
+ border: none;
50
+ z-index: -1;
51
+ }
52
+
53
+ .tc-directive-tooltip-left:before{
54
+ content: "";
55
+ position: absolute;
56
+ left: calc( 100% - 10px);
57
+ top: calc( 50% - 8px);
58
+ width: 15px;
59
+ height: 15px;
60
+ transform: rotateZ(45deg);
61
+ background-color: var(--bk-tootltip);
62
+ border: none;
63
+ z-index: -1;
64
+ }
65
+
66
+ .main-tooltip{
67
+ position: relative !important;
68
+ }
@@ -0,0 +1,8 @@
1
+ .ng-invalid.ng-touched{
2
+ border-color: var(--danger);
3
+
4
+ }
5
+
6
+ .ng-invalid.ng-touched .tc-parent-validation{
7
+ border-color: var(--danger);
8
+ }
@@ -0,0 +1,33 @@
1
+
2
+ :root {
3
+
4
+ --black: #000;
5
+ --white: #fff;
6
+ --blue: #0897E9;
7
+ --dark: #363636;
8
+ --orange: #FEAC0E;
9
+ // --gray-100: #EEE;
10
+ --gray-light: #EEE;
11
+ --blue-500: #0ADBE3;
12
+ --purple: #6B48FF;
13
+ --red: red;
14
+ // =============================================
15
+ // Colors V1
16
+ // =============================================
17
+ --primary: #37B6C4;
18
+ --primary-700: #136E92;
19
+ --secondary: #484440;
20
+ --gray: #707070;
21
+ --gray-800: #8A817B;
22
+ --gray-400: #D5CCC3;
23
+ --gray-200: #F1F1F1;
24
+ --gray-100: #F8F9FA;
25
+ --warning: #ED9C2E;
26
+ --danger: #D93025;
27
+ --success :#1E8E3E;
28
+ --complete :#039BE5;
29
+
30
+ --verde: #37B6C4;
31
+ --cinza: #8A817B;
32
+ --cinza4: #F1F1F1;
33
+ }
@@ -0,0 +1,6 @@
1
+ @import 'custom/variables.scss';
2
+
3
+ @import 'custom/loading-transitions.scss';
4
+ @import 'custom/table.scss';
5
+ @import 'custom/tooltip.scss';
6
+ @import 'custom/validation.scss';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-tcloud/tcloud-ui",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.1.0",
6
6
  "@angular/core": "^14.1.0"