project init
This commit is contained in:
65
src/styles/animate/vue-transition.scss
Normal file
65
src/styles/animate/vue-transition.scss
Normal file
@@ -0,0 +1,65 @@
|
||||
// 过渡动画 横向渐变
|
||||
.fade-transverse-leave-active,
|
||||
.fade-transverse-enter-active {
|
||||
transition: all .5s;
|
||||
}
|
||||
|
||||
.fade-transverse-enter {
|
||||
opacity: 0;
|
||||
transform: translateX(-30px);
|
||||
}
|
||||
|
||||
.fade-transverse-leave-to {
|
||||
opacity: 0;
|
||||
transform: translateX(30px);
|
||||
}
|
||||
|
||||
// 过渡动画 缩放渐变
|
||||
.fade-scale-leave-active,
|
||||
.fade-scale-enter-active {
|
||||
transition: all .5s;
|
||||
}
|
||||
|
||||
.fade-scale-enter {
|
||||
opacity: 0;
|
||||
transform: scale(1.2);
|
||||
}
|
||||
|
||||
.fade-scale-leave-to {
|
||||
opacity: 0;
|
||||
transform: scale(0.8);
|
||||
}
|
||||
|
||||
@-webkit-keyframes animate-cloud {
|
||||
from {
|
||||
background-position: 600px 100%;
|
||||
}
|
||||
to {
|
||||
background-position: 0 100%;
|
||||
}
|
||||
}
|
||||
@-moz-keyframes animate-cloud {
|
||||
from {
|
||||
background-position: 600px 100%;
|
||||
}
|
||||
to {
|
||||
background-position: 0 100%;
|
||||
}
|
||||
}
|
||||
@-ms-keyframes animate-cloud {
|
||||
from {
|
||||
background-position: 600px 100%;
|
||||
}
|
||||
to {
|
||||
background-position: 0 100%;
|
||||
}
|
||||
}
|
||||
@-o-keyframes animate-cloud {
|
||||
from {
|
||||
background-position: 600px 100%;
|
||||
}
|
||||
to {
|
||||
background-position: 0 100%;
|
||||
}
|
||||
}
|
||||
|
||||
39
src/styles/common.scss
Normal file
39
src/styles/common.scss
Normal file
@@ -0,0 +1,39 @@
|
||||
// 全局变量
|
||||
@import './variables.scss';
|
||||
// ele样式覆盖
|
||||
@import './element-ui.scss';
|
||||
// 顶部右侧显示
|
||||
@import './top.scss';
|
||||
// 导航标签
|
||||
@import './tags.scss';
|
||||
// 工具类函数
|
||||
@import './mixin.scss';
|
||||
// 侧面导航栏
|
||||
@import './sidebar.scss';
|
||||
// 动画
|
||||
@import './animate/vue-transition.scss';
|
||||
//主题
|
||||
@import './theme/index.scss';
|
||||
//适配
|
||||
@import './media.scss';
|
||||
//通用配置
|
||||
@import './normalize.scss';
|
||||
|
||||
a{
|
||||
text-decoration: none;
|
||||
color:#333;
|
||||
}
|
||||
*{
|
||||
outline: none;
|
||||
}
|
||||
//滚动条样式
|
||||
@include scrollBar;
|
||||
|
||||
.drawer .avue-form {
|
||||
padding: 0 10px!important;
|
||||
}
|
||||
|
||||
//保证金弹框样式
|
||||
.el-message-box,.trialCheckBox {
|
||||
width: 500px;
|
||||
}
|
||||
82
src/styles/element-ui.scss
Normal file
82
src/styles/element-ui.scss
Normal file
@@ -0,0 +1,82 @@
|
||||
.el-dropdown-menu__item {
|
||||
font-size: 12px !important;
|
||||
line-height: 28px !important;
|
||||
}
|
||||
|
||||
.el-card.is-always-shadow {
|
||||
box-shadow: none;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.el-scrollbar__view {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.el-menu--horizontal {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
|
||||
.el-menu {
|
||||
border-right: none !important;
|
||||
}
|
||||
|
||||
.el-menu--display,
|
||||
.el-menu--display + .el-submenu__icon-arrow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.el-message__icon,
|
||||
.el-message__content {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.el-date-editor .el-range-input,
|
||||
.el-date-editor .el-range-separator {
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.el-dialog__wrapper {
|
||||
z-index: 2048;
|
||||
}
|
||||
|
||||
.el-col {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.el-main {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.el-dropdown-menu__item--divided:before, .el-menu, .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus, .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal > .el-submenu .el-submenu__title:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
.el-dropdown-menu__item--divided:before, .el-menu, .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus, .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal > .el-submenu .el-submenu__title:hover {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.el-card__header {
|
||||
padding: 6px 18px !important;
|
||||
}
|
||||
|
||||
.el-card__body {
|
||||
padding: 16px !important;
|
||||
}
|
||||
|
||||
.el-divider--horizontal {
|
||||
margin: 12px 0 !important;
|
||||
}
|
||||
|
||||
.el-drawer__body {
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.el-input--suffix .el-input__inner{
|
||||
padding-right: 10px;
|
||||
}
|
||||
240
src/styles/login.scss
Normal file
240
src/styles/login.scss
Normal file
@@ -0,0 +1,240 @@
|
||||
.login-container {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color:#fff;
|
||||
overflow: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
|
||||
.login-header{
|
||||
width: 100%;
|
||||
height: 70px;
|
||||
min-height: 70px;
|
||||
margin: 0 auto;
|
||||
box-sizing: border-box;
|
||||
padding: 0 40px;
|
||||
background-color:#fff;
|
||||
font-size: 16px;
|
||||
color:#CCCCCC;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
.login-logo{
|
||||
img{
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
.login-menu{
|
||||
li{
|
||||
font-size: 16px;
|
||||
padding: 0px;
|
||||
margin-left:40px;
|
||||
border-bottom: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.login-weaper {
|
||||
width: 100%;
|
||||
min-width: 1000px;
|
||||
flex: 1;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color:#f4f6fa;
|
||||
.login-content{
|
||||
width: 1000px;
|
||||
//height: 100%;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
.login-left {
|
||||
width: 530px;
|
||||
height: 600px;
|
||||
position: relative;
|
||||
.title {
|
||||
margin-bottom: 40px;
|
||||
text-align: center;
|
||||
color: #37384c;
|
||||
font-size: 32px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.img {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.login-border {
|
||||
width: calc(100% - 484px);
|
||||
min-height: 600px;
|
||||
box-sizing: border-box;
|
||||
padding: 50px 40px 0px 0;
|
||||
background-color: #fff;
|
||||
border-radius: 4px;
|
||||
.login-title {
|
||||
color: #23a8ff;
|
||||
font-size: 33px;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
.login-form {
|
||||
padding: 0 30px 0 30px;
|
||||
margin:0 auto;
|
||||
.el-form-item {
|
||||
height:60px;
|
||||
margin-bottom: 0px;
|
||||
color:#333;
|
||||
.el-form-item__content {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 14px;
|
||||
color:#333;
|
||||
|
||||
.el-input {
|
||||
height: 100%;
|
||||
font-size: 14px;
|
||||
position: relative;
|
||||
color:#333;
|
||||
.el-input__inner{
|
||||
height:auto;
|
||||
position: absolute;
|
||||
bottom:20px;
|
||||
left:10px;
|
||||
right:0px;
|
||||
line-height: normal;
|
||||
padding-bottom: 10px;
|
||||
background: #fff;
|
||||
border-radius: 0;
|
||||
font-size: 14px;
|
||||
color:#333;
|
||||
font-weight: normal;
|
||||
border: none;
|
||||
border-bottom: 1px solid rgb(235, 237, 242);
|
||||
}
|
||||
}
|
||||
|
||||
.el-form-item__error{
|
||||
font-size: 12px
|
||||
}
|
||||
|
||||
.login-code{
|
||||
position:absolute;
|
||||
right: 0px;
|
||||
bottom: 10px;
|
||||
height: 30px;
|
||||
img{
|
||||
width: auto;
|
||||
height: 30px;
|
||||
}
|
||||
.msg-text{
|
||||
cursor: pointer;
|
||||
color:#5D9DF8;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.forget-pwd{
|
||||
margin-top: 20px;
|
||||
text-align: right;
|
||||
.el-button{
|
||||
font-size: 14px;
|
||||
color: #5D9DF8;
|
||||
padding: 0px;
|
||||
}
|
||||
width: 80px;
|
||||
float: right;
|
||||
}
|
||||
.user-register{
|
||||
margin-top: 20px;
|
||||
width: 80px;
|
||||
float: left;
|
||||
text-align: left;
|
||||
.el-button{
|
||||
font-size: 14px;
|
||||
color: #5D9DF8;
|
||||
padding: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.login-submit {
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
background:#23a8ff;
|
||||
margin-top: 30px;
|
||||
border-radius: 8px;
|
||||
font-size: 18px;
|
||||
letter-spacing: 12px;
|
||||
color: #FFFFFF;
|
||||
cursor: pointer;
|
||||
}
|
||||
.register-submit{
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
background:#5D9DF8;
|
||||
margin-top: 24px;
|
||||
border-radius: 8px;
|
||||
font-size: 18px;
|
||||
letter-spacing: 12px;
|
||||
color: #FFFFFF;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.login-footer {
|
||||
width: 100%;
|
||||
//height: 70px;
|
||||
//min-height: 700px;
|
||||
//background-color:#fff;
|
||||
//font-size: 12px;
|
||||
//color:#CCCCCC;
|
||||
//display: flex;
|
||||
//justify-content: center;
|
||||
//align-items: center;
|
||||
}
|
||||
|
||||
input{
|
||||
box-shadow: 0 0 0 1000px white inset;
|
||||
}
|
||||
|
||||
}
|
||||
.registerContainer{
|
||||
margin-top: -20px;
|
||||
}
|
||||
.introduceWrapBox{
|
||||
margin: 0 auto;width: 1000px;
|
||||
.introduceBox{
|
||||
display: flex;
|
||||
background: #FFFFFF;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 40px;
|
||||
margin-bottom: 20px;
|
||||
h4{
|
||||
font-size: 24px;
|
||||
color: #333333;
|
||||
}
|
||||
p{
|
||||
font-size: 18px;
|
||||
color: #666666;
|
||||
letter-spacing: 0;
|
||||
text-align: justify;
|
||||
line-height: 36px;
|
||||
margin: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
260
src/styles/media.scss
Normal file
260
src/styles/media.scss
Normal file
@@ -0,0 +1,260 @@
|
||||
.avue-helpText,
|
||||
.avue-left,
|
||||
.avue-header,
|
||||
.avue-top,
|
||||
.avue-logo,
|
||||
.avue-layout
|
||||
.login-logo,
|
||||
.avue-main {
|
||||
transition: all .3s;
|
||||
}
|
||||
.el-table{
|
||||
min-height: 500px !important;
|
||||
}
|
||||
.seventy_table_m_height{
|
||||
min-height: 70px !important;
|
||||
}
|
||||
.avue-contail {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #f0f2f5;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
|
||||
.avue-left {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 240px;
|
||||
height: 100%;
|
||||
z-index: 1043;
|
||||
}
|
||||
|
||||
.avue--collapse {
|
||||
.avue-left,
|
||||
.avue-logo {
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
.avue-header {
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
.avue-main {
|
||||
width: calc(100% - 60px);
|
||||
left: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
.avue-header {
|
||||
padding-left: 240px;
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.avue-layout{
|
||||
//position: relative;
|
||||
//height:100%;
|
||||
}
|
||||
/* 帮助中心文字 */
|
||||
.avue-helpText-active{
|
||||
//width: 240px !important;
|
||||
}
|
||||
.avue-helpText{
|
||||
cursor: pointer;
|
||||
width: 200px;
|
||||
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
font-size: 14px;
|
||||
color: #fff;
|
||||
}
|
||||
.avue-helpText .text{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.avue-helpText .text img{
|
||||
margin-right: 16px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
/* 侧边栏 */
|
||||
.avue-right-sidebar{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
padding: 0;
|
||||
padding-bottom: 20px;
|
||||
//width:0;
|
||||
//width: 280px;
|
||||
//background-color: red;
|
||||
//width: calc(100% - 240px);
|
||||
height: calc(100% - 64px);
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
-webkit-transition: all 0.5s;
|
||||
transition: all 0.5s;
|
||||
background: #f0f2f5;
|
||||
z-index: 1026;
|
||||
}
|
||||
|
||||
.avue-main-active{
|
||||
width: calc(100% - 480px) !important;
|
||||
}
|
||||
.avue-main {
|
||||
position: absolute;
|
||||
left: 240px;
|
||||
padding: 0;
|
||||
padding-bottom: 20px;
|
||||
//width: calc(100% - 520px);
|
||||
width: calc(100% - 240px);
|
||||
height: calc(100% - 64px);
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
transition: all 0.5s;
|
||||
background: #f0f2f5;
|
||||
z-index: 1026;
|
||||
|
||||
&--fullscreen {
|
||||
width: 100%;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.avue-view {
|
||||
padding: 0 10px !important;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.avue-footer {
|
||||
margin: 0 auto;
|
||||
padding: 0 22px;
|
||||
width: 1300px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.logo {
|
||||
margin-left: -50px;
|
||||
}
|
||||
|
||||
.copyright {
|
||||
color: #666;
|
||||
line-height: 1.5;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.avue-shade {
|
||||
position: fixed;
|
||||
display: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background-color: rgba(0, 0, 0, .3);
|
||||
z-index: 1024;
|
||||
|
||||
&--show {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1000px) {
|
||||
$width: 240px;
|
||||
// ele的自适应
|
||||
.el-dialog,
|
||||
.el-message-box {
|
||||
width: 98% !important;
|
||||
}
|
||||
//登录页面
|
||||
.login-header,login-footer{
|
||||
width: 100%!important;
|
||||
}
|
||||
.login-container{
|
||||
width: 100%!important;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.login-left {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.login-weaper {
|
||||
width: 100%!important;
|
||||
height: auto!important;
|
||||
margin: 0 auto!important;
|
||||
min-width:auto!important;
|
||||
}
|
||||
.login-content{
|
||||
width: 96%!important;
|
||||
margin: 0 auto!important;
|
||||
}
|
||||
.login-border {
|
||||
width:100%!important;
|
||||
margin: auto!important;
|
||||
min-height: 420px!important;
|
||||
}
|
||||
.login-main {
|
||||
width: 100% !important;
|
||||
}
|
||||
//主框架
|
||||
.avue-tags {
|
||||
display: none;
|
||||
}
|
||||
.avue-right-sidebar{
|
||||
display: none;
|
||||
}
|
||||
.avue-left,
|
||||
.avue-logo {
|
||||
left: -$width;
|
||||
}
|
||||
.avue-main {
|
||||
left: 0;
|
||||
width: 100% !important;
|
||||
}
|
||||
.avue-header {
|
||||
margin-bottom: 15px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
.top-bar__item {
|
||||
display: none;
|
||||
}
|
||||
.avue--collapse {
|
||||
.avue-left,
|
||||
.avue-logo {
|
||||
width: $width;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.avue-main {
|
||||
left: $width;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.avue-header {
|
||||
padding: 0;
|
||||
transform: translate3d(230px, 0, 0);
|
||||
}
|
||||
|
||||
.avue-shade {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
//制度管理
|
||||
.rules-items{
|
||||
padding-bottom: 0!important;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
73
src/styles/mixin.scss
Normal file
73
src/styles/mixin.scss
Normal file
@@ -0,0 +1,73 @@
|
||||
@mixin clearfix {
|
||||
&:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin scrollBar {
|
||||
::-webkit-scrollbar-track-piece {
|
||||
background-color: transparent;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
background-color: transparent;
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
border-radius: 5px;
|
||||
background-color: hsla(220, 4%, 58%, .3);
|
||||
}
|
||||
}
|
||||
|
||||
@mixin radius($width, $size, $color) {
|
||||
width: $width;
|
||||
height: $width;
|
||||
line-height: $width;
|
||||
border-radius: $width;
|
||||
text-align: center;
|
||||
border-width: $size;
|
||||
border-style: solid;
|
||||
border-color: $color;
|
||||
}
|
||||
|
||||
@mixin relative {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@mixin pct($pct) {
|
||||
width: #{$pct};
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@mixin triangle($width, $height, $color, $direction) {
|
||||
$width: $width/2;
|
||||
$color-border-style: $height solid $color;
|
||||
$transparent-border-style: $width solid transparent;
|
||||
height: 0;
|
||||
width: 0;
|
||||
@if $direction==up {
|
||||
border-bottom: $color-border-style;
|
||||
border-left: $transparent-border-style;
|
||||
border-right: $transparent-border-style;
|
||||
}
|
||||
@else if $direction==right {
|
||||
border-left: $color-border-style;
|
||||
border-top: $transparent-border-style;
|
||||
border-bottom: $transparent-border-style;
|
||||
}
|
||||
@else if $direction==down {
|
||||
border-top: $color-border-style;
|
||||
border-left: $transparent-border-style;
|
||||
border-right: $transparent-border-style;
|
||||
}
|
||||
@else if $direction==left {
|
||||
border-right: $color-border-style;
|
||||
border-top: $transparent-border-style;
|
||||
border-bottom: $transparent-border-style;
|
||||
}
|
||||
}
|
||||
502
src/styles/normalize.scss
vendored
Normal file
502
src/styles/normalize.scss
vendored
Normal file
@@ -0,0 +1,502 @@
|
||||
/*! normalize.css v2.1.2 | MIT License | git.io/normalize */
|
||||
/*
|
||||
/*! 我就是自己看看,然后翻译下下,让大家看看 */
|
||||
|
||||
/* ==========================================================================
|
||||
HTML5 display definitions
|
||||
|
||||
HTML5 新增元素定义
|
||||
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Correct `block` display not defined in IE 8/9.
|
||||
*
|
||||
* 修正IE 8/9 中未定义的块级元素。
|
||||
*/
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
main,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct `inline-block` display not defined in IE 8/9.
|
||||
*
|
||||
* 修正在 IE 8/9 中未定义的 'inline-block' 元素。
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
video {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*
|
||||
* 阻止现在浏览器显示未定义 control 播放控件的 'audio' 声音元素。
|
||||
* 删除 IOS 5 设备中显示的多余的高度。
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*
|
||||
* 处理 IE 8/9 中不存在的样式。
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Base
|
||||
|
||||
基本设置
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*
|
||||
* 1. 设置默认字体类型为 sans-serif.
|
||||
* 2. 当用户放大或缩小页面时不改变字体大小。
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*
|
||||
* 删除默认边距。
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Links
|
||||
|
||||
链接
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address `outline` inconsistency between Chrome and other browsers.
|
||||
*
|
||||
* 处理 Chrome 与其它浏览器中关于 'outline' 的不一致性。
|
||||
*/
|
||||
|
||||
a:focus {
|
||||
outline: thin dotted;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability when focused and also mouse hovered in all browsers.
|
||||
*
|
||||
* 为所有浏览器改善当激活或悬停在元素上时元素内容的可读性。
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Typography
|
||||
|
||||
排版
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari 5, and Chrome.
|
||||
*
|
||||
* 处理多变的 'h1' 字体大小及其在 Firefox 4+, Safari 5, 及 Chrome时浏览器中的
|
||||
* 'section' 与 'article' 元素中的边距。
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9, Safari 5, and Chrome.
|
||||
*
|
||||
* 处理在 IE 8/9, Safari 5, 及 Chrome 没有的样式。
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
||||
*
|
||||
* 处理 Firefox 4+, Safari 5, 及 Chrome 中默认的 'bolder' 样式为 'bold'.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari 5 and Chrome.
|
||||
*
|
||||
* 处理在 Safari 5 和 Chrome 没有的样式。
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*
|
||||
* 处理 Firefox 与其它浏览器的差异。
|
||||
*/
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*
|
||||
* 处理在 IE 8/9 中没有的样式。
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct font family set oddly in Safari 5 and Chrome.
|
||||
*
|
||||
* 修正确 Safari 5 和 Chrome 中古怪的默认字体。
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, serif;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability of pre-formatted text in all browsers.
|
||||
*
|
||||
* 为所有浏览器改善预格式化文本的可读性。
|
||||
*/
|
||||
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set consistent quote types.
|
||||
*
|
||||
* 设置一致的引用格式。
|
||||
*/
|
||||
|
||||
q {
|
||||
quotes: "\201C" "\201D" "\2018" "\2019";
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*
|
||||
* 处理所有浏览器中字体大小的不一致性[译者注:原文直译为:处理所有
|
||||
* 浏览器中的不一致和多变的字体大小]。
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
||||
*
|
||||
* 阻止所有浏览器中 'sub' 和 'sup' 元素影响 'line-height'.
|
||||
* [译者注:就是不让上标与下标影响行高。]
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Embedded content
|
||||
|
||||
嵌入的内容
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove border when inside `a` element in IE 8/9.
|
||||
*
|
||||
* 删除 IE 8/9 中当内容位于 'a' 中出现的边框。
|
||||
*/
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct overflow displayed oddly in IE 9.
|
||||
*
|
||||
* 修正 IE 9 中显示古怪的溢出内容。
|
||||
*/
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Figures
|
||||
|
||||
Figure 图像/图表/代码等
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari 5.
|
||||
*
|
||||
* 处理在 IE 8/9 和 Safari 5 没有的边距。
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Define consistent border, margin, and padding.
|
||||
*
|
||||
* 定义一致的边框、外边距及内边距。
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
* 1. 修正在 IE 8/9 中没有继承的 'color'.
|
||||
*
|
||||
* [译者注:说是修正颜色嘛,可下面没有关于颜色的呀,这也行?求大神解释!]
|
||||
* 2. 去掉内边距,避免当用户清空表单组时认为出错了。
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct font family not being inherited in all browsers.
|
||||
* 2. Correct font size not being inherited in all browsers.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
||||
*
|
||||
* 1. 修正所有浏览器中未被继承的字体类型。
|
||||
* 2. 修正所有浏览器中未被继承的字体大小。
|
||||
* 3. 处理 Firefox 4+, Safari 5, 及 Chrome 中默认设置不同的外边距。
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
font-family: inherit; /* 1 */
|
||||
font-size: 100%; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*
|
||||
* 处理 Firefox 4+ 中的客户端样式表里使用 '!important' 设置的 'line-height'.
|
||||
*/
|
||||
|
||||
button,
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
|
||||
* Correct `select` style inheritance in Firefox 4+ and Opera.
|
||||
*
|
||||
* 处理 'button' 和 'select' 的 'text-transform' 继承的不一致性。
|
||||
* 所有其它表单控件元素不继承 'text-transform' 的值。
|
||||
* 修正 Chrome, Safari 5+, 及 IE 8+ 中 'button' 的继承样式。
|
||||
* 修正 Firefox 4+ 和 Opera 中 'select' 的继承样式。
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*
|
||||
* 1. 避免 Android 4.0.* 中 WebKit 的一个bug, 防止 'audio' 与 'video' 的播放控件失效。
|
||||
* 2. 修正 iOS 中不可点击的 'input' 样式。
|
||||
* 3. 改善图片类型的 'input' 等光标样式的可用性与一致性。
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*
|
||||
* 重置不可用元素的默认光标样式。
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9.
|
||||
* 2. Remove excess padding in IE 8/9.
|
||||
*
|
||||
* 1. 处理 IE 8/9 中设置为 'content-box' 的盒子模型。
|
||||
* 2. 删除 IE 8/9 中多余的内边距。
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
||||
* (include `-moz` to future-proof).
|
||||
*
|
||||
* 1. 处理 Safari 5 和 Chrome 中默认设置为 'appearance' 的 'searchfield'.
|
||||
* 2. 处理 Safari 5 和 Chrome 中默认设置为 'box-sizing' 的 'border-box'
|
||||
* (包括不会过时的 '-moz').
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari 5 and Chrome
|
||||
* on OS X.
|
||||
*
|
||||
* 删除 Safari 5 和 OS X 上的 Chrome 中的输入框上的内边距和搜索取消按钮。
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and border in Firefox 4+.
|
||||
*
|
||||
* 删除 Firefox 4+ button 与 input 上的内边距。
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Remove default vertical scrollbar in IE 8/9.
|
||||
* 2. Improve readability and alignment in all browsers.
|
||||
*
|
||||
* 1. 删除 IE8/9 中默认的垂直滚动条。
|
||||
* 2. 改善所有浏览器中的可读性并使文本垂直对齐。
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto; /* 1 */
|
||||
vertical-align: top; /* 2 */
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Tables
|
||||
|
||||
表格
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*
|
||||
* 删除表格里单元格间的间距。
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
91
src/styles/sidebar.scss
Normal file
91
src/styles/sidebar.scss
Normal file
@@ -0,0 +1,91 @@
|
||||
|
||||
|
||||
.el-menu--popup{
|
||||
.el-menu-item{
|
||||
background-color: #20222a;
|
||||
i,span{
|
||||
color:hsla(0,0%,100%,.7);
|
||||
}
|
||||
&:hover{
|
||||
i,span{
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
&.is-active {
|
||||
background-color: rgba(0,0,0,.8);
|
||||
&:before {
|
||||
content: '';
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 4px;
|
||||
background: #409eff;
|
||||
position: absolute;
|
||||
}
|
||||
i,span{
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.avue-sidebar {
|
||||
user-select: none;
|
||||
position: relative;
|
||||
padding-top: 60px;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
background-color: #20222a;
|
||||
transition: width .2s;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 2px 0 6px rgba(0,21,41,.35);
|
||||
.el-scrollbar__wrap {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
&--tip{
|
||||
width:90%;
|
||||
height: 140px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 5px;
|
||||
position: absolute;
|
||||
top:5px;
|
||||
left:5%;
|
||||
color:#ccc;
|
||||
z-index: 2;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
background-color: rgba(0,0,0,.4);
|
||||
}
|
||||
.el-menu-item,.el-submenu__title{
|
||||
i{
|
||||
margin-right: 10px;
|
||||
}
|
||||
i,span{
|
||||
color:hsla(0,0%,100%,.7);
|
||||
}
|
||||
&:hover{
|
||||
background: transparent;
|
||||
i,span{
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
&.is-active {
|
||||
&:before {
|
||||
content: '';
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 4px;
|
||||
background: #409eff;
|
||||
position: absolute;
|
||||
}
|
||||
background-color: rgba(0,0,0,.8);
|
||||
i,span{
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
92
src/styles/tags.scss
Normal file
92
src/styles/tags.scss
Normal file
@@ -0,0 +1,92 @@
|
||||
|
||||
|
||||
.avue-tags {
|
||||
user-select: none;
|
||||
position: relative;
|
||||
padding: 0 10px;
|
||||
margin-bottom: 10px;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
border-top: 1px solid #f6f6f6;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
|
||||
.el-tabs--card>.el-tabs__header {
|
||||
margin: 0;
|
||||
}
|
||||
.el-tabs--card>.el-tabs__header .el-tabs__nav,
|
||||
.el-tabs--card>.el-tabs__header .el-tabs__item,
|
||||
.el-tabs--card>.el-tabs__header {
|
||||
border: none;
|
||||
}
|
||||
.el-tabs--card>.el-tabs__header .el-tabs__item:first-child {
|
||||
border-left-width: 1px
|
||||
}
|
||||
.el-tabs--card>.el-tabs__header .el-tabs__item {
|
||||
margin: 0 3px;
|
||||
height: 40px;
|
||||
line-height:40px;
|
||||
font-size: 13px;
|
||||
font-weight: normal;
|
||||
color: #ccc;
|
||||
&.is-active {
|
||||
color: #409EFF;
|
||||
border-bottom: 3px solid #409EFF;
|
||||
}
|
||||
}
|
||||
.el-tabs__nav-prev,
|
||||
.el-tabs__nav-next {
|
||||
width: 20px;
|
||||
line-height: 34px;
|
||||
font-size: 18x;
|
||||
text-align: center;
|
||||
}
|
||||
&__box {
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
padding-right: 106px;
|
||||
width: 100%;
|
||||
&--close {
|
||||
.el-tabs__item {
|
||||
&:first-child {
|
||||
padding: 0 20px !important;
|
||||
.el-icon-close {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&__contentmenu{
|
||||
position: fixed;
|
||||
width:120px;
|
||||
background-color: #fff;
|
||||
z-index:1024;
|
||||
border-radius: 5px;
|
||||
box-shadow: 1px 2px 10px #ccc;
|
||||
.item{
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
padding: 8px 20px 8px 15px;
|
||||
color: #606266;
|
||||
&:first-child{
|
||||
border-top-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
}
|
||||
&:last-child{
|
||||
border-bottom-left-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
}
|
||||
&:hover{
|
||||
background-color: #409EFF;
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
&__menu {
|
||||
position: absolute !important;
|
||||
top: 3px;
|
||||
right: 0;
|
||||
padding: 1px 0 0 15px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
46
src/styles/theme/bule.scss
Normal file
46
src/styles/theme/bule.scss
Normal file
@@ -0,0 +1,46 @@
|
||||
.theme-bule{
|
||||
|
||||
.avue-header,.avue-logo{
|
||||
background: #004ca7;
|
||||
}
|
||||
.avue-sidebar{
|
||||
background: #004ca7;
|
||||
.el-menu-item.is-active, .el-submenu__title.is-active {
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
}
|
||||
.el-dropdown{
|
||||
color: #fff;
|
||||
}
|
||||
.avue-logo{
|
||||
.avue-logo_title{
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
.avue-breadcrumb{
|
||||
i{
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
|
||||
.top-bar__item {
|
||||
i {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
.avue-top{
|
||||
|
||||
.el-menu-item {
|
||||
i,
|
||||
span {
|
||||
color: #fff;
|
||||
}
|
||||
&:hover {
|
||||
i,
|
||||
span {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
146
src/styles/theme/cool.scss
Normal file
146
src/styles/theme/cool.scss
Normal file
@@ -0,0 +1,146 @@
|
||||
.theme-cool {
|
||||
.el-menu--popup{
|
||||
.el-menu-item{
|
||||
background-color: #fff;
|
||||
i,span{
|
||||
color:#666;
|
||||
}
|
||||
&:hover{
|
||||
i,span{
|
||||
color:#333;
|
||||
}
|
||||
}
|
||||
&.is-active {
|
||||
background-color: #409EFF;
|
||||
&:before {
|
||||
content: '';
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 4px;
|
||||
background: #409eff;
|
||||
position: absolute;
|
||||
}
|
||||
i,span{
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.avue-header{
|
||||
background: linear-gradient(120deg,#25aff3,#008ad3);
|
||||
}
|
||||
.avue-tags {
|
||||
padding: 0 3px;
|
||||
margin: 8px 0;
|
||||
box-shadow: none;
|
||||
background-color: transparent;
|
||||
.el-tabs__header .el-tabs__item{
|
||||
padding: 0 10px !important;
|
||||
background-color: #fff;
|
||||
margin-right: 5px;
|
||||
color: #909399;
|
||||
border-radius: 3px;
|
||||
height:30px;
|
||||
font-size: 12px;
|
||||
line-height: 30px;
|
||||
&.is-active {
|
||||
border: none;
|
||||
color:#008ad3;
|
||||
}
|
||||
}
|
||||
}
|
||||
.avue-logo{
|
||||
background: #fff;
|
||||
box-shadow: none;
|
||||
}
|
||||
.avue-sidebar--tip{
|
||||
background-color:transparent;
|
||||
color:#333;
|
||||
}
|
||||
.el-dropdown{
|
||||
color:#fff;
|
||||
}
|
||||
.avue-logo_title{
|
||||
font-weight: 400;
|
||||
color:#008ad3;
|
||||
}
|
||||
.logo_title,
|
||||
.avue-breadcrumb
|
||||
{
|
||||
color: #fff ;
|
||||
i {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
.avue-top{
|
||||
.el-menu-item {
|
||||
i,
|
||||
span {
|
||||
color: #fff ;
|
||||
}
|
||||
&:hover {
|
||||
i,
|
||||
span {
|
||||
color: #fff ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.avue-sidebar{
|
||||
box-shadow: 2px 0 6px rgba(0, 21, 41, 0.15);
|
||||
background-color: #fff;
|
||||
padding-top: 70px;
|
||||
.el-menu-item,.el-submenu__title{
|
||||
font-size: 13px;
|
||||
i,span{
|
||||
color:#000;
|
||||
}
|
||||
&:hover{
|
||||
background: transparent;
|
||||
i,span{
|
||||
color:#000;
|
||||
}
|
||||
}
|
||||
&.is-active {
|
||||
background-color: #e5f1fb;
|
||||
&::before{
|
||||
width: 0;
|
||||
}
|
||||
i,span{
|
||||
color: #25aff3;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.top-search {
|
||||
.el-input__inner{
|
||||
color: #333;
|
||||
}
|
||||
input::-webkit-input-placeholder,
|
||||
textarea::-webkit-input-placeholder {
|
||||
/* WebKit browsers */
|
||||
color: #fff;
|
||||
}
|
||||
input:-moz-placeholder,
|
||||
textarea:-moz-placeholder {
|
||||
/* Mozilla Firefox 4 to 18 */
|
||||
color: #fff;
|
||||
}
|
||||
input::-moz-placeholder,
|
||||
textarea::-moz-placeholder {
|
||||
/* Mozilla Firefox 19+ */
|
||||
color: #fff;
|
||||
}
|
||||
input:-ms-input-placeholder,
|
||||
textarea:-ms-input-placeholder {
|
||||
/* Internet Explorer 10+ */
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
.top-bar__item {
|
||||
i {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
57
src/styles/theme/d2.scss
Normal file
57
src/styles/theme/d2.scss
Normal file
@@ -0,0 +1,57 @@
|
||||
.theme-d2 {
|
||||
.avue-logo{
|
||||
color: #409EFF;
|
||||
background-color: #ebf1f6;
|
||||
box-shadow: none;
|
||||
.avue-logo_title{
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
.avue-top{
|
||||
background-color: #ebf1f6;
|
||||
box-shadow: none;
|
||||
}
|
||||
.avue-main{
|
||||
padding: 0 5px;
|
||||
}
|
||||
.avue-tags{
|
||||
margin-left: 6px;
|
||||
padding: 0;
|
||||
border: 1px solid #e4e7ed;
|
||||
border-radius: 3px;
|
||||
background-color: #ebf1f6;
|
||||
box-shadow: none;
|
||||
.el-tabs__item{
|
||||
border-left: 1px solid #cfd7e5 !important;
|
||||
margin: 0 !important;
|
||||
background-color: rgba(0,0,0,.03) !important;
|
||||
color: #606266 !important;
|
||||
font-size: 14px !important;
|
||||
font-weight: 500 !important;
|
||||
&:first-child{
|
||||
border-left: none !important;
|
||||
}
|
||||
}
|
||||
.is-active{
|
||||
border-bottom:1px solid #fff !important;
|
||||
background-color: #fff !important;
|
||||
color: #409EFF !important;
|
||||
}
|
||||
}
|
||||
.avue-sidebar{
|
||||
background-color: #ebf1f6;
|
||||
box-shadow: none;
|
||||
.el-menu-item,.el-submenu__title{
|
||||
i,span{
|
||||
color:#606266
|
||||
}
|
||||
&:hover,&.is-active{
|
||||
background: hsla(0,0%,100%,.5);
|
||||
i,span{
|
||||
color: #409EFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
45
src/styles/theme/hey.scss
Normal file
45
src/styles/theme/hey.scss
Normal file
@@ -0,0 +1,45 @@
|
||||
.theme-hey{
|
||||
.avue-sidebar{
|
||||
background-color: #fff;
|
||||
box-shadow: 0 1px 4px rgba(0,21,41,.08);
|
||||
.el-menu-item,.el-submenu__title{
|
||||
i,span{
|
||||
color: rgba(49,58,70,.8);
|
||||
}
|
||||
&:hover{
|
||||
background: transparent;
|
||||
i,span{
|
||||
color:#409eff;
|
||||
}
|
||||
}
|
||||
&.is-active {
|
||||
&:before {
|
||||
left:auto;
|
||||
right: 0 ;
|
||||
}
|
||||
background-color: #f0f6ff;
|
||||
i,span{
|
||||
color:#409eff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.avue-logo{
|
||||
background-color: #fff;
|
||||
box-shadow: none;
|
||||
.avue-logo_title{
|
||||
color:#409eff;
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
.avue-tags{
|
||||
background: #f3f6f8;
|
||||
.el-tabs__item{
|
||||
color: rgba(0,0,0,.65) !important;
|
||||
}
|
||||
.is-active{
|
||||
background-color: #fff;
|
||||
border-bottom: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
27
src/styles/theme/index.scss
Normal file
27
src/styles/theme/index.scss
Normal file
@@ -0,0 +1,27 @@
|
||||
// white
|
||||
@import './white.scss';
|
||||
|
||||
// star
|
||||
@import './star.scss';
|
||||
|
||||
// vip
|
||||
@import './vip.scss';
|
||||
|
||||
// d2
|
||||
@import './d2.scss';
|
||||
|
||||
// bule
|
||||
@import './bule.scss';
|
||||
|
||||
//iview
|
||||
@import './iview.scss';
|
||||
|
||||
//heyui
|
||||
@import './hey.scss';
|
||||
|
||||
|
||||
//lite
|
||||
@import './lte.scss';
|
||||
|
||||
//cool
|
||||
@import './cool.scss';
|
||||
76
src/styles/theme/iview.scss
Normal file
76
src/styles/theme/iview.scss
Normal file
@@ -0,0 +1,76 @@
|
||||
.theme-iview {
|
||||
.avue-logo{
|
||||
background: #001529;
|
||||
box-shadow: none;
|
||||
text-align: center;
|
||||
.avue-logo_title{
|
||||
padding: 5px 8px 8px 8px;
|
||||
border-top-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
border-bottom-left-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
font-size: 20px;
|
||||
color:#fff;
|
||||
font-weight: 500;
|
||||
display: inline;
|
||||
background-color: #409EFF;
|
||||
}
|
||||
}
|
||||
.avue-tags{
|
||||
padding: 3px 5px 5px 0;
|
||||
background: #f0f0f0;
|
||||
box-shadow: inset 0 0 3px 2px hsla(0,0%,39.2%,.1);
|
||||
.is-active{
|
||||
&:before{
|
||||
background: #409EFF !important;
|
||||
}
|
||||
}
|
||||
.el-tabs__item{
|
||||
padding: 0 15px !important;
|
||||
position: relative;
|
||||
height: 32px !important;
|
||||
line-height:32px !important;
|
||||
border: 1px solid #e8eaec!important;
|
||||
color: #515a6e!important;
|
||||
background: #fff!important;
|
||||
border-radius: 3px;
|
||||
&:before{
|
||||
content:'';
|
||||
display: inline-block;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
margin-right:10px;
|
||||
border-radius: 50%;
|
||||
background: #e8eaec;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.avue-sidebar{
|
||||
background: #001529;
|
||||
.el-menu-item{
|
||||
&.is-active {
|
||||
background-color: #000c17;
|
||||
&:before {
|
||||
display: none;
|
||||
}
|
||||
i,span{
|
||||
color:#409EFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
.el-submenu{
|
||||
.el-menu-item{
|
||||
&.is-active {
|
||||
background-color: #409EFF;
|
||||
&:before {
|
||||
display: none;
|
||||
}
|
||||
i,span{
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
36
src/styles/theme/lte.scss
Normal file
36
src/styles/theme/lte.scss
Normal file
@@ -0,0 +1,36 @@
|
||||
.theme-lte {
|
||||
.avue-logo{
|
||||
background-color: #409EFF;
|
||||
.avue-logo_title{
|
||||
font-weight: 500;
|
||||
font-size: 20px;
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
.avue-tags{
|
||||
.el-tabs__item{
|
||||
font-size: 12px !important;
|
||||
font-weight: 500 !important;
|
||||
}
|
||||
}
|
||||
.avue-sidebar{
|
||||
background-color: #263238;
|
||||
.el-menu-item,.el-submenu__title{
|
||||
i,span{
|
||||
color: #8a979e;
|
||||
}
|
||||
&:hover{
|
||||
background-color: #2b373d;
|
||||
}
|
||||
&.is-active {
|
||||
&:before {
|
||||
display: none;
|
||||
}
|
||||
background-color: #2b373d;
|
||||
i,span{
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
95
src/styles/theme/star.scss
Normal file
95
src/styles/theme/star.scss
Normal file
@@ -0,0 +1,95 @@
|
||||
.theme-star {
|
||||
.avue-main{
|
||||
background: transparent;
|
||||
}
|
||||
.avue-contail {
|
||||
background-image: url("/img/bg/star-squashed.jpg");
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.avue-logo{
|
||||
color: #fff;
|
||||
}
|
||||
.avue-header,
|
||||
.avue-logo,
|
||||
.tags-container {
|
||||
background-color: transparent;
|
||||
}
|
||||
.el-card,.error-page {
|
||||
opacity: .9;
|
||||
}
|
||||
.avue-tabs {
|
||||
padding: 0 20px ;
|
||||
}
|
||||
.avue-tags{
|
||||
background-color: transparent;
|
||||
border-top: none;
|
||||
}
|
||||
.avue-top{
|
||||
.avue-breadcrumb{
|
||||
color:#fff;
|
||||
}
|
||||
.el-menu-item{
|
||||
i,span{
|
||||
color:#fff;
|
||||
}
|
||||
&.is-active{
|
||||
background-color: rgba(0,0,0,.4)
|
||||
}
|
||||
}
|
||||
.el-dropdown{
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
.avue-sidebar{
|
||||
box-shadow: 2px 0 6px rgba(0, 21, 41, 0.15);
|
||||
background-color:transparent;
|
||||
.el-menu-item,.el-submenu__title{
|
||||
i,span{
|
||||
color:#fff
|
||||
}
|
||||
&:hover{
|
||||
background: transparent;
|
||||
i,span{
|
||||
color:#409EFF;
|
||||
}
|
||||
}
|
||||
&.is-active {
|
||||
background-color: rgba(0,0,0,.4);
|
||||
i,span{
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.top-search {
|
||||
.el-input__inner{
|
||||
color: #333;
|
||||
}
|
||||
input::-webkit-input-placeholder,
|
||||
textarea::-webkit-input-placeholder {
|
||||
/* WebKit browsers */
|
||||
color: #fff;
|
||||
}
|
||||
input:-moz-placeholder,
|
||||
textarea:-moz-placeholder {
|
||||
/* Mozilla Firefox 4 to 18 */
|
||||
color: #fff;
|
||||
}
|
||||
input::-moz-placeholder,
|
||||
textarea::-moz-placeholder {
|
||||
/* Mozilla Firefox 19+ */
|
||||
color: #fff;
|
||||
}
|
||||
input:-ms-input-placeholder,
|
||||
textarea:-ms-input-placeholder {
|
||||
/* Internet Explorer 10+ */
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
.top-bar__item {
|
||||
i {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
92
src/styles/theme/vip.scss
Normal file
92
src/styles/theme/vip.scss
Normal file
@@ -0,0 +1,92 @@
|
||||
.theme-vip {
|
||||
$color:rgba(246,202,157,.7);
|
||||
$is_active_color:#f6ca9d;
|
||||
.avue-header{
|
||||
background-color: #20222a;
|
||||
}
|
||||
.el-dropdown{
|
||||
color: $color;
|
||||
}
|
||||
.avue-logo{
|
||||
.avue-logo_title{
|
||||
background-image:-webkit-gradient(linear,left top,left bottom,from($color),to( $is_active_color));
|
||||
-webkit-background-clip:text;
|
||||
-webkit-text-fill-color:transparent;
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
.avue-breadcrumb{
|
||||
i{
|
||||
color: $color;
|
||||
}
|
||||
}
|
||||
.avue-sidebar{
|
||||
.el-menu-item{
|
||||
&.is-active {
|
||||
&:before {
|
||||
background: $color;
|
||||
}
|
||||
i,span{
|
||||
color: $is_active_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.avue-tags{
|
||||
.el-tabs__item{
|
||||
color: rgba(0, 0, 0, 0.4) !important;
|
||||
&.is-active{
|
||||
color:$is_active_color !important;
|
||||
border-color: $is_active_color !important;
|
||||
}
|
||||
&:before{
|
||||
background: $is_active_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
.top-search {
|
||||
.el-input__inner{
|
||||
color: $color;
|
||||
}
|
||||
input::-webkit-input-placeholder,
|
||||
textarea::-webkit-input-placeholder {
|
||||
/* WebKit browsers */
|
||||
color: $color;
|
||||
}
|
||||
input:-moz-placeholder,
|
||||
textarea:-moz-placeholder {
|
||||
/* Mozilla Firefox 4 to 18 */
|
||||
color: $color;
|
||||
}
|
||||
input::-moz-placeholder,
|
||||
textarea::-moz-placeholder {
|
||||
/* Mozilla Firefox 19+ */
|
||||
color: $color;
|
||||
}
|
||||
input:-ms-input-placeholder,
|
||||
textarea:-ms-input-placeholder {
|
||||
/* Internet Explorer 10+ */
|
||||
color: $color;
|
||||
}
|
||||
}
|
||||
.top-bar__item {
|
||||
i {
|
||||
color: $color;
|
||||
}
|
||||
}
|
||||
.avue-top{
|
||||
|
||||
.el-menu-item {
|
||||
i,
|
||||
span {
|
||||
color: $color;
|
||||
}
|
||||
&:hover {
|
||||
i,
|
||||
span {
|
||||
color:$is_active_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
120
src/styles/theme/white.scss
Normal file
120
src/styles/theme/white.scss
Normal file
@@ -0,0 +1,120 @@
|
||||
.theme-white {
|
||||
.el-menu--popup{
|
||||
.el-menu-item{
|
||||
background-color: #fff;
|
||||
i,span{
|
||||
color:#666;
|
||||
}
|
||||
&:hover{
|
||||
i,span{
|
||||
color:#333;
|
||||
}
|
||||
}
|
||||
&.is-active {
|
||||
background-color: #409EFF;
|
||||
&:before {
|
||||
content: '';
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 4px;
|
||||
background: #409eff;
|
||||
position: absolute;
|
||||
}
|
||||
i,span{
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.avue-header,
|
||||
.avue-logo,
|
||||
.tags-container {
|
||||
background-color: #409EFF;
|
||||
}
|
||||
.avue-sidebar--tip{
|
||||
background-color:transparent;
|
||||
color:#333;
|
||||
}
|
||||
.el-dropdown{
|
||||
color:#fff;
|
||||
}
|
||||
.avue-logo_title{
|
||||
font-weight: 400;
|
||||
color:#fff;
|
||||
}
|
||||
.logo_title,
|
||||
.avue-breadcrumb
|
||||
{
|
||||
color: #fff ;
|
||||
i {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
.avue-top{
|
||||
.el-menu-item {
|
||||
i,
|
||||
span {
|
||||
color: #fff ;
|
||||
}
|
||||
&:hover {
|
||||
i,
|
||||
span {
|
||||
color: #fff ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.avue-sidebar{
|
||||
box-shadow: 2px 0 6px rgba(0, 21, 41, 0.15);
|
||||
background-color: #fff;
|
||||
padding-top: 70px;
|
||||
.el-menu-item,.el-submenu__title{
|
||||
i,span{
|
||||
color:#666
|
||||
}
|
||||
&:hover{
|
||||
background: transparent;
|
||||
i,span{
|
||||
color:#1890ff;
|
||||
}
|
||||
}
|
||||
&.is-active {
|
||||
background-color: rgba(54,87,134,.1607843137254902);
|
||||
i,span{
|
||||
color:#1890ff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.top-search {
|
||||
.el-input__inner{
|
||||
color: #333;
|
||||
}
|
||||
input::-webkit-input-placeholder,
|
||||
textarea::-webkit-input-placeholder {
|
||||
/* WebKit browsers */
|
||||
color: #fff;
|
||||
}
|
||||
input:-moz-placeholder,
|
||||
textarea:-moz-placeholder {
|
||||
/* Mozilla Firefox 4 to 18 */
|
||||
color: #fff;
|
||||
}
|
||||
input::-moz-placeholder,
|
||||
textarea::-moz-placeholder {
|
||||
/* Mozilla Firefox 19+ */
|
||||
color: #fff;
|
||||
}
|
||||
input:-ms-input-placeholder,
|
||||
textarea:-ms-input-placeholder {
|
||||
/* Internet Explorer 10+ */
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
.top-bar__item {
|
||||
i {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
115
src/styles/top.scss
Normal file
115
src/styles/top.scss
Normal file
@@ -0,0 +1,115 @@
|
||||
$height:64px;
|
||||
.avue-top {
|
||||
padding: 0 20px;
|
||||
position: relative;
|
||||
flex: 1;
|
||||
//width: calc(100% - 280px);
|
||||
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
|
||||
color: rgba(0, 0, 0, .65);
|
||||
font-size: 28px;
|
||||
height: $height;
|
||||
line-height: $height;
|
||||
box-sizing: border-box;
|
||||
white-space: nowrap;
|
||||
.el-menu-item{
|
||||
i,span{
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
.el-menu--horizontal>.el-menu-item {
|
||||
height: $height;
|
||||
line-height: $height;
|
||||
}
|
||||
}
|
||||
.avue-breadcrumb {
|
||||
height: 100%;
|
||||
i{
|
||||
font-size: 30px !important;
|
||||
}
|
||||
&--active {
|
||||
transform:rotate(90deg);
|
||||
}
|
||||
}
|
||||
|
||||
.top-menu {
|
||||
box-sizing: border-box;
|
||||
.el-menu-item {
|
||||
padding: 0 10px;
|
||||
border:none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.top-search {
|
||||
line-height: $height;
|
||||
position: absolute !important;
|
||||
left: 20px;
|
||||
top:0;
|
||||
width: 400px !important;
|
||||
.el-input__inner {
|
||||
font-size: 13px;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.top-bar__img {
|
||||
margin: 0 8px 0 5px;
|
||||
padding: 2px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 100%;
|
||||
box-sizing: border-box;
|
||||
// border: 1px solid #eee;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.top-bar__name{
|
||||
font-size: 14px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.top-bar__left,
|
||||
.top-bar__right {
|
||||
height: $height;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
i{
|
||||
line-height: $height;
|
||||
}
|
||||
}
|
||||
|
||||
.top-bar__left {
|
||||
left: 20px;
|
||||
}
|
||||
|
||||
.top-bar__right {
|
||||
right: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.top-bar__item {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
height: $height;
|
||||
margin:0 10px;
|
||||
font-size: 16px;
|
||||
&--show {
|
||||
display: inline-block !important;
|
||||
}
|
||||
.el-badge__content.is-fixed{
|
||||
top:12px;
|
||||
right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.top-bar__title {
|
||||
height: 100%;
|
||||
padding:0 40px;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: inherit;
|
||||
font-weight: 400;
|
||||
}
|
||||
2
src/styles/variables.scss
Normal file
2
src/styles/variables.scss
Normal file
@@ -0,0 +1,2 @@
|
||||
//main
|
||||
$mainBg: #409eff;
|
||||
Reference in New Issue
Block a user