@memori.ai/memori-react 2.0.0 → 2.0.1

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/components/AgeVerificationModal/AgeVerificationModal.css +63 -0
  3. package/dist/components/ChatBubble/ChatBubble.css +1 -2
  4. package/dist/components/ChatInputs/ChatInputs.css +17 -6
  5. package/dist/components/DateSelector/DateSelector.css +135 -0
  6. package/dist/components/ImageUpload/ImageUpload.css +2 -2
  7. package/dist/components/MediaWidget/MediaItemWidget.css +67 -0
  8. package/dist/components/MediaWidget/MediaWidget.css +13 -4
  9. package/dist/components/MemoriWidget/MemoriWidget.css +1 -23
  10. package/dist/components/PoweredBy/PoweredBy.css +45 -0
  11. package/dist/components/SettingsDrawer/SettingsDrawer.css +5 -0
  12. package/dist/components/StartPanel/StartPanel.css +11 -5
  13. package/dist/components/layouts/totem.css +148 -0
  14. package/dist/components/ui/Button.css +4 -10
  15. package/dist/components/ui/Checkbox.css +1 -5
  16. package/dist/components/ui/Drawer.css +24 -2
  17. package/dist/components/ui/Select.css +135 -0
  18. package/dist/components/ui/Spin.css +2 -0
  19. package/dist/styles.css +51 -1
  20. package/esm/components/AgeVerificationModal/AgeVerificationModal.css +63 -0
  21. package/esm/components/ChatBubble/ChatBubble.css +1 -2
  22. package/esm/components/ChatInputs/ChatInputs.css +17 -6
  23. package/esm/components/DateSelector/DateSelector.css +135 -0
  24. package/esm/components/ImageUpload/ImageUpload.css +2 -2
  25. package/esm/components/MediaWidget/MediaItemWidget.css +67 -0
  26. package/esm/components/MediaWidget/MediaWidget.css +13 -4
  27. package/esm/components/MemoriWidget/MemoriWidget.css +1 -23
  28. package/esm/components/PoweredBy/PoweredBy.css +45 -0
  29. package/esm/components/SettingsDrawer/SettingsDrawer.css +5 -0
  30. package/esm/components/StartPanel/StartPanel.css +11 -5
  31. package/esm/components/layouts/totem.css +148 -0
  32. package/esm/components/ui/Button.css +4 -10
  33. package/esm/components/ui/Checkbox.css +1 -5
  34. package/esm/components/ui/Drawer.css +24 -2
  35. package/esm/components/ui/Select.css +135 -0
  36. package/esm/components/ui/Spin.css +2 -0
  37. package/esm/styles.css +51 -1
  38. package/package.json +2 -2
@@ -1,13 +1,3 @@
1
- :root,
2
- #root {
3
- --memori-primary: rgb(102, 103, 171);
4
- --memori-primary-text: #fff;
5
- --memori-button-radius: 5px;
6
- --memori-button-padding: 0.5rem 1.5rem;
7
- --memori-button-border-color: #d9d9d9;
8
- --memori-button-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
9
- }
10
-
11
1
  .memori-button {
12
2
  display: inline-flex;
13
3
  align-items: center;
@@ -128,6 +118,10 @@
128
118
  line-height: 1;
129
119
  }
130
120
 
121
+ .memori-button--icon svg[fill="none"] {
122
+ fill: none;
123
+ }
124
+
131
125
  .memori-button--with-icon .memori-button--icon {
132
126
  margin-right: 0.5em;
133
127
  }
@@ -1,8 +1,4 @@
1
- :root,
2
- #root {
3
- --memori-primary: rgb(102, 103, 171);
4
- --memori-primary-text: #fff;
5
- }
1
+
6
2
 
