Skip to content

Commit

Permalink
style: add hover style
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Jan 29, 2021
1 parent a491838 commit 2369365
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/demo/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
<el-container class="container">
<el-header
><el-tag>CrudTable</el-tag> 基于ProTable + GenerateForm + El-Dialog 二次封装 (有批量操作按钮时会默认开启多选模式)
<el-button @click="handleGenerateJson" icon="el-icon-tickets" type="warning" class="json-btn" size="small">
<el-button @click="handleGenerateJson" icon="el-icon-tickets" type="warning" class="json-btn" size="small">
当前表格json
</el-button>
</el-header>
Expand Down Expand Up @@ -211,7 +211,7 @@
<el-container class="container">
<el-header>
<el-tag>GenerateForm渲染图表示例</el-tag>
<el-button @click="handleGenerateJson('chart')" icon="el-icon-tickets" class="json-btn" type="warning" size="small">
<el-button @click="handleGenerateJson('chart')" icon="el-icon-tickets" class="json-btn" type="warning" size="small">
当前表单JSON
</el-button>
</el-header>
Expand Down Expand Up @@ -445,7 +445,7 @@ h3 {
background: white;
}
.top {
box-shadow: 0 8px 24px -2px ;
box-shadow: 0 8px 24px -2px;
padding: 0 8rem;
position: fixed;
display: flex;
Expand Down Expand Up @@ -518,9 +518,9 @@ h3 {
}
}

.json-btn{
float:right;
margin-top:12px;
.json-btn {
float: right;
margin-top: 12px;
}

.el-radio-group {
Expand Down Expand Up @@ -588,6 +588,11 @@ h3 {
color: #34538b;
opacity: 1;
}
&:hover {
color: #34538b;
opacity: 1;
font-weight: 500;
}
}
}
</style>

0 comments on commit 2369365

Please sign in to comment.