Common.css:修订间差异
来自卡厄思梦境WIKI
无编辑摘要 |
无编辑摘要 |
||
| 第229行: | 第229行: | ||
overflow: hidden; | overflow: hidden; | ||
transition: transform 0.3s ease, box-shadow 0.3s ease; | transition: transform 0.3s ease, box-shadow 0.3s ease; | ||
} | } | ||
2025年10月9日 (四) 10:18的版本
/* 这里放置的CSS将应用于所有皮肤 */
/* 手机端和PC端显示控制 */
@media screen and (max-width: 640px) {
.desktop-only {
display: none !important;
}
}
@media screen and (min-width: 641px) {
.mobile-only {
display: none !important;
}
}
/* 隐藏通知图标 */
#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;
border-top: 1px solid #ddd !important;
border-bottom: 1px solid #ddd !important;
border-left: 1px solid #ddd !important;
border-right: 1px solid #ddd !important;
}
.czn-list-style:hover {
background-color: #e8e8e8;
border: 1px solid #ddd !important;
}
.czn-list-style.active {
background-color: #007bff;
color: white;
border: 1px solid #007bff !important;
}
.czn-list-style.active:hover {
background-color: #0056b3;
border: 1px solid #0056b3 !important;
}
.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;
border: none !important;
}
.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 !important;
}
.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%;
border: 1px solid #ddd !important;
}
.tab-panel {
padding: 6px 12px;
min-width: auto;
font-size: 13px;
border: none !important;
}
.resp-tabs-container {
margin-top: 6px;
}
}
/* 可选的颜色主题 */
.czn-list-style.theme-gray.active {
background-color: #6c757d;
border: 1px solid #6c757d !important;
}
.czn-list-style.theme-gray.active:hover {
background-color: #545b62;
border: 1px solid #545b62 !important;
}
.czn-list-style.theme-dark.active {
background-color: #343a40;
border: 1px solid #343a40 !important;
}
.czn-list-style.theme-dark.active:hover {
background-color: #23272b;
border: 1px solid #23272b !important;
}
.czn-list-style.theme-light.active {
background-color: #f8f9fa;
border: 1px solid #f8f9fa !important;
color: #333;
}
.czn-list-style.theme-light.active .tab-panel {
color: #333;
}
.czn-list-style.theme-light.active:hover {
background-color: #e2e6ea;
border: 1px solid #e2e6ea !important;
}
/* 黑幕 */
.heimu {
background-color: #252525;
color: #252525;
transition: color 0.5s;
}
.heimu:hover {
color: #ffffff;
}
/* 稀有度样式 */
.rarity-5 {
width: 150px;
height: 5px;
background: linear-gradient(135deg, #e882e8, #6fffff);
box-shadow:
0 0 15px rgba(110, 69, 226, 0.5),
0 0 30px rgba(136, 211, 206, 0.3);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rarity-4 {
width: 150px;
height: 5px;
background: linear-gradient(135deg, #e5a563, #f1cf97);
box-shadow:
0 0 15px rgba(110, 69, 226, 0.5),
0 0 30px rgba(136, 211, 206, 0.3);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rarity-3 {
width: 150px;
height: 5px;
background: linear-gradient(135deg, #3b4785, #c3e7f9);
box-shadow:
0 0 15px rgba(110, 69, 226, 0.5),
0 0 30px rgba(136, 211, 206, 0.3);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* 卡牌系统样式 */
#card-overlay {
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
}
#card-display-container {
animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
.game-card {
transition: transform 0.2s ease;
}
.game-card:not(#card-overlay .game-card):hover {
transform: scale(1.05);
z-index: 10;
}
/* 修复卡牌描述布局 */
#card-overlay .game-card > div:last-child {
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
/* 确保放大的卡牌元素正确显示 */
#card-overlay .game-card div[style*="position: absolute"] {
transform-origin: center center;
}
/* 滚动条美化 */
#card-overlay ::-webkit-scrollbar {
width: 8px;
height: 8px;
}
#card-overlay ::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1);
border-radius: 4px;
}
#card-overlay ::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
border-radius: 4px;
}
#card-overlay ::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.5);
}
/* 轮播图样式 */
.carousel-container {
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.carousel-slide img {
width: 100%;
height: 250px;
object-fit: cover;
}
/* 标题遮罩层样式 */
.carousel-titles-overlay {
pointer-events: auto;
}
.carousel-titles-wrapper {
display: flex;
align-items: center;
position: relative;
}
.carousel-titles-container {
max-width: calc(100% - 80px);
}
/* 标题项样式 */
.carousel-title-item {
transition: all 0.3s ease;
min-width: 0;
}
.carousel-title-item:hover .title-text {
opacity: 1 !important;
}
.carousel-title-item.active .title-text {
opacity: 1 !important;
font-weight: bold;
}
.carousel-title-item.active .title-indicator {
background: #ff6600 !important;
}
/* 左右切换按钮 */
.carousel-btn {
transition: all 0.3s;
user-select: none;
}
.carousel-btn:hover {
opacity: 1 !important;
transform: translateY(-50%) scale(1.1);
}
.carousel-btn img {
width: 100%;
height: 100%;
object-fit: contain;
}
/* 防止按钮图片被当作链接 */
.carousel-btn a.image {
pointer-events: none;
}
/* 响应式调整 */
@media (max-width: 768px) {
.carousel-titles-container {
gap: 8px !important;
}
.carousel-title-item {
max-width: 150px !important;
}
.title-text {
font-size: 12px !important;
padding: 5px 6px !important;
}
.carousel-btn {
width: 25px !important;
height: 25px !important;
}
.carousel-titles-wrapper {
padding: 0 40px !important;
}
.carousel-btn.carousel-prev {
left: 5px !important;
}
.carousel-btn.carousel-next {
right: 5px !important;
}
}
@media (max-width: 480px) {
.carousel-title-item {
max-width: 100px !important;
}
.title-text {
font-size: 11px !important;
padding: 4px 5px !important;
}
.carousel-btn {
width: 20px !important;
height: 20px !important;
}
}
/* 永久隐藏默认目录 */
.mw-parser-output .toc {
display: none !important;
}
/* 左侧目录样式 */
#toc-sidebar {
position: fixed;
left: 0;
top: 30%;
background-color: #f8f9fa;
border: 1px solid #a2a9b1;
border-left: none;
border-radius: 0 5px 5px 0;
padding: 5px 2px;
z-index: 100;
width: 36px;
transition: width 0.3s;
overflow: hidden;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
#toc-sidebar.expanded {
width: 250px;
padding: 10px;
}
#toc-sidebar-trigger {
cursor: pointer;
font-weight: bold;
text-align: center;
writing-mode: vertical-lr; /* 修改为vertical-lr */
height: auto;
white-space: nowrap;
}
#toc-sidebar.expanded #toc-sidebar-trigger {
writing-mode: horizontal-tb;
}
#toc-sidebar-content {
display: none;
padding-top: 10px;
width: 230px;
max-height: 60vh;
overflow-y: auto;
}
#toc-sidebar.expanded #toc-sidebar-content {
display: block;
}
/* 隐藏目录中的小圆点 */
#toc-sidebar-content ul {
list-style-type: none;
padding-left: 15px;
margin: 0;
}
#toc-sidebar-content li {
margin: 3px 0;
}
/* 卡牌悬停模板样式 */
.card-hover-container {
position: relative;
display: inline; /* 改为 inline 以防止破坏文本流 */
}
.card-name {
color: #4a90e2;
border-bottom: 1px dotted #4a90e2;
cursor: pointer;
white-space: nowrap; /* 保持文本不换行 */
}
.card-popup-container {
display: none;
position: absolute;
z-index: 1000;
left: 0; /* 从左侧开始 */
top: 100%; /* 在文本下方 */
margin-top: 5px; /* 稍微远离文本 */
background: none; /* 移除背景 */
}
.card-hover-container:hover .card-popup-container {
display: block;
}
.card-popup {
display: block;
background: none; /* 移除背景 */
padding: 0; /* 移除内边距 */
box-shadow: none; /* 移除阴影 */
}
/* 确保游戏卡牌正确显示 */
.card-popup .game-card {
margin: 0 !important;
}
/* 全局 tooltip 容器 */
.dictionary-tooltip-container {
position: absolute;
width: 250px;
z-index: 10000;
pointer-events: none;
opacity: 0;
transition: opacity 0.2s ease;
}
.dictionary-tooltip-container.active {
opacity: 1;
}
/* 卡牌描述滚动容器 */
.card-description-scroll {
position: absolute;
bottom: 7px;
left: 15px;
width: 144px;
height: 100px;
overflow: hidden;
text-align: center;
display: flex;
align-items: center; /* 默认垂直居中 */
justify-content: center; /* 水平居中 */
}
.card-description-scroll-inner {
width: 100%;
}
.card-description-text {
font-size: 12px;
color: white;
line-height: 13px;
padding: 5px 0;
}
/* 滚动动画关键帧 */
@keyframes cardScrollUp {
0%, 10% {
transform: translateY(0);
}
90%, 100% {
transform: translateY(calc(-100% + 100px));
}
}
/* 需要滚动时:取消居中,从顶部开始 */
.game-card.card-description-scrollable .card-description-scroll {
align-items: flex-start; /* 改为顶部对齐 */
}
/* 应用滚动动画 */
.game-card.card-description-scrollable .card-description-scroll-inner {
animation: cardScrollUp 8s ease-in-out infinite;
}
/* 悬停暂停 */
.game-card.card-description-scrollable:hover .card-description-scroll-inner {
animation-play-state: paused;
}
/* 编辑器工具栏样式 */
.editor-toolbar {
margin-bottom: 5px;
display: flex;
gap: 5px;
flex-wrap: wrap;
}
.toolbar-button {
display: inline-block;
padding: 4px 10px;
background: #0645ad;
color: white;
border-radius: 3px;
cursor: pointer;
font-size: 12px;
transition: background 0.2s;
user-select: none;
}
.toolbar-button:hover {
background: #0b0080;
}
.toolbar-button:active {
background: #002bb8;
transform: scale(0.98);
}
.avatar-frame {
position: relative;
display: inline-block;
vertical-align: top;
border: 3px solid #ccc; /* 灰色边框 */
border-radius: 5px; /* 轻微圆角 */
overflow: hidden; /* 确保内容不超出边框 */
box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 轻微阴影增加层次感 */
background: #f5f5f5; /* 浅灰色背景作为图片加载前的占位 */
}
.avatar-frame img {
display: block;
width: 100px;
height: 100px;
object-fit: cover; /* 确保图片比例正确 */
}
.avatar-name {
position: absolute;
left: 0;
bottom: 0;
padding: 2px 8px;
color: white;
font-size: 12px;
font-weight: bold;
text-shadow: 0 0 2px black, 0 0 2px black; /* 白色描边效果 */
white-space: nowrap; /* 防止文字换行 */
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis; /* 文字过长显示省略号 */
border-top-right-radius: 3px; /* 右上角圆角 */
}
.agent-manager {
font-family: sans-serif;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.agent-section {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.agent-section h3 {
margin-top: 0;
color: #333;
border-bottom: 2px solid #0645ad;
padding-bottom: 10px;
}
.agent-section h4 {
color: #555;
margin-top: 25px;
margin-bottom: 15px;
padding-bottom: 8px;
border-bottom: 1px solid #ddd;
}
.agent-tabs {
display: flex;
gap: 10px;
margin-bottom: 20px;
border-bottom: 2px solid #ddd;
}
.agent-tab {
padding: 10px 20px;
cursor: pointer;
background: #f5f5f5;
border: 1px solid #ddd;
border-bottom: none;
border-radius: 4px 4px 0 0;
transition: all 0.3s;
}
.agent-tab:hover {
background: #e5e5e5;
}
.agent-tab.active {
background: white;
border-bottom: 2px solid white;
margin-bottom: -2px;
font-weight: bold;
color: #0645ad;
}
.agent-tab-content {
display: none;
animation: fadeIn 0.3s;
}
.agent-tab-content.active {
display: block;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.agent-button {
display: inline-block;
padding: 10px 20px;
margin: 5px;
background: #0645ad;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
transition: all 0.3s;
}
.agent-button:hover {
background: #0b5ed7;
transform: translateY(-2px);
box-shadow: 0 2px 8px rgba(6, 69, 173, 0.3);
}
.agent-button.secondary {
background: #6c757d;
}
.agent-button.secondary:hover {
background: #5a6268;
}
.agent-form-group {
margin-bottom: 15px;
}
.agent-form-group label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #333;
font-size: 13px;
}
.agent-input,
.agent-select,
.agent-textarea {
width: 100%;
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
box-sizing: border-box;
transition: border-color 0.3s;
}
.agent-input:focus,
.agent-select:focus,
.agent-textarea:focus {
outline: none;
border-color: #0645ad;
box-shadow: 0 0 0 3px rgba(6, 69, 173, 0.1);
}
.agent-select {
cursor: pointer;
background-color: white;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 10px center;
padding-right: 35px;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
}
.agent-textarea {
min-height: 80px;
resize: vertical;
font-family: monospace;
}
.agent-field-row {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 15px;
}
.agent-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 10px;
margin-top: 15px;
}
.agent-list-item {
padding: 15px;
background: #f8f9fa;
border: 1px solid #ddd;
border-radius: 4px;
cursor: pointer;
transition: all 0.3s;
}
.agent-list-item:hover {
background: #e9ecef;
border-color: #0645ad;
transform: translateY(-2px);
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.agent-message {
padding: 12px 15px;
margin: 10px 0;
border-radius: 4px;
animation: slideDown 0.3s;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.agent-message.success {
background: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.agent-message.error {
background: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.agent-message.info {
background: #d1ecf1;
color: #0c5460;
border: 1px solid #bee5eb;
}
.agent-loading {
text-align: center;
padding: 40px;
color: #666;
font-size: 16px;
}
.agent-loading::after {
content: '...';
animation: dots 1.5s infinite;
}
@keyframes dots {
0%, 20% { content: '.'; }
40% { content: '..'; }
60%, 100% { content: '...'; }
}
@media (max-width: 768px) {
.agent-field-row {
grid-template-columns: 1fr;
}
.agent-grid {
grid-template-columns: 1fr;
}
.agent-tabs {
flex-direction: column;
}
.agent-tab {
border-radius: 4px;
border: 1px solid #ddd;
}
.agent-tab.active {
margin-bottom: 0;
}
}
#card-editor {
font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
color: #333;
background-color: #f5f5f5;
padding: 20px;
}
.ce-container {
display: flex;
gap: 20px;
max-width: 1400px;
margin: 0 auto;
}
.ce-left, .ce-middle, .ce-right {
background: #fff;
border-radius: 4px;
padding: 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.ce-left {
flex: 2;
}
.ce-middle {
flex: 1;
min-width: 300px;
}
.ce-right {
flex: 2;
}
.ce-group {
margin-bottom: 20px;
}
.ce-group-title {
font-size: 16px;
font-weight: bold;
color: #555;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid #e0e0e0;
}
.ce-form {
display: flex;
flex-direction: column;
gap: 12px;
}
.ce-row {
display: flex;
align-items: center;
gap: 10px;
}
.ce-label {
min-width: 100px;
max-width: 100px;
color: #666;
font-size: 14px;
}
.ce-input, .ce-select-input {
flex: 1;
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 3px;
font-size: 14px;
transition: border-color 0.3s;
}
.ce-input:focus, .ce-select-input:focus {
border-color: #4a90e2;
outline: none;
}
.ce-input:disabled, .ce-select-input:disabled {
background-color: #f5f5f5;
color: #999;
cursor: not-allowed;
}
.ce-select-wrapper {
position: relative;
flex: 1;
}
.ce-select-input {
cursor: pointer;
background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 12px center;
padding-right: 30px;
}
.ce-select-dropdown {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: #fff;
border: 1px solid #4a90e2;
border-radius: 3px;
margin-top: 2px;
z-index: 1000;
display: none;
max-height: 200px;
overflow-y: auto;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.ce-select-option {
padding: 10px 12px;
cursor: pointer;
transition: background-color 0.2s;
}
.ce-select-option:hover {
background-color: #e3f2fd;
}
.ce-textarea {
width: 100%;
min-height: 80px;
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 3px;
font-size: 14px;
font-family: inherit;
resize: vertical;
transition: border-color 0.3s;
}
.ce-textarea:focus {
border-color: #4a90e2;
outline: none;
}
.ce-desc-wrapper {
flex: 1;
}
.ce-format-buttons {
display: flex;
flex-direction: column;
}
.ce-button-row {
display: flex;
gap: 5px;
margin-bottom: 5px;
flex-wrap: wrap;
}
.ce-button-row:last-child {
margin-bottom: 8px;
}
.ce-btn {
display: inline-block;
padding: 10px 20px;
border: none;
border-radius: 3px;
font-size: 14px;
cursor: pointer;
text-align: center;
transition: all 0.3s;
user-select: none;
background-color: #95a5a6;
color: white;
}
.ce-btn:hover {
background-color: #7f8c8d;
transform: translateY(-1px);
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.ce-btn:active {
transform: translateY(0);
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.ce-btn-primary {
background-color: #4a90e2;
}
.ce-btn-primary:hover {
background-color: #357abd;
}
.ce-btn-danger {
background-color: #e74c3c;
}
.ce-btn-danger:hover {
background-color: #c0392b;
}
.ce-btn-small {
padding: 4px 8px;
font-size: 12px;
white-space: nowrap;
flex: 0 0 auto;
min-width: fit-content;
}
.ce-btn-blue {
background-color: #2196F3;
}
.ce-btn-blue:hover {
background-color: #1976D2;
}
.ce-btn-green {
background-color: #4CAF50;
}
.ce-btn-green:hover {
background-color: #45a049;
}
.ce-btn-lime {
background-color: #66BB6A;
}
.ce-btn-lime:hover {
background-color: #57a85c;
}
.ce-btn-orange {
background-color: #FF9800;
}
.ce-btn-orange:hover {
background-color: #F57C00;
}
.ce-btn-purple {
background-color: #9c27b0;
color: white;
}
.ce-btn-purple:hover {
background-color: #7b1fa2;
}
.ce-btn-blue-underline {
background-color: #1976d2;
color: white;
}
.ce-btn-blue-underline:hover {
background-color: #1565c0;
}
.ce-btn-green-underline {
background-color: #388e3c;
color: white;
}
.ce-btn-green-underline:hover {
background-color: #2e7d32;
}
.ce-buttons {
display: flex;
gap: 10px;
margin-top: 15px;
flex-wrap: wrap;
}
.ce-list-container {
border: 1px solid #ddd;
border-radius: 3px;
background-color: #fafafa;
margin-bottom: 15px;
}
.ce-list {
max-height: 200px;
overflow-y: auto;
}
.ce-list-item {
padding: 12px;
border-bottom: 1px solid #eee;
cursor: pointer;
transition: background-color 0.2s;
font-size: 14px;
}
.ce-list-item:last-child {
border-bottom: none;
}
.ce-list-item:hover {
background-color: #f5f5f5;
}
.ce-list-item.selected {
background-color: #e3f2fd;
color: #1976D2;
font-weight: bold;
}
.ce-hint {
font-size: 12px;
color: #666;
font-weight: normal;
}
.ce-list-item {
position: relative;
cursor: move;
}
.ce-list-item.ui-sortable-helper {
background: #e3f2fd;
border: 2px solid #2196F3;
}
.ce-list-item.ui-sortable-placeholder {
background: #f5f5f5;
border: 2px dashed #ccc;
visibility: visible !important;
}
.ce-drag-handle {
color: #999;
margin-right: 5px;
cursor: move;
}
.ce-code {
width: 100%;
height: 400px;
padding: 12px;
border: 1px solid #555;
border-radius: 3px;
background-color: #2b2b2b;
color: #a9b7c6;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 13px;
line-height: 1.5;
resize: vertical;
overflow: auto;
white-space: pre;
}
@media (max-width: 1200px) {
.ce-container {
flex-direction: column;
}
.ce-left, .ce-middle, .ce-right {
width: 100%;
}
}
.ce-list::-webkit-scrollbar,
.ce-code::-webkit-scrollbar,
.ce-select-dropdown::-webkit-scrollbar {
width: 8px;
}
.ce-list::-webkit-scrollbar-track,
.ce-code::-webkit-scrollbar-track,
.ce-select-dropdown::-webkit-scrollbar-track {
background: #f1f1f1;
}
.ce-list::-webkit-scrollbar-thumb,
.ce-code::-webkit-scrollbar-thumb,
.ce-select-dropdown::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
.ce-list::-webkit-scrollbar-thumb:hover,
.ce-code::-webkit-scrollbar-thumb:hover,
.ce-select-dropdown::-webkit-scrollbar-thumb:hover {
background: #666;
}
.ce-loading {
text-align: center;
padding: 20px;
color: #666;
}
.ce-error {
color: #e74c3c;
font-size: 12px;
margin-top: 5px;
}
.ce-success {
color: #27ae60;
font-size: 12px;
margin-top: 5px;
}
.dictionary-term {
display: inline-block;
text-decoration: underline;
cursor: help;
position: relative;
}
.btn {
display: inline-block;
padding: 6px 12px;
margin-bottom: 0;
font-size: 14px;
font-weight: 400;
line-height: 1.42857143;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-ms-touch-action: manipulation;
touch-action: manipulation;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
}
.btn-default {
color: #333;
background-color: #fff;
border-color: #ccc;
}
li.btn.cardSelectOption.selected {
color: #333!important;
background-color: #e6e6e6!important;
border-color: #adadad!important;
outline: 0;
-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}
@media only screen and (max-width: 600px) {
li.btn.cardSelectOption {
padding: 4px 8px;
font-size: 12px;
}
li.btn.cardSelectOption:hover {
color: #333;
background-color: #fff;
border-color: #adadad;
}
}