Common.css:修订间差异
来自卡厄思梦境WIKI
无编辑摘要 |
无编辑摘要 |
||
| 第11行: | 第11行: | ||
} | } | ||
/* 标签切换样式 */ | /* 标签切换样式 */ | ||
.main-line-wrap { | .main-line-wrap { | ||
| 第30行: | 第29行: | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: | gap: 6px; | ||
} | } | ||
| 第43行: | 第42行: | ||
padding: 0; | padding: 0; | ||
cursor: pointer; | cursor: pointer; | ||
transition: all 0. | transition: all 0.2s ease; | ||
border-radius: | border-radius: 4px; | ||
background-color: # | background-color: #f5f5f5; | ||
border: 1px solid # | border: 1px solid #ddd; | ||
} | } | ||
.czn-list-style:hover { | .czn-list-style:hover { | ||
background-color: # | background-color: #e8e8e8; | ||
} | } | ||
| 第60行: | 第56行: | ||
color: white; | color: white; | ||
border-color: #007bff; | border-color: #007bff; | ||
} | } | ||
| 第66行: | 第61行: | ||
background-color: #0056b3; | background-color: #0056b3; | ||
border-color: #0056b3; | border-color: #0056b3; | ||
} | } | ||
.tab-panel { | .tab-panel { | ||
display: block; | display: block; | ||
padding: | padding: 8px 16px; | ||
color: #333; | color: #333; | ||
text-decoration: none; | text-decoration: none; | ||
font-weight: | font-weight: normal; | ||
transition: color 0. | transition: color 0.2s ease; | ||
white-space: nowrap; | white-space: nowrap; | ||
min-width: | min-width: 60px; | ||
text-align: center; | text-align: center; | ||
font-size: 14px; | |||
} | } | ||
| 第88行: | 第81行: | ||
.resp-tabs-container { | .resp-tabs-container { | ||
padding: | padding: 0; | ||
background: transparent; | background: transparent; | ||
margin-top: | margin-top: 8px; | ||
} | } | ||
.resp-tab-content { | .resp-tab-content { | ||
display: none; | display: none; | ||
animation: fadeIn 0. | animation: fadeIn 0.2s ease-in-out; | ||
background: | background: transparent; | ||
padding: | padding: 0; | ||
border | border: none; | ||
} | } | ||
| 第110行: | 第102行: | ||
from { | from { | ||
opacity: 0; | opacity: 0; | ||
} | } | ||
to { | to { | ||
opacity: 1; | opacity: 1; | ||
} | } | ||
} | } | ||
| 第122行: | 第112行: | ||
.resp-tabs-list { | .resp-tabs-list { | ||
flex-direction: column; | flex-direction: column; | ||
gap: | gap: 4px; | ||
} | } | ||
| 第130行: | 第120行: | ||
.tab-panel { | .tab-panel { | ||
padding: | padding: 6px 12px; | ||
min-width: auto; | min-width: auto; | ||
font-size: 13px; | |||
} | } | ||
.resp-tabs-container { | .resp-tabs-container { | ||
margin-top: 6px; | |||
margin-top: | |||
} | } | ||
} | } | ||
/* | /* 可选的颜色主题 - 极简版 */ | ||
.czn-list-style. | .czn-list-style.theme-gray.active { | ||
border- | background-color: #6c757d; | ||
border-color: #6c757d; | |||
} | } | ||
.czn-list-style. | .czn-list-style.theme-gray.active:hover { | ||
border- | background-color: #545b62; | ||
border-color: #545b62; | |||
} | } | ||
.czn-list-style. | .czn-list-style.theme-dark.active { | ||
background-color: #343a40; | |||
border-color: #343a40; | |||
} | } | ||
.czn-list-style. | .czn-list-style.theme-dark.active:hover { | ||
background-color: #23272b; | |||
border-color: #23272b; | |||
} | } | ||
.czn-list-style.theme-light.active { | |||
.czn-list-style.theme- | background-color: #f8f9fa; | ||
background-color: # | border-color: #f8f9fa; | ||
border-color: # | color: #333; | ||
} | } | ||
.czn-list-style.theme- | .czn-list-style.theme-light.active .tab-panel { | ||
color: #333; | |||
. | |||
} | } | ||
.czn-list-style.theme- | .czn-list-style.theme-light.active:hover { | ||
background-color: # | background-color: #e2e6ea; | ||
border-color: # | border-color: #e2e6ea; | ||
} | } | ||
2025年9月21日 (日) 18:38的版本
/* 这里放置的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: 6px;
}
.resp-tabs-list::after {
content: "";
display: table;
clear: both;
}
.czn-list-style {
margin: 0;
padding: 0;
cursor: pointer;
transition: all 0.2s ease;
border-radius: 4px;
background-color: #f5f5f5;
border: 1px solid #ddd;
}
.czn-list-style:hover {
background-color: #e8e8e8;
}
.czn-list-style.active {
background-color: #007bff;
color: white;
border-color: #007bff;
}
.czn-list-style.active:hover {
background-color: #0056b3;
border-color: #0056b3;
}
.tab-panel {
display: block;
padding: 8px 16px;
color: #333;
text-decoration: none;
font-weight: normal;
transition: color 0.2s ease;
white-space: nowrap;
min-width: 60px;
text-align: center;
font-size: 14px;
}
.czn-list-style.active .tab-panel {
color: white;
}
.resp-tabs-container {
padding: 0;
background: transparent;
margin-top: 8px;
}
.resp-tab-content {
display: none;
animation: fadeIn 0.2s ease-in-out;
background: transparent;
padding: 0;
border: none;
}
.resp-tab-content[style*="display:block"],
.resp-tab-content[style*="display: block"] {
display: block !important;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* 响应式设计 */
@media (max-width: 768px) {
.resp-tabs-list {
flex-direction: column;
gap: 4px;
}
.czn-list-style {
width: 100%;
}
.tab-panel {
padding: 6px 12px;
min-width: auto;
font-size: 13px;
}
.resp-tabs-container {
margin-top: 6px;
}
}
/* 可选的颜色主题 - 极简版 */
.czn-list-style.theme-gray.active {
background-color: #6c757d;
border-color: #6c757d;
}
.czn-list-style.theme-gray.active:hover {
background-color: #545b62;
border-color: #545b62;
}
.czn-list-style.theme-dark.active {
background-color: #343a40;
border-color: #343a40;
}
.czn-list-style.theme-dark.active:hover {
background-color: #23272b;
border-color: #23272b;
}
.czn-list-style.theme-light.active {
background-color: #f8f9fa;
border-color: #f8f9fa;
color: #333;
}
.czn-list-style.theme-light.active .tab-panel {
color: #333;
}
.czn-list-style.theme-light.active:hover {
background-color: #e2e6ea;
border-color: #e2e6ea;
}