rio-assist-widget 0.1.6 → 0.1.8

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,190 +1,197 @@
1
- import { css } from 'lit';
2
-
3
- export const fullscreenStyles = css`
4
- .fullscreen-shell {
5
- position: fixed;
6
- inset: 0;
7
- background: #f5f7fa;
8
- display: flex;
9
- flex-direction: row;
10
- pointer-events: auto;
11
- z-index: 3;
12
- height: 100vh;
13
- }
14
-
15
- .fullscreen-shell__rail {
16
- width: 50px;
17
- background: #0d1117;
18
- display: flex;
19
- flex-direction: column;
20
- justify-content: space-between;
21
- align-items: center;
22
- padding: 6px 0 12px;
23
- }
24
-
25
- .fullscreen-shell__content {
26
- flex: 1;
27
- display: flex;
28
- flex-direction: column;
29
- overflow: hidden;
30
- }
31
-
32
- .rail-button {
33
- width: 38px;
34
- height: 38px;
35
- border: none;
36
- background: transparent;
37
- display: grid;
38
- place-items: center;
39
- cursor: pointer;
40
- color: #fff;
41
- padding: 0;
42
- }
43
-
44
- .rail-button img {
45
- width: 22px;
46
- height: 22px;
47
- }
48
-
49
- .rail-button svg {
50
- width: 18px;
51
- height: 18px;
52
- }
53
-
54
- .fullscreen-header {
55
- padding: 0 12px 0 4px;
56
- display: grid;
57
- grid-template-columns: 300px 1fr 138px;
58
- align-items: center;
1
+ import { css } from 'lit';
2
+
3
+ export const fullscreenStyles = css`
4
+ .fullscreen-shell {
5
+ position: fixed;
6
+ inset: 0;
7
+ background: #f5f7fa;
8
+ display: flex;
9
+ flex-direction: row;
10
+ pointer-events: auto;
11
+ z-index: 3;
12
+ height: 100vh;
13
+ }
14
+
15
+ .fullscreen-shell__rail {
16
+ width: 50px;
17
+ background: #0d1117;
18
+ display: flex;
19
+ flex-direction: column;
20
+ justify-content: space-between;
21
+ align-items: center;
22
+ padding: 6px 0 12px;
23
+ }
24
+
25
+ .fullscreen-shell__content {
26
+ flex: 1;
27
+ display: flex;
28
+ flex-direction: column;
29
+ overflow: hidden;
30
+ }
31
+
32
+ .rail-button {
33
+ width: 38px;
34
+ height: 38px;
35
+ border: none;
36
+ background: transparent;
37
+ display: grid;
38
+ place-items: center;
39
+ cursor: pointer;
40
+ color: #fff;
41
+ padding: 0;
42
+ }
43
+
44
+ .rail-button img {
45
+ width: 22px;
46
+ height: 22px;
47
+ }
48
+
49
+ .rail-button svg {
50
+ width: 18px;
51
+ height: 18px;
52
+ }
53
+
54
+ .fullscreen-header {
55
+ padding: 0 12px 0 4px;
56
+ display: grid;
57
+ grid-template-columns: 300px 1fr 138px;
58
+ align-items: center;
59
+ background: #fff;
60
+ border-bottom: 1px solid #e0e6eb;
61
+ height: 50px;
62
+ column-gap: 8px;
63
+ }
64
+
65
+ .fullscreen-header__title {
66
+ display: flex;
67
+ flex-direction: column;
68
+ gap: 2px;
69
+ padding-left: 16px;
70
+ align-self: stretch;
71
+ justify-content: center;
72
+ }
73
+
74
+ .fullscreen-header__tabs {
75
+ display: flex;
76
+ align-items: stretch;
77
+ height: 100%;
78
+ position: relative;
79
+ padding-left: 8px;
80
+ }
81
+
82
+ .fullscreen-header__brand {
83
+ font-family: 'Source Sans Pro', 'Inter', sans-serif;
84
+ font-weight: 600;
85
+ font-size: 18px;
86
+ letter-spacing: 0;
87
+ }
88
+
89
+ .fullscreen-header__brand-row {
90
+ display: inline-flex;
91
+ align-items: center;
92
+ gap: 8px;
93
+ width: 100%;
94
+ justify-content: space-between;
95
+ }
96
+
97
+ .fullscreen-header__brand-toggle {
98
+ border: none;
99
+ background: transparent;
100
+ width: 40px;
101
+ height: 40px;
102
+ border-radius: 50%;
103
+ display: grid;
104
+ place-items: center;
105
+ cursor: pointer;
106
+ color: #1f2f36;
107
+ transition: transform 0.2s ease, background-color 0.2s ease;
108
+ margin-left: auto;
109
+ }
110
+
111
+ .fullscreen-header__brand-toggle--open {
112
+ transform: rotate(180deg);
113
+ }
114
+
115
+ .fullscreen-header__brand-toggle svg {
116
+ width: 18px;
117
+ height: 18px;
118
+ }
119
+
120
+ .fullscreen-header__tab {
121
+ font-size: 13px;
122
+ font-weight: 700;
123
+ letter-spacing: 1px;
124
+ color: #1f2f36;
125
+ text-transform: uppercase;
126
+ border-bottom: 3px solid #000;
127
+ padding: 0 0 0px;
128
+ display: inline-flex;
129
+ align-items: center;
130
+ height: 100%;
131
+ box-sizing: border-box;
132
+ line-height: 1;
133
+ }
134
+
135
+ .fullscreen-header__actions {
136
+ display: inline-flex;
137
+ align-items: center;
138
+ gap: 12px;
139
+ justify-self: end;
140
+ height: 100%;
141
+ justify-content: flex-end;
142
+ padding-right: 4px;
143
+ }
144
+
145
+ .fullscreen-header__icon {
146
+ width: 24px;
147
+ height: 24px;
148
+ border: none;
149
+ background: transparent;
150
+ display: flex;
151
+ align-items: center;
152
+ justify-content: center;
153
+ padding: 0;
154
+ }
155
+
156
+ .fullscreen-header__icon img {
157
+ width: 24px;
158
+ height: 24px;
159
+ }
160
+
161
+ .fullscreen-grid {
162
+ flex: 1;
163
+ display: grid;
164
+ grid-template-columns: 300px minmax(0, 1fr);
165
+ min-height: 0;
166
+ background: linear-gradient(180deg, #eef3f6 0%, #fff 100%);
167
+ }
168
+
169
+ .fullscreen-chat {
59
170
  background: #fff;
60
- border-bottom: 1px solid #e0e6eb;
61
- height: 50px;
62
- column-gap: 8px;
63
- }
64
-
65
- .fullscreen-header__title {
66
171
  display: flex;
67
172
  flex-direction: column;
68
- gap: 2px;
69
- padding-left: 16px;
70
- align-self: stretch;
71
- justify-content: center;
72
- }
73
-
74
- .fullscreen-header__tabs {
75
- display: flex;
76
- align-items: stretch;
77
- height: 100%;
78
- position: relative;
79
- padding-left: 8px;
80
- }
81
-
82
- .fullscreen-header__brand {
83
- font-family: 'Source Sans Pro', 'Inter', sans-serif;
84
- font-weight: 600;
85
- font-size: 18px;
86
- letter-spacing: 0;
87
- }
88
-
89
- .fullscreen-header__brand-row {
90
- display: inline-flex;
91
173
  align-items: center;
92
- gap: 8px;
174
+ padding: 36px 32px 18px;
93
175
  width: 100%;
94
- justify-content: space-between;
95
- }
96
-
97
- .fullscreen-header__brand-toggle {
98
- border: none;
99
- background: transparent;
100
- width: 40px;
101
- height: 40px;
102
- border-radius: 50%;
103
- display: grid;
104
- place-items: center;
105
- cursor: pointer;
106
- color: #1f2f36;
107
- transition: transform 0.2s ease, background-color 0.2s ease;
108
- margin-left: auto;
109
- }
110
-
111
- .fullscreen-header__brand-toggle--open {
112
- transform: rotate(180deg);
113
- }
114
-
115
- .fullscreen-header__brand-toggle svg {
116
- width: 18px;
117
- height: 18px;
118
- }
119
-
120
- .fullscreen-header__tab {
121
- font-size: 13px;
122
- font-weight: 700;
123
- letter-spacing: 1px;
124
- color: #1f2f36;
125
- text-transform: uppercase;
126
- border-bottom: 3px solid #000;
127
- padding: 0 0 0px;
128
- display: inline-flex;
129
- align-items: center;
130
- height: 100%;
131
- box-sizing: border-box;
132
- line-height: 1;
133
- }
134
-
135
- .fullscreen-header__actions {
136
- display: inline-flex;
137
- align-items: center;
138
- gap: 12px;
139
- justify-self: end;
140
- height: 100%;
141
- justify-content: flex-end;
142
- padding-right: 4px;
143
- }
144
-
145
- .fullscreen-header__icon {
146
- width: 24px;
147
- height: 24px;
148
- border: none;
149
- background: transparent;
150
- display: flex;
151
- align-items: center;
152
- justify-content: center;
153
- padding: 0;
154
- }
155
-
156
- .fullscreen-header__icon img {
157
- width: 24px;
158
- height: 24px;
159
- }
160
-
161
- .fullscreen-grid {
162
176
  flex: 1;
163
- display: grid;
164
- grid-template-columns: 300px minmax(0, 1fr);
165
177
  min-height: 0;
166
- background: linear-gradient(180deg, #eef3f6 0%, #fff 100%);
167
- }
168
-
169
- .fullscreen-chat {
170
- background: #fff;
171
- display: flex;
172
- flex-direction: column;
173
- align-items: center;
174
- padding: 36px 64px 18px;
178
+ overflow: hidden;
179
+ max-width: 1400px;
180
+ margin: 0 auto;
175
181
  }
176
182
 
177
183
  .fullscreen-chat .panel-body {
178
184
  max-width: 920px;
179
185
  width: 100%;
180
- padding: 12px 48px 12px;
181
- }
182
-
183
- .fullscreen-chat .panel-footer {
184
- max-width: 640px;
185
- }
186
-
187
- .fullscreen-chat form {
188
- max-width: none;
189
- }
190
- `;
186
+ padding: 12px 32px 12px;
187
+ margin: 0 auto;
188
+ }
189
+
190
+ .fullscreen-chat .panel-footer {
191
+ max-width: 640px;
192
+ }
193
+
194
+ .fullscreen-chat form {
195
+ max-width: none;
196
+ }
197
+ `;