@indice/ng-components 0.2.152-beta.2 → 0.2.153-beta.2
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/_styles.css +3574 -0
- package/modal.css +157 -0
- package/package.json +2 -2
package/modal.css
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
.modal-open {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
}
|
|
4
|
+
.modal-open .modal {
|
|
5
|
+
overflow-x: hidden;
|
|
6
|
+
overflow-y: auto;
|
|
7
|
+
}
|
|
8
|
+
.modal {
|
|
9
|
+
position: fixed;
|
|
10
|
+
top: 0;
|
|
11
|
+
left: 0;
|
|
12
|
+
z-index: 1050;
|
|
13
|
+
display: none;
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
outline: 0;
|
|
18
|
+
}
|
|
19
|
+
.modal-dialog {
|
|
20
|
+
position: relative;
|
|
21
|
+
width: auto;
|
|
22
|
+
margin: 0.5rem;
|
|
23
|
+
pointer-events: none;
|
|
24
|
+
}
|
|
25
|
+
.modal.fade .modal-dialog {
|
|
26
|
+
transition: transform 0.3s ease-out;
|
|
27
|
+
transform: translate(0, -50px);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.fade {
|
|
31
|
+
transition: opacity 0.15s linear;
|
|
32
|
+
}
|
|
33
|
+
.fade:not(.show) {
|
|
34
|
+
opacity: 0;
|
|
35
|
+
}
|
|
36
|
+
@media (prefers-reduced-motion: reduce) {
|
|
37
|
+
.modal.fade .modal-dialog {
|
|
38
|
+
transition: none;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
.modal.show .modal-dialog {
|
|
42
|
+
transform: none;
|
|
43
|
+
}
|
|
44
|
+
.modal.modal-static .modal-dialog {
|
|
45
|
+
transform: scale(1.02);
|
|
46
|
+
}
|
|
47
|
+
.modal-dialog-scrollable {
|
|
48
|
+
display: flex;
|
|
49
|
+
max-height: subtract(100%, 1rem);
|
|
50
|
+
}
|
|
51
|
+
.modal-dialog-scrollable .modal-content {
|
|
52
|
+
max-height: subtract(100vh, 1rem);
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
}
|
|
55
|
+
.modal-dialog-scrollable .modal-header,
|
|
56
|
+
.modal-dialog-scrollable .modal-footer {
|
|
57
|
+
flex-shrink: 0;
|
|
58
|
+
}
|
|
59
|
+
.modal-dialog-scrollable .modal-body {
|
|
60
|
+
overflow-y: auto;
|
|
61
|
+
}
|
|
62
|
+
.modal-dialog-centered {
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
min-height: subtract(100%, 1rem);
|
|
66
|
+
}
|
|
67
|
+
.modal-dialog-centered::before {
|
|
68
|
+
display: block;
|
|
69
|
+
height: subtract(100vh, 1rem);
|
|
70
|
+
height: -webkit-min-content;
|
|
71
|
+
height: min-content;
|
|
72
|
+
content: "";
|
|
73
|
+
}
|
|
74
|
+
.modal-dialog-centered.modal-dialog-scrollable {
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
height: 100%;
|
|
78
|
+
}
|
|
79
|
+
.modal-dialog-centered.modal-dialog-scrollable .modal-content {
|
|
80
|
+
max-height: none;
|
|
81
|
+
}
|
|
82
|
+
.modal-dialog-centered.modal-dialog-scrollable::before {
|
|
83
|
+
content: none;
|
|
84
|
+
}
|
|
85
|
+
.modal-content {
|
|
86
|
+
position: relative;
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
width: 100%;
|
|
90
|
+
pointer-events: auto;
|
|
91
|
+
background-color: #fff;
|
|
92
|
+
background-clip: padding-box;
|
|
93
|
+
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
94
|
+
border-radius: 0.3rem;
|
|
95
|
+
outline: 0;
|
|
96
|
+
}
|
|
97
|
+
.modal-backdrop {
|
|
98
|
+
position: fixed;
|
|
99
|
+
top: 0;
|
|
100
|
+
left: 0;
|
|
101
|
+
z-index: 1040;
|
|
102
|
+
width: 100vw;
|
|
103
|
+
height: 100vh;
|
|
104
|
+
background-color: #000;
|
|
105
|
+
}
|
|
106
|
+
.modal-backdrop.fade {
|
|
107
|
+
opacity: 0;
|
|
108
|
+
}
|
|
109
|
+
.modal-backdrop.show {
|
|
110
|
+
opacity: 0.5;
|
|
111
|
+
}
|
|
112
|
+
.modal-scrollbar-measure {
|
|
113
|
+
position: absolute;
|
|
114
|
+
top: -9999px;
|
|
115
|
+
width: 50px;
|
|
116
|
+
height: 50px;
|
|
117
|
+
overflow: scroll;
|
|
118
|
+
}
|
|
119
|
+
@media (min-width: 576px) {
|
|
120
|
+
.modal-dialog {
|
|
121
|
+
max-width: 500px;
|
|
122
|
+
margin: 1.75rem auto;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.modal-dialog-scrollable {
|
|
126
|
+
max-height: subtract(100%, 3.5rem);
|
|
127
|
+
}
|
|
128
|
+
.modal-dialog-scrollable .modal-content {
|
|
129
|
+
max-height: subtract(100vh, 3.5rem);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.modal-dialog-centered {
|
|
133
|
+
min-height: subtract(100%, 3.5rem);
|
|
134
|
+
}
|
|
135
|
+
.modal-dialog-centered::before {
|
|
136
|
+
height: subtract(100vh, 3.5rem);
|
|
137
|
+
height: -webkit-min-content;
|
|
138
|
+
height: min-content;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.modal-sm {
|
|
142
|
+
max-width: 300px;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
@media (min-width: 992px) {
|
|
146
|
+
.modal-lg,
|
|
147
|
+
.modal-xl {
|
|
148
|
+
max-width: 800px;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
@media (min-width: 1200px) {
|
|
152
|
+
.modal-xl {
|
|
153
|
+
max-width: 1140px;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/*# sourceMappingURL=styles.css.map*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indice/ng-components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.153-beta.2",
|
|
4
4
|
"description": "Indice common components for Angular v12",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@angular/common": ">=13.3.11",
|
|
25
25
|
"@angular/core": ">=13.3.11",
|
|
26
26
|
"@angular/router": ">=13.3.11",
|
|
27
|
-
"@indice/ng-auth": "
|
|
27
|
+
"@indice/ng-auth": "~0.1",
|
|
28
28
|
"@tailwindcss/aspect-ratio": "^0.2.0",
|
|
29
29
|
"@tailwindcss/forms": "^0.3.2",
|
|
30
30
|
"@tailwindcss/line-clamp": "^0.2.0",
|