| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- ion-content {
- --background: linear-gradient(135deg, var(--ion-color-primary) 0%, var(--ion-color-secondary) 100%);
- }
- .countdown-container {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- height: 100%;
- text-align: center;
- color: white;
- .activity-icon {
- font-size: 64px;
- margin-bottom: 24px;
- padding: 20px;
- border-radius: 50%;
- background: rgba(255, 255, 255, 0.1);
- backdrop-filter: blur(10px);
- }
- h2 {
- font-size: 24px;
- font-weight: 500;
- margin-bottom: 40px;
- text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
- }
- .timer {
- background: rgba(255, 255, 255, 0.1);
- backdrop-filter: blur(10px);
- border-radius: 20px;
- padding: 32px;
- margin: 32px 0;
- width: 80%;
- max-width: 300px;
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
-
- h1 {
- font-size: 72px;
- font-weight: bold;
- margin-bottom: 24px;
- font-family: 'SF Mono', 'Courier New', monospace;
- text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
- }
- }
- .control-buttons {
- display: flex;
- gap: 24px;
- margin-top: 40px;
- ion-button {
- --background: rgba(255, 255, 255, 0.1);
- --background-hover: rgba(255, 255, 255, 0.2);
- --background-activated: rgba(255, 255, 255, 0.15);
- --border-radius: 50%;
- --padding-start: 0;
- --padding-end: 0;
- width: 64px;
- height: 64px;
- margin: 0;
- ion-icon {
- font-size: 28px;
- }
- &::part(native) {
- border-radius: 50%;
- }
- }
- }
- }
- ion-progress-bar {
- height: 8px;
- border-radius: 4px;
- --buffer-background: rgba(255, 255, 255, 0.2);
- --progress-background: rgba(255, 255, 255, 0.8);
- overflow: hidden;
- }
- ion-header ion-toolbar {
- --background: transparent;
- --border-width: 0;
-
- ion-title {
- color: white;
- font-weight: 500;
- }
- ion-button {
- --color: white;
- }
- }
- @keyframes pulse {
- 0% {
- transform: scale(1);
- }
- 50% {
- transform: scale(1.05);
- }
- 100% {
- transform: scale(1);
- }
- }
- .timer h1 {
- animation: pulse 2s infinite ease-in-out;
- }
- @media (max-width: 360px) {
- .countdown-container {
- .activity-icon {
- font-size: 48px;
- }
- .timer h1 {
- font-size: 56px;
- }
- .control-buttons ion-button {
- width: 56px;
- height: 56px;
- }
- }
- }
|