-
Notifications
You must be signed in to change notification settings - Fork 485
Align Talk component UI with Tickets page #1467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
735ba4f
c9f27ad
a51c37a
c3bdcb5
62b9589
a4bbb9c
e6f7b49
6d24dd8
ceba3c8
d9e8bc9
3450888
3a1ed99
0d4740d
457a1a8
737cfdb
2d32ce5
b6a5e46
b830c47
05b974a
75f2d31
853a2ef
2a7df9d
6e83287
8218e71
b78fb0c
b608a8f
86c8b19
8c22530
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -40,22 +40,41 @@ | |||||
| <img src="{{ event.settings.event_logo_image.url }}" alt="{% translate 'Event logo' %}" class="img-fluid event-logo-image"> | ||||||
| </div> | ||||||
| {% endif %} | ||||||
| <div class="container page-header-links {% if event.settings.theme_color_background|upper != "#FFFFFF" or event.settings.logo_image_large %}page-header-links-outside{% endif %}"> | ||||||
| <div class="container-fluid page-header-links {% if event.settings.theme_color_background|upper != "#FFFFFF" or event.settings.logo_image_large %}page-header-links-outside{% endif %}"> | ||||||
|
||||||
| <div class="container-fluid page-header-links {% if event.settings.theme_color_background|upper != "#FFFFFF" or event.settings.logo_image_large %}page-header-links-outside{% endif %}"> | |
| <div class="container page-header-links {% if event.settings.theme_color_background|upper != "#FFFFFF" or event.settings.logo_image_large %}page-header-links-outside{% endif %}"> |
Copilot
AI
Dec 12, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The details/summary dropdown implementation lacks proper keyboard accessibility. The summary element should have a tabindex="0" to ensure keyboard users can focus and activate it. Additionally, consider adding aria-expanded attribute that toggles based on the open state of the details element for better screen reader support.
Copilot
AI
Dec 12, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The details/summary dropdown implementation lacks proper keyboard accessibility. The summary element should have a tabindex="0" to ensure keyboard users can focus and activate it. Additionally, consider adding aria-expanded attribute that toggles based on the open state of the details element for better screen reader support.
Copilot
AI
Dec 11, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate ID 'locale-dropdown' exists in the same template (lines 55 and 101). HTML IDs must be unique within a document. Since both dropdown implementations can appear on the same page (one for when theme_color_background != "#FFFFFF" and another for when theme_color_background == "#FFFFFF"), this creates invalid HTML. Consider using classes instead of IDs for the dropdown content, or ensure these elements are mutually exclusive.
| <div id="locale-dropdown" class="dropdown-content dropdown-content-sw"> | |
| <div class="locale-dropdown dropdown-content dropdown-content-sw"> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,7 +37,7 @@ header { | |
|
|
||
| #event-logo { | ||
| max-height: 140px; | ||
| border-radius: 10px; | ||
| border-radius: 0 !important; | ||
|
iamapoorv476 marked this conversation as resolved.
Outdated
|
||
| } | ||
|
|
||
| .header-wrapper { | ||
|
|
@@ -74,10 +74,14 @@ header { | |
| display: flex; | ||
| flex-wrap: nowrap; | ||
| flex-shrink: 0; | ||
| align-items: flex-end; | ||
| align-items: center; | ||
| gap: 1rem; | ||
| font-size: 1rem; | ||
|
|
||
| /* Inline locale links */ | ||
|
|
||
| /* FIXED: Change inline locale links to dropdown */ | ||
|
iamapoorv476 marked this conversation as resolved.
Outdated
|
||
| /* Remove or comment out these styles: */ | ||
| /* | ||
| .locales-inline { | ||
| display: inline-block; | ||
| margin-right: 0.8rem; | ||
|
|
@@ -101,31 +105,72 @@ header { | |
| font-weight: bold; | ||
| opacity: 1; | ||
| } | ||
| */ | ||
|
|
||
|
|
||
|
iamapoorv476 marked this conversation as resolved.
Outdated
|
||
| .locales { | ||
| margin-right: 20px; | ||
| position: relative; | ||
|
|
||
| summary { | ||
| cursor: pointer; | ||
| color: white; | ||
| list-style: none; | ||
| padding: 6px 12px; | ||
|
|
||
| border-radius: 4px; | ||
| display: flex; | ||
| align-items: center; | ||
| gap: 8px; | ||
| transition: background 0.2s; | ||
|
|
||
|
|
||
|
|
||
|
iamapoorv476 marked this conversation as resolved.
Outdated
|
||
| &::after { | ||
| content: '▼'; | ||
| font-size: 0.7em; | ||
| margin-left: 4px; | ||
| } | ||
| } | ||
|
|
||
| summary::-webkit-details-marker { | ||
| display: none; | ||
| } | ||
|
|
||
| .dropdown-content { | ||
| position: absolute; | ||
| top: 100%; | ||
| right: 0; | ||
| background: white; | ||
| border: 1px solid var(--color-grey-lighter); | ||
| border-radius: 4px; | ||
| right: 0; | ||
| left: auto; | ||
| min-width: 100px; | ||
| min-width: 150px; | ||
| margin-top: 4px; | ||
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); | ||
| z-index: 1000; | ||
|
|
||
| .dropdown-item { | ||
| display: block; | ||
| padding: 8px 16px; | ||
| color: var(--color-grey-dark, #333); | ||
| text-decoration: none; | ||
| transition: background 0.2s; | ||
|
|
||
| &:hover { | ||
| background-color: var(--color-primary-lighter); | ||
| color: var(--color-grey-dark); | ||
| background-color: var(--color-primary-lighter, #e3f2fd); | ||
| color: var(--color-grey-dark, #333); | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| &.active { | ||
| background-color: var(--color-primary); | ||
| color: white; | ||
| font-weight: bold; | ||
|
|
||
| &::before { | ||
| content: '✓ '; | ||
| margin-right: 6px; | ||
| } | ||
|
|
||
| &:hover { | ||
| background-color: var(--color-primary-dark, var(--color-primary)); | ||
|
|
@@ -147,15 +192,30 @@ header { | |
| } | ||
|
|
||
| #main-card { | ||
| min-height: 300px; | ||
| box-shadow: 0 5px 10px rgb(0 0 0 / 0.2); | ||
| padding: 0; | ||
| min-height: 470.4px; | ||
|
iamapoorv476 marked this conversation as resolved.
Outdated
|
||
| margin-bottom: 10px; | ||
| padding-left:15px; | ||
|
iamapoorv476 marked this conversation as resolved.
Outdated
|
||
| padding-right: 15px; | ||
| margin-left: 0px; | ||
| margin-right: 0px; | ||
| line-height: 20px; | ||
|
iamapoorv476 marked this conversation as resolved.
|
||
| text-size-adjust: 100%; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: Fixed This value is likely tuned to a specific viewport and can introduce scrollbars or large empty space on other screen sizes. Consider a more responsive approach (e.g., percentage-based height, content-driven Suggested implementation: If |
||
|
|
||
|
|
||
|
|
||
|
iamapoorv476 marked this conversation as resolved.
Outdated
|
||
| border: none; | ||
| box-shadow: none !important; | ||
|
iamapoorv476 marked this conversation as resolved.
Outdated
|
||
|
|
||
| main { | ||
| padding: var(--size-spacer); | ||
| } | ||
| } | ||
| .header-row-right details.locales { | ||
| margin: 0; | ||
| padding: 0; | ||
| display: flex; | ||
| align-items: center; | ||
| } | ||
|
|
||
| #event-nonpublic { | ||
| background: var(--color-danger); | ||
|
|
@@ -182,13 +242,14 @@ footer { | |
| } | ||
| } | ||
|
|
||
|
|
||
| #main-container { | ||
| width: 100%; | ||
| padding-right: 15px; | ||
| padding-left: 15px; | ||
| margin-right: auto; | ||
| margin-left: auto; | ||
| max-width: 1140px; | ||
| max-width: 1200px !important; | ||
|
iamapoorv476 marked this conversation as resolved.
Outdated
|
||
| margin-top: 3.8rem !important; | ||
| } | ||
|
|
||
|
|
@@ -263,7 +324,7 @@ footer { | |
| padding: 0; | ||
| #event-logo { | ||
| max-height: 120px; | ||
| border-radius: 10px; | ||
| border-radius: 0 !important; | ||
|
iamapoorv476 marked this conversation as resolved.
Outdated
|
||
| } | ||
| } | ||
|
|
||
|
|
@@ -335,4 +396,4 @@ footer { | |
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -167,15 +167,15 @@ section.front-page { | |
| max-height: 140px; | ||
| max-width: 240px; | ||
| width: auto; | ||
| border-radius: 10px; | ||
| border-radius: 0 !important; | ||
|
||
| } | ||
|
|
||
| @media (max-width: 768px) { | ||
| .event-logo-image { | ||
| max-height: 120px; | ||
| max-width: 120px; | ||
| width: auto; | ||
| border-radius: 10px; | ||
| border-radius: 0 !important; | ||
|
iamapoorv476 marked this conversation as resolved.
Outdated
|
||
| margin-bottom: 10px; | ||
| } | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The summary element is missing a visual indicator caret (dropdown arrow). While the CSS adds an ::after pseudo-element with '▼', this is not included in the HTML. Consider adding an explicit Font Awesome icon like the other implementation in common/base.html (line 53 uses
<i class="fa fa-caret-down ml-1"></i>), or ensure the CSS ::after pseudo-element is consistently applied.