@rtsee/ngx 0.0.122 → 0.0.124

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.
@@ -1,6 +1,11 @@
1
1
  @import "../common-variables";
2
2
 
3
3
  .rtsee-image-cropper-container {
4
+ background: linear-gradient(145deg, rgba(24, 24, 37, 0.9) 0%, rgba(16, 16, 26, 0.95) 100%);
5
+ border: 1px solid rgba(255, 255, 255, 0.08);
6
+ border-radius: 12px;
7
+ padding: $rts-offset-sm;
8
+
4
9
  .image-cropper-actions {
5
10
  padding: $rts-offset-sm;
6
11
  }
@@ -11,20 +16,23 @@
11
16
  cursor: pointer;
12
17
  margin-bottom: $rts-offset-sm;
13
18
  position: relative;
19
+ border-radius: 12px;
20
+ overflow: hidden;
14
21
 
15
22
  .rtsee-image-uploader-preview-image {
23
+ display: block;
16
24
  width: 100%;
17
- border-radius: 8px;
25
+ border-radius: 10px;
18
26
  }
19
27
 
20
28
  .rtsee-preloader-image-placeholder {
21
29
  padding: 48px 24px;
22
30
  background: linear-gradient(
23
31
  135deg,
24
- rgba(108, 92, 231, 0.06) 0%,
25
- rgba(162, 155, 254, 0.03) 100%
32
+ rgba(108, 92, 231, 0.08) 0%,
33
+ rgba(24, 24, 38, 0.75) 100%
26
34
  );
27
- border: 2px dashed rgba(162, 155, 254, 0.3);
35
+ border: 2px dashed rgba(162, 155, 254, 0.32);
28
36
  border-radius: 12px;
29
37
  display: flex;
30
38
  flex-direction: column;
@@ -34,23 +42,23 @@
34
42
  transition: border-color 0.2s ease, background 0.2s ease;
35
43
 
36
44
  &:hover {
37
- border-color: rgba(162, 155, 254, 0.6);
45
+ border-color: rgba(162, 155, 254, 0.65);
38
46
  background: linear-gradient(
39
47
  135deg,
40
- rgba(108, 92, 231, 0.1) 0%,
41
- rgba(162, 155, 254, 0.06) 100%
48
+ rgba(108, 92, 231, 0.14) 0%,
49
+ rgba(30, 30, 48, 0.85) 100%
42
50
  );
43
51
  }
44
52
 
45
53
  .rtsee-upload-icon {
46
54
  font-size: 40px;
47
- color: rgba(162, 155, 254, 0.6);
55
+ color: rgba(162, 155, 254, 0.7);
48
56
  transition: color 0.2s ease;
49
57
  }
50
58
 
51
59
  .rtsee-upload-text {
52
60
  font-size: 14px;
53
- color: rgba(162, 155, 254, 0.5);
61
+ color: rgba(228, 228, 240, 0.75);
54
62
  font-weight: 500;
55
63
  letter-spacing: 0.3px;
56
64
  }
@@ -58,7 +66,7 @@
58
66
 
59
67
  &:hover .rtsee-preloader-image-placeholder {
60
68
  .rtsee-upload-icon {
61
- color: rgba(162, 155, 254, 0.85);
69
+ color: rgba(162, 155, 254, 0.95);
62
70
  }
63
71
  }
64
72
 
@@ -137,6 +145,71 @@
137
145
  }
138
146
  }
139
147
  }
