样式属性值去除个位 0
This commit is contained in:
@@ -296,12 +296,12 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0.5rem;
|
top: .5rem;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 40rem;
|
max-width: 40rem;
|
||||||
height: 2.8rem;
|
height: 2.8rem;
|
||||||
border-radius: 0.25rem;
|
border-radius: .25rem;
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
@@ -327,7 +327,7 @@ export default {
|
|||||||
|
|
||||||
.btn-clear {
|
.btn-clear {
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
opacity: 0.5;
|
opacity: .5;
|
||||||
transition: opacity @transitionTime;
|
transition: opacity @transitionTime;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@@ -355,13 +355,13 @@ export default {
|
|||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
|
||||||
> label {
|
> label {
|
||||||
margin: 1em 0.5em;
|
margin: 1em .5em;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
width: 45%;
|
width: 45%;
|
||||||
min-width: 18em;
|
min-width: 18em;
|
||||||
border-bottom: solid 0.15rem transparent;
|
border-bottom: solid .15rem transparent;
|
||||||
border-radius: 0.25em;
|
border-radius: .25em;
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@@ -396,12 +396,12 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.fn-icon {
|
.fn-icon {
|
||||||
margin-right: 0.4em;
|
margin-right: .4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.desc {
|
.desc {
|
||||||
margin-left: 0.5em;
|
margin-left: .5em;
|
||||||
font-size: 0.8em;
|
font-size: .8em;
|
||||||
color: #CCC;
|
color: #CCC;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -415,7 +415,7 @@ export default {
|
|||||||
z-index: 100;
|
z-index: 100;
|
||||||
top: 0;
|
top: 0;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
border-radius: 0.25rem;
|
border-radius: .25rem;
|
||||||
line-height: @height;
|
line-height: @height;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
@@ -430,7 +430,7 @@ export default {
|
|||||||
width: 4.5rem;
|
width: 4.5rem;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
padding: 0 0.75rem;
|
padding: 0 .75rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -442,8 +442,8 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.link-tree {
|
.link-tree {
|
||||||
padding: 0.5rem;
|
padding: .5rem;
|
||||||
border-radius: 0.25rem;
|
border-radius: .25rem;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
||||||
/deep/ .el-tree-node__content {
|
/deep/ .el-tree-node__content {
|
||||||
@@ -460,8 +460,8 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.link {
|
.link {
|
||||||
margin-top: 0.2rem;
|
margin-top: .2rem;
|
||||||
opacity: 0.5;
|
opacity: .5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user