修改河南项目的管理后台ui和删除之前不需要的游戏
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
@import './cottagecore.scss';
|
||||
@import './variables.scss';
|
||||
@import './mixin.scss';
|
||||
@import './transition.scss';
|
||||
@@ -11,7 +12,8 @@ body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
background: #f3f7ff;
|
||||
background: $cc-linen;
|
||||
color: $cc-ink-2;
|
||||
}
|
||||
|
||||
label {
|
||||
@@ -21,7 +23,7 @@ label {
|
||||
html {
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
background: #f3f7ff;
|
||||
background: $cc-linen;
|
||||
}
|
||||
|
||||
#app {
|
||||
@@ -99,24 +101,24 @@ div:focus {
|
||||
}
|
||||
|
||||
aside {
|
||||
background: #eef1f6;
|
||||
background: $cc-linen-2;
|
||||
padding: 8px 24px;
|
||||
margin-bottom: 20px;
|
||||
border-radius: 2px;
|
||||
border-radius: 12px;
|
||||
display: block;
|
||||
line-height: 32px;
|
||||
font-size: 16px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
color: #2c3e50;
|
||||
color: $cc-ink;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
a {
|
||||
color: #337ab7;
|
||||
color: $cc-grass-text;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
color: rgb(32, 160, 255);
|
||||
color: $cc-grass-deep;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -125,12 +127,15 @@ aside {
|
||||
// 注意:这两张卡片都不能加 backdrop-filter / filter / transform,
|
||||
// 它们会创建层叠上下文,把 position:fixed 的 el-dialog 困在卡片里,
|
||||
// 而 Element UI 的 .v-modal 遮罩挂在 body 上(z-index:2000) → 弹窗被遮罩盖住(整页变黑、点一下才恢复)
|
||||
// Cottagecore 皮肤下也严格只用 background / border / box-shadow 三样做卡片。
|
||||
// 另:整页卡片刻意「弱化」——去掉描边、底色贴近页面底、阴影收薄。
|
||||
// 否则「页卡 > 区块卡 > 小卡」三层卡片套在一起,画面很碎(规范也禁止卡片嵌套)。
|
||||
.app-container {
|
||||
padding: 24px;
|
||||
background: rgba(255, 255, 255, 0.88);
|
||||
border: 1px solid rgba(255, 255, 255, 0.9);
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 8px 24px rgba(72, 105, 166, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
||||
background: #fdfaf5;
|
||||
border: 0;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 2px 10px rgba(139, 115, 85, 0.07);
|
||||
min-height: 500px;
|
||||
}
|
||||
|
||||
@@ -140,37 +145,34 @@ aside {
|
||||
position: relative;
|
||||
margin: 6px 10px 6px 0;
|
||||
padding: 10px 24px 24px;
|
||||
background: rgba(255, 255, 255, 0.88);
|
||||
border: 1px solid rgba(255, 255, 255, 0.9);
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 8px 24px rgba(72, 105, 166, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
||||
background: #fdfaf5;
|
||||
border: 0;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 2px 10px rgba(139, 115, 85, 0.07);
|
||||
min-height: calc(100vh - 150px);
|
||||
}
|
||||
|
||||
/* 只有「固定顶栏」时顶栏才脱离文档流,卡片才需要给它让位;
|
||||
fixedHeader=false(本项目默认)时顶栏自己占位置,再加边距就会多出一条空白 */
|
||||
fixedHeader=false(本项目默认)时顶栏自己占位置,再加边距就会多出一条空白。
|
||||
注意:标签页已并入顶栏,有/无标签页都只有一条 58px 的栏,不再区分 76 / 126px。 */
|
||||
.fixed-header + .page-card {
|
||||
margin-top: 76px;
|
||||
}
|
||||
|
||||
.hasTagsView .fixed-header + .page-card {
|
||||
margin-top: 126px;
|
||||
}
|
||||
|
||||
// 页面标题通用样式
|
||||
.page-header {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 16px;
|
||||
border-bottom: 1px solid rgba(115, 133, 166, 0.12);
|
||||
border-bottom: 1px solid $cc-line-2;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
margin: 0;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
color: #263654;
|
||||
color: $cc-ink;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
|
||||
@@ -178,19 +180,19 @@ aside {
|
||||
margin-left: 12px;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
color: #7385a6;
|
||||
|
||||
color: $cc-ink-3;
|
||||
|
||||
&::before {
|
||||
content: '·';
|
||||
margin-right: 8px;
|
||||
color: #b0bace;
|
||||
color: $cc-ink-4;
|
||||
}
|
||||
}
|
||||
|
||||
.page-description {
|
||||
margin-top: 8px;
|
||||
font-size: 14px;
|
||||
color: #7385a6;
|
||||
color: $cc-ink-3;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
@@ -215,7 +217,7 @@ aside {
|
||||
text-align: right;
|
||||
padding-right: 20px;
|
||||
transition: 600ms ease position;
|
||||
background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
|
||||
background: linear-gradient(90deg, $cc-grass-deep 0%, $cc-grass-deep 0%, $cc-grass 100%, $cc-grass 100%);
|
||||
|
||||
.subtitle {
|
||||
font-size: 20px;
|
||||
@@ -223,21 +225,21 @@ aside {
|
||||
}
|
||||
|
||||
&.draft {
|
||||
background: #d0d0d0;
|
||||
background: $cc-ink-4;
|
||||
}
|
||||
|
||||
&.deleted {
|
||||
background: #d0d0d0;
|
||||
background: $cc-ink-4;
|
||||
}
|
||||
}
|
||||
|
||||
.link-type,
|
||||
.link-type:focus {
|
||||
color: #337ab7;
|
||||
color: $cc-terra;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
color: rgb(32, 160, 255);
|
||||
color: $cc-grass-text;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user