Skip to content

Commit e54a3b9

Browse files
Jahnavi314Jahnavi0401rarajes2
authored
feat(changelog): update changelog ui (#4733)
Co-authored-by: Jahnavi <jveligan@cisco.com> Co-authored-by: Rajesh Kumar <131742425+rarajes2@users.noreply.github.com>
1 parent 38a84fb commit e54a3b9

File tree

3 files changed

+549
-174
lines changed

3 files changed

+549
-174
lines changed

docs/changelog/assets/css/app.css

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,16 @@ select {
112112
box-sizing: border-box;
113113
}
114114

115+
116+
.search-container select {
117+
-webkit-appearance: none;
118+
appearance: none;
119+
padding-right: 2.5em;
120+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
121+
background-repeat: no-repeat;
122+
background-position: right 0.5em center;
123+
}
124+
115125
button {
116126
background-color: var(--color-webex-blue);
117127
color: white;
@@ -171,6 +181,59 @@ th {
171181
margin: 0 10px; /* Add margin to maintain spacing */
172182
}
173183

184+
.select-with-clear {
185+
display: flex;
186+
gap: 8px;
187+
align-items: center;
188+
}
189+
190+
.select-with-clear .full-width {
191+
flex: 1;
192+
min-width: 0;
193+
}
194+
195+
/* Match version select height so clear button can match */
196+
.select-with-clear select.full-width {
197+
min-height: 42px;
198+
margin-bottom: 0;
199+
}
200+
201+
.select-with-clear .btn-clear-circle {
202+
flex-shrink: 0;
203+
}
204+
205+
/* Clear button: one circle only, light grey/white, red X inside (same height as version select) */
206+
.btn-clear-circle {
207+
display: inline-flex;
208+
align-items: center;
209+
justify-content: center;
210+
width: 42px;
211+
height: 42px;
212+
padding: 0;
213+
min-width: 42px;
214+
border-radius: 50%;
215+
border: 1px solid rgba(0, 0, 0, 0.12);
216+
background: #f5f5f5;
217+
line-height: 0;
218+
cursor: pointer;
219+
transition: background 0.15s ease, border-color 0.15s ease;
220+
}
221+
222+
.btn-clear-circle:hover {
223+
background: #eee;
224+
border-color: rgba(0, 0, 0, 0.2);
225+
}
226+
227+
.btn-clear-circle:disabled {
228+
opacity: 0.5;
229+
cursor: not-allowed;
230+
}
231+
232+
.btn-clear-circle svg {
233+
display: block;
234+
stroke: #e53935; /* red X inside circle */
235+
}
236+
174237
.results-container {
175238
width: 100%;
176239
background: white;
@@ -347,6 +410,43 @@ footer .copyright {
347410
display: none !important;
348411
}
349412

413+
/* Required field asterisk */
414+
.required-asterisk {
415+
color: var(--color-danger);
416+
}
417+
418+
/* Form help text */
419+
.help-text {
420+
font-weight: normal;
421+
font-size: 12px;
422+
color: #666;
423+
}
424+
425+
/* Pre-release row: hidden by default; JS toggles visibility */
426+
#comparison-prerelease-row {
427+
display: none;
428+
}
429+
430+
/* Comparison helper tip paragraph */
431+
.comparison-helper-tip {
432+
margin-top: 15px;
433+
padding: 10px;
434+
background-color: #e7f3ff;
435+
border-radius: 5px;
436+
font-size: 13px;
437+
}
438+
439+
/* Inline error message */
440+
.error-text {
441+
color: var(--color-danger);
442+
}
443+
444+
/* Package versions table heading (in comparison template) */
445+
.comparison-package-versions-heading {
446+
margin-top: 20px;
447+
margin-bottom: 15px;
448+
}
449+
350450
/* Comparison Form */
351451
#comparison-form {
352452
margin-top: 20px;
@@ -465,3 +565,4 @@ footer .copyright {
465565
font-size: 1.2em;
466566
color: #333;
467567
}
568+

0 commit comments

Comments
 (0)