@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.
- package/CHANGELOG.md +7 -0
- package/dist/components/AgeVerificationModal/AgeVerificationModal.css +63 -0
- package/dist/components/ChatBubble/ChatBubble.css +1 -2
- package/dist/components/ChatInputs/ChatInputs.css +17 -6
- package/dist/components/DateSelector/DateSelector.css +135 -0
- package/dist/components/ImageUpload/ImageUpload.css +2 -2
- package/dist/components/MediaWidget/MediaItemWidget.css +67 -0
- package/dist/components/MediaWidget/MediaWidget.css +13 -4
- package/dist/components/MemoriWidget/MemoriWidget.css +1 -23
- package/dist/components/PoweredBy/PoweredBy.css +45 -0
- package/dist/components/SettingsDrawer/SettingsDrawer.css +5 -0
- package/dist/components/StartPanel/StartPanel.css +11 -5
- package/dist/components/layouts/totem.css +148 -0
- package/dist/components/ui/Button.css +4 -10
- package/dist/components/ui/Checkbox.css +1 -5
- package/dist/components/ui/Drawer.css +24 -2
- package/dist/components/ui/Select.css +135 -0
- package/dist/components/ui/Spin.css +2 -0
- package/dist/styles.css +51 -1
- package/esm/components/AgeVerificationModal/AgeVerificationModal.css +63 -0
- package/esm/components/ChatBubble/ChatBubble.css +1 -2
- package/esm/components/ChatInputs/ChatInputs.css +17 -6
- package/esm/components/DateSelector/DateSelector.css +135 -0
- package/esm/components/ImageUpload/ImageUpload.css +2 -2
- package/esm/components/MediaWidget/MediaItemWidget.css +67 -0
- package/esm/components/MediaWidget/MediaWidget.css +13 -4
- package/esm/components/MemoriWidget/MemoriWidget.css +1 -23
- package/esm/components/PoweredBy/PoweredBy.css +45 -0
- package/esm/components/SettingsDrawer/SettingsDrawer.css +5 -0
- package/esm/components/StartPanel/StartPanel.css +11 -5
- package/esm/components/layouts/totem.css +148 -0
- package/esm/components/ui/Button.css +4 -10
- package/esm/components/ui/Checkbox.css +1 -5
- package/esm/components/ui/Drawer.css +24 -2
- package/esm/components/ui/Select.css +135 -0
- package/esm/components/ui/Spin.css +2 -0
- package/esm/styles.css +51 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [2.0.1](https://github.com/memori-ai/memori-react/compare/v2.0.0...v2.0.1) (2023-04-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* copy css files ([866a97f](https://github.com/memori-ai/memori-react/commit/866a97fe078c9758e2a420ea4c4aca2008ee7644))
|
|
9
|
+
|
|
3
10
|
## [2.0.0](https://github.com/memori-ai/memori-react/compare/v1.2.1...v2.0.0) (2023-04-24)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -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:
|
|
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:
|
|
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(--
|
|
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(--
|
|
41
|
-
|
|
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(--
|
|
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(--
|
|
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(--
|
|
7
|
-
color: var(--
|
|
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(--
|
|
13
|
-
background-color: var(--
|
|
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
|
+
}
|
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
memori-client #root,
|
|
2
|
-
.memori-widget {
|
|
3
|
-
--memori-primary: rgb(102, 103, 171);
|
|
4
|
-
--memori-primary-text: #fff;
|
|
5
|
-
--memori-inner-content-pad: 1rem;
|
|
6
|
-
--memori-inner-bg: transparent;
|
|
7
|
-
--memori-chat-bubble-bg: #ffffff60;
|
|
8
|
-
--memori-text-color: #000;
|
|
9
|
-
--memori-button-bg: #fff;
|
|
10
|
-
--memori-button-text: #000;
|
|
11
|
-
--memori-button-padding: 0.5rem 1.5rem;
|
|
12
|
-
--memori-button-border-color: #d9d9d9;
|
|
13
|
-
--memori-button-radius: 5px;
|
|
14
|
-
--memori-button-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
|
|
15
|
-
--memori-blur-background: 0;
|
|
16
|
-
--memori-drawer--width: 100%;
|
|
17
|
-
--memori-drawer--width--md: 80%;
|
|
18
|
-
--memori-drawer--width--lg: 60%;
|
|
19
|
-
--memori-modal--width: 100%;
|
|
20
|
-
--memori-modal--width--md: 80%;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
1
|
.memori-widget {
|
|
24
2
|
position: relative;
|
|
25
3
|
width: 100%;
|
|
@@ -147,7 +125,7 @@ memori-client #root,
|
|
|
147
125
|
.memori--powered-by {
|
|
148
126
|
position: absolute;
|
|
149
127
|
z-index: 1000;
|
|
150
|
-
bottom:
|
|
128
|
+
bottom: 0;
|
|
151
129
|
left: 0;
|
|
152
130
|
display: inline-flex;
|
|
153
131
|
flex-wrap: wrap;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
.memori--powered-by {
|
|
2
|
+
position: absolute;
|
|
3
|
+
z-index: 1000;
|
|
4
|
+
bottom: 1rem;
|
|
5
|
+
left: 0;
|
|
6
|
+
display: inline-flex;
|
|
7
|
+
flex-wrap: wrap;
|
|
8
|
+
padding: 0.25rem 0.5rem;
|
|
9
|
+
border-radius: 10px;
|
|
10
|
+
background-color: var(--memori-inner-bg, transparent);
|
|
11
|
+
box-shadow: var(--memori-button-box-shadow);
|
|
12
|
+
color: var(--memori-text-color, rgba(0, 0, 0, 0.85)) !important;
|
|
13
|
+
font-size: 0.7em;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@media (max-width: 768px) {
|
|
17
|
+
.memori--powered-by {
|
|
18
|
+
top: 3.5rem;
|
|
19
|
+
bottom: auto;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.memori--powered-by img {
|
|
24
|
+
max-width: 2rem;
|
|
25
|
+
max-height: 2rem;
|
|
26
|
+
margin-right: 0.25rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.memori--powered-by p {
|
|
30
|
+
margin-top: 0;
|
|
31
|
+
margin-bottom: 0;
|
|
32
|
+
color: var(--memori-text-color, rgba(0, 0, 0, 0.85)) !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.memori--powered-by a {
|
|
36
|
+
color: var(--memori-text-color, rgba(0, 0, 0, 0.85)) !important;
|
|
37
|
+
text-decoration: underline;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.memori--powered-by a:hover,
|
|
41
|
+
.memori--powered-by a:focus {
|
|
42
|
+
color: var(--memori-text-color, rgba(0, 0, 0, 0.85)) !important;
|
|
43
|
+
opacity: 0.8;
|
|
44
|
+
text-decoration: underline;
|
|
45
|
+
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
height: 2rem;
|
|
8
8
|
align-items: center;
|
|
9
9
|
justify-content: center;
|
|
10
|
-
border: 1.5px solid var(--
|
|
10
|
+
border: 1.5px solid var(--memori-primary);
|
|
11
11
|
border-radius: 50%;
|
|
12
12
|
background: #fff;
|
|
13
13
|
box-shadow: 0 0 5px 6px rgba(255, 255, 255, 0.5);
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.memori--start-panel .memori--start-panel-title {
|
|
32
|
-
color: var(--memori-text-color, var(--
|
|
32
|
+
color: var(--memori-text-color, var(--memori-primary)) !important;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.memori--start-panel .memori--start-panel-description {
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
|
|
87
87
|
.memori--description,
|
|
88
88
|
.memori--needsPosition {
|
|
89
|
-
color: rgba(0, 0, 0, 0.85);
|
|
89
|
+
color: var(--memori-text-color, rgba(0, 0, 0, 0.85));
|
|
90
90
|
font-size: 14px;
|
|
91
91
|
line-height: 1.6;
|
|
92
92
|
}
|
|
@@ -123,7 +123,8 @@
|
|
|
123
123
|
margin-left: 0.5rem;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
.memori--completions-enabled
|
|
126
|
+
.memori--completions-enabled,
|
|
127
|
+
.memori--nsfw {
|
|
127
128
|
position: absolute;
|
|
128
129
|
right: 2.5rem;
|
|
129
130
|
bottom: -1.25rem;
|
|
@@ -132,10 +133,11 @@
|
|
|
132
133
|
height: 2rem;
|
|
133
134
|
align-items: center;
|
|
134
135
|
justify-content: center;
|
|
135
|
-
border: 1.5px solid var(--
|
|
136
|
+
border: 1.5px solid var(--memori-primary);
|
|
136
137
|
border-radius: 50%;
|
|
137
138
|
background: #fff;
|
|
138
139
|
box-shadow: 0 0 5px 6px rgba(255, 255, 255, 0.5);
|
|
140
|
+
color: #000;
|
|
139
141
|
}
|
|
140
142
|
|
|
141
143
|
.memori--completions-enabled span {
|
|
@@ -147,3 +149,7 @@
|
|
|
147
149
|
width: 1rem;
|
|
148
150
|
height: 1rem;
|
|
149
151
|
}
|
|
152
|
+
|
|
153
|
+
.memori--completions-enabled + .memori--nsfw {
|
|
154
|
+
right: 4.75rem;
|
|
155
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
.memori-widget.memori-layout-totem {
|
|
2
|
+
height: 100vh !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.memori-widget.memori-layout-totem .memori--global-background.no-background-image {
|
|
6
|
+
background: linear-gradient(#333, #eee);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.memori-widget > .memori-spin.memori-totem-layout {
|
|
10
|
+
display: flex;
|
|
11
|
+
height: 100%;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
|
|
14
|
+
/* --memori-text-color: #fff; */
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.memori-totem-layout--header {
|
|
18
|
+
text-align: right;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.memori-totem-layout--avatar {
|
|
22
|
+
flex: 1;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.memori-totem-layout--avatar .memori--avatar-wrapper {
|
|
26
|
+
position: fixed;
|
|
27
|
+
z-index: 0;
|
|
28
|
+
top: 0;
|
|
29
|
+
left: 0;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.memori-totem-layout .memori-header {
|
|
35
|
+
position: relative;
|
|
36
|
+
z-index: 100;
|
|
37
|
+
display: inline-flex;
|
|
38
|
+
width: auto;
|
|
39
|
+
height: auto;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.memori-totem-layout .memori-header .memori-share-button,
|
|
44
|
+
.memori-totem-layout .memori-header .memori-header--button + .memori-header--button {
|
|
45
|
+
margin-top: 0.25rem;
|
|
46
|
+
margin-left: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.memori-totem-layout .memori-chat--cover {
|
|
50
|
+
display: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.memori-totem-layout .memori--cover {
|
|
54
|
+
padding: 0;
|
|
55
|
+
background: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.memori-totem-layout .memori--powered-by {
|
|
59
|
+
top: 0;
|
|
60
|
+
bottom: auto;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.memori-totem-layout--avatar .memori--avatar-wrapper > div {
|
|
64
|
+
overflow: visible !important;
|
|
65
|
+
/* width: 100% !important;
|
|
66
|
+
height: 100% !important; */
|
|
67
|
+
width: auto !important;
|
|
68
|
+
height: 90vh !important;
|
|
69
|
+
max-height: 90vh;
|
|
70
|
+
border-radius: 0;
|
|
71
|
+
transform: scale(1.7) translate(0px, 10vh);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.memori-totem-layout--avatar .memori--avatar-wrapper canvas {
|
|
75
|
+
width: auto !important;
|
|
76
|
+
max-width: 100%;
|
|
77
|
+
height: 100% !important;
|
|
78
|
+
max-height: 100%;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.memori-totem-layout--controls {
|
|
82
|
+
position: relative;
|
|
83
|
+
z-index: 5;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.memori-totem-layout--controls .memori--start-panel,
|
|
87
|
+
.memori-totem-layout--controls .memori-chat--history,
|
|
88
|
+
.memori-totem-layout--controls .memori-chat--content {
|
|
89
|
+
background: transparent;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.memori-totem-layout--controls .memori--start-panel,
|
|
93
|
+
.memori-totem-layout--controls .memori-chat--wrapper {
|
|
94
|
+
width: 80vw;
|
|
95
|
+
max-width: 800px;
|
|
96
|
+
padding: 1rem;
|
|
97
|
+
margin: 0 auto;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.memori-totem-layout .memori--avatar-toggle {
|
|
101
|
+
display: none;
|
|
102
|
+
width: 100%;
|
|
103
|
+
justify-content: center;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.memori-totem-layout .memori--title,
|
|
107
|
+
.memori-totem-layout .memori--description,
|
|
108
|
+
.memori-totem-layout .memori--needsPosition {
|
|
109
|
+
color: var(--memori-text-color);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.memori-totem-layout .memori--global-background-image {
|
|
113
|
+
background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(200, 200, 200, 0.8));
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.memori-widget.memori-controls-center .memori-totem-layout--controls {
|
|
117
|
+
position: absolute;
|
|
118
|
+
top: 40%;
|
|
119
|
+
width: 100%;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.memori-totem-layout .memori-chat-inputs--mic {
|
|
123
|
+
font-size: 125%;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.memori-totem-layout--avatar .memori--avatar-wrapper > div canvas + div {
|
|
127
|
+
position: absolute !important;
|
|
128
|
+
width: 100%;
|
|
129
|
+
height: 100%;
|
|
130
|
+
transform: none !important;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.memori-totem-layout--avatar .memori--avatar-wrapper .avatar-loader {
|
|
134
|
+
display: flex;
|
|
135
|
+
width: 100%;
|
|
136
|
+
height: 100%;
|
|
137
|
+
align-items: center;
|
|
138
|
+
justify-content: center;
|
|
139
|
+
transform: none !important;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.memori-totem-layout--avatar .memori--avatar-wrapper .avatar-loader figure {
|
|
143
|
+
text-align: center;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.memori-totem-layout--avatar .memori--avatar-wrapper .avatar-loader .memori-spin--spinner {
|
|
147
|
+
background: none;
|
|
148
|
+
}
|