ion-searchbar { --background: #f4f4f4; margin: 10px; border-radius: 10px; } .info-box { text-align: center; font-weight: bold; } .info-value { text-align: center; margin-top: 10px; font-size: 1.2em; color: #888; } .wave-container { display: flex; justify-content: center; align-items: center; height: 200px; position: relative; margin: 20px 0; } .wave-circle { width: 150px; height: 150px; background: radial-gradient(circle at 50% 50%, #6ec1e4, #378ab7); border-radius: 50%; position: relative; overflow: hidden; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); } .wave { position: absolute; width: 200%; height: 200%; top: -75%; left: -50%; background: rgba(255, 255, 255, 0.4); border-radius: 50%; animation: wave 4s infinite linear; } .wave-inner { width: 120px; height: 120px; background-color: #3f51b5; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: transform 0.3s ease-in-out; color: #ffffff; font-size: 1.2rem; font-weight: bold; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); } /* @keyframes wave { 0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); } 100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); } } */ // 每日小习惯 .daily-habit { display: flex; align-items: center; margin: 20px 0; } .daily-habit-line { width: 5px; height: 20px; background-color: green; margin-right: 10px; } .daily-habit-text { font-size: 1.2em; color: #666; } .habit-button { width: 60px; height: 60px; display: flex; justify-content: center; align-items: center; font-size: 0.8em; margin: 10px 0; background-color: #fff; border: 2px solid #000; border-radius: 50%; transition: background-color 0.3s; } .habit-button ion-icon { font-size: 1.5em; } .habit-label { text-align: center; font-size: 0.8em; color: #666; margin-top: 5px; } .habit-button.blue { background-color: #007bff; /* 蓝色背景 */ } .habit-button.white { background-color: #fff; /* 白色背景 */ } // .habit-button div { // font-size: 0.8em; // margin-top: 5px; // } .habit-button:active { transform: scale(0.9); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); }