85 lines
5.1 KiB
Plaintext
85 lines
5.1 KiB
Plaintext
/* 全局 */
|
|
#app, body, html {width: 100%;height: 100%;background-color: @--color-background;font-size: 12px;}
|
|
a {color: #333;text-decoration: none;}
|
|
a:hover, a:focus {color: #000;text-decoration: none;}
|
|
a:link {text-decoration: none;}
|
|
a:-webkit-any-link {text-decoration: none;}
|
|
a,button,input,textarea{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing: border-box;outline:none !important; -webkit-appearance: none;}
|
|
* {margin: 0;padding: 0;box-sizing: border-box;outline: none;}
|
|
|
|
/* 全局滚动条样式 */
|
|
.scrollable {-webkit-overflow-scrolling: touch;}
|
|
::-webkit-scrollbar {width: 5px;height: 5px;}
|
|
::-webkit-scrollbar-thumb {background-color: rgba(50, 50, 50, 0.3);}
|
|
::-webkit-scrollbar-thumb:hover {background-color: rgba(50, 50, 50, 0.6);}
|
|
::-webkit-scrollbar-track {background-color: rgba(50, 50, 50, 0.1);}
|
|
::-webkit-scrollbar-track:hover {background-color: rgba(50, 50, 50, 0.2);}
|
|
|
|
/* 大布局样式 */
|
|
.aminui {display: flex;flex-flow: column;}
|
|
.aminui-wrapper {display: flex;flex:1;overflow: auto;}
|
|
|
|
/*布局设置*/
|
|
.layout-setting {position: fixed;width: 40px;height: 40px;border-radius: 3px 0 0 3px;bottom: 100px;right: 0px;z-index: 100;background: #409EFF;display: flex;flex-direction: column;align-items: center;justify-content: center;cursor: pointer;}
|
|
.layout-setting i {font-size: 18px;color: #fff;}
|
|
|
|
/* 头部 */
|
|
.adminui-header {height: 60px;background: #222b45;color: #fff;display: flex;justify-content:space-between;}
|
|
.adminui-header-left {display: flex;align-items: center;padding-left:20px;}
|
|
.adminui-header-right {display: flex;align-items: center;}
|
|
.adminui-header .logo-bar {font-size: 20px;font-weight: bold;display: flex;align-items: center;}
|
|
.adminui-header .logo-bar .logo {margin-right: 10px;width: 35px;height: 35px;}
|
|
.adminui-header .nav {display: flex;height: 100%;margin-left: 40px;}
|
|
.adminui-header .nav li {padding:0 10px;margin: 0 10px 0 0;font-size: 14px;color: rgba(255, 255, 255, 0.6);list-style: none;height: 100%;display: flex;align-items: center;cursor: pointer;}
|
|
.adminui-header .nav li i {margin-right: 5px;}
|
|
.adminui-header .nav li:hover {color: #fff;}
|
|
.adminui-header .nav li.active {background: rgba(255, 255, 255, 0.1);color: #fff;}
|
|
.adminui-header .user-bar .panel-item:hover {background: rgba(255, 255, 255, 0.1)!important;}
|
|
.adminui-header .user-bar .user label{color: #fff;}
|
|
|
|
/* 左侧菜单 */
|
|
.aminui-side-split {width:65px;flex-shrink:0;background: #222b45;}
|
|
.adminui-side-split-scroll {overflow: auto;overflow-x:hidden;height: 100%;}
|
|
.aminui-side-split li {cursor: pointer;width: 65px;height: 65px;color: #fff;text-align: center;display: flex;flex-direction: column;align-items: center;justify-content: center;}
|
|
.aminui-side-split li i {font-size: 18px;}
|
|
.aminui-side-split li p {margin-top:5px;}
|
|
.aminui-side-split li:hover {background: rgba(255, 255, 255, 0.1);}
|
|
.aminui-side-split li.active {background: @--color-primary;}
|
|
|
|
.adminui-side-split-scroll::-webkit-scrollbar-thumb {background-color: rgba(255, 255, 255, 0.4);border-radius:5px;}
|
|
.adminui-side-split-scroll::-webkit-scrollbar-thumb:hover {background-color: rgba(255, 255, 255, 0.5);}
|
|
.adminui-side-split-scroll::-webkit-scrollbar-track {background-color: rgba(255, 255, 255, 0);}
|
|
.adminui-side-split-scroll::-webkit-scrollbar-track:hover {background-color: rgba(255, 255, 255, 0);}
|
|
|
|
.aminui-side {display: flex;flex-flow: column;flex-shrink:0;width:210px;background: #fff;box-shadow: 2px 0 8px 0 rgba(29,35,41,.05);border-right: 1px solid #e6e6e6;transition:width 0.3s;}
|
|
.adminui-side-top {border-bottom: 1px solid #ebeef5;height:50px;line-height: 50px;}
|
|
.adminui-side-top h2 {padding:0 20px;font-size: 17px;color: #3c4a54;}
|
|
.adminui-side-scroll {overflow: auto;overflow-x:hidden;flex: 1;}
|
|
.aminui-side.isCollapse {width: 64px;}
|
|
|
|
/* 右侧内容 */
|
|
.aminui-body {flex: 1;display: flex;flex-flow: column;}
|
|
|
|
.adminui-topbar {height: 50px;border-bottom: 1px solid #ebeef5;background: #fff;box-shadow: 0 1px 4px rgba(0,21,41,.08);display: flex;justify-content:space-between;}
|
|
.adminui-topbar .left-panel {display: flex;align-items: center;}
|
|
.adminui-topbar .right-panel {display: flex;align-items: center;}
|
|
|
|
.right-panel-search {display: flex;align-items: center;}
|
|
.right-panel-search > * + * {margin-left:10px;}
|
|
|
|
.adminui-topbar .menu-collapse {height: 50px;width: 60px;padding: 0 20px;display: flex;align-items: center;cursor: pointer;}
|
|
.adminui-topbar .menu-collapse i {font-size: 16px;}
|
|
.adminui-topbar .menu-collapse:hover {background-image: linear-gradient(90deg, #d9ecff, transparent);}
|
|
|
|
.adminui-tags {height:35px;background: #fff;border-bottom: 1px solid #e6e6e6;box-shadow: 0 1px 4px rgba(0,21,41,.08);}
|
|
.adminui-tags li {cursor: pointer;display: inline-block;float: left;height:34px;line-height: 34px;}
|
|
.adminui-tags li a {display: inline-block;padding:0 10px;width:100%;height:100%;color: #999;text-decoration:none;}
|
|
.adminui-tags li i {margin-left:10px;padding:3px;}
|
|
.adminui-tags li i:hover {background: #ff5722;color: #fff;}
|
|
.adminui-tags li:hover {background: #ecf5ff;}
|
|
.adminui-tags li.active {background: @--color-primary;}
|
|
.adminui-tags li.active a {color: #fff;}
|
|
.adminui-tags li.sortable-ghost {opacity: 0;}
|
|
|
|
.adminui-main {overflow: auto;background-color: @--color-background;flex: 1;}
|