@apipass/modals 1.0.37 → 1.0.39

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,178 @@
1
+ .modal-backdrop.in {
2
+ opacity: 0.5 !important;
3
+ }
4
+
5
+ .mat-mdc-dialog-surface {
6
+ overflow-x: hidden !important;
7
+ }
8
+
9
+ .modal.in .modal-dialog {
10
+ -webkit-transform: translate(0, 0) !important;
11
+ -ms-transform: translate(0, 0) !important;
12
+ -o-transform: translate(0, 0) !important;
13
+ transform: translate(0, 0) !important;
14
+ }
15
+
16
+ .modal-content {
17
+ box-shadow: none !important;
18
+ }
19
+
20
+ .modal-input-group {
21
+ border: 1px solid var(--color-fonts-tertiary);
22
+ border-radius: 5px;
23
+ background: var(--color-tertiary);
24
+ margin-top: 10px;
25
+ margin-bottom: 10px;
26
+ padding-left: 10px;
27
+ padding-bottom: 10px;
28
+ padding-right: 10px;
29
+ position: relative;
30
+ }
31
+
32
+ .modal-footer {
33
+ border-radius: 0 0 10px 10px !important;
34
+ color: var(--color-primary);
35
+ border: none !important;
36
+ font-weight: bold;
37
+ > span {
38
+ font-size: 18px;
39
+ }
40
+ }
41
+
42
+ .mod-expanded {
43
+ margin: 0 !important;
44
+ width: calc(100% - 20px) !important;
45
+ max-width: calc(100% - 20px) !important;
46
+ height: calc(100% - 10px) !important;
47
+ max-height: calc(100% - 10px) !important;
48
+ margin-top: 10px !important;
49
+
50
+ .mat-mdc-dialog-container {
51
+ max-width: 100%;
52
+ max-height: calc(100% - 7px);
53
+ }
54
+
55
+ .modal-content, .step-modal-body {
56
+ height: 100% !important;
57
+ max-height: calc(100vh - 100px);
58
+
59
+ .step-modal-form {
60
+ width: 100%;
61
+ height: 100%;
62
+ max-height: 100% !important;
63
+ }
64
+
65
+ .step-modal-custom-fields {
66
+ padding: 15px 15px 30px 15px !important;
67
+ width: 40%;
68
+ }
69
+
70
+ .step-modal-body {
71
+ min-height: 60vh;
72
+ max-height: calc(100vh - 100px);
73
+ }
74
+ }
75
+
76
+ .step-modal-custom-fields__list {
77
+ height: calc(100% - 60px);
78
+ }
79
+
80
+ .modal-header,
81
+ .modal-content,
82
+ .modal-footer {
83
+ border-radius: 0 !important;
84
+ }
85
+ }
86
+
87
+ .mat-mdc-dialog-content {
88
+ &.modal-content {
89
+ box-shadow: none !important;
90
+ }
91
+ }
92
+
93
+ .mdc-dialog__container {
94
+ .modal-title {
95
+ display: flex;
96
+ position: relative;
97
+ justify-content: center;
98
+ width: 100%;
99
+ align-items: flex-start;
100
+ overflow: hidden;
101
+
102
+ h3 {
103
+ width: 100%;
104
+ text-align: center;
105
+ margin: 0;
106
+ font-weight: bold;
107
+ }
108
+
109
+ > icon {
110
+ position: absolute;
111
+ right: 5px;
112
+ top: 0;
113
+ }
114
+
115
+ > .modal-title-actions {
116
+ position: absolute;
117
+ right: -5px;
118
+ top: -5px;
119
+ display: flex;
120
+ justify-content: center;
121
+ align-items: center;
122
+
123
+ icon {
124
+ display: block;
125
+ &:not(:last-child) {
126
+ margin-right: 10px;
127
+ }
128
+ }
129
+ }
130
+
131
+ }
132
+
133
+ .modal-content {
134
+ border: none !important;
135
+ text-align: center !important;
136
+ box-shadow: none !important;
137
+
138
+ p {
139
+ margin: 0 !important;
140
+ }
141
+
142
+ input-text {
143
+ margin-top: 15px;
144
+ display: block;
145
+ width: 100% !important;
146
+ }
147
+
148
+ .row {
149
+ text-align: left;
150
+ &:not(:first-child) {
151
+ margin-top: 10px;
152
+ }
153
+ }
154
+
155
+ }
156
+
157
+ .modal-actions {
158
+ width: 100%;
159
+ display: flex;
160
+ justify-content: center;
161
+ align-items: center;
162
+
163
+ .buttons-actions {
164
+ display: flex;
165
+ }
166
+
167
+ primary-button, secondary-button, tertiary-button, outline-button {
168
+ margin-left: 5px;
169
+ }
170
+
171
+ outline-button {
172
+ ::ng-deep button {
173
+ background: #F00 !important;
174
+ color: #FFF !important;
175
+ }
176
+ }
177
+ }
178
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apipass/modals",
3
- "version": "1.0.37",
3
+ "version": "1.0.39",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "16.0.2",
6
6
  "@angular/cdk": "16.0.1",
@@ -10,9 +10,9 @@
10
10
  "@angular/material": "16.0.1"
11
11
  },
12
12
  "dependencies": {
13
- "@apipass/buttons": "1.0.35",
14
- "@apipass/icons": "1.0.35",
15
- "@apipass/inputs": "1.0.35",
13
+ "@apipass/buttons": "1.0.38",
14
+ "@apipass/icons": "1.0.38",
15
+ "@apipass/inputs": "1.0.38",
16
16
  "tslib": "2.5.2"
17
17
  },
18
18
  "overrides": {
@@ -1,3 +0,0 @@
1
- .modal-content {
2
- box-shadow: none !important;
3
- }