148
+
149
+ #rtsee-drag-drop-area {
150
+ .uppy-Dashboard-inner {
151
+ background-color: #181926 !important;
152
+ border: 1px solid rgba(139, 92, 246, 0.28) !important;
153
+ border-radius: 12px !important;
154
+ color: $rts-rates-text-primary !important;
155
+ }
156
+
157
+ .uppy-Dashboard-AddFiles {
158
+ border-color: rgba(162, 155, 254, 0.32) !important;
159
+ }
160
+
161
+ .uppy-Dashboard-AddFiles-title {
162
+ color: $rts-rates-text-primary !important;
163
+ }
164
+ }
165
+
166
+ @media screen and (min-width: $rts-break-md) {
167
+ padding: $rts-offset-sm $rts-offset-md;
168
+
169
+ .rtsee-image-uploader-image {
170
+ max-width: 420px;
171
+ margin: $rts-offset-sm auto $rts-offset-md;
172
+ padding: $rts-offset-sm;
173
+ background: linear-gradient(
174
+ 145deg,
175
+ rgba(22, 22, 34, 0.85) 0%,
176
+ rgba(14, 14, 22, 0.92) 100%
177
+ );
178
+ border: 1px solid rgba(255, 255, 255, 0.08);
179
+ border-radius: 14px;
180
+ box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
181
+
182
+ .rtsee-image-uploader-preview-image {
183
+ max-height: 320px;
184
+ object-fit: contain;
185
+ border-radius: 10px;
186
+ }
187
+
188
+ .rtsee-image-uploader-illustrator-btn {
189
+ top: $rts-offset-md;
190
+ right: $rts-offset-md;
191
+ }
192
+
193
+ .rtsee-image-uploader-image-change-btn {
194
+ bottom: $rts-offset-md;
195
+ right: $rts-offset-md;
196
+
197
+ &.rtsee-shifted {
198
+ right: calc(#{$rts-offset-md} + 44px);
199
+ }
200
+ }
201
+
202
+ .rtsee-image-uploader-optimize-btn {
203
+ bottom: $rts-offset-md;
204
+ right: $rts-offset-md;
205
+ }
206
+ }
207
+
208
+ .rtsee-image-cropper-container {
209
+ max-width: 520px;
210
+ margin: $rts-offset-sm auto $rts-offset-md;
211
+ }
212
+ }
140
213
  }
141
214
 
