新增软件界面元素大小调整
This commit is contained in:
@@ -31,6 +31,7 @@ export default {
|
||||
outline: none;
|
||||
transition: background-color 0.2s ease;
|
||||
background-color: @color-btn-background;
|
||||
font-size: 14px;
|
||||
&[disabled] {
|
||||
opacity: .4;
|
||||
}
|
||||
|
||||
@@ -79,9 +79,9 @@ export default {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: @form-radius;
|
||||
margin-right: 5px;
|
||||
margin-right: 2px;
|
||||
cursor: pointer;
|
||||
padding: 4px 7px;
|
||||
padding: 6px 10px;
|
||||
color: @color-btn;
|
||||
outline: none;
|
||||
transition: background-color 0.2s ease;
|
||||
@@ -91,7 +91,7 @@ export default {
|
||||
}
|
||||
|
||||
svg {
|
||||
height: 1.2em;
|
||||
width: 18px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
@@ -88,6 +88,8 @@ export default {
|
||||
@import '../../assets/styles/layout.less';
|
||||
|
||||
.btns {
|
||||
line-height: 1;
|
||||
|
||||
button {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
@@ -104,7 +106,7 @@ export default {
|
||||
}
|
||||
|
||||
svg {
|
||||
height: 1.2em;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
@@ -83,6 +83,7 @@ export default {
|
||||
border-top-left-radius: 4px;
|
||||
color: @color-btn;
|
||||
cursor: pointer;
|
||||
.mixin-ellipsis-1;
|
||||
|
||||
&:hover {
|
||||
background-color: @color-theme_2-hover;
|
||||
@@ -116,6 +117,7 @@ export default {
|
||||
transition: background-color @transition-theme;
|
||||
background-color: @color-btn-background;
|
||||
box-sizing: border-box;
|
||||
.mixin-ellipsis-1;
|
||||
|
||||
&:hover {
|
||||
background-color: @color-theme_2-hover;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
div(:class="$style.icon")
|
||||
svg(version='1.1' xmlns='http://www.w3.org/2000/svg' xlink='http://www.w3.org/1999/xlink' height='100%' viewBox='0 0 451.847 451.847' space='preserve')
|
||||
use(xlink:href='#icon-down')
|
||||
div.scroll(:class="$style.list" :style="{ width: listStyle }" @click.stop ref="dom_list")
|
||||
div.scroll(:class="$style.list" :style="{ width: windowSizeActive.tabList }" @click.stop ref="dom_list")
|
||||
div(:class="$style.tag" @click="handleClick(null)") {{$t('material.tag_list.default')}}
|
||||
dl(v-for="type in list")
|
||||
dt(:class="$style.type") {{type.name}}
|
||||
@@ -28,11 +28,7 @@ export default {
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['setting', 'windowSizeList']),
|
||||
listStyle() {
|
||||
let info = this.windowSizeList.find(i => i.id === this.setting.windowSizeId) || this.windowSizeList[0]
|
||||
return info.tabList
|
||||
},
|
||||
...mapGetters(['setting', 'windowSizeActive']),
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -117,7 +113,7 @@ export default {
|
||||
margin-left: 7px;
|
||||
line-height: 0;
|
||||
svg {
|
||||
width: 1em;
|
||||
width: .9em;
|
||||
transition: transform .2s ease;
|
||||
transform: rotate(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user