my-project-vue/public/styles.css
IrisVega cf3ffab368 modified: package-lock.json
modified:   package.json
	new file:   public/.gitignore
	new file:   public/bg.png
	new file:   public/date.html
	new file:   public/jpg/1.jpg
	new file:   public/jpg/10.jpg
	new file:   public/jpg/11.jpg
	new file:   public/jpg/12.jpg
	new file:   public/jpg/13.jpg
	new file:   public/jpg/14.jpg
	new file:   public/jpg/15.jpg
	new file:   public/jpg/2.jpg
	new file:   public/jpg/3.jpg
	new file:   public/jpg/4.jpg
	new file:   public/jpg/5.jpg
	new file:   public/jpg/6.jpg
	new file:   public/jpg/7.jpg
	new file:   public/jpg/8.jpg
	new file:   public/jpg/9.jpg
	new file:   public/jquery-3.7.1.min.js
	new file:   public/main.html
	new file:   public/script.js
	new file:   public/styles.css
	new file:   public/test.code-workspace
	new file:   public/vue.js
	new file:   server/package-lock.json
	new file:   server/package.json
	new file:   server/server.js
	modified:   src/App.vue
	new file:   src/components/LoginForm.vue
2024-07-11 11:37:05 +08:00

169 lines
3.2 KiB
CSS

:root {
--content-opacity: 0.5; /* 定义透明度变量 */
}
/* 选项卡按钮样式 */
.tab {
display: flex;
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; /* 黑色文字 */
position: relative;
}
.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 {
text-align: center; /* 使“日期”居中显示 */
display: none;
padding: 6px 12px;
border: 1px solid rgba(255, 255, 255, 0); /* 粉色边框 */
border-top: none;
background-color: rgba(255, 255, 255, 0); /* 白色背景 */
}
/* 删除按钮样式 */
.closeButton {
background-color: rgba(255, 255, 255, 0); /* 白色背景 */
color: #fff; /* 白色文字 */
border: none;
outline: none;
cursor: pointer;
padding: 5px 10px;
transition: 0.3s;
font-size: 12px; /* 调整字体大小 */
}
.closeButton:hover {
background-color: rgba(255, 255, 255, 0.5); /* 深粉色背景 */
}
.closeButton2 {
background-color: #ff69b4; /* 白色背景 */
color: #fff; /* 白色文字 */
border: none;
outline: none;
cursor: pointer;
padding: 5px 10px;
transition: 0.3s;
font-size: 12px; /* 调整字体大小 */
}
.closeButton2:hover {
background-color: #ff1493; /* 深粉色背景 */
}
img { height: auto; width: auto\9; width:28%; }
.cldBody {
background-color: rgba(255, 255, 255, var(--content-opacity));
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;
background-color: rgba(255, 255, 255, var(--content-opacity));
}
#tbody td:hover {
background: rgba(30, 30, 30, 0.2);
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);
}
.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;
}
#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;
}