1947 lines
39 KiB
CSS
1947 lines
39 KiB
CSS
/**
|
|
* Component.css - 通用UI组件样式
|
|
* 包含按钮、按钮组、输入框、选择框、复选框、单选框、标签页、进度条、
|
|
* 提示消息、标签、对话框、抽屉、加载层、折叠面板、轮播图、下拉菜单等组件
|
|
*/
|
|
|
|
/* ==================== 按钮基础样式 ==================== */
|
|
.GERPBtn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all var(--TransitionSpeed);
|
|
white-space: nowrap;
|
|
text-decoration: none;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.GERPBtn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.GERPBtn.Primary {
|
|
background: var(--PrimaryColor);
|
|
color: white;
|
|
}
|
|
|
|
.GERPBtn.Primary:hover {
|
|
background: var(--PrimaryHover);
|
|
}
|
|
|
|
.GERPBtn.Secondary {
|
|
background: var(--BackgroundColor);
|
|
color: var(--TextPrimary);
|
|
border: 1px solid var(--BorderColor);
|
|
}
|
|
|
|
.GERPBtn.Secondary:hover {
|
|
border-color: var(--PrimaryColor);
|
|
color: var(--PrimaryColor);
|
|
}
|
|
|
|
.GERPBtn.Success {
|
|
background: var(--SuccessColor);
|
|
color: white;
|
|
}
|
|
|
|
.GERPBtn.Danger {
|
|
background: var(--DangerColor);
|
|
color: white;
|
|
}
|
|
|
|
.GERPBtn.Warning {
|
|
background: var(--WarningColor);
|
|
color: white;
|
|
}
|
|
|
|
.GERPBtn.Text {
|
|
background: transparent;
|
|
color: var(--TextSecondary);
|
|
}
|
|
|
|
.GERPBtn.Text:hover {
|
|
background: var(--BackgroundColor);
|
|
color: var(--PrimaryColor);
|
|
}
|
|
|
|
.GERPBtn.Sm {
|
|
padding: 4px 12px;
|
|
font-size: 12px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.GERPBtn.Lg {
|
|
padding: 12px 24px;
|
|
font-size: 16px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
/* 按钮组 */
|
|
.GERPBtnGroup {
|
|
display: inline-flex;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--BorderColor);
|
|
}
|
|
|
|
.GERPBtnGroup .GERPBtn {
|
|
border-radius: 0;
|
|
border: none;
|
|
border-right: 1px solid var(--BorderColor);
|
|
}
|
|
|
|
.GERPBtnGroup .GERPBtn:last-child {
|
|
border-right: none;
|
|
}
|
|
|
|
/* ==================== 表单控件 ==================== */
|
|
.GERPInput, .GERPTextarea, .GERPSelect {
|
|
width: 100%;
|
|
padding: 10px 14px;
|
|
border: 1px solid var(--BorderColor);
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
color: var(--TextPrimary);
|
|
background: var(--CardBackground);
|
|
transition: all var(--TransitionSpeed);
|
|
}
|
|
|
|
.GERPInput:focus, .GERPTextarea:focus, .GERPSelect:focus,
|
|
.GERPInput:focus-within, .GERPTextarea:focus-within, .GERPSelect:focus-within {
|
|
outline: none;
|
|
border-color: var(--PrimaryColor);
|
|
box-shadow: 0 0 0 3px var(--PrimaryAlpha10);
|
|
}
|
|
|
|
.GERPInput::placeholder, .GERPTextarea::placeholder {
|
|
color: var(--TextMuted);
|
|
}
|
|
|
|
.GERPInput.Error {
|
|
border-color: var(--DangerColor);
|
|
}
|
|
|
|
.GERPInput.Error:focus {
|
|
box-shadow: 0 0 0 3px var(--DangerAlpha10);
|
|
}
|
|
|
|
.GERPInput.Success {
|
|
border-color: var(--SuccessColor);
|
|
}
|
|
|
|
.GERPInput.Success:focus {
|
|
box-shadow: 0 0 0 3px var(--SuccessAlpha10);
|
|
}
|
|
|
|
.GERPTextarea {
|
|
min-height: 100px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.GERPFormItem {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.GERPFormLabel {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--TextPrimary);
|
|
}
|
|
|
|
.GERPFormHint {
|
|
margin-top: 4px;
|
|
font-size: 12px;
|
|
color: var(--TextMuted);
|
|
}
|
|
|
|
.GERPFormError {
|
|
margin-top: 4px;
|
|
font-size: 12px;
|
|
color: var(--DangerColor);
|
|
}
|
|
|
|
/* ==================== 自定义选择框 ==================== */
|
|
.GERPSelectWrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.GERPSelect {
|
|
appearance: none;
|
|
padding-right: 36px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.GERPSelectIcon {
|
|
position: absolute;
|
|
right: 12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
color: var(--TextMuted);
|
|
}
|
|
|
|
/* ==================== 复选框 ==================== */
|
|
.GERPCheckbox {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
color: var(--TextPrimary);
|
|
}
|
|
|
|
.GERPCheckbox input {
|
|
display: none;
|
|
}
|
|
|
|
.GERPCheckboxBox {
|
|
width: 18px;
|
|
height: 18px;
|
|
border: 2px solid var(--BorderColor);
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all var(--TransitionSpeed);
|
|
}
|
|
|
|
.GERPCheckbox input:checked + .GERPCheckboxBox {
|
|
background: var(--PrimaryColor);
|
|
border-color: var(--PrimaryColor);
|
|
}
|
|
|
|
.GERPCheckbox input:checked + .GERPCheckboxBox::after {
|
|
content: '';
|
|
width: 10px;
|
|
height: 5px;
|
|
border-left: 2px solid white;
|
|
border-bottom: 2px solid white;
|
|
transform: rotate(-45deg);
|
|
margin-top: -2px;
|
|
}
|
|
|
|
/* 半选状态(横线) */
|
|
.GERPCheckbox input:indeterminate + .GERPCheckboxBox {
|
|
background: var(--PrimaryColor);
|
|
border-color: var(--PrimaryColor);
|
|
}
|
|
|
|
.GERPCheckbox input:indeterminate + .GERPCheckboxBox::after {
|
|
content: '';
|
|
width: 10px;
|
|
height: 0;
|
|
border-bottom: 2px solid white;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.GERPCheckbox input:disabled + .GERPCheckboxBox {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* ==================== 单选框 ==================== */
|
|
.GERPRadio {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
color: var(--TextPrimary);
|
|
}
|
|
|
|
.GERPRadio input {
|
|
display: none;
|
|
}
|
|
|
|
.GERPRadioBox {
|
|
width: 18px;
|
|
height: 18px;
|
|
border: 2px solid var(--BorderColor);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all var(--TransitionSpeed);
|
|
}
|
|
|
|
.GERPRadio input:checked + .GERPRadioBox {
|
|
border-color: var(--PrimaryColor);
|
|
}
|
|
|
|
.GERPRadio input:checked + .GERPRadioBox::after {
|
|
content: '';
|
|
width: 8px;
|
|
height: 8px;
|
|
background: var(--PrimaryColor);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* ==================== 选项卡 ==================== */
|
|
.GERPTabs {
|
|
display: flex;
|
|
border-bottom: 1px solid var(--BorderColor);
|
|
}
|
|
|
|
.GERPTab {
|
|
padding: 12px 20px;
|
|
font-size: 14px;
|
|
color: var(--TextSecondary);
|
|
cursor: pointer;
|
|
border-bottom: 2px solid transparent;
|
|
margin-bottom: -1px;
|
|
transition: all var(--TransitionSpeed);
|
|
}
|
|
|
|
.GERPTab:hover {
|
|
color: var(--PrimaryColor);
|
|
}
|
|
|
|
.GERPTab.Active {
|
|
color: var(--PrimaryColor);
|
|
border-bottom-color: var(--PrimaryColor);
|
|
}
|
|
|
|
.GERPTabContent {
|
|
padding: 20px 0;
|
|
}
|
|
|
|
/* ==================== 进度指示 ==================== */
|
|
.GERPProgress {
|
|
width: 100%;
|
|
height: 8px;
|
|
background: var(--BackgroundColor);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.GERPProgressBar {
|
|
height: 100%;
|
|
background: var(--PrimaryColor);
|
|
border-radius: 4px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.GERPProgress.Success .GERPProgressBar { background: var(--SuccessColor); }
|
|
.GERPProgress.Warning .GERPProgressBar { background: var(--WarningColor); }
|
|
.GERPProgress.Danger .GERPProgressBar { background: var(--DangerColor); }
|
|
|
|
.GERPProgressSm { height: 4px; }
|
|
.GERPProgressLg { height: 12px; }
|
|
|
|
/* ==================== 提示消息 ==================== */
|
|
.GERPAlert {
|
|
padding: 12px 16px;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.GERPAlert.Success {
|
|
background: var(--SuccessAlpha10);
|
|
color: var(--SuccessColor);
|
|
}
|
|
|
|
.GERPAlert.Warning {
|
|
background: var(--WarningAlpha10);
|
|
color: var(--WarningColor);
|
|
}
|
|
|
|
.GERPAlert.Danger {
|
|
background: var(--DangerAlpha10);
|
|
color: var(--DangerColor);
|
|
}
|
|
|
|
.GERPAlert.Info {
|
|
background: var(--PrimaryAlpha10);
|
|
color: var(--PrimaryColor);
|
|
}
|
|
|
|
/* ==================== 标签 ==================== */
|
|
.GERPTag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.GERPTag.Success { background: var(--SuccessAlpha10); color: var(--SuccessColor); }
|
|
.GERPTag.Warning { background: var(--WarningAlpha10); color: var(--WarningColor); }
|
|
.GERPTag.Danger { background: var(--DangerAlpha10); color: var(--DangerColor); }
|
|
.GERPTag.Info { background: var(--PrimaryAlpha10); color: var(--PrimaryColor); }
|
|
.GERPTag.Secondary { background: var(--BackgroundColor); color: var(--TextSecondary); }
|
|
|
|
/* ==================== 卡片组件 ==================== */
|
|
.GERPCard {
|
|
background: var(--CardBackground);
|
|
border-radius: 12px;
|
|
box-shadow: var(--ShadowSm);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.GERPCardHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 20px;
|
|
border-bottom: 1px solid var(--BorderColor);
|
|
}
|
|
|
|
.GERPCardTitle {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--TextPrimary);
|
|
}
|
|
|
|
.GERPCardBody {
|
|
padding: 20px;
|
|
}
|
|
|
|
.GERPCardFooter {
|
|
padding: 12px 20px;
|
|
border-top: 1px solid var(--BorderColor);
|
|
background: var(--BackgroundColor);
|
|
}
|
|
|
|
/* ==================== Dialog 对话框组件 ==================== */
|
|
.GERPDialog {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 10000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.15s ease;
|
|
}
|
|
|
|
.GERPDialog.Show {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.GERPDialogOverlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.32);
|
|
}
|
|
|
|
.GERPDialogContent {
|
|
position: relative;
|
|
background: var(--CardBackground);
|
|
border-radius: 8px;
|
|
border: 1px solid var(--BorderColor);
|
|
box-shadow: var(--WinShadow);
|
|
width: 90%;
|
|
max-width: 420px;
|
|
max-height: 85vh;
|
|
overflow: hidden;
|
|
transform: scale(0.96) translateY(8px);
|
|
transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s ease;
|
|
}
|
|
|
|
.GERPDialog.Show .GERPDialogContent {
|
|
transform: scale(1) translateY(0);
|
|
}
|
|
|
|
.GERPDialogHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 20px 14px;
|
|
cursor: move;
|
|
user-select: none;
|
|
}
|
|
|
|
/* 手机端对话框标题不显示拖动光标 */
|
|
@media (max-width: 768px) {
|
|
.GERPDialogHeader {
|
|
cursor: default;
|
|
}
|
|
}
|
|
|
|
.GERPDialogTitle {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--TextPrimary);
|
|
margin: 0;
|
|
}
|
|
|
|
.GERPDialogClose {
|
|
width: 28px;
|
|
height: 28px;
|
|
border: none;
|
|
background: transparent;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
color: var(--TextSecondary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: background-color 0.15s ease, color 0.15s ease;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.GERPDialogClose:hover {
|
|
background: var(--BackgroundColor);
|
|
color: var(--TextPrimary);
|
|
}
|
|
|
|
.GERPDialogBody {
|
|
padding: 0 20px 20px;
|
|
max-height: 60vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.GERPDialogFooter {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
padding: 12px 20px;
|
|
border-top: 1px solid var(--BorderColor);
|
|
background: var(--BackgroundColor);
|
|
}
|
|
|
|
/* ==================== Loading 加载层组件 ==================== */
|
|
.GERPLoading {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 10002;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.GERPLoadingSpinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 3px solid var(--BorderColor);
|
|
border-top-color: var(--PrimaryColor);
|
|
border-radius: 50%;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ==================== 空状态组件 ==================== */
|
|
.GERPEmpty {
|
|
text-align: center;
|
|
padding: 48px 20px;
|
|
color: var(--TextMuted);
|
|
}
|
|
|
|
.GERPEmptyIcon {
|
|
font-size: 48px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.GERPEmptyText {
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* ==================== 头像组件 ==================== */
|
|
.GERPAvatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: var(--PrimaryColor);
|
|
color: white;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.GERPAvatar.Sm { width: 32px; height: 32px; font-size: 12px; }
|
|
.GERPAvatar.Lg { width: 56px; height: 56px; font-size: 20px; }
|
|
.GERPAvatar.Xl { width: 80px; height: 80px; font-size: 28px; }
|
|
|
|
.GERPAvatarImg {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* ==================== 分割线组件 ==================== */
|
|
.GERPDivider {
|
|
height: 1px;
|
|
background: var(--BorderColor);
|
|
margin: 16px 0;
|
|
}
|
|
|
|
.GERPDivider.Vertical {
|
|
width: 1px;
|
|
height: auto;
|
|
margin: 0 16px;
|
|
}
|
|
|
|
/* ==================== 列表组件 ==================== */
|
|
.GERPList {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.GERPListItem {
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--BorderColor);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
transition: background-color var(--TransitionSpeed);
|
|
}
|
|
|
|
.GERPListItem:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.GERPListItem:hover {
|
|
background: var(--BackgroundColor);
|
|
}
|
|
|
|
/* ==================== 颜色类 ==================== */
|
|
.GERPTextPrimary { color: var(--TextPrimary); }
|
|
.GERPTextSecondary { color: var(--TextSecondary); }
|
|
.GERPTextMuted { color: var(--TextMuted); }
|
|
.GERPTextSuccess { color: var(--SuccessColor); }
|
|
.GERPTextWarning { color: var(--WarningColor); }
|
|
.GERPTextDanger { color: var(--DangerColor); }
|
|
.GERPTextPrimaryColor { color: var(--PrimaryColor); }
|
|
.GERPBgPrimary { background-color: var(--PrimaryColor); color: white; }
|
|
.GERPBgSuccess { background-color: var(--SuccessColor); color: white; }
|
|
.GERPBgWarning { background-color: var(--WarningColor); color: white; }
|
|
.GERPBgDanger { background-color: var(--DangerColor); color: white; }
|
|
.GERPBgSecondary { background-color: var(--BackgroundColor); }
|
|
|
|
/* ==================== 统计卡片组件 ==================== */
|
|
.GERPStatCard {
|
|
background: var(--CardBackground);
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
text-align: center;
|
|
border: 1px solid var(--BorderColor);
|
|
transition: all var(--TransitionSpeed);
|
|
}
|
|
|
|
.GERPStatCard:hover {
|
|
border-color: var(--PrimaryColor);
|
|
box-shadow: var(--ShadowMd);
|
|
}
|
|
|
|
.GERPStatIcon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 auto 12px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.GERPStatIcon.Blue { background: var(--PrimaryAlpha10); color: var(--PrimaryColor); }
|
|
.GERPStatIcon.Green { background: var(--SuccessAlpha10); color: var(--SuccessColor); }
|
|
.GERPStatIcon.Orange { background: var(--WarningAlpha10); color: var(--WarningColor); }
|
|
.GERPStatIcon.Red { background: var(--DangerAlpha10); color: var(--DangerColor); }
|
|
|
|
.GERPStatValue {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: var(--TextPrimary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.GERPStatLabel {
|
|
font-size: 13px;
|
|
color: var(--TextMuted);
|
|
}
|
|
|
|
.GERPStatChange {
|
|
font-size: 12px;
|
|
margin-top: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.GERPStatChange.Up { color: var(--SuccessColor); }
|
|
.GERPStatChange.Down { color: var(--DangerColor); }
|
|
|
|
/* ==================== 流程图节点组件 ==================== */
|
|
.GERPFlowNode {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
position: relative;
|
|
}
|
|
|
|
.GERPFlowBox {
|
|
padding: 16px 24px;
|
|
border-radius: 12px;
|
|
text-align: center;
|
|
min-width: 120px;
|
|
position: relative;
|
|
transition: all var(--TransitionSpeed);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.GERPFlowBox:hover {
|
|
/* transform: translateY(-4px); */
|
|
box-shadow: var(--ShadowLg);
|
|
}
|
|
|
|
.GERPFlowBox.Start {
|
|
background: linear-gradient(135deg, var(--SuccessColor), #059669);
|
|
color: white;
|
|
border-radius: 50px;
|
|
}
|
|
|
|
.GERPFlowBox.Process {
|
|
background: var(--CardBackground);
|
|
border: 2px solid var(--PrimaryColor);
|
|
color: var(--TextPrimary);
|
|
}
|
|
|
|
.GERPFlowBox.Decision {
|
|
background: linear-gradient(135deg, var(--WarningColor), #d97706);
|
|
color: white;
|
|
transform: rotate(45deg);
|
|
width: 80px;
|
|
height: 80px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.GERPFlowBox.Decision .GERPFlowContent {
|
|
transform: rotate(-45deg);
|
|
}
|
|
|
|
.GERPFlowBox.End {
|
|
background: linear-gradient(135deg, var(--DangerColor), #dc2626);
|
|
color: white;
|
|
border-radius: 50px;
|
|
}
|
|
|
|
.GERPFlowIcon {
|
|
font-size: 24px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.GERPFlowTitle {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.GERPFlowDesc {
|
|
font-size: 12px;
|
|
opacity: 0.8;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.GERPFlowArrow {
|
|
display: flex;
|
|
align-items: center;
|
|
color: var(--TextMuted);
|
|
font-size: 24px;
|
|
margin: 0 8px;
|
|
}
|
|
|
|
.GERPFlowArrow.Vertical {
|
|
flex-direction: column;
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.GERPFlowchart {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0;
|
|
min-width: 800px;
|
|
}
|
|
|
|
/* ==================== 倒计时组件 ==================== */
|
|
.GERPCountdown {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.GERPCountdownItem {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
min-width: 80px;
|
|
}
|
|
|
|
.GERPCountdownValue {
|
|
font-size: 48px;
|
|
font-weight: 700;
|
|
color: var(--TextPrimary);
|
|
line-height: 1;
|
|
font-family: 'Segoe UI', monospace;
|
|
}
|
|
|
|
.GERPCountdownLabel {
|
|
font-size: 12px;
|
|
color: var(--TextMuted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.GERPCountdownSeparator {
|
|
font-size: 48px;
|
|
color: var(--TextMuted);
|
|
opacity: 0.5;
|
|
animation: blink 1s infinite;
|
|
align-self: flex-start;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
@keyframes blink {
|
|
0%, 50% { opacity: 0.5; }
|
|
51%, 100% { opacity: 0.1; }
|
|
}
|
|
|
|
/* ==================== 趋势图表组件 ==================== */
|
|
.GERPTrendChart {
|
|
background: var(--BackgroundColor);
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.GERPTrendHeader {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
gap: 16px;
|
|
}
|
|
|
|
.GERPTrendTitle {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--TextPrimary);
|
|
flex: 1;
|
|
}
|
|
|
|
.GERPTrendMode {
|
|
display: flex;
|
|
background: var(--CardBackground);
|
|
border-radius: 6px;
|
|
padding: 4px;
|
|
border: 1px solid var(--BorderColor);
|
|
}
|
|
|
|
.GERPTrendModeBtn {
|
|
padding: 6px 14px;
|
|
border: none;
|
|
background: transparent;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
color: var(--TextSecondary);
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.GERPTrendModeBtn:hover {
|
|
color: var(--TextPrimary);
|
|
}
|
|
|
|
.GERPTrendModeBtn.Active {
|
|
background: var(--PrimaryColor);
|
|
color: white;
|
|
}
|
|
|
|
.GERPTrendStats {
|
|
display: flex;
|
|
gap: 24px;
|
|
}
|
|
|
|
.GERPTrendStat {
|
|
text-align: right;
|
|
}
|
|
|
|
.GERPTrendStatValue {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: var(--TextPrimary);
|
|
}
|
|
|
|
.GERPTrendStatValue.Up { color: var(--SuccessColor); }
|
|
.GERPTrendStatValue.Down { color: var(--DangerColor); }
|
|
|
|
.GERPTrendStatLabel {
|
|
font-size: 12px;
|
|
color: var(--TextMuted);
|
|
}
|
|
|
|
.GERPTrendStatChange {
|
|
font-size: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.GERPTrendStatChange.Up { color: var(--SuccessColor); }
|
|
.GERPTrendStatChange.Down { color: var(--DangerColor); }
|
|
|
|
.GERPTrendCanvas {
|
|
width: 100%;
|
|
height: 300px;
|
|
position: relative;
|
|
}
|
|
|
|
.GERPTrendCanvas canvas {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.GERPTrendLegend {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 24px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.GERPTrendLegendItem {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
color: var(--TextSecondary);
|
|
}
|
|
|
|
.GERPTrendLegendDot {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* ==================== 电竞主题组件 ==================== */
|
|
|
|
:root {
|
|
--EsportsPrimary: #ff6b35;
|
|
--EsportsSecondary: #00d4ff;
|
|
--EsportsAccent: #ff00ff;
|
|
--EsportsDark: #1a1a2e;
|
|
--EsportsGradient: linear-gradient(135deg, #ff6b35 0%, #ff00ff 100%);
|
|
}
|
|
|
|
.GERPEsportsBtn {
|
|
padding: 12px 24px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.GERPEsportsBtn.Primary {
|
|
background: var(--EsportsGradient);
|
|
color: white;
|
|
box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
|
|
}
|
|
|
|
.GERPEsportsBtn.Primary:hover {
|
|
box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
|
|
}
|
|
|
|
.GERPEsportsBtn.Primary:active {
|
|
transform: scale(0.98);
|
|
box-shadow: 0 2px 6px rgba(255, 107, 53, 0.25);
|
|
}
|
|
|
|
.GERPEsportsBtn.Secondary {
|
|
background: transparent;
|
|
color: var(--EsportsSecondary);
|
|
border: 2px solid var(--EsportsSecondary);
|
|
box-shadow: 0 4px 12px rgba(0, 212, 255, 0.25);
|
|
}
|
|
|
|
.GERPEsportsBtn.Secondary:hover {
|
|
background: rgba(0, 212, 255, 0.1);
|
|
box-shadow: 0 6px 20px rgba(0, 212, 255, 0.35);
|
|
}
|
|
|
|
.GERPEsportsBtn.Secondary:active {
|
|
transform: scale(0.98);
|
|
box-shadow: 0 2px 6px rgba(0, 212, 255, 0.15);
|
|
}
|
|
|
|
.GERPEsportsBtn.Danger {
|
|
background: linear-gradient(135deg, #ff3366 0%, #ff0055 100%);
|
|
color: white;
|
|
box-shadow: 0 4px 12px rgba(255, 51, 102, 0.35);
|
|
}
|
|
|
|
.GERPEsportsBtn.Danger:hover {
|
|
box-shadow: 0 6px 20px rgba(255, 51, 102, 0.45);
|
|
}
|
|
|
|
.GERPEsportsBtn.Danger:active {
|
|
transform: scale(0.98);
|
|
box-shadow: 0 2px 6px rgba(255, 51, 102, 0.25);
|
|
}
|
|
|
|
.GERPEsportsBtn.Glow {
|
|
animation: glowPulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes glowPulse {
|
|
0%, 100% {
|
|
filter: brightness(1);
|
|
}
|
|
50% {
|
|
filter: brightness(1.1);
|
|
}
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.GERPBreathingLight {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
background: var(--EsportsGradient);
|
|
box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
|
|
}
|
|
|
|
.GERPBreathingLight.Blue {
|
|
background: linear-gradient(135deg, #00d4ff 0%, #00a8e8 100%);
|
|
box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
|
|
}
|
|
|
|
.GERPBreathingLight.Purple {
|
|
background: linear-gradient(135deg, #ff00ff 0%, #e100e1 100%);
|
|
box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
|
|
}
|
|
|
|
.GERPBreathingLight.Sm { width: 40px; height: 40px; }
|
|
.GERPBreathingLight.Lg { width: 80px; height: 80px; }
|
|
|
|
.GERPPulseRing {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
border: 3px solid var(--EsportsPrimary);
|
|
position: relative;
|
|
}
|
|
|
|
.GERPPulseRing.Small {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.GERPPulseRing.Small {
|
|
border-color: var(--EsportsSecondary);
|
|
}
|
|
|
|
.GERPEsportsLoader {
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 3px solid rgba(255, 107, 53, 0.2);
|
|
border-top-color: var(--EsportsPrimary);
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
.GERPScanLine {
|
|
width: 200px;
|
|
height: 4px;
|
|
background: linear-gradient(90deg, transparent 0%, var(--EsportsPrimary) 50%, transparent 100%);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.GERPComboCounter {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 16px 24px;
|
|
background: linear-gradient(145deg, #1e1e3f 0%, #2d2d5a 100%);
|
|
border-radius: 12px;
|
|
border: 2px solid rgba(255, 107, 53, 0.3);
|
|
}
|
|
|
|
.GERPComboCounter.Active {
|
|
border-color: var(--EsportsPrimary);
|
|
box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
|
|
}
|
|
|
|
.GERPComboCount {
|
|
font-size: 36px;
|
|
font-weight: 700;
|
|
color: var(--EsportsPrimary);
|
|
text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
|
|
}
|
|
|
|
.GERPComboLabel {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.GERPDamageNumber {
|
|
position: absolute;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: white;
|
|
text-shadow: 0 2px 4px rgba(0,0,0,0.5);
|
|
pointer-events: none;
|
|
z-index: 1000;
|
|
white-space: nowrap;
|
|
display: block;
|
|
}
|
|
|
|
.GERPDamageNumber.Critical {
|
|
font-size: 32px;
|
|
color: #ff4444;
|
|
text-shadow: 0 0 10px rgba(255, 68, 68, 0.8);
|
|
}
|
|
|
|
.GERPDamageNumber.Heal {
|
|
color: #00ff88;
|
|
text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
|
|
}
|
|
|
|
.GERPNotificationBadge {
|
|
position: relative;
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 12px;
|
|
background: linear-gradient(145deg, #1e1e3f 0%, #2d2d5a 100%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20px;
|
|
color: var(--EsportsSecondary);
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.GERPNotificationBadge:hover {
|
|
box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
|
|
}
|
|
|
|
.GERPNotificationBadge.Chat {
|
|
color: var(--EsportsPrimary);
|
|
}
|
|
|
|
.GERPNotificationBadge.Chat:hover {
|
|
box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
|
|
}
|
|
|
|
.GERPNotificationPulse {
|
|
position: absolute;
|
|
top: -4px;
|
|
right: -4px;
|
|
min-width: 20px;
|
|
height: 20px;
|
|
padding: 0 6px;
|
|
background: var(--EsportsPrimary);
|
|
color: white;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.GERPAchievementToast {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 16px 20px;
|
|
background: linear-gradient(145deg, #1e1e3f 0%, #2d2d5a 100%);
|
|
border-radius: 12px;
|
|
border: 2px solid var(--EsportsPrimary);
|
|
box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
|
|
}
|
|
|
|
.GERPAchievementIcon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
background: var(--EsportsGradient);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20px;
|
|
color: white;
|
|
}
|
|
|
|
.GERPAchievementTitle {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--EsportsPrimary);
|
|
}
|
|
|
|
.GERPAchievementDesc {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.GERPShieldEffect {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
background: rgba(0, 212, 255, 0.1);
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(0, 212, 255, 0.3);
|
|
}
|
|
|
|
.GERPShieldIcon {
|
|
font-size: 20px;
|
|
color: var(--EsportsSecondary);
|
|
}
|
|
|
|
.GERPShieldBar {
|
|
width: 150px;
|
|
height: 8px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.GERPShieldFill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #00d4ff 0%, #00a8e8 100%);
|
|
border-radius: 3px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.GERPAlertBox {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 16px;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.GERPAlertBox.Warning {
|
|
background: rgba(255, 193, 7, 0.2);
|
|
color: #ffc107;
|
|
border: 1px solid rgba(255, 193, 7, 0.5);
|
|
}
|
|
|
|
.GERPAlertBox.Danger {
|
|
background: rgba(255, 68, 68, 0.2);
|
|
color: #ff4444;
|
|
border: 1px solid rgba(255, 68, 68, 0.5);
|
|
}
|
|
|
|
.GERPGameCard {
|
|
width: 280px;
|
|
background: linear-gradient(145deg, #1e1e3f 0%, #2d2d5a 100%);
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
transition: all 0.3s ease;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.GERPGameCard:hover {
|
|
box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
|
|
}
|
|
|
|
.GERPGameCardImage {
|
|
height: 160px;
|
|
background: var(--EsportsGradient);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 48px;
|
|
color: white;
|
|
}
|
|
|
|
.GERPGameCardContent {
|
|
padding: 16px;
|
|
}
|
|
|
|
.GERPGameCardTitle {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: white;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.GERPGameCardMeta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.GERPGameCardBadge {
|
|
padding: 4px 8px;
|
|
background: rgba(255, 107, 53, 0.2);
|
|
color: var(--EsportsPrimary);
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.GERPHealthBar {
|
|
width: 300px;
|
|
height: 24px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
border: 2px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.GERPHealthBarFill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #ff4444 0%, #ff8844 50%, #ffaa44 100%);
|
|
border-radius: 10px;
|
|
transition: width 0.3s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.GERPHealthBarFill::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 50%;
|
|
background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
|
|
border-radius: 10px 10px 0 0;
|
|
}
|
|
|
|
.GERPHealthBarText {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: white;
|
|
text-shadow: 0 1px 2px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.GERPManaBar {
|
|
width: 300px;
|
|
height: 16px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.GERPManaBarFill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #4444ff 0%, #00d4ff 100%);
|
|
border-radius: 6px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.GERPXpBar {
|
|
width: 100%;
|
|
height: 8px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.GERPXpBarFill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #ff00ff 0%, #ff6b35 100%);
|
|
border-radius: 3px;
|
|
transition: width 0.5s ease;
|
|
}
|
|
|
|
.GERPLevelBadge {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
background: var(--EsportsGradient);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-weight: 700;
|
|
box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
|
|
position: relative;
|
|
}
|
|
|
|
.GERPLevelBadge::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 3px;
|
|
border-radius: 50%;
|
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.GERPLevelBadge span {
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.GERPLevelBadge strong {
|
|
font-size: 24px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.GERPSkillIcon {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 12px;
|
|
background: linear-gradient(145deg, #2d2d5a 0%, #1e1e3f 100%);
|
|
border: 2px solid rgba(255, 255, 255, 0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 28px;
|
|
color: var(--EsportsSecondary);
|
|
position: relative;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.GERPSkillIcon:hover {
|
|
border-color: var(--EsportsSecondary);
|
|
box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.GERPSkillIcon.Cooldown {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.GERPSkillIcon.Cooldown::after {
|
|
content: attr(data-cooldown);
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
border-radius: 10px;
|
|
font-size: 14px;
|
|
color: white;
|
|
}
|
|
|
|
.GERPStatsPanel {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 16px;
|
|
padding: 20px;
|
|
background: linear-gradient(145deg, #1e1e3f 0%, #2d2d5a 100%);
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.GERPStatItem {
|
|
text-align: center;
|
|
}
|
|
|
|
.GERPStatValue {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: #FFF;
|
|
text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
|
|
}
|
|
|
|
.GERPStatLabel {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.GERPMatchTimer {
|
|
padding: 16px 32px;
|
|
background: var(--EsportsDark);
|
|
border-radius: 12px;
|
|
border: 2px solid var(--EsportsPrimary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.GERPMatchTimerIcon {
|
|
font-size: 24px;
|
|
color: var(--EsportsPrimary);
|
|
}
|
|
|
|
.GERPMatchTimerTime {
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
color: white;
|
|
font-family: 'Courier New', monospace;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.GERPMatchTimerLabel {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.GERPScoreBoard {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 24px;
|
|
padding: 20px 40px;
|
|
background: linear-gradient(145deg, #1e1e3f 0%, #2d2d5a 100%);
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.GERPTeamScore {
|
|
text-align: center;
|
|
}
|
|
|
|
.GERPTeamName {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.GERPTeamPoints {
|
|
font-size: 48px;
|
|
font-weight: 700;
|
|
color: white;
|
|
}
|
|
|
|
.GERPScoreDivider {
|
|
font-size: 24px;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
font-weight: 300;
|
|
}
|
|
|
|
.GERPKillFeed {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.GERPKillFeedItem {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 16px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-radius: 8px;
|
|
border-left: 3px solid var(--EsportsPrimary);
|
|
animation: slideIn 0.3s ease;
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(-20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.GERPKillFeedKiller {
|
|
color: var(--EsportsPrimary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.GERPKillFeedVictim {
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.GERPKillFeedWeapon {
|
|
color: var(--EsportsSecondary);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.GERPLeaderboard {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.GERPLeaderboardItem {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 8px;
|
|
margin-bottom: 8px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.GERPLeaderboardItem:hover {
|
|
background: rgba(255, 107, 53, 0.15);
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
.GERPLeaderboardItem:hover .GERPLeaderboardName {
|
|
color: #fff;
|
|
text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
|
|
}
|
|
|
|
.GERPLeaderboardItem:hover .GERPLeaderboardScore {
|
|
color: var(--EsportsPrimary);
|
|
text-shadow: 0 0 10px rgba(255, 107, 53, 0.4);
|
|
}
|
|
|
|
.GERPLeaderboardItem:hover .GERPLeaderboardRank.other {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.GERPLeaderboardRank {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.GERPLeaderboardRank.first {
|
|
background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
|
|
color: #1a1a2e;
|
|
}
|
|
|
|
.GERPLeaderboardRank.second {
|
|
background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
|
|
color: #1a1a2e;
|
|
}
|
|
|
|
.GERPLeaderboardRank.third {
|
|
background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
|
|
color: #1a1a2e;
|
|
}
|
|
|
|
.GERPLeaderboardRank.other {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.GERPLeaderboardName {
|
|
flex: 1;
|
|
color: white;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.GERPLeaderboardScore {
|
|
color: var(--EsportsPrimary);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.GERPColorPalette {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.GERPColorCard {
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
box-shadow: var(--ShadowMd);
|
|
transition: transform 0.3s ease;
|
|
min-width: 140px;
|
|
max-width: 180px;
|
|
width: 100%;
|
|
}
|
|
|
|
.GERPColorCard:hover {
|
|
transform: translateY(-4px);
|
|
}
|
|
|
|
.GERPColorPreview {
|
|
height: 80px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.GERPColorPreview i {
|
|
font-size: 24px;
|
|
color: white;
|
|
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.GERPColorInfo {
|
|
padding: 12px;
|
|
background: var(--CardBackground);
|
|
}
|
|
|
|
.GERPColorName {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--TextPrimary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.GERPColorHex {
|
|
font-size: 11px;
|
|
color: var(--TextMuted);
|
|
font-family: 'Courier New', monospace;
|
|
}
|
|
|
|
/* ==================== 环形进度组件 ==================== */
|
|
.GERPProgressRingGroup {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 40px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.GERPProgressRingItem {
|
|
text-align: center;
|
|
}
|
|
|
|
.GERPProgressRingLabel {
|
|
font-size: 14px;
|
|
color: var(--TextSecondary);
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.GERPProgressRingValue {
|
|
font-size: 13px;
|
|
color: var(--TextMuted);
|
|
}
|
|
|
|
/* ==================== 实体搜索选择器 ==================== */
|
|
.GERPEntityPicker {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.GERPEntityPickerInputWrap {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.GERPEntityPickerIcon {
|
|
position: absolute;
|
|
left: 10px;
|
|
color: var(--TextMuted);
|
|
pointer-events: none;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.GERPEntityPickerInput {
|
|
width: 100%;
|
|
padding: 8px 32px 8px 30px;
|
|
border: 1px solid var(--BorderColor);
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
background: var(--InputBackground);
|
|
color: var(--TextPrimary);
|
|
transition: border-color 0.2s, box-shadow 0.2s;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.GERPEntityPickerInput:focus {
|
|
outline: none;
|
|
border-color: var(--PrimaryColor);
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
|
|
}
|
|
|
|
.GERPEntityPickerInput::placeholder {
|
|
color: var(--TextMuted);
|
|
}
|
|
|
|
.GERPEntityPickerClear {
|
|
position: absolute;
|
|
right: 8px;
|
|
background: none;
|
|
border: none;
|
|
color: var(--TextMuted);
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
line-height: 1;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.GERPEntityPickerClear:hover {
|
|
color: var(--TextPrimary);
|
|
}
|
|
|
|
.GERPEntityPickerDropdown {
|
|
position: absolute;
|
|
top: calc(100% + 4px);
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--CardBackground);
|
|
border: 1px solid var(--BorderColor);
|
|
border-radius: 8px;
|
|
box-shadow: var(--ShadowMd);
|
|
z-index: 1000;
|
|
max-height: 280px;
|
|
overflow-y: auto;
|
|
display: none;
|
|
}
|
|
|
|
.GERPEntityPickerDropdown.Open {
|
|
display: block;
|
|
}
|
|
|
|
.GERPEntityPickerItem {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 10px 14px;
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.GERPEntityPickerItem:hover,
|
|
.GERPEntityPickerItem.Highlighted {
|
|
background: var(--HoverBackground);
|
|
}
|
|
|
|
.GERPEntityPickerItem:first-child {
|
|
border-radius: 7px 7px 0 0;
|
|
}
|
|
|
|
.GERPEntityPickerItem:last-child {
|
|
border-radius: 0 0 7px 7px;
|
|
}
|
|
|
|
.GERPEntityPickerItem:only-child {
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.GERPEntityPickerInfo {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.GERPEntityPickerName {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--TextPrimary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.GERPEntityPickerName strong {
|
|
color: var(--PrimaryColor) !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.GERPEntityPickerMeta {
|
|
font-size: 12px;
|
|
color: var(--TextSecondary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.GERPEntityPickerMeta strong {
|
|
color: var(--PrimaryColor) !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.GERPEntityPickerEmpty {
|
|
padding: 16px;
|
|
text-align: center;
|
|
color: var(--TextMuted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.GERPEntityPickerLoading {
|
|
padding: 12px;
|
|
text-align: center;
|
|
color: var(--TextMuted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.GERPEntityPickerSelected {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.GERPEntityPickerTag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 8px;
|
|
background: var(--PrimaryColor);
|
|
color: #fff;
|
|
border-radius: 6px;
|
|
font-size: 13px;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.GERPEntityPickerTagLabel {
|
|
max-width: 200px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.GERPEntityPickerTagRemove {
|
|
background: none;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
cursor: pointer;
|
|
padding: 0;
|
|
font-size: 11px;
|
|
line-height: 1;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.GERPEntityPickerTagRemove:hover {
|
|
color: #fff;
|
|
}
|