Spaces:
Build error
Build error
File size: 2,664 Bytes
abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 150e09e abb0653 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
/* src/app.css */
:root {
--primary-color: #1976d2;
--primary-hover: #1565c0;
--background: #f5f5f5;
--surface: #ffffff;
--text-primary: #212121;
--text-secondary: #666666;
--border: #e0e0e0;
--error: #d32f2f;
--shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
--shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.15);
--border-radius: 8px;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
background-color: var(--background);
color: var(--text-primary);
line-height: 1.6;
}
main {
max-width: 600px;
margin: 0 auto;
padding: 2rem 1rem;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
}
h1 {
margin: 0;
font-size: 1.75rem;
font-weight: 600;
color: var(--text-primary);
}
.refresh-btn {
background: var(--primary-color);
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: var(--border-radius);
cursor: pointer;
font-size: 0.875rem;
transition: all 0.2s ease;
}
.refresh-btn:hover:not(:disabled) {
background: var(--primary-hover);
transform: translateY(-1px);
}
.refresh-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.email-container {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.navigation {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
background: var(--surface);
border-radius: var(--border-radius);
box-shadow: var(--shadow);
}
.navigation button {
background: none;
border: 1px solid var(--border);
padding: 0.5rem 1rem;
border-radius: var(--border-radius);
cursor: pointer;
transition: all 0.2s ease;
font-size: 0.875rem;
}
.navigation button:hover:not(:disabled) {
background: var(--background);
border-color: var(--primary-color);
}
.navigation button:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.counter {
font-size: 0.875rem;
color: var(--text-secondary);
font-weight: 500;
}
.empty-state {
text-align: center;
padding: 3rem;
background: var(--surface);
border-radius: var(--border-radius);
box-shadow: var(--shadow);
}
.empty-state h2 {
margin: 0 0 0.5rem 0;
color: var(--text-secondary);
}
.empty-state p {
margin: 0;
color: var(--text-secondary);
}
@media (max-width: 480px) {
main {
padding: 1rem;
}
h1 {
font-size: 1.5rem;
}
.refresh-btn {
padding: 0.375rem 0.75rem;
font-size: 0.8125rem;
}
.navigation {
flex-direction: column;
gap: 1rem;
}
.navigation button {
width: 100%;
}
} |