Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 18 additions & 8 deletions website/src/components/MeetupReminderButton/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/* Container for the entire component */
.container {
position: fixed;
bottom: 2rem;
right: 2rem;
bottom: 1rem;
right: 1.5rem;

z-index: 9999;
font-family: var(--ifm-font-family-base);
}
Expand Down Expand Up @@ -78,6 +79,7 @@
opacity: 0;
transform: translateY(10px);
}

to {
opacity: 1;
transform: translateY(0);
Expand Down Expand Up @@ -573,12 +575,17 @@
color: var(--ifm-color-primary-light);
}

/* Responsive Design */
@media (max-width: 768px) {

/* Desktop (≥768px): DevEx Sessions (Meetup) at bottom-right corner, to the right of Jump to Top, same baseline */
@media (min-width: 768px) {
.container {
bottom: 1rem;
right: 1rem;
right: 2rem;
bottom: 2rem;
}
}

@media (max-width: 768px) {


.panel {
bottom: 4.5rem;
Expand Down Expand Up @@ -625,7 +632,7 @@
@media (max-width: 480px) {
.container {
bottom: 0.75rem;
right: 0.75rem;
right: 1.5rem;
}

.floatingButton {
Expand Down Expand Up @@ -666,6 +673,7 @@

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {

.floatingButton,
.linkButton,
.calendarButton {
Expand All @@ -679,6 +687,7 @@

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

.floatingButton,
.linkButton,
.calendarButton,
Expand All @@ -688,6 +697,7 @@
}

@keyframes slideUp {

from,
to {
opacity: 1;
Expand All @@ -700,4 +710,4 @@
.calendarButton:hover {
transform: none;
}
}
}
16 changes: 16 additions & 0 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -985,4 +985,20 @@ html[data-theme='dark'] .searchBar .dropdownMenu svg {
[data-theme='dark'] .DocSearch-Commands,
[data-theme='dark'] .DocSearch-Commands * {
color: rgba(255, 255, 255, 0.7) !important;
}

/* Jump to Top above DevEx Sessions (Meetup), same right alignment */
@media (max-width: 767px) {
.theme-back-to-top-button {
bottom: 4.9rem !important;
right: 1.7rem !important;
}
}

/* Jump to Top to the left of DevEx Sessions (Meetup), same baseline */
@media (min-width: 767px) {
.theme-back-to-top-button {
bottom: 2.2rem !important;
right: 11rem !important;
}
}