use more less variables

This commit is contained in:
2017-08-31 02:10:12 +02:00
parent 6cd58726c5
commit baa73a32a3
6 changed files with 56 additions and 58 deletions

View File

@@ -40,7 +40,7 @@ export default {
<style lang="less">
@import "../mixins.less";
@barHeight: 40px;
@bar_height: 40px;
/*--------------------------------------------------------------
# Topbar (Sitename)
@@ -51,15 +51,15 @@ export default {
top: 0;
right: 0;
left: 0px;
background: @cms_bg_light;
background: @ui_bg;
color: white;
height: @barHeight;
height: @bar_height;
z-index: 1500;
&>.logo {
display: block;
width: 70px;
height: @barHeight;
height: @bar_height;
float: left;
position: relative;
@@ -85,7 +85,7 @@ export default {
&>.name {
float: left;
width: auto;
line-height: @barHeight;
line-height: @bar_height;
padding-left: 15px;
}
@@ -96,7 +96,7 @@ export default {
// height: 100%;
// font-size: 22px;
// margin-left: 40px;
// height: @barHeight;
// height: @bar_height;
// width: 40px;
// padding-top: 4px;
// cursor: pointer;
@@ -140,7 +140,7 @@ export default {
}
.image {
max-height: @barHeight - 8px;
max-height: @bar_height - 8px;
img{
width:70%; margin:0 auto; display:block;
}