142
215
  @keyframes rtsee-optimize-pulse {
@@ -1,25 +1,140 @@
1
1
  @import "../common-variables";
2
+ @import "../rts-common/variables-typography";
2
3
 
3
4
  .rtsee-ordered-list {
4
5
  margin-top: $rts-offset-sm;
6
+ font-family: $rtsu-font-family;
7
+
8
+ .p-orderlist {
9
+ gap: $rts-offset-md;
10
+ }
11
+
12
+ .p-orderlist-controls {
13
+ .p-button {
14
+ background: rgba(255, 255, 255, 0.06);
15
+ border: 1px solid rgba(255, 255, 255, 0.12);
16
+ color: $ai-text-color-primary;
17
+ border-radius: 8px;
18
+ transition: background 0.15s ease, border-color 0.15s ease;
19
+
20
+ &:hover:not(:disabled) {
21
+ background: rgba(139, 92, 246, 0.18);
22
+ border-color: rgba(139, 92, 246, 0.4);
23
+ color: #ffffff;
24
+ }
25
+ }
26
+ }
27
+
28
+ .p-listbox {
29
+ background: rgba(18, 18, 28, 0.78);
30
+ border: 1px solid rgba(255, 255, 255, 0.08);
31
+ border-radius: 14px;
32
+ padding: $rts-offset-sm;
33
+ color: $ai-text-color-primary;
34
+ box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
35
+
36
+ .p-listbox-list {
37
+ display: flex;
38
+ flex-direction: column;
39
+ gap: $rts-offset-sm;
40
+ padding: 0;
41
+ }
42
+
43
+ .p-listbox-option {
44
+ background: linear-gradient(
45
+ 135deg,
46
+ rgba(30, 30, 44, 0.85) 0%,
47
+ rgba(22, 22, 34, 0.92) 100%
48
+ );
49
+ border: 1px solid rgba(255, 255, 255, 0.07);
50
+ border-radius: 12px;
51
+ padding: ($rts-offset-sm + 2px) ($rts-offset-sm + $rts-offset-xsm);
52
+ color: $ai-text-color-primary;
53
+ margin: 0;
54
+ transition:
55
+ background 0.2s ease,
56
+ border-color 0.2s ease,
57
+ transform 0.15s ease,
58
+ box-shadow 0.2s ease;
59
+
60
+ &:hover {
61
+ background: linear-gradient(
62
+ 135deg,
63
+ rgba(38, 38, 58, 0.92) 0%,
64
+ rgba(26, 26, 40, 0.96) 100%
65
+ );
66
+ border-color: rgba(139, 92, 246, 0.36);
67
+ transform: translateY(-1px);
68
+ box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
69
+ }
70
+
71
+ &.p-listbox-option-selected,
72
+ &[aria-selected="true"] {
73
+ background: linear-gradient(
74
+ 135deg,
75
+ rgba(108, 92, 231, 0.22) 0%,
76
+ rgba(30, 28, 48, 0.94) 100%
77
+ );
78
+ border-color: rgba(139, 92, 246, 0.55);
79
+ color: #ffffff;
80
+ }
81
+ }
82
+ }
5
83
 
6
84
  .rtsee-ordered-list-item {
7
85
  display: flex;
8
86
  flex-direction: row;
9
- justify-content: left;
87
+ align-items: center;
88
+ justify-content: flex-start;
89
+ gap: $rts-offset-md;
90
+ width: 100%;
10
91
  flex-shrink: 0;
11
92
 
12
93
  .rtsee-ordered-list-item-image {
13
- width: 60px;
14
- display: flex;
94
+ width: 68px !important;
95
+ height: 52px;
96
+ object-fit: cover;
97
+ border-radius: 8px;
98
+ border: 1px solid rgba(255, 255, 255, 0.12);
99
+ background: rgba(14, 14, 22, 0.7);
100
+ flex-shrink: 0;
101
+ display: block;
102
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
15
103
  }
16
104
 
17
105
  .rtsee-ordered-list-item-info {
106
+ display: flex;
107
+ flex-direction: row;
108
+ align-items: center;
109
+ justify-content: space-between;
110
+ flex-wrap: wrap;
111
+ gap: $rts-offset-sm;
112
+ flex: 1;
113
+ min-width: 0;
18
114
  padding: ($rts-offset-xsm * 0.5) $rts-offset-sm;
19
115
 
116
+ > span {
117
+ font-size: 0.96rem;
118
+ font-weight: 600;
119
+ color: $ai-text-color-primary !important;
120
+ letter-spacing: -0.01em;
121
+ }
122
+
20
123
  .rtsee-ordered-list-item-info-buttons {
124
+ display: flex;
125
+ align-items: center;
126
+ flex-wrap: wrap;
127
+ gap: $rts-offset-sm;
128
+
21
129
  .rtsee-ordered-list-item-info-button {
22
- margin-right: $rts-offset-sm;
130
+ margin-right: 0;
131
+
132
+ .p-button {
133
+ border-radius: 8px;
134
+ font-size: 0.82rem;
135
+ font-weight: 600;
136
+ padding: 6px 12px;
137
+ }
23
138
  }
24
139
  }
25
140
  }
@@ -1,17 +1,181 @@
1
1
  @import "./variables";
2
+ @import "../rts-common/variables-typography";
2
3
 
3
4
  .rtsee-form-container {
4
5
  padding: $rts-offset-md;
5
6
  background-color: $rts-form-background-color;
6
- border-radius: $rts-default-border-radius;
7
+ background-image: $rts-form-background-gradient;
8
+ border: 1px solid rgba(255, 255, 255, 0.08);
9
+ border-radius: 14px;
10
+ color: $rts-rates-text-primary;
11
+ font-family: $rtsu-font-family;
12
+ box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
13
+
14
+ // PrimeNG dark form tokens
15
+ --p-inputtext-background: rgba(18, 19, 30, 0.88);
16
+ --p-inputtext-color: #{$rts-rates-text-primary};
17
+ --p-inputtext-border-color: rgba(255, 255, 255, 0.12);
18
+ --p-inputtext-hover-border-color: rgba(162, 155, 254, 0.4);
19
+ --p-inputtext-focus-border-color: #{$rts-rates-accent-purple};
20
+ --p-inputtext-invalid-border-color: #{$rts-rates-danger};
21
+ --p-inputtext-placeholder-color: #{$rts-rates-text-muted};
22
+ --p-inputtext-border-radius: 10px;
23
+ --p-inputtext-focus-ring-shadow: 0 0 0 3px rgba(108, 92, 231, 0.18);
24
+
25
+ --p-textarea-background: rgba(18, 19, 30, 0.88);
26
+ --p-textarea-color: #{$rts-rates-text-primary};
27
+ --p-textarea-border-color: rgba(255, 255, 255, 0.12);
28
+ --p-textarea-hover-border-color: rgba(162, 155, 254, 0.4);
29
+ --p-textarea-focus-border-color: #{$rts-rates-accent-purple};
30
+ --p-textarea-invalid-border-color: #{$rts-rates-danger};
31
+ --p-textarea-placeholder-color: #{$rts-rates-text-muted};
32
+ --p-textarea-border-radius: 10px;
33
+ --p-textarea-focus-ring-shadow: 0 0 0 3px rgba(108, 92, 231, 0.18);
34
+
35
+ --p-select-background: rgba(18, 19, 30, 0.88);
36
+ --p-select-color: #{$rts-rates-text-primary};
37
+ --p-select-border-color: rgba(255, 255, 255, 0.12);
38
+ --p-select-hover-border-color: rgba(162, 155, 254, 0.4);
39
+ --p-select-focus-border-color: #{$rts-rates-accent-purple};
40
+ --p-select-border-radius: 10px;
41
+ --p-select-overlay-background: #1c1d2b;
42
+ --p-select-overlay-color: #{$rts-rates-text-primary};
43
+ --p-select-overlay-border-color: rgba(139, 92, 246, 0.28);
44
+ --p-select-option-color: #{$rts-rates-text-primary};
45
+ --p-select-option-focus-background: rgba(139, 92, 246, 0.16);
46
+ --p-select-option-focus-color: #ffffff;
47
+ --p-select-option-selected-background: rgba(139, 92, 246, 0.24);
48
+ --p-select-option-selected-focus-background: rgba(139, 92, 246, 0.3);
49
+ --p-select-option-selected-color: #ffffff;
50
+
51
+ --p-autocomplete-background: rgba(18, 19, 30, 0.88);
52
+ --p-autocomplete-color: #{$rts-rates-text-primary};
53
+ --p-autocomplete-border-color: rgba(255, 255, 255, 0.12);
54
+ --p-autocomplete-hover-border-color: rgba(162, 155, 254, 0.4);
55
+ --p-autocomplete-focus-border-color: #{$rts-rates-accent-purple};
56
+ --p-autocomplete-overlay-background: #1c1d2b;
57
+ --p-autocomplete-overlay-color: #{$rts-rates-text-primary};
58
+ --p-autocomplete-overlay-border-color: rgba(139, 92, 246, 0.28);
59
+ --p-autocomplete-option-color: #{$rts-rates-text-primary};
60
+ --p-autocomplete-option-focus-background: rgba(139, 92, 246, 0.16);
61
+ --p-autocomplete-option-focus-color: #ffffff;
62
+ --p-autocomplete-chip-border-radius: 6px;
63
+
64
+ --p-floatlabel-color: #{$rts-rates-text-secondary};
65
+ --p-floatlabel-focus-color: #{$rts-rates-accent-purple-light};
66
+ --p-floatlabel-active-color: #{$rts-rates-text-secondary};
67
+ --p-floatlabel-invalid-color: #{$rts-rates-danger};
68
+ --p-floatlabel-on-active-background: #181926;
69
+
70
+ --p-fieldset-background: rgba(18, 19, 30, 0.65);
71
+ --p-fieldset-border-color: rgba(255, 255, 255, 0.1);
72
+ --p-fieldset-color: #{$rts-rates-text-primary};
73
+ --p-fieldset-legend-background: #1c1d2b;
74
+ --p-fieldset-legend-color: #{$rts-rates-text-primary};
75
+ --p-fieldset-legend-border-color: rgba(255, 255, 255, 0.1);
76
+
77
+ --p-checkbox-background: rgba(18, 19, 30, 0.88);
78
+ --p-checkbox-border-color: rgba(255, 255, 255, 0.22);
79
+ --p-checkbox-hover-border-color: #{$rts-rates-accent-purple-light};
80
+ --p-checkbox-checked-background: #{$rts-rates-accent-purple};
81
+ --p-checkbox-checked-border-color: #{$rts-rates-accent-purple};
82
+ --p-checkbox-icon-checked-color: #ffffff;
83
+
84
+ --p-radiobutton-background: rgba(18, 19, 30, 0.88);
85
+ --p-radiobutton-border-color: rgba(255, 255, 255, 0.22);
86
+ --p-radiobutton-hover-border-color: #{$rts-rates-accent-purple-light};
87
+ --p-radiobutton-checked-border-color: #{$rts-rates-accent-purple};
88
+ --p-radiobutton-icon-checked-color: #{$rts-rates-accent-purple};
89
+
90
+ --p-divider-border-color: rgba(255, 255, 255, 0.08);
91
+
92
+ // Prevent nested .rtsee-form-container from double-framing
93
+ .rtsee-form-container {
94
+ padding: 0;
95
+ background: transparent;
96
+ border: none;
97
+ box-shadow: none;
98
+ }
7
99
 
8
100
  .rtsee-form {
9
- background-color: $rts-form-background-color;
101
+ background-color: transparent;
10
102
 
11
103
  .rtsee-form-field {
12
104
  width: 100%;
13
105
  }
14
106
 
107
+ .p-inputgroup,
108
+ .p-floatlabel,
109
+ .p-inputtext,
110
+ .p-textarea,
111
+ .p-select,
112
+ .p-inputnumber,
113
+ .p-inputnumber-input,
114
+ .p-autocomplete,
115
+ .p-autocomplete-input-multiple,
116
+ .p-datepicker,
117
+ .p-datepicker-input {
118
+ width: 100%;
119
+ }
120
+
121
+ .p-inputtext,
122
+ .p-textarea,
123
+ .p-select,
124
+ .p-inputnumber-input,
125
+ .p-autocomplete-input-multiple,
126
+ .p-datepicker-input {
127
+ background-color: rgba(18, 19, 30, 0.88);
128
+ color: $rts-rates-text-primary;
129
+ border: 1px solid rgba(255, 255, 255, 0.12);
130
+ border-radius: 10px;
131
+ font-family: inherit;
132
+ transition:
133
+ border-color 0.2s ease,
134
+ box-shadow 0.2s ease,
135
+ background-color 0.2s ease;
136
+
137
+ &:hover:not(:disabled) {
138
+ border-color: rgba(162, 155, 254, 0.4);
139
+ }
140
+
141
+ &:focus,
142
+ &:focus-within {
143
+ background-color: rgba(24, 25, 40, 0.96);
144
+ border-color: $rts-rates-accent-purple;
145
+ box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.18);
146
+ }
147
+ }
148
+
149
+ .p-floatlabel label {
150
+ color: $rts-rates-text-secondary;
151
+ }
152
+
153
+ .p-floatlabel-on:has(input:focus) label,
154
+ .p-floatlabel-on:has(input.p-filled) label,
155
+ .p-floatlabel-on:has(textarea:focus) label,
156
+ .p-floatlabel-on:has(textarea.p-filled) label,
157
+ .p-floatlabel-on:has(.p-inputwrapper-focus) label,
158
+ .p-floatlabel-on:has(.p-inputwrapper-filled) label {
159
+ background: #181926;
160
+ color: $rts-rates-accent-purple-light;
161
+ padding: 0 6px;
162
+ border-radius: 4px;
163
+ }
164
+
165
+ .p-fieldset {
166
+ background: rgba(18, 19, 30, 0.65);
167
+ border: 1px solid rgba(255, 255, 255, 0.1);
168
+ border-radius: 12px;
169
+ color: $rts-rates-text-primary;
170
+
171
+ .p-fieldset-legend {
172
+ background: #1c1d2b;
173
+ border: 1px solid rgba(255, 255, 255, 0.1);
174
+ border-radius: 8px;
175
+ color: $rts-rates-text-primary;
176
+ }
177
+ }
178
+
15
179
  .rtsee-form-field-container {
16
180
  margin-bottom: $rts-offset-md;
17
181
 
@@ -45,7 +209,8 @@
45
209
  display: flex;
46
210
  flex-direction: row;
47
211
  align-items: center;
48
- justify-content: start;
212
+ justify-content: flex-start;
213
+ gap: $rts-offset-sm;
49
214
  }
50
215
 
51
216
  .rtsee-form-label {
@@ -1,7 +1,12 @@
1
1
  @import "../common-variables";
2
2
 
3
3
  $rts-form-field-offset: $rts-offset-md;
4
- $rts-form-background-color: transparent;
4
+ $rts-form-background-color: #161722;
5
+ $rts-form-background-gradient: linear-gradient(
6
+ 145deg,
7
+ $rts-rates-bg-form-start 0%,
8
+ $rts-rates-bg-form-end 100%
9
+ );
5
10
 
6
11
  $rts-spinner-d-md: 64px;
7
12
  $rts-spinner-d-sm: 32px;
@@ -137,8 +137,8 @@
137
137
  bottom: 100%;
138
138
  left: 0;
139
139
  right: $rts-chat-input-height;
140
- background: var(--rts-bg-secondary, #fff);
141
- border: 1px solid var(--rts-border-dim);
140
+ background: linear-gradient(145deg, #1f2030 0%, #161722 100%);
141
+ border: 1px solid rgba(139, 92, 246, 0.25);
142
142
  border-radius: $rtsu-radius-sm;
143
143
  box-shadow: $rtsu-shadow-md;
144
144
  z-index: 100;
@@ -156,7 +156,7 @@
156
156
 
157
157
  &:hover,
158
158
  &.rts-chat-member-suggestion-active {
159
- background: var(--rts-bg-hover, rgba(0, 0, 0, 0.05));
159
+ background: var(--rts-bg-surface-hover, rgba(139, 92, 246, 0.14));
160
160
  }
161
161
  }
162
162
 
@@ -24,7 +24,9 @@
24
24
  }
25
25
 
26
26
  .rtsee-form-container {
27
- background-color: transparent;
27
+ background: transparent;
28
+ border: none;
29
+ box-shadow: none;
28
30
  }
29
31
 
30
32
  .rtsee-form-field-container {
@@ -432,6 +434,9 @@
432
434
 
433
435
  .rtsee-form-container {
434
436
  padding: 0;
437
+ background: transparent;
438
+ border: none;
439
+ box-shadow: none;
435
440
  }
436
441
  }
437
442