|
@@ -1,81 +1,102 @@
|
|
|
-ion-app {
|
|
|
- --ion-background-color: #e1e1e1; /* Light grey */
|
|
|
-}
|
|
|
-
|
|
|
.image-container {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
- margin-top: 20px;
|
|
|
+ margin: 20px 0px 20px 0px;
|
|
|
+
|
|
|
img {
|
|
|
- margin-top: 40px;
|
|
|
- width: 80%;
|
|
|
+ margin-top: 20px;
|
|
|
+ width: 85%; /* Adjust width as needed */
|
|
|
+ height: 350px; /* Fixed height */
|
|
|
+ object-fit: cover; /* Ensures the image covers the fixed size without distortion */
|
|
|
border-radius: 10px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+
|
|
|
.info-container {
|
|
|
- margin-top: 50px;
|
|
|
+ display: flex;
|
|
|
+ /* justify-content: center;
|
|
|
+ align-items: center; */
|
|
|
+ padding-left: 15%;
|
|
|
h2 {
|
|
|
- width: 170px;
|
|
|
- text-align: left;
|
|
|
- margin-left: 30px;
|
|
|
- font-size: 2.5rem;
|
|
|
- color: #333;
|
|
|
- font-weight: bold;
|
|
|
+ font-family: 'Digital-7'; /* 使用电子数字字体 */
|
|
|
+ margin-top: 0px;
|
|
|
+ font-size: 2.5rem; /* Adjust as needed */
|
|
|
+ padding: 5px;
|
|
|
+ background-color: transparent;
|
|
|
+ color: #000; /* Adjust button text color */
|
|
|
+ border: 1px solid #ccc; /* Border */
|
|
|
+ border-radius: 15%; /* Circular button */
|
|
|
+ box-shadow: 2px 2px 5px rgba(0,0,0,0.3); /* Shadow effect */
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
|
|
|
-.timer-display {
|
|
|
- margin-top: 50px;
|
|
|
- justify-content: right;
|
|
|
- font-size: 2.2rem;
|
|
|
- color: #333;
|
|
|
- border: 2px solid #c1c1c1;
|
|
|
- border-radius: 10%;
|
|
|
- padding: 5px 5px 5px 5px;
|
|
|
+.timer-container {
|
|
|
+ display: flex;
|
|
|
+ justify-content: flex-end;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 2rem;
|
|
|
+ margin-right: 20%;
|
|
|
}
|
|
|
|
|
|
-.timer-icon {
|
|
|
- margin-top: 50px;
|
|
|
- margin-left: 25px;
|
|
|
- font-size: 2.5rem;
|
|
|
- color: black;
|
|
|
- border: 2px solid #c2c2c2;
|
|
|
- border-radius: 10%;
|
|
|
- width: 60%;
|
|
|
- height: 50%;
|
|
|
- padding: 5px 5px 0px 5px;
|
|
|
+.timer-display {
|
|
|
+ font-size: 3rem; /* 调整字体大小 */
|
|
|
+ display: inline-block; /* 确保宽度适应内容 */
|
|
|
+ background-color: transparent;
|
|
|
+ padding: 4px 5px;
|
|
|
+ color: #000; /* Adjust button text color */
|
|
|
+ border: 1px solid #ccc; /* Border */
|
|
|
+ border-radius: 15%; /* Circular button */
|
|
|
+ box-shadow: 2px 2px 5px rgba(0,0,0,0.3); /* Shadow effect */
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
.icon-buttons {
|
|
|
display: flex;
|
|
|
justify-content: space-around;
|
|
|
- margin: 45px 20px;
|
|
|
+ margin: 20px 0px 30px 0px;
|
|
|
+
|
|
|
.i-button {
|
|
|
- --background: #e1e1e1;
|
|
|
- --border-radius: 50%;
|
|
|
- --padding: 5px;
|
|
|
- ion-icon {
|
|
|
- font-size: 2.4rem;
|
|
|
- color: rgb(178, 178, 178);
|
|
|
- }
|
|
|
+ --padding-start: 0;
|
|
|
+ --padding-end: 0;
|
|
|
+ background-color: transparent;
|
|
|
+ color: #000; /* Adjust button text color */
|
|
|
+ font-size: 1.5rem; /* Adjust icon size */
|
|
|
+ width: 50px; /* Fixed width */
|
|
|
+ height: 50px; /* Fixed height */
|
|
|
+ border-radius: 50%; /* Circular button */
|
|
|
+ box-shadow: 2px 2px 5px rgba(0,0,0,0.3); /* Shadow effect */
|
|
|
+ }
|
|
|
+
|
|
|
+ .i-button:active {
|
|
|
+ box-shadow: inset 2px 2px 5px rgba(0,0,0,0.3); /* Inner shadow on click */
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.control-buttons {
|
|
|
display: flex;
|
|
|
justify-content: space-around;
|
|
|
- margin: 45px 20px;
|
|
|
+ margin: 20px 0;
|
|
|
+
|
|
|
.ctrl-button {
|
|
|
- --background: #e1e1e1;
|
|
|
- border-radius: 100%;
|
|
|
- border: 5px wheat;
|
|
|
- padding: 10px;
|
|
|
- box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.415),
|
|
|
- -4px -4px 8px rgba(255, 255, 255, 0.914);
|
|
|
- ion-icon {
|
|
|
- font-size: 1.8rem;
|
|
|
- color: #000000;
|
|
|
- }
|
|
|
+ --padding-start: 10px;
|
|
|
+ --padding-end: 10px;
|
|
|
+ background: linear-gradient(to bottom, #ffffff, #e6e6e6); /* Gradient effect */
|
|
|
+ border: 1px solid #ccc; /* Border */
|
|
|
+ border-radius: 50%; /* Circular button */
|
|
|
+ box-shadow: 2px 2px 5px rgba(0,0,0,0.3); /* Shadow effect */
|
|
|
+ width: 60px; /* Fixed width */
|
|
|
+ height: 60px; /* Fixed height */
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 24px; /* Adjust icon size */
|
|
|
+ }
|
|
|
+
|
|
|
+ .ctrl-button:active {
|
|
|
+ box-shadow: inset 2px 2px 5px rgba(0,0,0,0.3); /* Inner shadow on click */
|
|
|
}
|
|
|
}
|