update css

pull/38/head
lin-xin 2017-03-04 11:15:23 +08:00
parent 8c2ddc63f5
commit cf6c149bfc
3 changed files with 11 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="header"> <div class="header">
后台管理系统 <div class="logo">后台管理系统</div>
<div class="user-info"> <div class="user-info">
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<span class="el-dropdown-link"> <span class="el-dropdown-link">
@ -38,7 +38,7 @@
.header { .header {
position: relative; position: relative;
box-sizing: border-box; box-sizing: border-box;
padding-left: 50px; /*padding-left: 50px;*/
width: 100%; width: 100%;
height: 70px; height: 70px;
font-size: 22px; font-size: 22px;
@ -46,7 +46,12 @@
color: #fff; color: #fff;
background-color: #242f42; background-color: #242f42;
} }
.header .logo{
float: left;
width:250px;
text-align: center;
background: #00ADF2;
}
.user-info { .user-info {
float: right; float: right;
padding-right: 50px; padding-right: 50px;
@ -57,7 +62,7 @@
position: relative; position: relative;
display: inline-block; display: inline-block;
padding-left: 50px; padding-left: 50px;
color: #fff; color: #03A9F4;
cursor: pointer; cursor: pointer;
vertical-align: middle; vertical-align: middle;
} }

View File

@ -37,7 +37,7 @@
.sidebar{ .sidebar{
display: block; display: block;
position: absolute; position: absolute;
width: 220px; width: 250px;
left: 0; left: 0;
top: 70px; top: 70px;
bottom:0; bottom:0;

View File

@ -11,7 +11,7 @@ a{text-decoration: none}
.content{ .content{
background: none repeat scroll 0 0 #fff; background: none repeat scroll 0 0 #fff;
position: absolute; position: absolute;
left: 220px; left: 250px;
right: 0; right: 0;
top: 70px; top: 70px;
bottom:0; bottom:0;