style : 修改时间组件的圆角 以及 渐变下拉样式

This commit is contained in:
zhangyu
2021-03-04 15:19:09 +08:00
parent feee43dfec
commit af5c2bf452
3 changed files with 29 additions and 20 deletions

View File

@@ -352,7 +352,7 @@
<!--el-input__inner-->
</el-select>
<div class="color-show" style="display:inline-block;width: calc(100% - 72px);margin-left: -5px;border-radius: 0 5px 5px 0" @click="colorPickerClick('gradientColor')">
<div class="color-show-left" :style="{background:selection.pen.data.gradientColor,display:'inline-block','margin-top':'5px'}"></div>
<div class="color-show-left" :style="{background:selection.pen.data.gradientColor,display:'inline-block','margin-top':'5px','margin-left':'12px'}"></div>
<span class="color-text" style="vertical-align: text-bottom"> {{selection.pen.data.gradientColor}}</span>
<span class="color-arrows" style="top: 13px; right: 20px">
<i class="nz-icon nz-icon-arrow-down" v-if="$refs['gradientColor']&&!$refs['gradientColor'].showPicker"></i>
@@ -1700,13 +1700,15 @@
background: rgb(245, 247, 250);
}
.color-before-select .el-input__prefix{
background: #fff;
left: 1px;
color: #333;
/*color: #333;*/
width: 30px;
height: 29px;
top: 1px;
}
.color-before-select .el-select-dropdown__item{
text-align: center;
}
</style>
<style lang="scss" scoped>
.project-title {