@osovitny/angular 4.0.0
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/LICENSE +21 -0
- package/README.md +33 -0
- package/assets/jsons/countries.json +994 -0
- package/assets/jsons/languages-readme.txt +28 -0
- package/assets/jsons/languages.json +38 -0
- package/assets/jsons/timezones.json +554 -0
- package/assets/jsons/usStates.json +202 -0
- package/assets/styles/scss/alerts.css +177 -0
- package/assets/styles/scss/alerts.min.css +1 -0
- package/assets/styles/scss/alerts.scss +194 -0
- package/assets/styles/scss/dialog/dialog.scss +49 -0
- package/assets/styles/scss/forms/contactus-form.scss +111 -0
- package/assets/styles/scss/forms/form-validation.scss +50 -0
- package/assets/styles/scss/mixins/_cards.css +0 -0
- package/assets/styles/scss/mixins/_cards.min.css +0 -0
- package/assets/styles/scss/mixins/_cards.scss +99 -0
- package/assets/styles/scss/pnlLoading.scss +20 -0
- package/assets/styles/scss/spinkit/sk-line-material.scss +61 -0
- package/assets/styles/scss/spinner.scss +22 -0
- package/assets/styles/scss/toastr.scss +192 -0
- package/assets/styles/styles.scss +32 -0
- package/fesm2022/osovitny-angular.mjs +7183 -0
- package/fesm2022/osovitny-angular.mjs.map +1 -0
- package/package.json +80 -0
- package/types/osovitny-angular.d.ts +1885 -0
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
osovitny-forms-contactus-form {
|
|
2
|
+
.contact-us {
|
|
3
|
+
position: relative;
|
|
4
|
+
|
|
5
|
+
.form-fields {
|
|
6
|
+
p {
|
|
7
|
+
color: #222;
|
|
8
|
+
font-size: 14px;
|
|
9
|
+
line-height: 1.2;
|
|
10
|
+
margin-bottom: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.form-name,
|
|
14
|
+
.form-email,
|
|
15
|
+
.form-topic,
|
|
16
|
+
.form-subject {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-flow: column wrap;
|
|
19
|
+
position: static;
|
|
20
|
+
margin-bottom: 15px;
|
|
21
|
+
|
|
22
|
+
.help-block {
|
|
23
|
+
top: -7px;
|
|
24
|
+
position: relative;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
p {
|
|
28
|
+
color: #222;
|
|
29
|
+
font-size: 12px;
|
|
30
|
+
line-height: 1.2;
|
|
31
|
+
font-style: italic;
|
|
32
|
+
margin-bottom: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
input[type="text"] {
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
font-size: 0.95rem;
|
|
38
|
+
line-height: 28px;
|
|
39
|
+
height: 44px;
|
|
40
|
+
color: #777;
|
|
41
|
+
background-color: #fff;
|
|
42
|
+
border: 1px solid rgba(153, 153, 153, 0.85);
|
|
43
|
+
border-radius: 0.4rem;
|
|
44
|
+
padding: 5px 15px;
|
|
45
|
+
width: 100%;
|
|
46
|
+
vertical-align: baseline;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.form-message {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-flow: column wrap;
|
|
54
|
+
margin: 15px 0 0;
|
|
55
|
+
|
|
56
|
+
textarea {
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
font-size: 0.95rem;
|
|
59
|
+
line-height: 28px;
|
|
60
|
+
order: 0;
|
|
61
|
+
width: 100%;
|
|
62
|
+
margin: 0;
|
|
63
|
+
background-color: #fff;
|
|
64
|
+
color: #777;
|
|
65
|
+
border: 1px solid rgba(153, 153, 153, 0.85);
|
|
66
|
+
border-radius: 0.4rem;
|
|
67
|
+
padding: 5px 15px;
|
|
68
|
+
height: 250px;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.assistive-text {
|
|
73
|
+
color: #777;
|
|
74
|
+
position: absolute;
|
|
75
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.form-select {
|
|
80
|
+
display: block;
|
|
81
|
+
width: 100%;
|
|
82
|
+
padding: 0.6rem 2.25rem 0.6rem 1rem;
|
|
83
|
+
-moz-padding-start: calc(1rem - 3px);
|
|
84
|
+
font-size: 0.95rem;
|
|
85
|
+
font-weight: 500;
|
|
86
|
+
line-height: 1.7;
|
|
87
|
+
color: #959ca9;
|
|
88
|
+
background-color: #fff;
|
|
89
|
+
background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPScxLjEnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zycgd2lkdGg9JzQ1JyBoZWlnaHQ9JzMyJyB2aWV3Qm94PScwIDAgNDUgMzInPjxwYXRoIGZpbGw9JyM2MDY5N2InIGQ9J00yNi44OCAyOS44ODhjLTEuMDc2IDEuMjg5LTIuNjgzIDIuMTAzLTQuNDggMi4xMDNzLTMuNDA0LTAuODE0LTQuNDcyLTIuMDkzbC0wLjAwOC0wLjAwOS01LjEyLTcuMDQwLTguMTkyLTEwLjA0OC0zLjUyLTQuNjA4Yy0wLjY0Ni0wLjg0OC0xLjAzNi0xLjkyMi0xLjAzNi0zLjA4NyAwLTIuODI4IDIuMjkyLTUuMTIgNS4xMi01LjEyIDAuMTM5IDAgMC4yNzcgMC4wMDYgMC40MTMgMC4wMTZsLTAuMDE4LTAuMDAxaDMzLjY2NGMwLjExOC0wLjAxMCAwLjI1Ni0wLjAxNSAwLjM5Ni0wLjAxNSAyLjgyOCAwIDUuMTIgMi4yOTIgNS4xMiA1LjEyIDAgMS4xNjUtMC4zODkgMi4yMzktMS4wNDUgMy4xbDAuMDA5LTAuMDEzLTMuNTIgNC42MDgtNy44NzIgMTAuMDQ4eicvPjwvc3ZnPg==);
|
|
90
|
+
background-repeat: no-repeat;
|
|
91
|
+
background-position: right 1rem center;
|
|
92
|
+
background-size: 8px 8px;
|
|
93
|
+
border: 1px solid rgba(153, 153, 153, 0.85);
|
|
94
|
+
border-radius: 0.4rem;
|
|
95
|
+
box-shadow: 0 0 1.25rem rgb(30 34 40 / 4%);
|
|
96
|
+
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
97
|
+
background-clip: padding-box;
|
|
98
|
+
appearance: none;
|
|
99
|
+
margin: 0 0 10px 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
mex-contactus-dialog {
|
|
103
|
+
.k-window-content {
|
|
104
|
+
padding: 10px;
|
|
105
|
+
|
|
106
|
+
&:last-child {
|
|
107
|
+
padding-bottom: max(1rem, 1rem);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
osovitny-form-validation-summary {
|
|
2
|
+
.callout {
|
|
3
|
+
border-radius: 0.25rem;
|
|
4
|
+
box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
|
|
5
|
+
background-color: #fbfbfb;
|
|
6
|
+
border-left: 5px solid #e9ecef;
|
|
7
|
+
margin-bottom: 1rem;
|
|
8
|
+
padding: 1rem;
|
|
9
|
+
|
|
10
|
+
&.callout-danger {
|
|
11
|
+
border-left-color: #730000;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.box-title {
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
font-size: 18px;
|
|
17
|
+
line-height: 1.4;
|
|
18
|
+
font-family: "Rubik", sans-serif;
|
|
19
|
+
text-align: left;
|
|
20
|
+
color: #343c55;
|
|
21
|
+
}
|
|
22
|
+
ul {
|
|
23
|
+
margin: 0;
|
|
24
|
+
padding-left: 2rem;
|
|
25
|
+
li {
|
|
26
|
+
font-weight: 400;
|
|
27
|
+
font-size: 16px;
|
|
28
|
+
line-height: 1.4;
|
|
29
|
+
font-family: "Rubik", sans-serif;
|
|
30
|
+
text-align: left;
|
|
31
|
+
color: #343c55;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
osovitny-item-validation-summary {
|
|
38
|
+
.list-unstyled {
|
|
39
|
+
margin: 0;
|
|
40
|
+
padding: 0;
|
|
41
|
+
|
|
42
|
+
.help-block {
|
|
43
|
+
display: block;
|
|
44
|
+
width: 100%;
|
|
45
|
+
margin-top: 0.25rem;
|
|
46
|
+
font-size: 80%;
|
|
47
|
+
color: #a60000;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Mixins: Cards Variant
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
@mixin cards-variant($name, $color) {
|
|
6
|
+
.card-#{$name} {
|
|
7
|
+
&:not(.card-outline) {
|
|
8
|
+
> osovitny-card-header {
|
|
9
|
+
> .card-header {
|
|
10
|
+
background-color: $color;
|
|
11
|
+
border-bottom: 1px solid #d1d5ea;
|
|
12
|
+
padding: 0.5rem 1.125rem;
|
|
13
|
+
position: relative;
|
|
14
|
+
border-top-left-radius: 0.25rem;
|
|
15
|
+
border-top-right-radius: 0.25rem;
|
|
16
|
+
|
|
17
|
+
&:first-child {
|
|
18
|
+
border-radius: calc(0.25rem - 0px) calc(0.25rem - 0px) 0 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&,
|
|
22
|
+
a {
|
|
23
|
+
color: color-yiq($color);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
a.active {
|
|
27
|
+
color: color-yiq($white);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.card-title {
|
|
31
|
+
float: left;
|
|
32
|
+
font-size: 1.325rem;
|
|
33
|
+
font-weight: 700;
|
|
34
|
+
margin: 0;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.card-outline {
|
|
41
|
+
border-top: 3px solid $color;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.card-outline-tabs {
|
|
45
|
+
> .card-header {
|
|
46
|
+
a {
|
|
47
|
+
&:hover {
|
|
48
|
+
border-top: 3px solid $nav-tabs-border-color;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.active {
|
|
52
|
+
border-top: 3px solid $color;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.bg-#{$name},
|
|
60
|
+
.bg-gradient-#{$name},
|
|
61
|
+
.card-#{$name}:not(.card-outline) {
|
|
62
|
+
.btn-tool {
|
|
63
|
+
color: rgba(color-yiq($color), 0.8);
|
|
64
|
+
|
|
65
|
+
&:hover {
|
|
66
|
+
color: color-yiq($color);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.card.bg-#{$name},
|
|
72
|
+
.card.bg-gradient-#{$name} {
|
|
73
|
+
.bootstrap-datetimepicker-widget {
|
|
74
|
+
.table td,
|
|
75
|
+
.table th {
|
|
76
|
+
border: none;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
table thead tr:first-child th:hover,
|
|
80
|
+
table td.day:hover,
|
|
81
|
+
table td.hour:hover,
|
|
82
|
+
table td.minute:hover,
|
|
83
|
+
table td.second:hover {
|
|
84
|
+
background-color: darken($color, 8%);
|
|
85
|
+
color: color-yiq($color);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
table td.today::before {
|
|
89
|
+
border-bottom-color: color-yiq($color);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
table td.active,
|
|
93
|
+
table td.active:hover {
|
|
94
|
+
background-color: lighten($color, 10%);
|
|
95
|
+
color: color-yiq($color);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#pnlLoading {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
position: fixed;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
align-content: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
overflow: auto;
|
|
12
|
+
z-index: 20000;
|
|
13
|
+
background-color: rgba(0, 0, 0, 0.6);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.k-i-loading {
|
|
17
|
+
display: block;
|
|
18
|
+
font-size: 100px;
|
|
19
|
+
color: #fff;
|
|
20
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
.sk-line-material {
|
|
2
|
+
top: 0 ;
|
|
3
|
+
position: relative;
|
|
4
|
+
margin: auto;
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.sk-line-material .sk-child {
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 4px;
|
|
11
|
+
position: absolute;
|
|
12
|
+
top:0;
|
|
13
|
+
display: inline-block;
|
|
14
|
+
transform-origin: 0% 0%;
|
|
15
|
+
-webkit-animation: sk-line-material 2s ease-in-out 0s infinite both;
|
|
16
|
+
animation: sk-line-material 2s ease-in-out 0s infinite both;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@-webkit-keyframes sk-line-material {
|
|
20
|
+
0%, 80%, 100% {
|
|
21
|
+
-webkit-transform: scaleX(0);
|
|
22
|
+
transform: scaleX(0);
|
|
23
|
+
}
|
|
24
|
+
40% {
|
|
25
|
+
-webkit-transform: scaleX(1);
|
|
26
|
+
transform: scaleX(1);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@keyframes sk-line-material {
|
|
31
|
+
0% {
|
|
32
|
+
-webkit-transform: scaleX(0);
|
|
33
|
+
transform: scaleX(0);
|
|
34
|
+
}
|
|
35
|
+
100% {
|
|
36
|
+
-webkit-transform: scaleX(1);
|
|
37
|
+
transform: scaleX(1);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
#http-loader {
|
|
42
|
+
top: 0;
|
|
43
|
+
left: 0;
|
|
44
|
+
height: 100%;
|
|
45
|
+
width: 100%;
|
|
46
|
+
position: fixed;
|
|
47
|
+
z-index: 9999;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.loader-bg {
|
|
51
|
+
height: 100%;
|
|
52
|
+
width: 100%;
|
|
53
|
+
position: absolute;
|
|
54
|
+
filter: alpha(opacity=70);
|
|
55
|
+
opacity: 1;
|
|
56
|
+
background-color: rgba(0,0,0,0);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.colored-parent, .colored > div {
|
|
60
|
+
background-color: rgba(26, 188, 156, 0.80);
|
|
61
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#http-loader {
|
|
2
|
+
top: 0;
|
|
3
|
+
left: 0;
|
|
4
|
+
height: 100%;
|
|
5
|
+
width: 100%;
|
|
6
|
+
position: fixed;
|
|
7
|
+
z-index: 9999;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.loader-bg {
|
|
11
|
+
height: 100%;
|
|
12
|
+
width: 100%;
|
|
13
|
+
position: absolute;
|
|
14
|
+
filter: alpha(opacity=70);
|
|
15
|
+
opacity: 0.7;
|
|
16
|
+
background-color: #f1f1f1;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.colored-parent,
|
|
20
|
+
.colored > div {
|
|
21
|
+
background-color: #333;
|
|
22
|
+
}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
/* based on angular-toastr css https://github.com/Foxandxss/angular-toastr/blob/cb508fe6801d6b288d3afc525bb40fee1b101650/dist/angular-toastr.css */
|
|
2
|
+
|
|
3
|
+
/* position */
|
|
4
|
+
.toast-center-center {
|
|
5
|
+
top: 50%;
|
|
6
|
+
left: 50%;
|
|
7
|
+
transform: translate(-50%, -50%);
|
|
8
|
+
}
|
|
9
|
+
.toast-top-center {
|
|
10
|
+
top: 0;
|
|
11
|
+
right: 0;
|
|
12
|
+
width: 100%;
|
|
13
|
+
}
|
|
14
|
+
.toast-bottom-center {
|
|
15
|
+
bottom: 0;
|
|
16
|
+
right: 0;
|
|
17
|
+
width: 100%;
|
|
18
|
+
}
|
|
19
|
+
.toast-top-full-width {
|
|
20
|
+
top: 0;
|
|
21
|
+
right: 0;
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
.toast-bottom-full-width {
|
|
25
|
+
bottom: 0;
|
|
26
|
+
right: 0;
|
|
27
|
+
width: 100%;
|
|
28
|
+
}
|
|
29
|
+
.toast-top-left {
|
|
30
|
+
top: 12px;
|
|
31
|
+
left: 12px;
|
|
32
|
+
}
|
|
33
|
+
.toast-top-right {
|
|
34
|
+
top: 12px;
|
|
35
|
+
right: 12px;
|
|
36
|
+
}
|
|
37
|
+
.toast-bottom-right {
|
|
38
|
+
right: 12px;
|
|
39
|
+
bottom: 12px;
|
|
40
|
+
}
|
|
41
|
+
.toast-bottom-left {
|
|
42
|
+
bottom: 12px;
|
|
43
|
+
left: 12px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* toast styles */
|
|
47
|
+
.toast-title {
|
|
48
|
+
font-weight: bold;
|
|
49
|
+
}
|
|
50
|
+
.toast-message {
|
|
51
|
+
word-wrap: break-word;
|
|
52
|
+
}
|
|
53
|
+
.toast-message a,
|
|
54
|
+
.toast-message label {
|
|
55
|
+
color: #FFFFFF;
|
|
56
|
+
}
|
|
57
|
+
.toast-message a:hover {
|
|
58
|
+
color: #CCCCCC;
|
|
59
|
+
text-decoration: none;
|
|
60
|
+
}
|
|
61
|
+
.toast-close-button {
|
|
62
|
+
position: relative;
|
|
63
|
+
right: -0.3em;
|
|
64
|
+
top: -0.3em;
|
|
65
|
+
float: right;
|
|
66
|
+
font-size: 20px;
|
|
67
|
+
font-weight: bold;
|
|
68
|
+
color: #FFFFFF;
|
|
69
|
+
text-shadow: 0 1px 0 #ffffff;
|
|
70
|
+
/* opacity: 0.8; */
|
|
71
|
+
}
|
|
72
|
+
.toast-close-button:hover,
|
|
73
|
+
.toast-close-button:focus {
|
|
74
|
+
color: #000000;
|
|
75
|
+
text-decoration: none;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
opacity: 0.4;
|
|
78
|
+
}
|
|
79
|
+
/*Additional properties for button version
|
|
80
|
+
iOS requires the button element instead of an anchor tag.
|
|
81
|
+
If you want the anchor version, it requires `href="#"`.*/
|
|
82
|
+
button.toast-close-button {
|
|
83
|
+
padding: 0;
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
background: transparent;
|
|
86
|
+
border: 0;
|
|
87
|
+
}
|
|
88
|
+
.toast-container {
|
|
89
|
+
pointer-events: none;
|
|
90
|
+
position: fixed;
|
|
91
|
+
z-index: 999999;
|
|
92
|
+
}
|
|
93
|
+
.toast-container * {
|
|
94
|
+
box-sizing: border-box;
|
|
95
|
+
}
|
|
96
|
+
.toast-container .ngx-toastr {
|
|
97
|
+
position: relative;
|
|
98
|
+
overflow: hidden;
|
|
99
|
+
margin: 0 0 6px;
|
|
100
|
+
padding: 15px 15px 15px 50px;
|
|
101
|
+
width: 300px;
|
|
102
|
+
border-radius: 3px 3px 3px 3px;
|
|
103
|
+
background-position: 15px center;
|
|
104
|
+
background-repeat: no-repeat;
|
|
105
|
+
background-size: 24px;
|
|
106
|
+
box-shadow: 0 0 12px #999999;
|
|
107
|
+
color: #FFFFFF;
|
|
108
|
+
}
|
|
109
|
+
.toast-container .ngx-toastr:hover {
|
|
110
|
+
box-shadow: 0 0 12px #000000;
|
|
111
|
+
opacity: 1;
|
|
112
|
+
cursor: pointer;
|
|
113
|
+
}
|
|
114
|
+
/* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/info-circle.svg */
|
|
115
|
+
.toast-info {
|
|
116
|
+
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='rgb(255,255,255)' d='M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z'/%3E%3C/svg%3E");
|
|
117
|
+
}
|
|
118
|
+
/* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/times-circle.svg */
|
|
119
|
+
.toast-error {
|
|
120
|
+
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='rgb(255,255,255)' d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z'/%3E%3C/svg%3E");
|
|
121
|
+
}
|
|
122
|
+
/* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/check.svg */
|
|
123
|
+
.toast-success {
|
|
124
|
+
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='rgb(255,255,255)' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E");
|
|
125
|
+
}
|
|
126
|
+
/* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/exclamation-triangle.svg */
|
|
127
|
+
.toast-warning {
|
|
128
|
+
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512' width='576' height='512'%3E%3Cpath fill='rgb(255,255,255)' d='M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z'/%3E%3C/svg%3E");
|
|
129
|
+
}
|
|
130
|
+
.toast-container.toast-top-center .ngx-toastr,
|
|
131
|
+
.toast-container.toast-bottom-center .ngx-toastr {
|
|
132
|
+
width: 300px;
|
|
133
|
+
margin-left: auto;
|
|
134
|
+
margin-right: auto;
|
|
135
|
+
}
|
|
136
|
+
.toast-container.toast-top-full-width .ngx-toastr,
|
|
137
|
+
.toast-container.toast-bottom-full-width .ngx-toastr {
|
|
138
|
+
width: 96%;
|
|
139
|
+
margin-left: auto;
|
|
140
|
+
margin-right: auto;
|
|
141
|
+
}
|
|
142
|
+
.ngx-toastr {
|
|
143
|
+
background-color: #030303;
|
|
144
|
+
pointer-events: auto;
|
|
145
|
+
}
|
|
146
|
+
.toast-success {
|
|
147
|
+
background-color: #51A351;
|
|
148
|
+
}
|
|
149
|
+
.toast-error {
|
|
150
|
+
background-color: #BD362F;
|
|
151
|
+
}
|
|
152
|
+
.toast-info {
|
|
153
|
+
background-color: #2F96B4;
|
|
154
|
+
}
|
|
155
|
+
.toast-warning {
|
|
156
|
+
background-color: #F89406;
|
|
157
|
+
}
|
|
158
|
+
.toast-progress {
|
|
159
|
+
position: absolute;
|
|
160
|
+
left: 0;
|
|
161
|
+
bottom: 0;
|
|
162
|
+
height: 4px;
|
|
163
|
+
background-color: #000000;
|
|
164
|
+
opacity: 0.4;
|
|
165
|
+
}
|
|
166
|
+
/* Responsive Design */
|
|
167
|
+
@media all and (max-width: 240px) {
|
|
168
|
+
.toast-container .ngx-toastr.div {
|
|
169
|
+
padding: 8px 8px 8px 50px;
|
|
170
|
+
width: 11em;
|
|
171
|
+
}
|
|
172
|
+
.toast-container .toast-close-button {
|
|
173
|
+
right: -0.2em;
|
|
174
|
+
top: -0.2em;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
@media all and (min-width: 241px) and (max-width: 480px) {
|
|
178
|
+
.toast-container .ngx-toastr.div {
|
|
179
|
+
padding: 8px 8px 8px 50px;
|
|
180
|
+
width: 18em;
|
|
181
|
+
}
|
|
182
|
+
.toast-container .toast-close-button {
|
|
183
|
+
right: -0.2em;
|
|
184
|
+
top: -0.2em;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
@media all and (min-width: 481px) and (max-width: 768px) {
|
|
188
|
+
.toast-container .ngx-toastr.div {
|
|
189
|
+
padding: 15px 15px 15px 50px;
|
|
190
|
+
width: 25em;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @osovitny/angular
|
|
2
|
+
@import "./scss/pnlLoading";
|
|
3
|
+
@import "./scss/toastr";
|
|
4
|
+
@import "./scss/dialog/dialog";
|
|
5
|
+
@import "./scss/forms/contactus-form";
|
|
6
|
+
@import "./scss/forms/form-validation";
|
|
7
|
+
@import "./scss/spinner";
|
|
8
|
+
@import "./scss/spinkit/sk-line-material";
|
|
9
|
+
|
|
10
|
+
//Mixins
|
|
11
|
+
@import "./scss/mixins/cards";
|
|
12
|
+
|
|
13
|
+
/*******************
|
|
14
|
+
no data
|
|
15
|
+
*******************/
|
|
16
|
+
.no-data {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
align-content: center;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
text-align: center;
|
|
22
|
+
|
|
23
|
+
.loading,
|
|
24
|
+
.loaded {
|
|
25
|
+
padding: 30px;
|
|
26
|
+
|
|
27
|
+
svg,
|
|
28
|
+
i {
|
|
29
|
+
margin: 20px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|