2024-07-09 14:28:09 +08:00
|
|
|
:root {
|
|
|
|
--content-opacity: 0.5; /* 定义透明度变量 */
|
2024-07-08 20:59:26 +08:00
|
|
|
}
|
2024-07-09 14:28:09 +08:00
|
|
|
|
|
|
|
/* 选项卡按钮样式 */
|
2024-07-08 20:59:26 +08:00
|
|
|
.tab {
|
2024-07-10 16:07:15 +08:00
|
|
|
display: flex;
|
2024-07-08 20:59:26 +08:00
|
|
|
overflow: hidden;
|
|
|
|
border: 1px solid #ff69b4; /* 粉色边框 */
|
|
|
|
background-color: #ffc0cb; /* 粉色背景 */
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab button {
|
|
|
|
background-color: inherit;
|
|
|
|
float: left;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 14px 16px;
|
|
|
|
transition: 0.3s;
|
|
|
|
color: #000; /* 黑色文字 */
|
2024-07-09 16:51:25 +08:00
|
|
|
position: relative;
|
2024-07-08 20:59:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab button:hover {
|
|
|
|
background-color: #ff69b4; /* 粉色背景 */
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab button.active {
|
|
|
|
background-color: #ff1493; /* 深粉色背景 */
|
|
|
|
color: #fff; /* 白色文字 */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 添加选项卡按钮样式 */
|
|
|
|
.addTab {
|
|
|
|
background-color: #ff69b4; /* 粉色背景 */
|
|
|
|
color: #fff; /* 白色文字 */
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 14px 16px;
|
|
|
|
transition: 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addTab:hover {
|
|
|
|
background-color: #ff1493; /* 深粉色背景 */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 选项卡内容样式 */
|
|
|
|
.tabcontent {
|
2024-07-09 14:28:09 +08:00
|
|
|
text-align: center; /* 使“日期”居中显示 */
|
2024-07-08 20:59:26 +08:00
|
|
|
display: none;
|
|
|
|
padding: 6px 12px;
|
2024-07-09 16:09:11 +08:00
|
|
|
border: 1px solid rgba(255, 255, 255, 0); /* 粉色边框 */
|
2024-07-08 20:59:26 +08:00
|
|
|
border-top: none;
|
2024-07-09 16:09:11 +08:00
|
|
|
background-color: rgba(255, 255, 255, 0); /* 白色背景 */
|
2024-07-08 20:59:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 删除按钮样式 */
|
2024-07-09 16:51:25 +08:00
|
|
|
.closeButton {
|
2024-07-10 09:13:21 +08:00
|
|
|
background-color: rgba(255, 255, 255, 0); /* 粉色背景 */
|
2024-07-08 20:59:26 +08:00
|
|
|
color: #fff; /* 白色文字 */
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 5px 10px;
|
|
|
|
transition: 0.3s;
|
|
|
|
font-size: 12px; /* 调整字体大小 */
|
|
|
|
}
|
|
|
|
|
2024-07-09 16:51:25 +08:00
|
|
|
.closeButton:hover {
|
2024-07-10 09:13:21 +08:00
|
|
|
background-color: rgba(255, 255, 255, 0.5); /* 深粉色背景 */
|
2024-07-08 20:59:26 +08:00
|
|
|
}
|
|
|
|
|
2024-07-09 16:51:25 +08:00
|
|
|
img { height: auto; width: auto\9; width:28%; }
|
2024-07-08 20:59:26 +08:00
|
|
|
|
|
|
|
.cldBody {
|
2024-07-09 14:28:09 +08:00
|
|
|
background-color: rgba(255, 255, 255, var(--content-opacity));
|
2024-07-08 20:59:26 +08:00
|
|
|
width: 420px;
|
|
|
|
margin: 10px auto;
|
|
|
|
}
|
|
|
|
.cldBody .top {
|
|
|
|
height: 60px;
|
|
|
|
line-height: 60px;
|
|
|
|
text-align: center;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
#topDate {
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
|
|
|
#week td {
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
td {
|
|
|
|
width: 60px;
|
|
|
|
height: 60px;
|
|
|
|
line-height: 60px;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 20px;
|
2024-07-09 14:28:09 +08:00
|
|
|
background-color: rgba(255, 255, 255, var(--content-opacity));
|
2024-07-08 20:59:26 +08:00
|
|
|
}
|
|
|
|
#tbody td:hover {
|
2024-07-09 14:28:09 +08:00
|
|
|
background: rgba(30, 30, 30, 0.2);
|
2024-07-08 20:59:26 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.curDate {
|
|
|
|
color: red;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
#left, #right {
|
|
|
|
width: 60px;
|
|
|
|
height: 60px;
|
|
|
|
position: absolute;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
#left {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
#right {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
#left:hover, #right:hover {
|
|
|
|
background-color: rgba(30, 30, 30, 0.2);
|
2024-07-08 21:38:32 +08:00
|
|
|
}
|
|
|
|
.slider-container {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="range"] {
|
|
|
|
width: 300px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: 1.2em;
|
|
|
|
font-weight: bold;
|
2024-07-09 10:09:16 +08:00
|
|
|
}
|
2024-07-10 16:07:15 +08:00
|
|
|
#tab-container {
|
|
|
|
display: flex;
|
|
|
|
overflow-x: auto;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* .tab {
|
|
|
|
display: flex;
|
|
|
|
} */
|
|
|
|
|
|
|
|
.tablinks {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 10px;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|