@licklist/design 0.78.7-stage.75 → 0.78.7-stage.76
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/v2/pages/SettingsSubPage/SettingsSubPage.scss.js +1 -1
- package/dist/v2/styles/common.scss +7 -0
- package/dist/v2/styles/components/Button.scss +199 -0
- package/dist/v2/styles/form/Layout.scss +15 -0
- package/dist/v2/styles/form/NewInput.scss +271 -0
- package/dist/v2/styles/form/NewInput.scss.js +1 -1
- package/dist/v2/styles/index.scss +6 -0
- package/dist/v2/styles/navigation/Navigation.scss +17 -0
- package/dist/v2/styles/navigation/NavigationItem.scss +86 -0
- package/dist/v2/styles/navigation/NavigationSection.scss +26 -0
- package/dist/v2/styles/navigation/_index.scss +9 -0
- package/dist/v2/styles/tokens/_colors.scss +562 -0
- package/dist/v2/styles/tokens/_sizes.scss +125 -0
- package/dist/v2/styles/tokens/_status.scss +108 -0
- package/dist/v2/styles/tokens/_typography.scss +146 -0
- package/package.json +1 -1
- package/rollup.config.js +1 -0
- package/src/v2/pages/SettingsSubPage/SettingsSubPage.scss +3 -3
- package/src/v2/styles/form/NewInput.scss +1 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".settings-sub-page{align-self:stretch;display:flex;flex-direction:column}.settings-sub-page__back{align-self:flex-start;padding:24px 32px 0
|
|
3
|
+
var css_248z = ".settings-sub-page{align-self:stretch;display:flex;flex-direction:column}.settings-sub-page__back{align-self:flex-start;padding:24px 32px 0}.settings-sub-page__back .ghost-button{border-color:var(--borders-main-border-primary,#e8e9ef);color:var(--fill-action,#5d5bf4)}.settings-sub-page__back .ghost-button:not(.active):hover:not(:disabled){background-color:var(--surface-action-soft,#f4f4fe);color:var(--fill-action,#5d5bf4)}.settings-sub-page__back .ghost-button .ghost-button__icon svg{height:24px;width:24px}@media (max-width:768px){.settings-sub-page__back{padding:16px 16px 0}}.settings-sub-page__content{padding:24px 32px}@media (max-width:768px){.settings-sub-page__content{padding:0}}.settings-sub-page__action{display:flex;justify-content:flex-end;margin-bottom:16px}";
|
|
4
4
|
styleInject(css_248z);
|
|
5
5
|
|
|
6
6
|
export { css_248z as default };
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
/* Button Component Styles based on Figma design */
|
|
2
|
+
|
|
3
|
+
.new-button {
|
|
4
|
+
display: flex;
|
|
5
|
+
gap: var(--spacing-sm);
|
|
6
|
+
justify-content: center;
|
|
7
|
+
padding: 12px 24px;
|
|
8
|
+
align-self: flex-start;
|
|
9
|
+
text-align: center;
|
|
10
|
+
align-items: center;
|
|
11
|
+
font-family: var(--font-family-sans, 'Geist', sans-serif);
|
|
12
|
+
font-weight: 600;
|
|
13
|
+
line-height: 20px;
|
|
14
|
+
min-height: 44px;
|
|
15
|
+
border: none;
|
|
16
|
+
border-radius: 8px;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
transition: all 0.2s ease;
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
|
|
21
|
+
// Primary Button - Solid purple
|
|
22
|
+
&--primary {
|
|
23
|
+
background: #6200EE;
|
|
24
|
+
color: #ffffff;
|
|
25
|
+
|
|
26
|
+
&:hover {
|
|
27
|
+
background: #360083;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:active,
|
|
31
|
+
&:focus {
|
|
32
|
+
background: #360083;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Primary - Soft (Light purple)
|
|
37
|
+
&--primary-soft {
|
|
38
|
+
background: #efeffe;
|
|
39
|
+
color: #5d5bf4;
|
|
40
|
+
|
|
41
|
+
&:hover {
|
|
42
|
+
background: #cdccfc;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:active {
|
|
46
|
+
background: #b4b4fa;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Primary - Outline
|
|
51
|
+
&--primary-outline {
|
|
52
|
+
border: 2px solid var(--fills-main-fill-action, #6200ee);
|
|
53
|
+
background-color: transparent;
|
|
54
|
+
color: var(--labels-main-label-action, #6200ee);
|
|
55
|
+
|
|
56
|
+
&:hover {
|
|
57
|
+
border: 2px solid var(--fills-main-fill-action, #6200ee);
|
|
58
|
+
background-color: var(--surfaces-main-background-action-soft, #efe6fd);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:active {
|
|
62
|
+
background-color: var(--surfaces-main-background-action-soft, #efe6fd);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Secondary Button
|
|
67
|
+
&--secondary {
|
|
68
|
+
border-radius: var(--sizes-radius-radius, 8px);
|
|
69
|
+
background: var(--surface-action-soft);
|
|
70
|
+
color: var(--label-action);
|
|
71
|
+
|
|
72
|
+
&:hover {
|
|
73
|
+
background: #EFE6FD;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&:active,
|
|
77
|
+
&:focus {
|
|
78
|
+
background: #EFE6FD;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// Secondary - Soft
|
|
83
|
+
&--secondary-soft {
|
|
84
|
+
background: var(--surface-action-soft, #EFE6FD);
|
|
85
|
+
color: var(--label-action, #6200EE);
|
|
86
|
+
|
|
87
|
+
&:hover {
|
|
88
|
+
background: var(--surface-tertiary, #F0F0F5);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
// Tertiary - Soft
|
|
94
|
+
&--tertiary-soft {
|
|
95
|
+
background: #FFFFFF;
|
|
96
|
+
color: var(--label-primary, #121E52);
|
|
97
|
+
border: 1px solid var(--border-primary, #E8E9EF);
|
|
98
|
+
|
|
99
|
+
&:hover {
|
|
100
|
+
background: var(--surface-tertiary, #F0F0F5);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// Destructive - Soft
|
|
105
|
+
&--destructive-soft {
|
|
106
|
+
border-radius: var(--radius-reg, 8px);
|
|
107
|
+
background: var(--surface-danger-soft, #fceceb);
|
|
108
|
+
color: var(--label-danger);
|
|
109
|
+
|
|
110
|
+
&:hover {
|
|
111
|
+
background-color: var(--surface-danger-soft-hover, #f5c4c2);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&:active {
|
|
115
|
+
background-color: var(--surface-danger-soft-pressed, #e66861);
|
|
116
|
+
color: var(--label-white, #ffffff);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// Destructive - Strong
|
|
121
|
+
&--destructive-strong {
|
|
122
|
+
background: linear-gradient(
|
|
123
|
+
180deg,
|
|
124
|
+
rgba(255, 255, 255, 0.2) 0%,
|
|
125
|
+
var(--red-red) 5.77%,
|
|
126
|
+
var(--red-red-dark) 95.19%,
|
|
127
|
+
var(--red-red-darkest) 100%
|
|
128
|
+
),
|
|
129
|
+
linear-gradient(
|
|
130
|
+
180deg,
|
|
131
|
+
var(--red-red-lighter) 0%,
|
|
132
|
+
var(--red-red-darkest) 100%
|
|
133
|
+
),
|
|
134
|
+
linear-gradient(90deg, var(--red-red-dark) 0%, var(--red-red-dark) 100%);
|
|
135
|
+
color: var(--labels-main-label-white, #ffffff);
|
|
136
|
+
|
|
137
|
+
&:hover,
|
|
138
|
+
&:active {
|
|
139
|
+
background-color: var(--fills-main-fill-danger, #cc3c35);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// Info Button
|
|
144
|
+
&--info {
|
|
145
|
+
background-color: var(--surfaces-status-background-info, #e7f4fc);
|
|
146
|
+
color: var(--labels-status-label-info, #0d7fce);
|
|
147
|
+
|
|
148
|
+
&:hover,
|
|
149
|
+
&:active {
|
|
150
|
+
// Same background for hover/pressed states
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// Disabled state
|
|
155
|
+
&:disabled,
|
|
156
|
+
&--disabled {
|
|
157
|
+
background-color: var(--surfaces-status-background-disabled, #d2d5e3);
|
|
158
|
+
color: var(--labels-status-label-disabled, #9399b3);
|
|
159
|
+
cursor: not-allowed;
|
|
160
|
+
pointer-events: none;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* Button text styling */
|
|
164
|
+
&__spinner {
|
|
165
|
+
width: 16px;
|
|
166
|
+
height: 16px;
|
|
167
|
+
border: 2px solid rgba(0, 0, 0, 0.1);
|
|
168
|
+
border-top: 2px solid currentColor;
|
|
169
|
+
border-radius: 50%;
|
|
170
|
+
animation: spin 1s linear infinite;
|
|
171
|
+
flex-shrink: 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&__text {
|
|
175
|
+
font-family: var(--font-family-sans, 'Geist', sans-serif);
|
|
176
|
+
font-size: 15px;
|
|
177
|
+
font-style: normal;
|
|
178
|
+
font-weight: 600;
|
|
179
|
+
line-height: 20px;
|
|
180
|
+
text-align: center;
|
|
181
|
+
|
|
182
|
+
&--primary { color: var(--label-primary); }
|
|
183
|
+
&--secondary { color: var(--label-secondary); }
|
|
184
|
+
&--danger { color: var(--label-danger); }
|
|
185
|
+
&--white { color: var(--label-white); }
|
|
186
|
+
&--action { color: var(--label-action); }
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// Text styling
|
|
190
|
+
p {
|
|
191
|
+
margin: 0;
|
|
192
|
+
font-family: inherit;
|
|
193
|
+
font-weight: inherit;
|
|
194
|
+
font-size: inherit;
|
|
195
|
+
line-height: inherit;
|
|
196
|
+
color: inherit;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.waiver-template-form-section {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
gap: var(--padding-reg, 16px);
|
|
6
|
+
align-self: stretch;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.waiver-template-form-group {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
align-items: flex-start;
|
|
13
|
+
gap: var(--padding-lg, 24px);
|
|
14
|
+
align-self: stretch;
|
|
15
|
+
}
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
/* New Form Input Styles based on Figma design tokens */
|
|
2
|
+
@import '../../styles/tokens/typography';
|
|
3
|
+
|
|
4
|
+
.new-form-input {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: flex-start;
|
|
8
|
+
gap: var(--spacing-sm);
|
|
9
|
+
align-self: stretch;
|
|
10
|
+
width: 100%;
|
|
11
|
+
|
|
12
|
+
&__label {
|
|
13
|
+
font-family: var(--font-family-sans, 'Geist', sans-serif);
|
|
14
|
+
font-size: 15px;
|
|
15
|
+
font-style: normal;
|
|
16
|
+
font-weight: 600;
|
|
17
|
+
line-height: 20px;
|
|
18
|
+
color: var(--label-primary);
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__label-optional {
|
|
26
|
+
font-family: var(--font-family-sans, 'Geist', sans-serif);
|
|
27
|
+
font-size: 13px;
|
|
28
|
+
font-weight: 400;
|
|
29
|
+
font-style: normal;
|
|
30
|
+
line-height: 16px;
|
|
31
|
+
color: var(--label-secondary);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
&__input {
|
|
36
|
+
@include typography('text.regular');
|
|
37
|
+
flex: 1 0 0;
|
|
38
|
+
color: var(--label-primary, #121e52);
|
|
39
|
+
background-color: var(--surfaces-main-background-secondary);
|
|
40
|
+
border: 2px solid var(--border-primary);
|
|
41
|
+
border-radius: var(--radius-md);
|
|
42
|
+
padding: 8px 10px;
|
|
43
|
+
min-height: 40px;
|
|
44
|
+
background: var(--surface-secondary);
|
|
45
|
+
width: 100%;
|
|
46
|
+
transition: all 0.2s ease;
|
|
47
|
+
|
|
48
|
+
@media (max-width: 768px) {
|
|
49
|
+
font-size: 16px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:focus {
|
|
53
|
+
outline: none;
|
|
54
|
+
border-color: var(--border-selected, #6200EE);
|
|
55
|
+
background-color: var(--surfaces-main-background-secondary, #f8f8fa);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&::placeholder {
|
|
59
|
+
color: var(--labels-main-label-secondary, #626a90);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&[type="date"]::-webkit-datetime-edit-text,
|
|
63
|
+
&[type="date"]::-webkit-datetime-edit-month-field,
|
|
64
|
+
&[type="date"]::-webkit-datetime-edit-day-field,
|
|
65
|
+
&[type="date"]::-webkit-datetime-edit-year-field,
|
|
66
|
+
&[type="time"]::-webkit-datetime-edit-text,
|
|
67
|
+
&[type="time"]::-webkit-datetime-edit-hour-field,
|
|
68
|
+
&[type="time"]::-webkit-datetime-edit-minute-field,
|
|
69
|
+
&[type="time"]::-webkit-datetime-edit-ampm-field {
|
|
70
|
+
color: var(--label-primary, #121e52);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__textarea {
|
|
75
|
+
font-family: var(--font-family-sans, 'Geist', sans-serif);
|
|
76
|
+
font-size: var(--text-regular-size, 15px);
|
|
77
|
+
line-height: var(--text-regular-line, 20px);
|
|
78
|
+
color: var(--labels-main-label-primary, #121e52);
|
|
79
|
+
background-color: var(--surfaces-main-background-secondary, #f8f8fa);
|
|
80
|
+
border: 1px solid var(--borders-main-border-primary, #e8e9ef);
|
|
81
|
+
border-radius: var(--radius-md, 4px);
|
|
82
|
+
padding: 8px 10px;
|
|
83
|
+
min-height: 120px;
|
|
84
|
+
width: 100%;
|
|
85
|
+
resize: vertical;
|
|
86
|
+
transition: all 0.2s ease;
|
|
87
|
+
|
|
88
|
+
@media (max-width: 768px) {
|
|
89
|
+
font-size: 16px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&:focus {
|
|
93
|
+
outline: none;
|
|
94
|
+
border-color: var(--border-selected, #6200EE);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&::placeholder {
|
|
98
|
+
color: var(--labels-main-label-secondary, #626a90);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&__input-with-icon {
|
|
103
|
+
display: flex;
|
|
104
|
+
align-items: center;
|
|
105
|
+
gap: var(--spacing-sm, 8px);
|
|
106
|
+
background-color: var(--surfaces-main-background-secondary, #f8f8fa);
|
|
107
|
+
border: 2px solid var(--border-primary, #e8e9ef);
|
|
108
|
+
border-radius: var(--radius-md, 4px);
|
|
109
|
+
padding: 8px 10px;
|
|
110
|
+
min-height: 52px;
|
|
111
|
+
width: 70%;
|
|
112
|
+
transition: all 0.2s ease;
|
|
113
|
+
|
|
114
|
+
&:focus-within {
|
|
115
|
+
border-color: var(--border-selected, #6200EE);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.icon {
|
|
119
|
+
width: 24px;
|
|
120
|
+
height: 24px;
|
|
121
|
+
flex-shrink: 0;
|
|
122
|
+
order: -1;
|
|
123
|
+
display: flex;
|
|
124
|
+
align-items: center;
|
|
125
|
+
justify-content: center;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&--right .icon {
|
|
129
|
+
order: 1;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
input {
|
|
133
|
+
flex: 1;
|
|
134
|
+
border: none;
|
|
135
|
+
background: transparent;
|
|
136
|
+
font-family: var(--font-family-sans, 'Geist', sans-serif);
|
|
137
|
+
font-size: var(--text-regular-size, 15px);
|
|
138
|
+
line-height: var(--text-regular-line, 20px);
|
|
139
|
+
color: var(--label-primary);
|
|
140
|
+
|
|
141
|
+
@media (max-width: 768px) {
|
|
142
|
+
font-size: 16px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&:focus {
|
|
146
|
+
outline: none;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&::placeholder {
|
|
150
|
+
color: var(--labels-main-label-secondary, #626a90);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// Hide native date picker icons
|
|
154
|
+
&[type="date"]::-webkit-calendar-picker-indicator {
|
|
155
|
+
display: none;
|
|
156
|
+
-webkit-appearance: none;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&[type="date"]::-webkit-inner-spin-button,
|
|
160
|
+
&[type="date"]::-webkit-outer-spin-button {
|
|
161
|
+
-webkit-appearance: none;
|
|
162
|
+
margin: 0;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&__verification-code {
|
|
168
|
+
display: flex;
|
|
169
|
+
gap: var(--spacing-sm, 8px);
|
|
170
|
+
height: 62px;
|
|
171
|
+
|
|
172
|
+
.code-input {
|
|
173
|
+
flex: 1;
|
|
174
|
+
background-color: var(--surfaces-main-background-secondary, #f8f8fa);
|
|
175
|
+
border: 2px solid var(--borders-main-border-primary, #e8e9ef);
|
|
176
|
+
border-radius: var(--radius-md, 4px);
|
|
177
|
+
text-align: center;
|
|
178
|
+
font-family: var(--font-family-sans, 'Geist', sans-serif);
|
|
179
|
+
font-size: var(--text-lg-size, 18px);
|
|
180
|
+
font-weight: var(--heading-h3-weight, 600);
|
|
181
|
+
color: var(--labels-main-label-primary, #121e52);
|
|
182
|
+
transition: all 0.2s ease;
|
|
183
|
+
|
|
184
|
+
&:focus {
|
|
185
|
+
outline: none;
|
|
186
|
+
border-color: var(--border-selected, #6200EE);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&__helper-text {
|
|
192
|
+
font-family: var(--font-family-sans, 'Geist', sans-serif);
|
|
193
|
+
font-size: var(--text-regular-size, 15px);
|
|
194
|
+
font-style: normal;
|
|
195
|
+
font-weight: 400;
|
|
196
|
+
line-height: var(--text-regular-line, 20px);
|
|
197
|
+
margin-top: 2px;
|
|
198
|
+
color: var(--label-secondary, #626A90);
|
|
199
|
+
min-width: max-content;
|
|
200
|
+
white-space: nowrap;
|
|
201
|
+
|
|
202
|
+
@media (max-width: 768px) {
|
|
203
|
+
min-width: unset;
|
|
204
|
+
white-space: normal;
|
|
205
|
+
word-wrap: break-word;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
&__error-text {
|
|
210
|
+
font-family: var(--font-family-sans, 'Geist', sans-serif);
|
|
211
|
+
font-size: 11px;
|
|
212
|
+
font-style: normal;
|
|
213
|
+
font-weight: 400;
|
|
214
|
+
line-height: 14px;
|
|
215
|
+
margin-top: 2px;
|
|
216
|
+
color: var(--labels-status-label-error, #ef4444);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
// States
|
|
220
|
+
&--active {
|
|
221
|
+
.new-form-input__input {
|
|
222
|
+
border-color: var(--border-selected, #6200EE);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
&--error {
|
|
227
|
+
.new-form-input__input {
|
|
228
|
+
border-color: var(--borders-status-border-error, #ef4444);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
&--disabled {
|
|
233
|
+
opacity: var(--opacity-50, 0.5);
|
|
234
|
+
pointer-events: none;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&--on-surface {
|
|
238
|
+
.new-form-input__input,
|
|
239
|
+
.new-form-input__textarea,
|
|
240
|
+
.new-form-input__input-with-icon {
|
|
241
|
+
background-color: var(--surface-primary, #fff);
|
|
242
|
+
background: var(--surface-primary, #fff);
|
|
243
|
+
|
|
244
|
+
&:focus,
|
|
245
|
+
&:focus-within {
|
|
246
|
+
background-color: var(--surface-primary, #fff);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
&.dob-input {
|
|
252
|
+
.new-form-input__label {
|
|
253
|
+
color: var(--label-secondary, #626A90);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
// Auto-detect: swap input backgrounds when inside a surface-secondary container
|
|
259
|
+
.surface-context--secondary {
|
|
260
|
+
.new-form-input__input,
|
|
261
|
+
.new-form-input__textarea,
|
|
262
|
+
.new-form-input__input-with-icon {
|
|
263
|
+
background-color: var(--surface-primary, #fff);
|
|
264
|
+
background: var(--surface-primary, #fff);
|
|
265
|
+
|
|
266
|
+
&:focus,
|
|
267
|
+
&:focus-within {
|
|
268
|
+
background-color: var(--surface-primary, #fff);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ":root{--font-family-sans:\"Geist\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"Roboto\",\"Helvetica Neue\",Arial,sans-serif;--font-family-mono:\"Geist Mono\",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--heading-xxl-size:44px;--heading-xxl-line:48px;--heading-xxl-weight:600;--heading-xl-size:32px;--heading-xl-line:36px;--heading-xl-weight:700;--heading-h1-size:24px;--heading-h1-line:28px;--heading-h1-weight:600;--heading-h2-size:20px;--heading-h2-line:24px;--heading-h2-weight:600;--heading-h3-size:17px;--heading-h3-line:20px;--heading-h3-weight:600;--heading-h4-size:15px;--heading-h4-line:18px;--heading-h4-weight:600;--heading-h5-size:13px;--heading-h5-line:16px;--heading-h5-weight:500;--heading-h6-size:11px;--heading-h6-line:14px;--heading-h6-weight:500;--heading-xxl-mobile-size:32px;--heading-xxl-mobile-line:36px;--heading-xxl-mobile-weight:600;--heading-xl-mobile-size:26px;--heading-xl-mobile-line:30px;--heading-xl-mobile-weight:700;--heading-h1-mobile-size:20px;--heading-h1-mobile-line:23px;--heading-h1-mobile-weight:600;--heading-h2-mobile-size:18px;--heading-h2-mobile-line:22px;--heading-h2-mobile-weight:600;--heading-h3-mobile-size:16px;--heading-h3-mobile-line:18px;--heading-h3-mobile-weight:600;--heading-h4-mobile-size:14px;--heading-h4-mobile-line:16px;--heading-h4-mobile-weight:600;--heading-h5-mobile-size:13px;--heading-h5-mobile-line:16px;--heading-h5-mobile-weight:500;--heading-h6-mobile-size:11px;--heading-h6-mobile-line:14px;--heading-h6-mobile-weight:500;--text-xl-size:20px;--text-xl-line:26px;--text-xl-weight:400;--text-large-size:18px;--text-large-line:24px;--text-large-weight:400;--text-regular-size:15px;--text-regular-line:20px;--text-regular-weight:400;--text-small-size:13px;--text-small-line:16px;--text-small-weight:400;--text-small-emphasis-weight:500;--text-small-bold-weight:600;--text-xs-size:10px;--text-xs-line:13px;--text-xs-weight:500;--text-xs-bold-weight:600}.new-form-input{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:var(--spacing-sm);
|
|
3
|
+
var css_248z = ":root{--font-family-sans:\"Geist\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"Roboto\",\"Helvetica Neue\",Arial,sans-serif;--font-family-mono:\"Geist Mono\",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--heading-xxl-size:44px;--heading-xxl-line:48px;--heading-xxl-weight:600;--heading-xl-size:32px;--heading-xl-line:36px;--heading-xl-weight:700;--heading-h1-size:24px;--heading-h1-line:28px;--heading-h1-weight:600;--heading-h2-size:20px;--heading-h2-line:24px;--heading-h2-weight:600;--heading-h3-size:17px;--heading-h3-line:20px;--heading-h3-weight:600;--heading-h4-size:15px;--heading-h4-line:18px;--heading-h4-weight:600;--heading-h5-size:13px;--heading-h5-line:16px;--heading-h5-weight:500;--heading-h6-size:11px;--heading-h6-line:14px;--heading-h6-weight:500;--heading-xxl-mobile-size:32px;--heading-xxl-mobile-line:36px;--heading-xxl-mobile-weight:600;--heading-xl-mobile-size:26px;--heading-xl-mobile-line:30px;--heading-xl-mobile-weight:700;--heading-h1-mobile-size:20px;--heading-h1-mobile-line:23px;--heading-h1-mobile-weight:600;--heading-h2-mobile-size:18px;--heading-h2-mobile-line:22px;--heading-h2-mobile-weight:600;--heading-h3-mobile-size:16px;--heading-h3-mobile-line:18px;--heading-h3-mobile-weight:600;--heading-h4-mobile-size:14px;--heading-h4-mobile-line:16px;--heading-h4-mobile-weight:600;--heading-h5-mobile-size:13px;--heading-h5-mobile-line:16px;--heading-h5-mobile-weight:500;--heading-h6-mobile-size:11px;--heading-h6-mobile-line:14px;--heading-h6-mobile-weight:500;--text-xl-size:20px;--text-xl-line:26px;--text-xl-weight:400;--text-large-size:18px;--text-large-line:24px;--text-large-weight:400;--text-regular-size:15px;--text-regular-line:20px;--text-regular-weight:400;--text-small-size:13px;--text-small-line:16px;--text-small-weight:400;--text-small-emphasis-weight:500;--text-small-bold-weight:600;--text-xs-size:10px;--text-xs-line:13px;--text-xs-weight:500;--text-xs-bold-weight:600}.new-form-input{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:var(--spacing-sm);width:100%}.new-form-input__label{align-items:center;color:var(--label-primary);display:flex;font-size:15px;font-weight:600;justify-content:space-between;line-height:20px;width:100%}.new-form-input__label,.new-form-input__label-optional{font-family:var(--font-family-sans,\"Geist\",sans-serif);font-style:normal}.new-form-input__label-optional{color:var(--label-secondary);font-size:13px;font-weight:400;line-height:16px}.new-form-input__input{background-color:var(--surfaces-main-background-secondary);background:var(--surface-secondary);border:2px solid var(--border-primary);border-radius:var(--radius-md);color:var(--labels-main-label-primary,#121e52);color:var(--label-primary,#121e52);flex:1 0 0;font-family:var(--font-family-sans);font-size:var(--text-regular-size);font-weight:var(--text-regular-weight);line-height:var(--text-regular-line);min-height:40px;padding:8px 10px;transition:all .2s ease;width:100%}@media (max-width:768px){.new-form-input__input{font-size:16px}}.new-form-input__input:focus{background-color:var(--surfaces-main-background-secondary,#f8f8fa);border-color:var(--border-selected,#6200ee);outline:none}.new-form-input__input::placeholder{color:var(--labels-main-label-secondary,#626a90)}.new-form-input__input[type=date]::-webkit-datetime-edit-day-field,.new-form-input__input[type=date]::-webkit-datetime-edit-month-field,.new-form-input__input[type=date]::-webkit-datetime-edit-text,.new-form-input__input[type=date]::-webkit-datetime-edit-year-field,.new-form-input__input[type=time]::-webkit-datetime-edit-ampm-field,.new-form-input__input[type=time]::-webkit-datetime-edit-hour-field,.new-form-input__input[type=time]::-webkit-datetime-edit-minute-field,.new-form-input__input[type=time]::-webkit-datetime-edit-text{color:var(--label-primary,#121e52)}.new-form-input__textarea{background-color:var(--surfaces-main-background-secondary,#f8f8fa);border:1px solid var(--borders-main-border-primary,#e8e9ef);border-radius:var(--radius-md,4px);color:var(--labels-main-label-primary,#121e52);font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-regular-size,15px);line-height:var(--text-regular-line,20px);min-height:120px;padding:8px 10px;resize:vertical;transition:all .2s ease;width:100%}@media (max-width:768px){.new-form-input__textarea{font-size:16px}}.new-form-input__textarea:focus{border-color:var(--border-selected,#6200ee);outline:none}.new-form-input__textarea::placeholder{color:var(--labels-main-label-secondary,#626a90)}.new-form-input__input-with-icon{align-items:center;background-color:var(--surfaces-main-background-secondary,#f8f8fa);border:2px solid var(--border-primary,#e8e9ef);border-radius:var(--radius-md,4px);display:flex;gap:var(--spacing-sm,8px);min-height:52px;padding:8px 10px;transition:all .2s ease;width:70%}.new-form-input__input-with-icon:focus-within{border-color:var(--border-selected,#6200ee)}.new-form-input__input-with-icon .icon{align-items:center;display:flex;flex-shrink:0;height:24px;justify-content:center;order:-1;width:24px}.new-form-input__input-with-icon--right .icon{order:1}.new-form-input__input-with-icon input{background:#0000;border:none;color:var(--label-primary);flex:1;font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-regular-size,15px);line-height:var(--text-regular-line,20px)}@media (max-width:768px){.new-form-input__input-with-icon input{font-size:16px}}.new-form-input__input-with-icon input:focus{outline:none}.new-form-input__input-with-icon input::placeholder{color:var(--labels-main-label-secondary,#626a90)}.new-form-input__input-with-icon input[type=date]::-webkit-calendar-picker-indicator{-webkit-appearance:none;display:none}.new-form-input__input-with-icon input[type=date]::-webkit-inner-spin-button,.new-form-input__input-with-icon input[type=date]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.new-form-input__verification-code{display:flex;gap:var(--spacing-sm,8px);height:62px}.new-form-input__verification-code .code-input{background-color:var(--surfaces-main-background-secondary,#f8f8fa);border:2px solid var(--borders-main-border-primary,#e8e9ef);border-radius:var(--radius-md,4px);color:var(--labels-main-label-primary,#121e52);flex:1;font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-lg-size,18px);font-weight:var(--heading-h3-weight,600);text-align:center;transition:all .2s ease}.new-form-input__verification-code .code-input:focus{border-color:var(--border-selected,#6200ee);outline:none}.new-form-input__helper-text{color:var(--label-secondary,#626a90);font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-regular-size,15px);font-style:normal;font-weight:400;line-height:var(--text-regular-line,20px);margin-top:2px;min-width:max-content;white-space:nowrap}@media (max-width:768px){.new-form-input__helper-text{word-wrap:break-word;min-width:unset;white-space:normal}}.new-form-input__error-text{color:var(--labels-status-label-error,#ef4444);font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:11px;font-style:normal;font-weight:400;line-height:14px;margin-top:2px}.new-form-input--active .new-form-input__input{border-color:var(--border-selected,#6200ee)}.new-form-input--error .new-form-input__input{border-color:var(--borders-status-border-error,#ef4444)}.new-form-input--disabled{opacity:var(--opacity-50,.5);pointer-events:none}.new-form-input--on-surface .new-form-input__input,.new-form-input--on-surface .new-form-input__input-with-icon,.new-form-input--on-surface .new-form-input__textarea{background-color:var(--surface-primary,#fff);background:var(--surface-primary,#fff)}.new-form-input--on-surface .new-form-input__input-with-icon:focus,.new-form-input--on-surface .new-form-input__input-with-icon:focus-within,.new-form-input--on-surface .new-form-input__input:focus,.new-form-input--on-surface .new-form-input__input:focus-within,.new-form-input--on-surface .new-form-input__textarea:focus,.new-form-input--on-surface .new-form-input__textarea:focus-within{background-color:var(--surface-primary,#fff)}.new-form-input.dob-input .new-form-input__label{color:var(--label-secondary,#626a90)}.surface-context--secondary .new-form-input__input,.surface-context--secondary .new-form-input__input-with-icon,.surface-context--secondary .new-form-input__textarea{background-color:var(--surface-primary,#fff);background:var(--surface-primary,#fff)}.surface-context--secondary .new-form-input__input-with-icon:focus,.surface-context--secondary .new-form-input__input-with-icon:focus-within,.surface-context--secondary .new-form-input__input:focus,.surface-context--secondary .new-form-input__input:focus-within,.surface-context--secondary .new-form-input__textarea:focus,.surface-context--secondary .new-form-input__textarea:focus-within{background-color:var(--surface-primary,#fff)}";
|
|
4
4
|
styleInject(css_248z);
|
|
5
5
|
|
|
6
6
|
export { css_248z as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.navigation {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
padding: 8px;
|
|
5
|
+
background: var(--surfaces-main-background-secondary, #F8F8FA);
|
|
6
|
+
border-right: 1px solid var(--borders-main-border-primary, #E8E9EF);
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
justify-content: flex-start;
|
|
10
|
+
align-items: flex-start;
|
|
11
|
+
overflow-y: auto;
|
|
12
|
+
transition: all 0.3s ease;
|
|
13
|
+
|
|
14
|
+
&--collapsed {
|
|
15
|
+
width: 76px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
@import '../../../overrides/functions';
|
|
2
|
+
|
|
3
|
+
.navigation-item {
|
|
4
|
+
width: 100%;
|
|
5
|
+
flex: 1 1 0;
|
|
6
|
+
padding: 8px;
|
|
7
|
+
border-radius: 8px;
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: flex-start;
|
|
10
|
+
align-items: center;
|
|
11
|
+
gap: 8px;
|
|
12
|
+
border: none;
|
|
13
|
+
background: transparent;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
transition: all 0.2s ease;
|
|
16
|
+
text-decoration: none;
|
|
17
|
+
outline: none;
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
background: linear-gradient(225deg, var(--gradients-stop1, #6200EE) 0%, var(--gradients-stop2, #5D5BF4) 50%, var(--gradients-stop3, #0E8CE2) 100%);
|
|
21
|
+
|
|
22
|
+
.navigation-item__icon svg,
|
|
23
|
+
.navigation-item__icon path {
|
|
24
|
+
fill: var(--fills-main-fill-white, white);
|
|
25
|
+
color: var(--fills-main-fill-white, white);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.navigation-item__label {
|
|
29
|
+
color: var(--labels-main-label-white, white);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:focus-visible {
|
|
34
|
+
outline: 2px solid var(--fills-main-fill-primary, #14215A);
|
|
35
|
+
outline-offset: 2px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&--active {
|
|
39
|
+
background: linear-gradient(225deg, var(--gradients-stop1, #6200EE) 0%, var(--gradients-stop2, #5D5BF4) 50%, var(--gradients-stop3, #0E8CE2) 100%);
|
|
40
|
+
|
|
41
|
+
.navigation-item__icon svg,
|
|
42
|
+
.navigation-item__icon path {
|
|
43
|
+
fill: var(--fills-main-fill-white, white);
|
|
44
|
+
color: var(--fills-main-fill-white, white);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.navigation-item__label {
|
|
48
|
+
color: var(--labels-main-label-white, white);
|
|
49
|
+
font-weight: 600;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&--collapsed {
|
|
54
|
+
justify-content: center;
|
|
55
|
+
gap: 0;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&__icon {
|
|
59
|
+
width: 24px;
|
|
60
|
+
height: 24px;
|
|
61
|
+
position: relative;
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
border-radius: 6px;
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
justify-content: center;
|
|
67
|
+
flex-shrink: 0;
|
|
68
|
+
|
|
69
|
+
svg,
|
|
70
|
+
img {
|
|
71
|
+
width: 18px;
|
|
72
|
+
height: 18px;
|
|
73
|
+
color: var(--fills-main-fill-primary, #14215A);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&__label {
|
|
78
|
+
color: var(--labels-main-label-primary, #121E52);
|
|
79
|
+
font-size: 13px;
|
|
80
|
+
font-family: Geist, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
81
|
+
font-weight: 500;
|
|
82
|
+
line-height: 16px;
|
|
83
|
+
word-wrap: break-word;
|
|
84
|
+
white-space: nowrap;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.navigation-section {
|
|
2
|
+
align-self: stretch;
|
|
3
|
+
padding: 8px 8px 0;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: flex-start;
|
|
8
|
+
gap: 8px;
|
|
9
|
+
|
|
10
|
+
&--collapsed {
|
|
11
|
+
padding-top: 8px;
|
|
12
|
+
padding-left: 8px;
|
|
13
|
+
padding-right: 8px;
|
|
14
|
+
align-items: flex-start; // Keep left-aligned like expanded
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__title {
|
|
18
|
+
color: var(--labels-main-label-secondary, #626A90);
|
|
19
|
+
font-size: 13px;
|
|
20
|
+
font-family: Geist, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
21
|
+
font-weight: 500;
|
|
22
|
+
line-height: 16px;
|
|
23
|
+
word-wrap: break-word;
|
|
24
|
+
text-transform: none !important; // Override any global uppercase rules
|
|
25
|
+
}
|
|
26
|
+
}
|