7
3
  .memori-checkbox {
8
4
  display: inline-flex;
@@ -1,6 +1,6 @@
1
1
  .memori-drawer {
2
2
  position: relative;
3
- z-index: 60;
3
+ z-index: 1000;
4
4
  }
5
5
 
6
6
  .memori-drawer--backdrop {
@@ -34,7 +34,9 @@
34
34
  position: relative;
35
35
  width: var(--memori-drawer--width, 100%);
36
36
  height: 100%;
37
- padding: 1.5rem 2rem;
37
+ height: 100vh;
38
+ box-sizing: border-box;
39
+ padding: 3rem 2rem 1.5rem;
38
40
  margin-right: 0;
39
41
  margin-left: auto;
40
42
  background-color: #fff;
@@ -44,6 +46,7 @@
44
46
  @media (min-width: 768px) {
45
47
  .memori-drawer--panel {
46
48
  width: var(--memori-drawer--width--md, 80%);
49
+ padding-top: 1.5rem;
47
50
  }
48
51
  }
49
52
 
@@ -77,16 +80,35 @@
77
80
  padding: 0.5rem;
78
81
  }
79
82
 
83
+ @media (max-width: 767px) {
84
+ .memori-drawer--close {
85
+ left: 0.5rem;
86
+ }
87
+ }
88
+
80
89
  .memori-drawer--close button {
81
90
  border-color: #fff;
82
91
  color: #fff;
83
92
  }
84
93
 
94
+ @media (max-width: 767px) {
95
+ .memori-drawer--close button {
96
+ color: #000;
97
+ }
98
+ }
99
+
85
100
  .memori-drawer--panel-left .memori-drawer--close {
86
101
  right: -3.5rem;
87
102
  left: auto;
88
103
  }
89
104
 
105
+ @media (max-width: 767px) {
106
+ .memori-drawer--panel-left .memori-drawer--close {
107
+ right: 0.5rem;
108
+ left: auto;
109
+ }
110
+ }
111
+
90
112
  .memori-drawer--footer {
91
113
  position: sticky;
92
114
  bottom: 0;
@@ -0,0 +1,135 @@
1
+ .memori-select {
2
+ max-width: 240px;
3
+ min-height: 38px;
4
+ }
5
+
6
+ .memori-select--button {
7
+ position: relative;
8
+ width: 100%;
9
+ min-height: 38px;
10
+ padding-top: .5rem;
11
+ padding-right: 2.5rem;
12
+ padding-bottom: .5rem;
13
+ padding-left: .75rem;
14
+ border: 1px solid #e5e7eb;
15
+ border-radius: .5rem;
16
+ background: #fff;
17
+ box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
18
+ cursor: pointer;
19
+ text-align: left;
20
+ }
21
+
22
+ .memori-select--button:focus {
23
+ border-color: #cbd5e0;
24
+ box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
25
+ }
26
+
27
+ .memori-select--button:focus-visible {
28
+ border-color: #63b3ed;
29
+ box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
30
+ }
31
+
32
+ .memori-select--button:hover {
33
+ border-color: #e2e8f0;
34
+ }
35
+
36
+ .memori-select--button:active {
37
+ border-color: #e2e8f0;
38
+ }
39
+
40
+ .memori-select--button:disabled {
41
+ border-color: #e2e8f0;
42
+ background-color: #f7fafc;
43
+ color: #a0aec0;
44
+ cursor: not-allowed;
45
+ }
46
+
47
+ @media (min-width: 640px) {
48
+ .memori-select--button {
49
+ font-size: .875rem;
50
+ line-height: 1.25rem;
51
+ }
52
+ }
53
+
54
+ .memori-select--label {
55
+ display: inline-block;
56
+ margin-bottom: 0.25rem;
57
+ }
58
+
59
+ .memori-select--value {
60
+ display: block;
61
+ overflow: hidden;
62
+ text-overflow: ellipsis;
63
+ white-space: nowrap;
64
+ }
65
+
66
+ .memori-select--value.memori-select--value-placeholder {
67
+ color: #a0aec0;
68
+ }
69
+
70
+ .memori-select--icon {
71
+ position: absolute;
72
+ top: 0;
73
+ right: 0;
74
+ bottom: 0;
75
+ display: flex;
76
+ align-items: center;
77
+ padding-right: .5rem;
78
+ pointer-events: none;
79
+ }
80
+
81
+ .memori-select--icon svg {
82
+ width: 1.25rem;
83
+ height: 1.25rem;
84
+ color: rgb(156 163 175/1);
85
+ }
86
+
87
+ ul.memori-select--options {
88
+ position: absolute;
89
+ z-index: 1;
90
+ overflow: auto;
91
+ width: 100%;
92
+ max-width: min(18rem, 30%);
93
+ max-height: 15rem;
94
+ padding-top: .25rem;
95
+ padding-right: 0;
96
+ padding-bottom: .25rem;
97
+ padding-left: 0;
98
+ border-radius: .375rem;
99
+ margin-top: .25rem;
100
+ margin-right: 0;
101
+ margin-bottom: 0;
102
+ margin-left: 0;
103
+ background: #fff;
104
+ box-shadow: rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
105
+ list-style: none;
106
+ }
107
+
108
+ @media (min-width: 640px) {
109
+ .memori-select--options {
110
+ font-size: .875rem;
111
+ line-height: 1.25rem;
112
+ }
113
+ }
114
+
115
+ li.memori-select--option {
116
+ position: relative;
117
+ padding-top: .5rem;
118
+ padding-right: 1rem;
119
+ padding-bottom: .5rem;
120
+ padding-left: 1rem;
121
+ color: rgb(17 24 39/1);
122
+ cursor: pointer;
123
+ user-select: none;
124
+ }
125
+
126
+ li.memori-select--option:hover,
127
+ li.memori-select--option:focus {
128
+ background-color: #f7fafc;
129
+ }
130
+
131
+ li.memori-select--option:focus {
132
+ outline: 2px solid #63b3ed;
133
+ outline-offset: 2px;
134
+ }
135
+
@@ -21,7 +21,9 @@
21
21
 
22
22
  .memori-spin--spinner svg {
23
23
  width: 30%;
24
+ max-width: 5rem;
24
25
  height: 30%;
26
+ max-height: 5rem;
25
27
  }
26
28
 
27
29
  .memori-spin--primary svg {
package/dist/styles.css CHANGED
@@ -5,7 +5,9 @@
5
5
  @import url('./components/ui/Modal.css');
6
6
  @import url('./components/ui/Spin.css');
7
7
  @import url('./components/ui/Tooltip.css');
8
+ @import url('./components/ui/Select.css');
8
9
 
10
+ @import url('./components/PoweredBy/PoweredBy.css');
9
11
  @import url('./components/AttachmentLinkModal/AttachmentLinkModal.css');
10
12
  @import url('./components/Auth/Auth.css');
11
13
  @import url('./components/Avatar/Avatar.css');
@@ -17,6 +19,7 @@
17
19
  @import url('./components/ChatInputs/ChatInputs.css');
18
20
  @import url('./components/ChatTextArea/ChatTextArea.css');
19
21
  @import url('./components/CustomGLBModelViewer/ModelViewer.css');
22
+ @import url('./components/SettingsDrawer/SettingsDrawer.css');
20
23
  @import url('./components/ExportHistoryButton/ExportHistoryButton.css');
21
24
  @import url('./components/FeedbackButtons/FeedbackButtons.css');
22
25
  @import url('./components/Header/Header.css');
@@ -25,11 +28,58 @@
25
28
  @import url('./components/MediaWidget/LinkItemWidget.css');
26
29
  @import url('./components/MediaWidget/MediaItemWidget.css');
27
30
  @import url('./components/MediaWidget/MediaWidget.css');
28
- @import url('./components/MemoriWidget/MemoriWidget.css');
29
31
  @import url('./components/SendOnEnterMenu/SendOnEnterMenu.css');
30
32
  @import url('./components/ShareButton/ShareButton.css');
31
33
  @import url('./components/Snippet/Snippet.css');
32
34
  @import url('./components/StartPanel/StartPanel.css');
33
35
  @import url('./components/UploadMenu/UploadMenu.css');
36
+ @import url('./components/DateSelector/DateSelector.css');
37
+ @import url('./components/AgeVerificationModal/AgeVerificationModal.css');
38
+ @import url('./components/MemoriWidget/MemoriWidget.css');
34
39
 
35
40
  @import url('https://fonts.bunny.net/css?family=exo-2:200,400,700');
41
+
42
+ @import url('./components/layouts/totem.css');
43
+
44
+ .sr-only {
45
+ position: absolute;
46
+ overflow: hidden;
47
+ width: 1px;
48
+ height: 1px;
49
+ padding: 0;
50
+ border-width: 0;
51
+ margin: -1px;
52
+ clip: rect(0, 0, 0, 0);
53
+ white-space: nowrap;
54
+ }
55
+
56
+ memori-client,
57
+ memori-client #root,
58
+ body.sb-show-main #root,
59
+ body.sb-show-main #headlessui-portal-root,
60
+ #storybook-root,
61
+ #storybook-docs,
62
+ .memori-widget {
63
+ font-family: 'Exo 2', sans-serif;
64
+ font-size: 16px;
65
+
66
+ --memori-primary: rgb(102, 103, 171);
67
+ --memori-primary-text: #fff;
68
+ --memori-inner-content-pad: 1rem;
69
+ --memori-inner-bg: transparent;
70
+ --memori-chat-bubble-bg: #ffffff60;
71
+ --memori-text-color: #000;
72
+ --memori-button-bg: #fff;
73
+ --memori-button-text: #000;
74
+ --memori-button-padding: 0.5rem 1.5rem;
75
+ --memori-button-border-color: #d9d9d9;
76
+ --memori-button-radius: 5px;
77
+ --memori-button-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
78
+ --memori-blur-background: 0px;
79
+ --memori-drawer--width: 100%;
80
+ --memori-drawer--width--md: 80%;
81
+ --memori-drawer--width--lg: 60%;
82
+ --memori-modal--width: 100%;
83
+ --memori-modal--width--md: 80%;
84
+ --memori-error-color: #ff4d4f;
85
+ }
@@ -0,0 +1,63 @@
1
+ .age-verification-modal,
2
+ .age-verification-modal * {
3
+ box-sizing: border-box;
4
+ }
5
+
6
+ .age-verification-form {
7
+ display: flex;
8
+ width: 100%;
9
+ flex-direction: column;
10
+ align-items: center;
11
+ }
12
+
13
+ @media (min-width: 640px) {
14
+ .age-verification-form {
15
+ min-width: 600px;
16
+ }
17
+ }
18
+
19
+ .age-verification-form fieldset {
20
+ padding-right: 0;
21
+ padding-left: 0;
22
+ border: 0;
23
+ }
24
+
25
+ .age-verification-form .form-item {
26
+ width: 100%;
27
+ text-align: center;
28
+ }
29
+
30
+ .age-verification-form .form-item.submit {
31
+ margin-top: 1.5rem;
32
+ text-align: center;
33
+ }
34
+
35
+ .age-verification-form .form-item input {
36
+ color: #000;
37
+ }
38
+
39
+ .age-verification-form .form-item-help {
40
+ padding-bottom: 0.25rem;
41
+ margin: 1.5rem 0 1rem;
42
+ opacity: 0.5;
43
+ text-align: left;
44
+ }
45
+
46
+ .age-verification-form .form-item-error {
47
+ padding-bottom: 0.25rem;
48
+ margin: 1.5rem 0 1rem;
49
+ color: var(--memori-error-color);
50
+ }
51
+
52
+ button.age-verisfication-submit {
53
+ display: inline-flex;
54
+ height: auto;
55
+ align-items: center;
56
+ justify-content: center;
57
+ padding: 4px 15px;
58
+ margin-right: auto;
59
+ margin-left: auto;
60
+ font-weight: 700;
61
+ text-transform: uppercase;
62
+ white-space: normal;
63
+ }
@@ -47,7 +47,7 @@
47
47
  height: 8px;
48
48
  border-radius: 50%;
49
49
  margin-right: 3px;
50
- animation: 'wave' 1.5s linear infinite;
50
+ animation: wave 1.5s linear infinite;
51
51
  background: var(--memori-primary);
52
52
  }
53
53
 
@@ -215,7 +215,6 @@
215
215
  }
216
216
 
217
217
  @keyframes wave {
218
-
219
218
  0%,
220
219
  60%,
221
220
  100% {
@@ -17,7 +17,7 @@
17
17
 
18
18
  .memori-chat-inputs .memori--conversation-button {
19
19
  background: #fff;
20
- color: var(--memori-text-color, #000);
20
+ color: #000;
21
21
  }
22
22
 
23
23
  .memori-chat-inputs--mic {
@@ -26,25 +26,36 @@
26
26
  }
27
27
 
28
28
  .memori-chat-inputs--mic svg {
29
+ color: var(--memori-primary-text, #fff);
29
30
  font-size: 1em;
30
31
  }
31
32
 
32
33
  .memori-chat-inputs--mic:hover,
33
34
  .memori-chat-inputs--mic:active,
34
35
  .memori-chat-inputs--mic:focus {
35
- border-color: var(--ant-primary-color) !important;
36
+ border-color: var(--memori-primary) !important;
37
+ color: var(--memori-primary-text, #fff);
36
38
  }
37
39
 
38
40
  .memori-chat-inputs--mic:active,
39
41
  .memori-chat-inputs--mic:focus {
40
- box-shadow: 0 0.2rem 0.33rem var(--ant-primary-4) !important;
41
- color: var(--ant-primary-color) !important;
42
+ box-shadow: 0 0.2rem 0.33rem var(--memori-primary) !important;
43
+ }
44
+
45
+ .memori-chat-inputs--mic:not(.memori-chat-inputs--mic--listening):active,
46
+ .memori-chat-inputs--mic:not(.memori-chat-inputs--mic--listening):focus {
47
+ color: var(--memori-primary) !important;
42
48
  }
43
49
 
44
50
  .memori-chat-inputs--mic.memori-chat-inputs--mic--listening {
45
- color: red;
51
+ color: red !important;
52
+ }
53
+
54
+ .memori-chat-inputs--mic.memori-chat-inputs--mic--listening:active,
55
+ .memori-chat-inputs--mic.memori-chat-inputs--mic--listening:focus {
56
+ border-color: red !important;
46
57
  }
47
58
 
48
59
  .memori-chat-inputs--mic.memori-chat-inputs--mic--listening svg {
49
- color: red;
60
+ color: red !important;
50
61
  }
@@ -0,0 +1,135 @@
1
+ .memori--date-selector {
2
+ display: flex;
3
+ flex-wrap: nowrap;
4
+ }
5
+
6
+ .memori--date-selector__select {
7
+ width: 30%;
8
+ max-width: 100%;
9
+ margin: 1.5rem 1.5% 0;
10
+ }
11
+
12
+ .memori--date-selector__select-button {
13
+ position: relative;
14
+ width: 100%;
15
+ padding-top: .5rem;
16
+ padding-right: 2.5rem;
17
+ padding-bottom: .5rem;
18
+ padding-left: .75rem;
19
+ border: 1px solid #e5e7eb;
20
+ border-radius: .5rem;
21
+ background: #fff;
22
+ box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
23
+ cursor: pointer;
24
+ text-align: left;
25
+ }
26
+
27
+ .memori--date-selector__select-button:focus {
28
+ border-color: #cbd5e0;
29
+ box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
30
+ }
31
+
32
+ .memori--date-selector__select-button:focus-visible {
33
+ border-color: #63b3ed;
34
+ box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
35
+ }
36
+
37
+ .memori--date-selector__select-button:hover {
38
+ border-color: #e2e8f0;
39
+ }
40
+
41
+ .memori--date-selector__select-button:active {
42
+ border-color: #e2e8f0;
43
+ }
44
+
45
+ .memori--date-selector__select-button:disabled {
46
+ border-color: #e2e8f0;
47
+ background-color: #f7fafc;
48
+ color: #a0aec0;
49
+ cursor: not-allowed;
50
+ }
51
+
52
+ @media (min-width: 640px) {
53
+ .memori--date-selector__select-button {
54
+ font-size: .875rem;
55
+ line-height: 1.25rem;
56
+ }
57
+ }
58
+
59
+ .memori--date-selector__select-label {
60
+ display: inline-block;
61
+ margin-bottom: 0.25rem;
62
+ }
63
+
64
+ .memori--date-selector__select--value {
65
+ display: block;
66
+ overflow: hidden;
67
+ text-overflow: ellipsis;
68
+ white-space: nowrap;
69
+ }
70
+
71
+ .memori--date-selector__select--icon {
72
+ position: absolute;
73
+ top: 0;
74
+ right: 0;
75
+ bottom: 0;
76
+ display: flex;
77
+ align-items: center;
78
+ padding-right: .5rem;
79
+ pointer-events: none;
80
+ }
81
+
82
+ .memori--date-selector__select--icon svg {
83
+ width: 1.25rem;
84
+ height: 1.25rem;
85
+ color: rgb(156 163 175/1);
86
+ }
87
+
88
+ ul.memori--date-selector__select-options {
89
+ position: absolute;
90
+ z-index: 1;
91
+ overflow: auto;
92
+ width: 100%;
93
+ max-width: min(18rem, 30%);
94
+ max-height: 15rem;
95
+ padding-top: .25rem;
96
+ padding-right: 0;
97
+ padding-bottom: .25rem;
98
+ padding-left: 0;
99
+ border-radius: .375rem;
100
+ margin-top: .25rem;
101
+ margin-right: 0;
102
+ margin-bottom: 0;
103
+ margin-left: 0;
104
+ background: #fff;
105
+ box-shadow: rgb(255, 255, 255) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
106
+ list-style: none;
107
+ }
108
+
109
+ @media (min-width: 640px) {
110
+ .memori--date-selector__select-options {
111
+ font-size: .875rem;
112
+ line-height: 1.25rem;
113
+ }
114
+ }
115
+
116
+ li.memori--date-selector__select-option {
117
+ position: relative;
118
+ padding-top: .5rem;
119
+ padding-right: 1rem;
120
+ padding-bottom: .5rem;
121
+ padding-left: 1rem;
122
+ color: rgb(17 24 39/1);
123
+ cursor: pointer;
124
+ user-select: none;
125
+ }
126
+
127
+ li.memori--date-selector__select-option:hover,
128
+ li.memori--date-selector__select-option:focus {
129
+ background-color: #f7fafc;
130
+ }
131
+
132
+ li.memori--date-selector__select-option:focus {
133
+ outline: 2px solid #63b3ed;
134
+ outline-offset: 2px;
135
+ }
@@ -37,13 +37,13 @@ legend.helper p {
37
37
 
38
38
  .memori--upload .ant-upload.ant-upload-select-picture-card:hover,
39
39
  .memori--upload .ant-upload.ant-upload-select-picture-card:focus {
40
- border-color: var(--ant-primary-color);
40
+ border-color: var(--memori-primary);
41
41
  opacity: 1;
42
42
  }
43
43
 
44
44
  .memori--upload .ant-upload.ant-upload-select-picture-card:hover .ant-upload,
45
45
  .memori--upload .ant-upload.ant-upload-select-picture-card:focus .ant-upload {
46
- color: var(--ant-primary-color);
46
+ color: var(--memori-primary);
47
47
  }
48
48
 
49
49
  .memori--upload .ant-upload-list {
@@ -63,3 +63,70 @@ a.memori-media-item--link {
63
63
  width: 50%;
64
64
  height: 50%;
65
65
  }
66
+
67
+ .memori-media-item--modal .memori-media-item--figure {
68
+ position: relative;
69
+ z-index: 0;
70
+ width: 100%;
71
+ max-height: 100%;
72
+ flex-direction: row;
73
+ }
74
+
75
+ .memori-media-item--modal .memori-card {
76
+ width: 100%;
77
+ max-width: 100%;
78
+ height: 100%;
79
+ max-height: 100%;
80
+ border-radius: 0;
81
+ margin-bottom: 0;
82
+ box-shadow: none;
83
+ }
84
+
85
+ .memori-media-item--modal .memori-card--content {
86
+ display: none;
87
+ }
88
+
89
+ .memori-media-item--modal .memori-card--cover {
90
+ height: 100%;
91
+ border-radius: 0;
92
+ }
93
+
94
+ .memori-media-item--modal .memori-modal--panel {
95
+ width: 75vw;
96
+ height: 85vh;
97
+ backdrop-filter: blur(var(--memori-blur-background, 10px));
98
+ background: rgba(0, 0, 0, 0.25);
99
+ }
100
+
101
+ .memori-media-item--modal .memori-modal--panel .memori-card {
102
+ background: none;
103
+ }
104
+
105
+ .memori-media-item--modal .memori-modal--panel .memori-spin {
106
+ display: flex;
107
+ height: 100%;
108
+ align-items: center;
109
+ justify-content: center;
110
+ }
111
+
112
+ .memori-media-item--modal a.memori-media-item--link {
113
+ display: flex;
114
+ width: 100%;
115
+ height: 100%;
116
+ align-items: center;
117
+ justify-content: center;
118
+ }
119
+
120
+ .memori-media-item--modal .memori-media-item--figure-caption {
121
+ position: absolute;
122
+ bottom: 0;
123
+ width: 100%;
124
+ backdrop-filter: blur(var(--memori-blur-background, 5px));
125
+ background: rgba(255, 255, 255, 0.5);
126
+ color: #000;
127
+ }
128
+
129
+ .memori-media-item--modal .memori-modal--close button {
130
+ border-color: #fff;
131
+ color: #fff;
132
+ }
@@ -3,14 +3,14 @@
3
3
  align-items: center;
4
4
  padding: 10px 30px;
5
5
  border-radius: 5px;
6
- background-color: var(--ant-primary-color);
7
- color: var(--ant-primary-text);
6
+ background-color: var(--memori-primary);
7
+ color: var(--memori-primary-text);
8
8
  transition: all 0.5s ease;
9
9
  }
10
10
 
11
11
  .actionButton:hover {
12
- border-color: var(--ant-primary-color) !important;
13
- background-color: var(--ant-primary-color);
12
+ border-color: var(--memori-primary) !important;
13
+ background-color: var(--memori-primary);
14
14
  color: var(--light-gray) !important;
15
15
  filter: brightness(1.08);
16
16
  }
@@ -119,3 +119,12 @@
119
119
  .delay-1000 {
120
120
  transition-delay: 1000ms;
121
121
  }
122
+
123
+ .memori-hints--show-more {
124
+ text-align: center;
125
+ }
126
+
127
+ .memori-hints--show-more-button {
128
+ border-radius: 5px;
129
+ background: none;
130
+ }