侧边栏样式调整完毕
This commit is contained in:
@@ -107,4 +107,16 @@ body {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.textShadow {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
text-shadow: 0 2px 0 var(--el-color-primary);
|
||||||
|
color: transparent;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.relative {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="sliderNav flex column">
|
<section class="sliderNav flex column">
|
||||||
<b class="mar-v16" v-text="$sys.title"/>
|
<b class="systemTitle mar-v16" v-text="$sys.title"/>
|
||||||
<div class="fill">
|
<div class="fill">
|
||||||
<div class="item" v-for="menu in menus" :key="menu.id">
|
<div class="item" v-for="menu in menus" :key="menu.id">
|
||||||
<el-row class="pad-h8" align="middle" @click="menu.expand=!menu.expand">
|
<el-row class="pad-h8" align="middle" @click="menu.expand=!menu.expand">
|
||||||
@@ -77,10 +77,13 @@ export default {
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
box-shadow: 2px 0 8px 4px rgba(15, 15, 21, 0.15);
|
box-shadow: 2px 0 8px 4px rgba(15, 15, 21, 0.15);
|
||||||
|
|
||||||
& > b {
|
.systemTitle {
|
||||||
font-size: 18px;
|
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
|
font-size: 20px;
|
||||||
|
width: 100%;
|
||||||
|
color: #eee;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
text-shadow: 1px 1px var(--el-color-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
|
|||||||
Reference in New Issue
Block a user