mirror of https://github.com/halo-dev/halo-admin
refactor: update logo (#366)
parent
ee614c188c
commit
a2e83e8e2f
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 5.5 KiB |
|
@ -1,8 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<a href="javascript:void(0);" @click="onLogoClick()">
|
<a href="javascript:void(0);" @click="onLogoClick()">
|
||||||
<h1 class="logo-title">Halo</h1>
|
<img src="/images/logo.svg" alt="Halo Logo" />
|
||||||
<h1 class="logo-sub-title" style="padding-left: 10px;">Dashboard</h1>
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -209,10 +209,6 @@ body {
|
||||||
flex: 0;
|
flex: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 58px;
|
line-height: 58px;
|
||||||
|
|
||||||
h1 {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -274,8 +270,8 @@ body {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
.logo.top-nav-header {
|
.logo.top-nav-header {
|
||||||
flex: 0 0 165px;
|
flex: 0 0 115px;
|
||||||
width: 165px;
|
width: 115px;
|
||||||
height: 64px;
|
height: 64px;
|
||||||
position: relative;
|
position: relative;
|
||||||
line-height: 64px;
|
line-height: 64px;
|
||||||
|
@ -286,17 +282,7 @@ body {
|
||||||
svg {
|
svg {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
height: 32px;
|
width: 56px;
|
||||||
width: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
color: #fff;
|
|
||||||
display: inline-block;
|
|
||||||
vertical-align: top;
|
|
||||||
font-size: 16px;
|
|
||||||
margin: 0;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -322,16 +308,6 @@ body {
|
||||||
|
|
||||||
&.light {
|
&.light {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
.header-index-wide {
|
|
||||||
.header-index-left {
|
|
||||||
.logo {
|
|
||||||
h1 {
|
|
||||||
color: #002140;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -406,25 +382,10 @@ body {
|
||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
|
|
||||||
img,
|
img,
|
||||||
svg,
|
svg {
|
||||||
h1 {
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
width: 64px;
|
||||||
|
|
||||||
img,
|
|
||||||
svg {
|
|
||||||
height: 32px;
|
|
||||||
width: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
color: #fff;
|
|
||||||
font-size: 20px;
|
|
||||||
margin: 0;
|
|
||||||
font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
|
|
||||||
font-weight: 600;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -435,10 +396,6 @@ body {
|
||||||
.logo {
|
.logo {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-shadow: 1px 1px 0px 0px #e8e8e8;
|
box-shadow: 1px 1px 0px 0px #e8e8e8;
|
||||||
|
|
||||||
h1 {
|
|
||||||
color: unset;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-menu-light {
|
.ant-menu-light {
|
||||||
|
@ -894,7 +851,7 @@ body {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
box-shadow: 0 0 10px #29d, 0 0 5px #29d;
|
box-shadow: 0 0 10px #29d, 0 0 5px #29d;
|
||||||
opacity: 1.0;
|
opacity: 1;
|
||||||
|
|
||||||
-webkit-transform: rotate(3deg) translate(0px, -4px);
|
-webkit-transform: rotate(3deg) translate(0px, -4px);
|
||||||
-ms-transform: rotate(3deg) translate(0px, -4px);
|
-ms-transform: rotate(3deg) translate(0px, -4px);
|
||||||
|
|
Loading…
Reference in New Issue