Skip to content

Commit fbfee50

Browse files
committed
Display: Rename modals styles to dialog
1 parent 27754f0 commit fbfee50

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

assets/css/scss/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
@include meta.load-css("organisms/datatable");
6868
@include meta.load-css("organisms/dataview");
6969
@include meta.load-css("organisms/external_logins");
70-
@include meta.load-css("organisms/modals");
70+
@include meta.load-css("organisms/dialog");
7171
@include meta.load-css("organisms/menu");
7272
@include meta.load-css("organisms/sidebar");
7373
@include meta.load-css("organisms/section_header");
Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.p-dialog {
22
@apply max-h-[90%] scale-100 drop-shadow-lg rounded-lg border-0 border-none;
33

4-
.p-dialog-header {
4+
&-header {
55
@apply bg-white border-b border-solid border-gray-30 gap-4 rounded-t-lg p-4;
66

77
.p-dialog-title {
@@ -13,11 +13,11 @@
1313
}
1414
}
1515

16-
.p-dialog-header-icons {
16+
&-header-icons {
1717
@apply flex gap-4 items-center;
1818
}
1919

20-
.p-dialog-header-icon {
20+
&-header-icon {
2121
@apply flex items-center justify-center overflow-hidden relative;
2222

2323
&:enabled {
@@ -27,31 +27,31 @@
2727
}
2828
}
2929
}
30-
}
3130

32-
.p-dialog-content {
33-
@apply overflow-y-auto bg-white overscroll-contain p-4;
34-
}
31+
&-content {
32+
@apply overflow-y-auto bg-white overscroll-contain p-4;
33+
}
3534

36-
.p-dialog-header {
37-
@apply flex items-center justify-between flex-shrink-0;
38-
}
35+
&-header {
36+
@apply flex items-center justify-between flex-shrink-0;
37+
}
3938

40-
.p-dialog-footer {
41-
@apply flex-shrink-0 bg-gray-15 flex gap-4 justify-end rounded-b-lg p-4;
42-
}
39+
&-footer {
40+
@apply flex-shrink-0 bg-gray-15 flex gap-4 justify-end rounded-b-lg p-4;
41+
}
4342

44-
.p-dialog-enter-active {
45-
@apply transition-all duration-150 ease-in;
46-
}
43+
&-enter-active {
44+
@apply transition-all duration-150 ease-in;
45+
}
4746

48-
.p-dialog-leave-active {
49-
@apply transition-all duration-150 ease-out;
50-
}
47+
&-leave-active {
48+
@apply transition-all duration-150 ease-out;
49+
}
5150

52-
.p-dialog-enter-from,
53-
.p-dialog-leave-to {
54-
@apply opacity-0 scale-75;
51+
&-enter-from,
52+
&-leave-to {
53+
@apply opacity-0 scale-75;
54+
}
5555
}
5656

5757
.p-dialog.p-confirm-dialog {

0 commit comments

Comments
 (0)