AvanzaCast/shared/components/modal-parts/ModalShareButtons.module.css
Cesar Mendivil e43686e36d feat(modal-parts): add modular components for modal UI
- Introduced ModalDestinationButton for destination selection with customizable icons and labels.
- Added ModalInput for text input with optional character counter.
- Implemented ModalLink for reusable links styled as underlined text.
- Created ModalPlatformCard for platform selection with badges.
- Developed ModalRadioGroup for radio button groups with custom styling.
- Added ModalSection for grouping modal content with optional labels.
- Implemented ModalSelect for dropdown selections with custom styling.
- Created ModalShareButtons for sharing options via Gmail, Email, and Messenger.
- Developed ModalTextarea for multi-line text input with character counter.
- Introduced ModalToggle for toggle switches with optional help text and links.
- Updated README.md with component descriptions, usage examples, and design guidelines.
- Added index.ts for centralized exports of modal components.
2025-11-06 00:32:08 -07:00

64 lines
942 B
CSS

.container {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.button {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: #f1f3f4;
border: 1px solid #dadce0;
border-radius: 4px;
cursor: pointer;
transition: all 0.2s;
font-size: 14px;
color: #3c4043;
font-weight: 500;
}
.button:hover {
background: #e8f0fe;
border-color: #1a73e8;
color: #1a73e8;
}
.button:hover .icon {
color: #1a73e8;
}
.icon {
display: flex;
align-items: center;
justify-content: center;
color: #5f6368;
transition: color 0.2s;
}
.label {
font-family: inherit;
}
/* Dark mode */
[data-theme="dark"] .button {
background: #2d2e30;
border-color: #5f6368;
color: #e8eaed;
}
[data-theme="dark"] .button:hover {
background: #3c4043;
border-color: #8ab4f8;
color: #8ab4f8;
}
[data-theme="dark"] .button:hover .icon {
color: #8ab4f8;
}
[data-theme="dark"] .icon {
color: #9aa0a6;
}