Common.css:修订间差异
来自卡厄思梦境WIKI
无编辑摘要 |
无编辑摘要 |
||
| 第11行: | 第11行: | ||
} | } | ||
/* 标签切换样式 */ | |||
/* 标签切换样式 */ | /* 标签切换样式 */ | ||
.main-line-wrap { | .main-line-wrap { | ||
| 第18行: | 第19行: | ||
.resp-tabs { | .resp-tabs { | ||
background: transparent; | |||
background: | |||
} | } | ||
| 第27行: | 第26行: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
background: | background: transparent; | ||
overflow: hidden; | overflow: hidden; | ||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 8px; | |||
} | } | ||
| 第40行: | 第40行: | ||
.czn-list-style { | .czn-list-style { | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
cursor: pointer; | cursor: pointer; | ||
transition: | transition: all 0.3s ease; | ||
border-radius: 6px; | |||
background-color: #f8f9fa; | |||
border: 1px solid #dee2e6; | |||
border- | box-shadow: 0 2px 4px rgba(0,0,0,0.1); | ||
} | } | ||
.czn-list-style:hover { | .czn-list-style:hover { | ||
background-color: #e9ecef; | background-color: #e9ecef; | ||
transform: translateY(-1px); | |||
box-shadow: 0 4px 8px rgba(0,0,0,0.15); | |||
} | } | ||
| 第59行: | 第59行: | ||
background-color: #007bff; | background-color: #007bff; | ||
color: white; | color: white; | ||
border-color: #007bff; | |||
box-shadow: 0 4px 12px rgba(0,123,255,0.3); | |||
} | } | ||
.czn-list-style.active:hover { | .czn-list-style.active:hover { | ||
background-color: #0056b3; | background-color: #0056b3; | ||
border-color: #0056b3; | |||
transform: translateY(-1px); | |||
box-shadow: 0 6px 16px rgba(0,123,255,0.4); | |||
} | } | ||
| 第72行: | 第77行: | ||
font-weight: 500; | font-weight: 500; | ||
transition: color 0.3s ease; | transition: color 0.3s ease; | ||
border-radius: 6px; | |||
white-space: nowrap; | |||
min-width: 80px; | |||
text-align: center; | |||
} | } | ||
| 第79行: | 第88行: | ||
.resp-tabs-container { | .resp-tabs-container { | ||
padding: 20px; | padding: 20px 0; | ||
background: | background: transparent; | ||
margin-top: 15px; | |||
} | } | ||
| 第87行: | 第96行: | ||
display: none; | display: none; | ||
animation: fadeIn 0.3s ease-in-out; | animation: fadeIn 0.3s ease-in-out; | ||
background: #fff; | |||
padding: 20px; | |||
border-radius: 8px; | |||
box-shadow: 0 2px 8px rgba(0,0,0,0.1); | |||
} | } | ||
| 第95行: | 第108行: | ||
@keyframes fadeIn { | @keyframes fadeIn { | ||
from { opacity: 0; } | from { | ||
to { opacity: 1; } | opacity: 0; | ||
transform: translateY(10px); | |||
} | |||
to { | |||
opacity: 1; | |||
transform: translateY(0); | |||
} | |||
} | } | ||
/* 响应式设计 */ | /* 响应式设计 */ | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
. | .resp-tabs-list { | ||
flex-direction: column; | |||
gap: 6px; | |||
} | } | ||
.czn-list-style | .czn-list-style { | ||
width: 100%; | |||
} | } | ||
.tab-panel { | .tab-panel { | ||
padding: 10px 15px; | padding: 10px 15px; | ||
min-width: auto; | |||
} | } | ||
.resp-tabs-container { | .resp-tabs-container { | ||
padding: 15px 0; | |||
margin-top: 10px; | |||
} | |||
.resp-tab-content { | |||
padding: 15px; | padding: 15px; | ||
} | } | ||
} | |||
/* 额外的按钮样式变体 */ | |||
.czn-list-style.style-rounded { | |||
border-radius: 25px; | |||
} | |||
.czn-list-style.style-square { | |||
border-radius: 2px; | |||
} | |||
.czn-list-style.style-large .tab-panel { | |||
padding: 15px 25px; | |||
font-size: 16px; | |||
} | |||
.czn-list-style.style-small .tab-panel { | |||
padding: 8px 15px; | |||
font-size: 14px; | |||
} | |||
/* 不同颜色主题 */ | |||
.czn-list-style.theme-green.active { | |||
background-color: #28a745; | |||
border-color: #28a745; | |||
box-shadow: 0 4px 12px rgba(40,167,69,0.3); | |||
} | |||
.czn-list-style.theme-green.active:hover { | |||
background-color: #218838; | |||
border-color: #218838; | |||
} | |||
.czn-list-style.theme-red.active { | |||
background-color: #dc3545; | |||
border-color: #dc3545; | |||
box-shadow: 0 4px 12px rgba(220,53,69,0.3); | |||
} | |||
.czn-list-style.theme-red.active:hover { | |||
background-color: #c82333; | |||
border-color: #c82333; | |||
} | |||
.czn-list-style.theme-orange.active { | |||
background-color: #fd7e14; | |||
border-color: #fd7e14; | |||
box-shadow: 0 4px 12px rgba(253,126,20,0.3); | |||
} | |||
.czn-list-style.theme-orange.active:hover { | |||
background-color: #e8650e; | |||
border-color: #e8650e; | |||
} | |||
.czn-list-style.theme-purple.active { | |||
background-color: #6f42c1; | |||
border-color: #6f42c1; | |||
box-shadow: 0 4px 12px rgba(111,66,193,0.3); | |||
} | |||
.czn-list-style.theme-purple.active:hover { | |||
background-color: #5a32a3; | |||
border-color: #5a32a3; | |||
} | } | ||
2025年9月21日 (日) 18:33的版本
/* 这里放置的CSS将应用于所有皮肤 */
/* 隐藏通知图标 */
#echo-notifications {
display:none;
}
/* 隐藏底部图标 */
#footer-right-icons {
display:none;
}
/* 标签切换样式 */
/* 标签切换样式 */
.main-line-wrap {
margin: 10px 0;
font-family: Arial, sans-serif;
}
.resp-tabs {
background: transparent;
}
.resp-tabs-list {
list-style: none;
margin: 0;
padding: 0;
background: transparent;
overflow: hidden;
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.resp-tabs-list::after {
content: "";
display: table;
clear: both;
}
.czn-list-style {
margin: 0;
padding: 0;
cursor: pointer;
transition: all 0.3s ease;
border-radius: 6px;
background-color: #f8f9fa;
border: 1px solid #dee2e6;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.czn-list-style:hover {
background-color: #e9ecef;
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.czn-list-style.active {
background-color: #007bff;
color: white;
border-color: #007bff;
box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}
.czn-list-style.active:hover {
background-color: #0056b3;
border-color: #0056b3;
transform: translateY(-1px);
box-shadow: 0 6px 16px rgba(0,123,255,0.4);
}
.tab-panel {
display: block;
padding: 12px 20px;
color: #333;
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease;
border-radius: 6px;
white-space: nowrap;
min-width: 80px;
text-align: center;
}
.czn-list-style.active .tab-panel {
color: white;
}
.resp-tabs-container {
padding: 20px 0;
background: transparent;
margin-top: 15px;
}
.resp-tab-content {
display: none;
animation: fadeIn 0.3s ease-in-out;
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.resp-tab-content[style*="display:block"],
.resp-tab-content[style*="display: block"] {
display: block !important;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* 响应式设计 */
@media (max-width: 768px) {
.resp-tabs-list {
flex-direction: column;
gap: 6px;
}
.czn-list-style {
width: 100%;
}
.tab-panel {
padding: 10px 15px;
min-width: auto;
}
.resp-tabs-container {
padding: 15px 0;
margin-top: 10px;
}
.resp-tab-content {
padding: 15px;
}
}
/* 额外的按钮样式变体 */
.czn-list-style.style-rounded {
border-radius: 25px;
}
.czn-list-style.style-square {
border-radius: 2px;
}
.czn-list-style.style-large .tab-panel {
padding: 15px 25px;
font-size: 16px;
}
.czn-list-style.style-small .tab-panel {
padding: 8px 15px;
font-size: 14px;
}
/* 不同颜色主题 */
.czn-list-style.theme-green.active {
background-color: #28a745;
border-color: #28a745;
box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}
.czn-list-style.theme-green.active:hover {
background-color: #218838;
border-color: #218838;
}
.czn-list-style.theme-red.active {
background-color: #dc3545;
border-color: #dc3545;
box-shadow: 0 4px 12px rgba(220,53,69,0.3);
}
.czn-list-style.theme-red.active:hover {
background-color: #c82333;
border-color: #c82333;
}
.czn-list-style.theme-orange.active {
background-color: #fd7e14;
border-color: #fd7e14;
box-shadow: 0 4px 12px rgba(253,126,20,0.3);
}
.czn-list-style.theme-orange.active:hover {
background-color: #e8650e;
border-color: #e8650e;
}
.czn-list-style.theme-purple.active {
background-color: #6f42c1;
border-color: #6f42c1;
box-shadow: 0 4px 12px rgba(111,66,193,0.3);
}
.czn-list-style.theme-purple.active:hover {
background-color: #5a32a3;
border-color: #5a32a3;
}