File tree Expand file tree Collapse file tree 4 files changed +52
-37
lines changed
modules/notification/views Expand file tree Collapse file tree 4 files changed +52
-37
lines changed Original file line number Diff line number Diff line change
1
+ body {
2
+ .el-form.el-form--default {
3
+ @apply flex flex-col items-center ;
4
+ }
5
+
6
+ .el-form-item {
7
+ @apply shadow rounded overflow-hidden ;
8
+ }
9
+
10
+ .form-icon {
11
+ @apply bg-white w- 15/100;
12
+ }
13
+
14
+ // Input
15
+ .el-form-item.el-form-item--default.form-input {
16
+ @apply w-full ;
17
+ }
18
+ .el-input.el-input--default .el-input__inner {
19
+ @apply rounded-none bg-el-form-input p-0 focus :text- slate- 400 focus:font- normal text- slate- 400 font- normal focus:ring- 0 focus:bg- white #{!important } ;
20
+ }
21
+ .el-input.el-input--default {
22
+ @apply w- 85/100;
23
+ }
24
+ .el-form-item.checkbox {
25
+ @apply self-start shadow-none #{!important } ;
26
+ }
27
+
28
+ // Checkbox
29
+ .el-checkbox__inner {
30
+ @apply rounded shadow h-4 w-4 #{!important } ;
31
+ }
32
+ .el-checkbox__label {
33
+ @apply text-mess-box-text font-normal focus :border- transparent hover:border- transparent;
34
+ }
35
+ .el-checkbox.el-checkbox--default .el-checkbox__inner {
36
+ @apply hover :border- transparent;
37
+ }
38
+ .el-checkbox__input.is-checked .el-checkbox__inner {
39
+ @apply bg-primary-blue ;
40
+ }
41
+ .el-checkbox__input.is-checked + .el-checkbox__label {
42
+ @apply text-slate- 400;
43
+ }
44
+ }
Original file line number Diff line number Diff line change @@ -164,6 +164,9 @@ body {
164
164
}
165
165
166
166
// Modals - Form
167
+ .el-dialog__body .el-icon {
168
+ @apply text-base #{!important } ;
169
+ }
167
170
168
171
.open-form .el-dialog__header {
169
172
@apply hidden ;
@@ -197,43 +200,10 @@ body {
197
200
.btn span {
198
201
@apply font-semibold text-left-bar-indigo hover :text- black;
199
202
}
200
- .el-form.el-form--default {
201
- @apply flex flex-col items-center ;
202
- }
203
- .el-dialog__body .el-icon {
204
- @apply text-base #{!important } ;
205
- }
206
- .form-icon {
207
- @apply bg-white py-2 .5 px-3 h-11 w- 15/100;
208
- }
209
- .el-input .el-input__inner {
210
- @apply h-11 rounded-none w-full bg-el-form-input ;
211
- }
212
- .el-input.el-input--default {
213
- @apply w- 85/100;
214
- }
215
- .el-form-item__content {
216
- @apply rounded-md overflow-hidden ;
217
- }
218
- .form-input {
219
- @apply rounded-md shadow ;
220
- }
221
- .checkbox {
222
- @apply self-start ;
223
- }
224
- .el-checkbox__inner {
225
- @apply rounded shadow h-4 w-4 outline-none #{!important } ;
226
- }
227
- .el-checkbox__label {
228
- @apply text-mess-box-text font-normal focus :border- transparent hover:border- transparent;
229
- }
230
- .el-form-item.el-form-item--default.form-input {
231
- @apply w-full ;
232
- }
233
203
234
204
// Responsive
235
205
.el-dialog {
236
- @apply w- 97/100 sm :w- 8/ 12 md:w- 7/ 12 lg:w- 6/ 12 xl:w- 5 / 12 rounded- md;
206
+ @apply w- 97/100 sm :w- 8/ 12 md:w- 7/ 12 lg:w- 6/ 12 xl:w- 4 / 12 rounded- md;
237
207
}
238
208
.open-form {
239
209
@apply rounded-md bg-mess-box-bg w- 97/100 md :w- 96 #{!important } ;
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import 'assets/css/typography.scss'
4
4
import 'assets/css/el-popper.scss'
5
5
import 'assets/css/el-breadcrumb.scss'
6
6
import 'assets/css/notifications.scss'
7
+ import 'assets/css/form.scss'
7
8
8
9
import 'assets/css/el-pagination.scss'
9
10
import 'assets/css/el-table.scss'
Original file line number Diff line number Diff line change 18
18
<h3 class =" text-md" >Modals</h3 >
19
19
</div >
20
20
21
- <div class =" p-5 grid grid-cols-1 lg:grid-cols-3 lg:gap-6" >
21
+ <div class =" p-5 grid grid-cols-1 md:grid-cols-3 md:gap-6 lg:grid-cols-3 lg:gap-6" >
22
22
<!-- Modals - Default -->
23
23
<div class =" w-full mb-4" >
24
24
<el-button type =" primary" size =" large" class =" w-full" text @click =" openDefault = true"
119
119
<component :is =" form.MailIcon" />
120
120
</el-icon >
121
121
</div >
122
- <el-input />
122
+ <el-input v-model = " form.email " />
123
123
</el-form-item >
124
124
<!-- Password -->
125
125
<el-form-item class =" form-input" prop =" LockClosedIcon" >
128
128
<component :is =" form.LockClosedIcon" />
129
129
</el-icon >
130
130
</div >
131
- <el-input />
131
+ <el-input v-model = " form.password " />
132
132
</el-form-item >
133
133
<!-- Checkbox -->
134
134
<el-form-item class =" checkbox" >
You can’t perform that action at this time.
0 commit comments