@dev-tcloud/tcloud-ui 0.0.25 → 0.0.27
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.
- package/README.md +3 -2
- package/esm2020/lib/_modules/tcloud-ui-input-search/tcloud-ui-input-search.component.mjs +3 -3
- package/fesm2015/dev-tcloud-tcloud-ui.mjs +2 -2
- package/fesm2015/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/fesm2020/dev-tcloud-tcloud-ui.mjs +2 -2
- package/fesm2020/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/{assets/scss → scss/components}/custom/loading-transitions.scss +0 -0
- package/{assets/scss → scss/components}/custom/table.scss +0 -0
- package/{assets/scss → scss/components}/custom/tooltip.scss +0 -0
- package/{assets/scss → scss/components}/custom/validation.scss +0 -0
- package/{assets/scss → scss/components}/custom/variables.scss +0 -0
- package/{assets/scss → scss/components}/styles.scss +0 -0
- package/scss/tcloud/custom/buttons.scss +88 -0
- package/scss/tcloud/custom/card.scss +50 -0
- package/scss/tcloud/custom/colors.scss +44 -0
- package/scss/tcloud/custom/forms.scss +65 -0
- package/scss/tcloud/custom/layout.scss +81 -0
- package/scss/tcloud/custom/mixins.scss +68 -0
- package/scss/tcloud/custom/text.scss +50 -0
- package/scss/tcloud/styles.scss +8 -0
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// ---------------------------------
|
|
2
|
+
// Buttons
|
|
3
|
+
// ---------------------------------
|
|
4
|
+
|
|
5
|
+
.tc-btn {
|
|
6
|
+
font-size: 12px;
|
|
7
|
+
background: $gray-200;
|
|
8
|
+
color: $dark;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
border-radius: 30px;
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
transition: all 0.25s;
|
|
14
|
+
padding: 0 25px;
|
|
15
|
+
height: 40px;
|
|
16
|
+
border: 1px solid $gray-200;
|
|
17
|
+
|
|
18
|
+
p {
|
|
19
|
+
font-size: 13px;
|
|
20
|
+
color: $dark;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
i {
|
|
24
|
+
margin-right: 10px;
|
|
25
|
+
font-size: 20px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:hover {
|
|
29
|
+
color: $dark;
|
|
30
|
+
background: $gray-100;
|
|
31
|
+
border-color: $gray-200;
|
|
32
|
+
}
|
|
33
|
+
&:link { text-decoration: none; }
|
|
34
|
+
&:visited { text-decoration: none; }
|
|
35
|
+
&:hover { text-decoration: none; }
|
|
36
|
+
&:active { text-decoration: none; }
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.tc-btn:disabled,
|
|
40
|
+
.tc-btn[disabled]{
|
|
41
|
+
cursor: no-drop;
|
|
42
|
+
opacity: 0.6;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
.tc-btn-primary{
|
|
47
|
+
color: $white;
|
|
48
|
+
background: $primary;
|
|
49
|
+
border-color: $primary;
|
|
50
|
+
|
|
51
|
+
&:hover {
|
|
52
|
+
color: $white;
|
|
53
|
+
background: $primary-700;
|
|
54
|
+
border-color: $primary;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.tc-btn-text {
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
padding: 10px;
|
|
61
|
+
background: none;
|
|
62
|
+
color: $black;
|
|
63
|
+
border: none;
|
|
64
|
+
|
|
65
|
+
p {
|
|
66
|
+
text-align: left;
|
|
67
|
+
color: $black;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.tc-btn-link {
|
|
72
|
+
cursor: pointer;
|
|
73
|
+
padding: 10px;
|
|
74
|
+
background: none;
|
|
75
|
+
color: $primary;
|
|
76
|
+
border: none;
|
|
77
|
+
font-size: 15px;
|
|
78
|
+
|
|
79
|
+
p {
|
|
80
|
+
text-align: left;
|
|
81
|
+
color: $primary;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:hover{
|
|
85
|
+
color: $primary-700;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// ---------------------------------
|
|
2
|
+
// tc-card
|
|
3
|
+
// ---------------------------------
|
|
4
|
+
|
|
5
|
+
.tc-card {
|
|
6
|
+
font-size: 13px;
|
|
7
|
+
background: #fff;
|
|
8
|
+
border-radius: 20px;
|
|
9
|
+
box-shadow: 2px 3px 20px rgb(0 0 0 / 8%);
|
|
10
|
+
padding: 20px;
|
|
11
|
+
margin-bottom: 20px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.tc-card-header {
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: space-between;
|
|
17
|
+
flex-flow: column;
|
|
18
|
+
gap: 10px;
|
|
19
|
+
margin-bottom: 15px;
|
|
20
|
+
padding-bottom: 15px;
|
|
21
|
+
border-bottom: 1px solid $gray-200;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.tc-card-title {
|
|
25
|
+
color: $primary;
|
|
26
|
+
font-size: 16px;
|
|
27
|
+
font-weight: normal;
|
|
28
|
+
text-transform: uppercase;
|
|
29
|
+
margin: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.tc-card-description {
|
|
33
|
+
font-size: 11px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.tc-card-footer {
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
flex-flow: row;
|
|
40
|
+
justify-content: flex-end;
|
|
41
|
+
gap: 20px;
|
|
42
|
+
margin-top: 15px;
|
|
43
|
+
padding-top: 15px;
|
|
44
|
+
border-top: 1px solid $gray-200;
|
|
45
|
+
|
|
46
|
+
button,
|
|
47
|
+
.tc-btn {
|
|
48
|
+
margin: 0!important;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// =============================================
|
|
2
|
+
// Colors V2
|
|
3
|
+
// =============================================
|
|
4
|
+
|
|
5
|
+
$black: #000;
|
|
6
|
+
$white: #fff;
|
|
7
|
+
|
|
8
|
+
$blue: #0897E9;
|
|
9
|
+
$dark: #363636;
|
|
10
|
+
|
|
11
|
+
$orange: #FEAC0E;
|
|
12
|
+
// $gray-100: #EEE;
|
|
13
|
+
$gray-light: #EEE;
|
|
14
|
+
|
|
15
|
+
$blue-500: #0ADBE3;
|
|
16
|
+
$purple: #6B48FF;
|
|
17
|
+
|
|
18
|
+
$red: red;
|
|
19
|
+
|
|
20
|
+
// =============================================
|
|
21
|
+
// Colors V1
|
|
22
|
+
// =============================================
|
|
23
|
+
|
|
24
|
+
$primary: #37b6c4;
|
|
25
|
+
$primary-700: #136e92;
|
|
26
|
+
|
|
27
|
+
$secondary: #484440;
|
|
28
|
+
|
|
29
|
+
$gray: #707070;
|
|
30
|
+
$gray-800: #8A817B;
|
|
31
|
+
$gray-400: #D5CCC3;
|
|
32
|
+
$gray-200: #F1F1F1;
|
|
33
|
+
$gray-100: #F8F9FA;
|
|
34
|
+
|
|
35
|
+
$warning: #ED9C2E;
|
|
36
|
+
$danger: #D93025;
|
|
37
|
+
$success :#1E8E3E;
|
|
38
|
+
$complete :#039BE5;
|
|
39
|
+
|
|
40
|
+
:root {
|
|
41
|
+
--verde: #37b6c4;
|
|
42
|
+
--cinza: #8a817b;
|
|
43
|
+
--cinza4: #f1f1f1;
|
|
44
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// ---------------------------------
|
|
2
|
+
// Forms
|
|
3
|
+
// ---------------------------------
|
|
4
|
+
|
|
5
|
+
.tc-form-control{
|
|
6
|
+
display: block;
|
|
7
|
+
width: 100%;
|
|
8
|
+
padding: .375rem .75rem;
|
|
9
|
+
font-size: 1rem;
|
|
10
|
+
font-weight: 400;
|
|
11
|
+
line-height: 1.5;
|
|
12
|
+
color: #212529;
|
|
13
|
+
background-color: #fff;
|
|
14
|
+
background-clip: padding-box;
|
|
15
|
+
border: 1px solid #ced4da;
|
|
16
|
+
-webkit-appearance: none;
|
|
17
|
+
-moz-appearance: none;
|
|
18
|
+
appearance: none;
|
|
19
|
+
border-radius: .25rem;
|
|
20
|
+
transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
&:focus {
|
|
24
|
+
border-color: $primary;
|
|
25
|
+
box-shadow: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:focus-visible {
|
|
29
|
+
outline: 1px solid $primary;
|
|
30
|
+
border-radius: 3px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
input.tc-form-control,
|
|
35
|
+
select.tc-form-control{
|
|
36
|
+
height: 40px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
textarea.tc-form-control{
|
|
40
|
+
min-height: 80px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
select.tc-form-control{
|
|
45
|
+
background-color: #fff;
|
|
46
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
|
|
47
|
+
background-repeat: no-repeat;
|
|
48
|
+
background-position: right .75rem center;
|
|
49
|
+
background-size: 16px 12px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
.tc-form-group{
|
|
54
|
+
margin-top: 10px;
|
|
55
|
+
display: flex;
|
|
56
|
+
|
|
57
|
+
input, select, textarea {
|
|
58
|
+
margin-right: 15px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
button{
|
|
62
|
+
align-self: end;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// ::ng-deep component {}
|
|
2
|
+
|
|
3
|
+
// =============================================
|
|
4
|
+
// Structure
|
|
5
|
+
// =============================================
|
|
6
|
+
|
|
7
|
+
main {
|
|
8
|
+
position: relative;
|
|
9
|
+
display: grid;
|
|
10
|
+
gap: 20px;
|
|
11
|
+
grid-template-columns: 170px auto;
|
|
12
|
+
grid-template-areas:
|
|
13
|
+
"nav nav"
|
|
14
|
+
"section section";
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
header {
|
|
18
|
+
background: $white;
|
|
19
|
+
position: fixed;
|
|
20
|
+
margin-bottom: 20px;
|
|
21
|
+
width: 100%;
|
|
22
|
+
@include bd-bottom;
|
|
23
|
+
z-index: 2;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
section {
|
|
27
|
+
flex: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
nav {
|
|
31
|
+
background-color: $gray-light;
|
|
32
|
+
padding: 0 15px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.content {
|
|
36
|
+
margin-bottom: 20px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.content-wrap {
|
|
40
|
+
margin-bottom: 20px;
|
|
41
|
+
background: #cccccc24;
|
|
42
|
+
padding: 10px;
|
|
43
|
+
border-radius: 5px;
|
|
44
|
+
|
|
45
|
+
button, .btn {
|
|
46
|
+
margin-bottom: 20px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.wrap {
|
|
50
|
+
margin-bottom: 20px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.sidemenu {
|
|
55
|
+
display: grid;
|
|
56
|
+
grid-template-columns: 100px auto;
|
|
57
|
+
gap: 20px;
|
|
58
|
+
position: relative;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.sidemenu-nav {
|
|
62
|
+
position: relative;
|
|
63
|
+
border-right: 1px solid $gray-200;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.sidemenu-nav-items {
|
|
67
|
+
position: fixed;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.sidemenu-nav-item {
|
|
71
|
+
display: block;
|
|
72
|
+
text-decoration: none;
|
|
73
|
+
color: $blue;
|
|
74
|
+
margin-bottom: 10px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// Responsive Styles
|
|
78
|
+
@media screen and (max-width: 767px) {
|
|
79
|
+
|
|
80
|
+
}
|
|
81
|
+
// Default Styles
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
|
|
2
|
+
// ===============================================
|
|
3
|
+
// Font and text
|
|
4
|
+
// ===============================================
|
|
5
|
+
|
|
6
|
+
@mixin bold {
|
|
7
|
+
font-weight: bold;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@mixin uppercase {
|
|
12
|
+
text-transform: uppercase;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
// ===============================================
|
|
18
|
+
// Helpers
|
|
19
|
+
// ===============================================
|
|
20
|
+
|
|
21
|
+
@mixin test($args...){
|
|
22
|
+
border:1px solid $args
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
// ===============================================
|
|
28
|
+
// Misc
|
|
29
|
+
// ===============================================
|
|
30
|
+
|
|
31
|
+
@mixin brdr($color: $gray-200) {
|
|
32
|
+
border: 1px solid $color;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@mixin bd-bottom($color: $gray-200) {
|
|
36
|
+
border-bottom: 1px solid $color;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@mixin bd-top($color: $gray-200) {
|
|
40
|
+
border-top: 1px solid $color;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@mixin bd-rgt($color: $gray-200) {
|
|
44
|
+
border-right: 1px solid $color;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@mixin bd-lft($color: $gray-200) {
|
|
48
|
+
border-left: 1px solid $color;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
@mixin arrow-top ($size, $color){
|
|
53
|
+
content: '';
|
|
54
|
+
height: 0;
|
|
55
|
+
width: 0;
|
|
56
|
+
border-style: solid;
|
|
57
|
+
border-color: transparent transparent $color transparent;
|
|
58
|
+
border-width: 0 $size $size $size;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@mixin arrow-bottom ($size, $color){
|
|
62
|
+
content: '';
|
|
63
|
+
height: 0;
|
|
64
|
+
width: 0;
|
|
65
|
+
border-style: solid;
|
|
66
|
+
border-color: $color transparent transparent transparent;
|
|
67
|
+
border-width: $size $size 0 $size;
|
|
68
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
|
|
2
|
+
h1, h2, h3, h4, h5, h6, p {
|
|
3
|
+
margin: 0;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
h2, h3, h4, h5, h6 {
|
|
7
|
+
margin-bottom: 20px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
p,
|
|
11
|
+
label,
|
|
12
|
+
ul,
|
|
13
|
+
dl {
|
|
14
|
+
font-size: 13px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
p,
|
|
18
|
+
ul,
|
|
19
|
+
dl,
|
|
20
|
+
code {
|
|
21
|
+
line-height: 20px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.text {
|
|
25
|
+
margin-bottom: 20px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.tc-uppercase{
|
|
29
|
+
text-transform: uppercase;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.tc-lowercase{
|
|
33
|
+
text-transform: lowercase;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.tc-text-left{
|
|
37
|
+
text-align: left;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.tc-text-center{
|
|
41
|
+
text-align: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.tc-text-right{
|
|
45
|
+
text-align: right;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.tc-text-primary {
|
|
49
|
+
color: #37b6c4;
|
|
50
|
+
}
|