ar-design 0.1.21 → 0.1.23
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/dist/assets/css/components/data-display/chip/chip.css +1 -0
- package/dist/assets/css/components/data-display/divider/divider.css +4 -1
- package/dist/assets/css/components/data-display/paper/paper.css +20 -0
- package/dist/assets/css/components/data-display/table/scroll.css +61 -0
- package/dist/assets/css/components/data-display/table/table.css +89 -0
- package/dist/assets/css/components/data-display/typography/title/core.css +1 -2
- package/dist/assets/css/components/feedback/alert/alert.css +0 -1
- package/dist/assets/css/components/feedback/modal/content.css +6 -0
- package/dist/assets/css/components/feedback/modal/footer.css +9 -0
- package/dist/assets/css/components/feedback/modal/header.css +56 -0
- package/dist/assets/css/components/feedback/modal/modal.css +54 -0
- package/dist/assets/css/components/feedback/notification/notification.css +162 -0
- package/dist/assets/css/components/form/button/button.css +7 -0
- package/dist/assets/css/components/form/button/core/icon.css +15 -15
- package/dist/assets/css/components/form/button-group/button-group.css +6 -0
- package/dist/assets/css/components/form/checkbox/core/border.css +1 -2
- package/dist/assets/css/components/form/date-picker/calendar/content.css +68 -0
- package/dist/assets/css/components/form/date-picker/calendar/footer.css +10 -0
- package/dist/assets/css/components/form/date-picker/calendar/header.css +33 -0
- package/dist/assets/css/components/form/date-picker/clock/clock.css +30 -0
- package/dist/assets/css/components/form/date-picker/clock/content.css +56 -0
- package/dist/assets/css/components/form/date-picker/clock/footer.css +7 -0
- package/dist/assets/css/components/form/date-picker/clock/header.css +6 -0
- package/dist/assets/css/components/form/date-picker/date-picker.css +51 -0
- package/dist/assets/css/components/form/input/core/border.css +1 -2
- package/dist/assets/css/components/form/input/core/button.css +1 -2
- package/dist/assets/css/components/form/select/options.css +2 -1
- package/dist/assets/css/components/form/switch/core/border.css +1 -2
- package/dist/assets/css/components/layout/header.css +1 -0
- package/dist/assets/css/components/layout/layout.css +0 -2
- package/dist/assets/css/components/navigation/menu/menu.css +1 -0
- package/dist/assets/css/components/navigation/pagination/pagination.css +60 -0
- package/dist/assets/css/core/ar-core.css +19 -4
- package/dist/assets/css/core/variants/animation.css +1 -2
- package/dist/assets/css/core/variants/borderless/borderless.css +25 -50
- package/dist/assets/css/core/variants/dashed/dashed.css +9 -10
- package/dist/assets/css/core/variants/filled/filled.css +57 -26
- package/dist/assets/css/core/variants/outlined/outlined.css +10 -11
- package/dist/components/data-display/chip/index.js +5 -11
- package/dist/components/data-display/paper/index.d.ts +8 -0
- package/dist/components/data-display/paper/index.js +12 -0
- package/dist/components/data-display/table/Actions.d.ts +8 -0
- package/dist/components/data-display/table/Actions.js +2 -0
- package/dist/components/data-display/table/IProps.d.ts +14 -0
- package/dist/components/data-display/table/IProps.js +1 -0
- package/dist/components/data-display/table/index.d.ts +12 -0
- package/dist/components/data-display/table/index.js +217 -0
- package/dist/components/feedback/modal/IProps.d.ts +20 -0
- package/dist/components/feedback/modal/IProps.js +1 -0
- package/dist/components/feedback/modal/index.d.ts +5 -0
- package/dist/components/feedback/modal/index.js +45 -0
- package/dist/components/feedback/notification/IProps.d.ts +9 -0
- package/dist/components/feedback/notification/IProps.js +1 -0
- package/dist/components/feedback/notification/index.d.ts +5 -0
- package/dist/components/feedback/notification/index.js +40 -0
- package/dist/components/form/button/IProps.d.ts +1 -1
- package/dist/components/form/button/index.js +12 -26
- package/dist/components/form/button-group/index.js +5 -6
- package/dist/components/form/checkbox/IProps.d.ts +1 -1
- package/dist/components/form/checkbox/index.d.ts +1 -1
- package/dist/components/form/checkbox/index.js +11 -18
- package/dist/components/form/date-picker/Props.d.ts +7 -0
- package/dist/components/form/date-picker/Props.js +1 -0
- package/dist/components/form/date-picker/index.d.ts +5 -0
- package/dist/components/form/date-picker/index.js +328 -0
- package/dist/components/form/input/IProps.d.ts +1 -1
- package/dist/components/form/input/index.js +19 -35
- package/dist/components/form/select/Props.d.ts +1 -1
- package/dist/components/form/select/index.js +48 -44
- package/dist/components/form/switch/index.js +4 -3
- package/dist/components/layout/Header.js +1 -1
- package/dist/components/layout/IProps.d.ts +2 -2
- package/dist/components/layout/LSider.js +2 -2
- package/dist/components/layout/RSider.js +3 -3
- package/dist/components/layout/index.js +5 -8
- package/dist/components/navigation/menu/Types.d.ts +1 -1
- package/dist/components/navigation/menu/index.js +12 -10
- package/dist/components/navigation/pagination/IProps.d.ts +7 -0
- package/dist/components/navigation/pagination/IProps.js +1 -0
- package/dist/components/navigation/pagination/index.d.ts +5 -0
- package/dist/components/navigation/pagination/index.js +77 -0
- package/dist/index.d.ts +7 -3
- package/dist/index.js +11 -10
- package/dist/libs/core/application/contexts/Config.d.ts +26 -0
- package/dist/libs/core/application/contexts/Config.js +20 -0
- package/dist/libs/core/application/contexts/Notification.d.ts +16 -0
- package/dist/libs/core/application/contexts/Notification.js +19 -0
- package/dist/libs/core/application/contexts/index.d.ts +3 -0
- package/dist/libs/core/application/contexts/index.js +3 -0
- package/dist/libs/core/application/hooks/index.d.ts +32 -18
- package/dist/libs/core/application/hooks/index.js +15 -2
- package/dist/libs/core/service/Api.d.ts +35 -0
- package/dist/libs/core/service/Api.js +86 -0
- package/dist/libs/core/service/index.d.ts +28 -0
- package/dist/libs/core/service/index.js +48 -0
- package/dist/libs/infrastructure/shared/Utils.d.ts +6 -0
- package/dist/libs/infrastructure/shared/Utils.js +15 -0
- package/dist/libs/types/IGlobalProps.d.ts +46 -13
- package/dist/libs/types/index.d.ts +22 -2
- package/package.json +3 -1
- package/dist/libs/core/application/contexts/Layout.d.ts +0 -23
- package/dist/libs/core/application/contexts/Layout.js +0 -17
- package/dist/libs/index.d.ts +0 -0
- package/dist/libs/index.js +0 -3
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.ar-paper {
|
|
2
|
+
background-color: var(--white);
|
|
3
|
+
padding: 2rem;
|
|
4
|
+
border-radius: var(--border-radius-sm);
|
|
5
|
+
box-shadow: 0 0 20px -15px rgba(var(--black-rgb), 0.25);
|
|
6
|
+
}
|
|
7
|
+
.ar-paper > .header {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: row;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
align-items: center;
|
|
12
|
+
background-color: transparent;
|
|
13
|
+
margin-bottom: 2rem;
|
|
14
|
+
}
|
|
15
|
+
.ar-paper > .header > h3 {
|
|
16
|
+
color: var(--gray-700);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ar-paper > .content {
|
|
20
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
.ar-table:is(.scroll) > .content {
|
|
2
|
+
max-width: 100%;
|
|
3
|
+
overflow: auto;
|
|
4
|
+
}
|
|
5
|
+
.ar-table:is(.scroll) > .content > table > thead > tr > th {
|
|
6
|
+
position: sticky;
|
|
7
|
+
top: 0;
|
|
8
|
+
}
|
|
9
|
+
.ar-table > .content > table th[class^="sticky-"] {
|
|
10
|
+
z-index: 50;
|
|
11
|
+
}
|
|
12
|
+
.ar-table > .content > table .sticky-left {
|
|
13
|
+
position: sticky;
|
|
14
|
+
left: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ar-table > .content > table .sticky-right {
|
|
18
|
+
position: sticky;
|
|
19
|
+
right: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ar-table > .content > table > thead > tr > th.sticky-left.sticky::after,
|
|
23
|
+
.ar-table > .content > table > thead > tr > th.sticky-left.active-sticky::after,
|
|
24
|
+
.ar-table > .content > table > thead > tr > th.sticky-right.sticky::after,
|
|
25
|
+
.ar-table > .content > table > thead > tr > th.sticky-right.active-sticky::after {
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: 50%;
|
|
28
|
+
transform: translateY(-50%);
|
|
29
|
+
right: 0;
|
|
30
|
+
content: "";
|
|
31
|
+
background-color: var(--gray-200);
|
|
32
|
+
width: 1px;
|
|
33
|
+
height: 50%;
|
|
34
|
+
}
|
|
35
|
+
.ar-table > .content > table > thead > tr > th.sticky-right.sticky::after,
|
|
36
|
+
.ar-table > .content > table > thead > tr > th.sticky-right.active-sticky::after {
|
|
37
|
+
left: 0;
|
|
38
|
+
right: auto;
|
|
39
|
+
}
|
|
40
|
+
.ar-table > .content > table > tbody > tr > td.sticky-left.sticky,
|
|
41
|
+
.ar-table > .content > table > tbody > tr > td.sticky-right.sticky {
|
|
42
|
+
box-shadow: inset -1px 0 0 0 var(--gray-200);
|
|
43
|
+
}
|
|
44
|
+
.ar-table > .content > table > tbody > tr > td.sticky-right.sticky {
|
|
45
|
+
box-shadow: inset 1px 0 0 0 var(--gray-200);
|
|
46
|
+
}
|
|
47
|
+
.ar-table > .content > table .sticky-left.active-sticky::after,
|
|
48
|
+
.ar-table > .content > table .sticky-right.active-sticky::after {
|
|
49
|
+
position: absolute;
|
|
50
|
+
top: 50%;
|
|
51
|
+
transform: translateY(-50%);
|
|
52
|
+
right: 0;
|
|
53
|
+
content: "";
|
|
54
|
+
background-color: var(--gray-200);
|
|
55
|
+
width: 1px;
|
|
56
|
+
height: 100%;
|
|
57
|
+
}
|
|
58
|
+
.ar-table > .content > table .sticky-right.active-sticky::after {
|
|
59
|
+
left: 0;
|
|
60
|
+
right: auto;
|
|
61
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
.ar-table {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 0.5rem 0;
|
|
5
|
+
max-width: 100%;
|
|
6
|
+
}
|
|
7
|
+
.ar-table > .header {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: row;
|
|
10
|
+
flex-wrap: nowrap;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ar-table > .footer {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
flex-wrap: nowrap;
|
|
17
|
+
justify-content: flex-end;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ar-table > .header > div:first-child > .ar-input-wrapper,
|
|
21
|
+
.ar-table > .header > div:first-child > .ar-input-wrapper > .ar-input,
|
|
22
|
+
.ar-table > .header > div:first-child > .ar-input-wrapper > .ar-input > input {
|
|
23
|
+
width: auto !important;
|
|
24
|
+
}
|
|
25
|
+
.ar-table > .header > div:last-child {
|
|
26
|
+
margin-left: auto;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ar-table > .content {
|
|
30
|
+
border-radius: var(--border-radius-sm);
|
|
31
|
+
}
|
|
32
|
+
.ar-table > .content > table {
|
|
33
|
+
border-collapse: collapse;
|
|
34
|
+
width: 100%;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ar-table > .content > table > thead > tr > th {
|
|
38
|
+
background-color: var(--gray-100);
|
|
39
|
+
padding: 1rem 0.5rem;
|
|
40
|
+
color: var(--gray-700);
|
|
41
|
+
box-shadow: 0 2px 0 0 var(--gray-200);
|
|
42
|
+
text-align: left;
|
|
43
|
+
transition: background 250ms, box-shadow 250ms ease-in-out;
|
|
44
|
+
z-index: 2;
|
|
45
|
+
}
|
|
46
|
+
.ar-table > .content > table > thead > tr > th.selection-col {
|
|
47
|
+
width: 2rem;
|
|
48
|
+
}
|
|
49
|
+
.ar-table > .content > table > thead > tr > th.type-of-number {
|
|
50
|
+
text-align: right;
|
|
51
|
+
}
|
|
52
|
+
.ar-table > .content > table > thead > tr > th.align-content-left {
|
|
53
|
+
text-align: left;
|
|
54
|
+
}
|
|
55
|
+
.ar-table > .content > table > thead > tr > th.align-content-center {
|
|
56
|
+
text-align: center;
|
|
57
|
+
}
|
|
58
|
+
.ar-table > .content > table > thead > tr > th.align-content-right {
|
|
59
|
+
text-align: right;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.ar-table > .content > table > tbody {
|
|
63
|
+
box-shadow: 0 0 2px 2px var(--gray-200);
|
|
64
|
+
}
|
|
65
|
+
.ar-table > .content > table > tbody > tr {
|
|
66
|
+
border-bottom: solid 2px var(--gray-100);
|
|
67
|
+
}
|
|
68
|
+
.ar-table > .content > table > tbody > tr > td {
|
|
69
|
+
background-color: var(--white);
|
|
70
|
+
padding: 0.5rem;
|
|
71
|
+
text-wrap: nowrap;
|
|
72
|
+
z-index: 1;
|
|
73
|
+
}
|
|
74
|
+
.ar-table > .content > table > tbody > tr > td.type-of-number {
|
|
75
|
+
text-align: right;
|
|
76
|
+
}
|
|
77
|
+
.ar-table > .content > table > tbody > tr > td.align-content-left {
|
|
78
|
+
text-align: left;
|
|
79
|
+
}
|
|
80
|
+
.ar-table > .content > table > tbody > tr > td.align-content-center {
|
|
81
|
+
text-align: center;
|
|
82
|
+
}
|
|
83
|
+
.ar-table > .content > table > tbody > tr > td.align-content-right {
|
|
84
|
+
display: flex;
|
|
85
|
+
flex-direction: row;
|
|
86
|
+
justify-content: flex-end;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@import url("./scroll.css");
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
.ar-modal-wrapper > .ar-modal > .header {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
align-items: center;
|
|
6
|
+
height: 3.5rem;
|
|
7
|
+
padding: 1rem 2rem;
|
|
8
|
+
border-bottom: solid 1px var(--gray-200);
|
|
9
|
+
}
|
|
10
|
+
.ar-modal-wrapper > .ar-modal > .header > .ar-typography-title {
|
|
11
|
+
width: calc(100% - 2.75rem);
|
|
12
|
+
text-wrap: nowrap;
|
|
13
|
+
text-overflow: ellipsis;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ar-modal-wrapper > .ar-modal > .header > .close {
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
align-items: center;
|
|
21
|
+
background-color: var(--white);
|
|
22
|
+
min-width: 2rem;
|
|
23
|
+
min-height: 2rem;
|
|
24
|
+
border: solid 1px var(--gray-300);
|
|
25
|
+
border-radius: var(--border-radius-sm);
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
user-select: none;
|
|
28
|
+
transition: background 250ms, border 250ms ease-in-out;
|
|
29
|
+
}
|
|
30
|
+
.ar-modal-wrapper > .ar-modal > .header > .close::before,
|
|
31
|
+
.ar-modal-wrapper > .ar-modal > .header > .close::after {
|
|
32
|
+
position: absolute;
|
|
33
|
+
content: "";
|
|
34
|
+
width: 2px;
|
|
35
|
+
height: 15px;
|
|
36
|
+
background-color: var(--gray-300);
|
|
37
|
+
transform-origin: center;
|
|
38
|
+
transform: rotate(-45deg);
|
|
39
|
+
transition: transform 250ms ease-in-out;
|
|
40
|
+
}
|
|
41
|
+
.ar-modal-wrapper > .ar-modal > .header > .close::after {
|
|
42
|
+
transform: rotate(45deg);
|
|
43
|
+
}
|
|
44
|
+
.ar-modal-wrapper > .ar-modal > .header > .close:hover {
|
|
45
|
+
background-color: rgba(var(--danger-rgb), 0.1);
|
|
46
|
+
border: solid 1px var(--danger);
|
|
47
|
+
color: rgba(var(--danger-rgb), 0.75);
|
|
48
|
+
}
|
|
49
|
+
.ar-modal-wrapper > .ar-modal > .header > .close:hover::before,
|
|
50
|
+
.ar-modal-wrapper > .ar-modal > .header > .close:hover::after {
|
|
51
|
+
background-color: var(--danger);
|
|
52
|
+
transform: rotate(45deg);
|
|
53
|
+
}
|
|
54
|
+
.ar-modal-wrapper > .ar-modal > .header > .close:hover::after {
|
|
55
|
+
transform: rotate(-45deg);
|
|
56
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
.ar-modal-wrapper {
|
|
2
|
+
position: absolute;
|
|
3
|
+
inset: 0;
|
|
4
|
+
background-color: rgba(var(--black-rgb), 0.5);
|
|
5
|
+
backdrop-filter: blur(5px);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* #region Open or Close */
|
|
9
|
+
.ar-modal-wrapper:is(.opened) {
|
|
10
|
+
visibility: visible;
|
|
11
|
+
opacity: 1;
|
|
12
|
+
transition: visibility 250ms, opacity 250ms ease-in-out;
|
|
13
|
+
z-index: 100;
|
|
14
|
+
}
|
|
15
|
+
.ar-modal-wrapper:is(.opened) > .ar-modal {
|
|
16
|
+
top: 7.5rem;
|
|
17
|
+
transform: translateX(-50%) scale(1);
|
|
18
|
+
transition: top 250ms, transform 250ms 300ms ease-in-out;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.ar-modal-wrapper:is(.closed) {
|
|
22
|
+
visibility: hidden;
|
|
23
|
+
opacity: 0;
|
|
24
|
+
transition: visibility 250ms 300ms, opacity 250ms 300ms ease-in-out;
|
|
25
|
+
z-index: 99;
|
|
26
|
+
}
|
|
27
|
+
.ar-modal-wrapper:is(.closed) > .ar-modal {
|
|
28
|
+
top: -100%;
|
|
29
|
+
transform: translateX(-50%) scale(0.8);
|
|
30
|
+
transition: top 250ms 300ms, transform 250ms ease-in-out;
|
|
31
|
+
}
|
|
32
|
+
/* #endregion */
|
|
33
|
+
/* Open or Close */
|
|
34
|
+
|
|
35
|
+
.ar-modal-wrapper > .ar-modal {
|
|
36
|
+
position: absolute;
|
|
37
|
+
left: 50%;
|
|
38
|
+
background-color: var(--white);
|
|
39
|
+
border-radius: var(--border-radius-sm);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ar-modal-wrapper > .ar-modal.large {
|
|
43
|
+
width: 75%;
|
|
44
|
+
}
|
|
45
|
+
.ar-modal-wrapper > .ar-modal.normal {
|
|
46
|
+
width: 50%;
|
|
47
|
+
}
|
|
48
|
+
.ar-modal-wrapper > .ar-modal.small {
|
|
49
|
+
width: 25%;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@import url("./header.css");
|
|
53
|
+
@import url("./content.css");
|
|
54
|
+
@import url("./footer.css");
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
.notification {
|
|
2
|
+
position: fixed;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column-reverse;
|
|
5
|
+
gap: 1.25rem 0;
|
|
6
|
+
user-select: none;
|
|
7
|
+
z-index: 1051;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.notification.top-left {
|
|
11
|
+
top: 1rem;
|
|
12
|
+
left: 1rem;
|
|
13
|
+
}
|
|
14
|
+
.notification.top-right {
|
|
15
|
+
top: 1rem;
|
|
16
|
+
right: 1rem;
|
|
17
|
+
}
|
|
18
|
+
.notification.bottom-left {
|
|
19
|
+
bottom: 1rem;
|
|
20
|
+
left: 1rem;
|
|
21
|
+
}
|
|
22
|
+
.notification.bottom-right {
|
|
23
|
+
bottom: 1rem;
|
|
24
|
+
right: 1rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.notification > .item {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: row;
|
|
30
|
+
gap: 0 0.5rem;
|
|
31
|
+
width: 100%;
|
|
32
|
+
height: 5rem;
|
|
33
|
+
border-radius: var(--border-radius-xl);
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
/* Sırasıyla; Ad, Süre, Hız, Gecikme Süresi, Tekrar Sayısı, Yön, Bitiş Süreci */
|
|
36
|
+
animation: openSnackbar ease-in-out 500ms 0s 1 normal both;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.notification > .item.success {
|
|
40
|
+
background-color: var(--success);
|
|
41
|
+
}
|
|
42
|
+
.notification > .item.warning {
|
|
43
|
+
background-color: var(--warning);
|
|
44
|
+
}
|
|
45
|
+
.notification > .item.information {
|
|
46
|
+
background-color: var(--info);
|
|
47
|
+
}
|
|
48
|
+
.notification > .item.error {
|
|
49
|
+
background-color: var(--danger);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.notification > .item > .icon {
|
|
53
|
+
position: relative;
|
|
54
|
+
min-width: 3rem;
|
|
55
|
+
border-top-left-radius: var(--border-radius-xl);
|
|
56
|
+
border-bottom-left-radius: var(--border-radius-xl);
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
}
|
|
59
|
+
.notification > .item > .icon > span {
|
|
60
|
+
position: absolute;
|
|
61
|
+
border-radius: var(--border-radius-pill);
|
|
62
|
+
}
|
|
63
|
+
/* .notification > .item > .icon > span:nth-child(1) {
|
|
64
|
+
top: 0.5rem;
|
|
65
|
+
left: 0.5rem;
|
|
66
|
+
width: 0.25rem;
|
|
67
|
+
height: 0.25rem;
|
|
68
|
+
}
|
|
69
|
+
.notification > .item > .icon > span:nth-child(2) {
|
|
70
|
+
top: 1.5rem;
|
|
71
|
+
left: 0.5rem;
|
|
72
|
+
width: 0.5rem;
|
|
73
|
+
height: 0.5rem;
|
|
74
|
+
}
|
|
75
|
+
.notification > .item > .icon > span:nth-child(3) {
|
|
76
|
+
top: 2rem;
|
|
77
|
+
left: 1.75rem;
|
|
78
|
+
width: 1rem;
|
|
79
|
+
height: 1rem;
|
|
80
|
+
}
|
|
81
|
+
.notification > .item > .icon > span:nth-child(4) {
|
|
82
|
+
bottom: -1.5rem;
|
|
83
|
+
left: -0.5rem;
|
|
84
|
+
width: 3rem;
|
|
85
|
+
height: 3rem;
|
|
86
|
+
}
|
|
87
|
+
.notification > .item > .icon > span:nth-child(5) {
|
|
88
|
+
bottom: 1.15rem;
|
|
89
|
+
left: 1rem;
|
|
90
|
+
width: 0.55rem;
|
|
91
|
+
height: 0.55rem;
|
|
92
|
+
} */
|
|
93
|
+
.notification > .item > .icon > span.success {
|
|
94
|
+
background-color: var(--success);
|
|
95
|
+
}
|
|
96
|
+
.notification > .item > .icon > span.warning {
|
|
97
|
+
background-color: var(--warning);
|
|
98
|
+
}
|
|
99
|
+
.notification > .item > .icon > span.information {
|
|
100
|
+
background-color: var(--info);
|
|
101
|
+
}
|
|
102
|
+
.notification > .item > .icon > span.error {
|
|
103
|
+
background-color: var(--danger);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.notification > .item > .content {
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-direction: column;
|
|
109
|
+
justify-content: center;
|
|
110
|
+
gap: 0.25rem 0;
|
|
111
|
+
width: 100%;
|
|
112
|
+
padding: 0 1rem;
|
|
113
|
+
color: var(--white);
|
|
114
|
+
}
|
|
115
|
+
.notification > .item > .content > .title {
|
|
116
|
+
font-size: 1.25rem;
|
|
117
|
+
}
|
|
118
|
+
.notification > .item > .content > .message {
|
|
119
|
+
font-size: 0.8rem;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.notification > .item > .close {
|
|
123
|
+
display: flex;
|
|
124
|
+
justify-content: center;
|
|
125
|
+
align-items: center;
|
|
126
|
+
min-width: 2.5rem;
|
|
127
|
+
background-color: rgba(var(--black-rgb), 0.1);
|
|
128
|
+
color: rgba(var(--white-rgb), 0.75);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@media only screen and (max-width: 480px) {
|
|
132
|
+
.notification.top-left {
|
|
133
|
+
inset: 1rem 1rem auto 1rem;
|
|
134
|
+
}
|
|
135
|
+
.notification.top-right {
|
|
136
|
+
inset: 1rem 1rem auto 1rem;
|
|
137
|
+
}
|
|
138
|
+
.notification.bottom-left {
|
|
139
|
+
inset: auto 1rem 1rem 1rem;
|
|
140
|
+
}
|
|
141
|
+
.notification.bottom-right {
|
|
142
|
+
inset: auto 1rem 1rem 1rem;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@keyframes openSnackbar {
|
|
147
|
+
0% {
|
|
148
|
+
transform: translateX(-500px);
|
|
149
|
+
}
|
|
150
|
+
100% {
|
|
151
|
+
transform: translateX(0);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@keyframes removeSnackbar {
|
|
156
|
+
0% {
|
|
157
|
+
transform: translateX(0);
|
|
158
|
+
}
|
|
159
|
+
100% {
|
|
160
|
+
transform: translateX(-500px);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
.ar-button
|
|
2
|
-
display: -webkit-box;
|
|
3
|
-
display: -ms-flexbox;
|
|
1
|
+
.ar-button:is(.no-content) {
|
|
4
2
|
display: flex;
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
|
|
3
|
+
justify-content: center;
|
|
4
|
+
align-items: center;
|
|
5
|
+
padding: 0 !important;
|
|
6
|
+
min-width: 2rem;
|
|
7
|
+
max-width: 2rem;
|
|
8
|
+
min-height: 2rem;
|
|
9
|
+
max-height: 2rem;
|
|
10
|
+
}
|
|
11
|
+
.ar-button:is(.no-content) > .text {
|
|
12
|
+
gap: 0 !important;
|
|
13
|
+
}
|
|
14
|
+
.ar-button:is(.icon):not(.no-content) > .text {
|
|
8
15
|
gap: 0 0.5rem;
|
|
9
16
|
}
|
|
10
|
-
.ar-button > .
|
|
17
|
+
.ar-button:is(.icon-start):not(.no-content) > .text {
|
|
11
18
|
flex-direction: row;
|
|
12
19
|
}
|
|
13
|
-
.ar-button
|
|
20
|
+
.ar-button:is(.icon-end):not(.no-content) > .text {
|
|
14
21
|
flex-direction: row-reverse;
|
|
15
22
|
}
|
|
16
|
-
.ar-button > .icon-column {
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
align-items: center;
|
|
19
|
-
}
|
|
20
|
-
.ar-button > .icon-column-end {
|
|
21
|
-
flex-direction: column-reverse;
|
|
22
|
-
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
.ar-date-picker > .calendar-wrapper > .content {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
flex-wrap: nowrap;
|
|
5
|
+
gap: 1rem;
|
|
6
|
+
margin: 0.5rem;
|
|
7
|
+
}
|
|
8
|
+
.ar-date-picker > .calendar-wrapper > .content > .calendar {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
flex-wrap: nowrap;
|
|
12
|
+
gap: 1rem 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* #region Weekdays */
|
|
16
|
+
.ar-date-picker > .calendar-wrapper > .content > .calendar > .weekdays {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-wrap: nowrap;
|
|
19
|
+
}
|
|
20
|
+
.ar-date-picker > .calendar-wrapper > .content > .calendar > .weekdays > span {
|
|
21
|
+
width: calc(100% / 7);
|
|
22
|
+
color: var(--gray-600);
|
|
23
|
+
font-size: 0.8rem;
|
|
24
|
+
text-align: center;
|
|
25
|
+
user-select: none;
|
|
26
|
+
}
|
|
27
|
+
/* #endregion Weekdays */
|
|
28
|
+
/* Weekdays */
|
|
29
|
+
|
|
30
|
+
/* #region Days */
|
|
31
|
+
.ar-date-picker > .calendar-wrapper > .content > .calendar > .days {
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-wrap: wrap;
|
|
34
|
+
user-select: none;
|
|
35
|
+
}
|
|
36
|
+
.ar-date-picker > .calendar-wrapper > .content > .calendar > .days > span {
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
align-items: center;
|
|
40
|
+
width: calc(100% / 7);
|
|
41
|
+
height: var(--input-height);
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
}
|
|
44
|
+
.ar-date-picker > .calendar-wrapper > .content > .calendar > .days > span > span {
|
|
45
|
+
display: grid;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
align-content: center;
|
|
48
|
+
width: 75%;
|
|
49
|
+
height: 75%;
|
|
50
|
+
border-radius: var(--border-radius-sm);
|
|
51
|
+
}
|
|
52
|
+
.ar-date-picker
|
|
53
|
+
> .calendar-wrapper
|
|
54
|
+
> .content
|
|
55
|
+
> .calendar
|
|
56
|
+
> .days
|
|
57
|
+
> span:not(.empty-day)
|
|
58
|
+
> span:hover {
|
|
59
|
+
background-color: var(--gray-200);
|
|
60
|
+
color: var(--gray-700);
|
|
61
|
+
}
|
|
62
|
+
.ar-date-picker > .calendar-wrapper > .content > .calendar > .days > span.selection-day > span {
|
|
63
|
+
background-color: var(--primary);
|
|
64
|
+
color: var(--white);
|
|
65
|
+
box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--primary);
|
|
66
|
+
}
|
|
67
|
+
/* #endregion Days */
|
|
68
|
+
/* Days */
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.ar-date-picker > .calendar-wrapper > .header {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
min-height: 2.75rem;
|
|
5
|
+
border-bottom: solid 1px var(--gray-200);
|
|
6
|
+
}
|
|
7
|
+
.ar-date-picker > .calendar-wrapper > .header > .select-field {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: row;
|
|
10
|
+
justify-content: stretch;
|
|
11
|
+
gap: 0 0.75rem;
|
|
12
|
+
padding: 0 0.5rem;
|
|
13
|
+
}
|
|
14
|
+
.ar-date-picker > .calendar-wrapper > .header > .select-field > .selects {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
justify-content: stretch;
|
|
18
|
+
height: var(--input-height);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* #region Prev and Next Buttons */
|
|
22
|
+
.ar-date-picker > .calendar-wrapper > .header > .select-field > .prev,
|
|
23
|
+
.ar-date-picker > .calendar-wrapper > .header > .select-field > .next {
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
align-items: center;
|
|
27
|
+
gap: 0 0.5rem;
|
|
28
|
+
color: var(--gray-600);
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
user-select: none;
|
|
31
|
+
}
|
|
32
|
+
/* #endregion Prev and Next Buttons */
|
|
33
|
+
/* Prev and Next Buttons */
|