123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488 |
- @charset "UTF-8";
- @import "_config.less";
- // +----------------------------------------------------------------------
- // | ThinkAdmin
- // +----------------------------------------------------------------------
- // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
- // +----------------------------------------------------------------------
- // | 官方网站: https://thinkadmin.top
- // +----------------------------------------------------------------------
- // | 开源协议 ( https://mit-license.org )
- // +----------------------------------------------------------------------
- // | gitee 代码仓库:https://gitee.com/zoujingli/ThinkAdmin
- // | github 代码仓库:https://github.com/zoujingli/ThinkAdmin
- // +----------------------------------------------------------------------
- .layui-layout {
- > .layui-header {
- left: @LayoutLeftDefaSize;
- right: 0;
- color: @TopHeaderTextColor !important;
- height: @LayoutHeadTopHeight !important;
- z-index: 222;
- position: absolute;
- box-sizing: content-box;
- background: @TopHeaderBackColor !important;
- #NotSelect();
- > ul.layui-nav {
- margin: 0;
- padding: 0;
- white-space: nowrap;
- .layui-logo-hide {
- width: 50px !important;
- padding: 0 !important;
- display: none;
- text-align: center;
- .headimg {
- margin: 0;
- }
- }
- &.layui-layout-left {
- left: 0;
- }
- &.layui-layout-right {
- .headimg {
- width: 20px;
- height: 20px;
- }
- }
- .layui-nav-item > a {
- height: @LayoutHeadTopHeight;
- padding: 0 18px;
- overflow: hidden;
- line-height: @LayoutHeadTopHeight;
- &:hover {
- color: @TopHeaderNavHoverTextColor
- }
- .layui-icon {
- font-size: 16px;
- }
- }
- }
- .layui-nav-item {
- height: @LayoutHeadTopHeight;
- line-height: @LayoutHeadTopHeight;
- > a {
- color: @TopHeaderNavNormalTextColor !important;
- &:hover {
- color: @TopHeaderNavHoverTextColor !important;
- background: @TopHeaderNavHoverBackColor !important;
- }
- }
- &.layui-this > a {
- color: @TopHeaderNavActiveTextColor !important;
- background: @TopHeaderNavActiveBackColor !important;
- }
- .layui-nav-child {
- top: @LayoutHeadTopHeight;
- border: 0;
- padding: 0;
- line-height: 48px;
- border-radius: 0;
- &.layui-show + a.layui-elip {
- background: @TopHeaderNavHoverBackColor !important;
- }
- + a.layui-elip {
- padding-right: 35px;
- img {
- width: 20px;
- height: 20px;
- margin-right: 5px;
- border-radius: 50%;
- }
- }
- &.layui-show + a {
- background: #FFF;
- }
- dd {
- margin: 0;
- a {
- padding: 0;
- text-align: center;
- &:hover {
- background: @TopHeaderNavHoverBackColor !important;
- }
- .layui-icon {
- margin-right: 5px;
- }
- }
- }
- }
- }
- .layui-nav-bar,
- .layui-nav-item:after {
- display: none !important
- }
- }
- > .layui-side {
- top: 0;
- bottom: 0;
- width: @LayoutLeftDefaSize;
- z-index: 333;
- position: fixed;
- overflow: hidden;
- box-shadow: @ShadowBodyLeft;
- background-color: @LeftMainBackColor;
- #NotSelect();
- .layui-logo {
- color: #FFF;
- width: auto;
- height: @LayoutHeadTopHeight;
- display: block;
- overflow: hidden;
- position: relative;
- text-align: center;
- box-shadow: none !important;
- line-height: @LayoutHeadTopHeight;
- border-bottom: @BoxBottomLine;
- .headimg {
- margin: 0 10px 0 0;
- }
- .headtxt {
- font-size: 18px;
- font-weight: bold;
- sup {
- font-size: 9px;
- line-height: 9px;
- padding-left: 5px;
- }
- }
- }
- .layui-side-target {
- &:before {
- color: #FFF;
- width: 100%;
- height: 100%;
- display: block;
- content: "\e602";
- text-align: center;
- font-weight: 700;
- line-height: 30px;
- transform: rotate(180deg);
- #iconLayout(14px);
- }
- top: 50%;
- color: #fff;
- right: -2px;
- width: 15px;
- height: 30px;
- z-index: 334;
- cursor: pointer;
- display: none;
- position: absolute;
- margin-top: -15px;
- background: rgba(0, 0, 0, 0.4);
- border-top-left-radius: 100%;
- border-bottom-left-radius: 100%;
- }
- .layui-nav-bar {
- display: none !important;
- }
- .layui-side-scroll {
- top: @LayoutHeadTopHeight;
- bottom: 0;
- width: 100% !important;
- height: 100% !important;
- overflow: auto;
- position: absolute;
- .layui-side-icon {
- display: none;
- }
- .layui-side-tree {
- #defaScrollbar();
- }
- .layui-side-icon:after,
- .layui-side-tree:after {
- height: @LayoutHeadTopHeight;
- content: '';
- display: block;
- }
- .layui-nav-tree {
- width: @LayoutLeftDefaSize;
- background: none !important;
- > li.layui-this {
- background: @LeftMainNavActiveBackColor;
- > a {
- background: none !important;
- }
- }
- }
- .layui-nav-item {
- > a:hover {
- background-color: rgba(100, 100, 100, 0.1) !important;
- }
- .layui-nav-child {
- padding: 0;
- }
- dd, dd > a {
- background-color: @LeftMainNavNormalBackColor;
- }
- dd.layui-this {
- background: none !important;
- > a {
- color: @LeftMainNavActiveTextColor;
- background-color: @LeftMainNavActiveBackColor;
- }
- }
- a {
- height: @LayoutLeftNavHeight;
- display: block;
- line-height: @LayoutLeftNavHeight;
- padding-top: 0;
- padding-bottom: 0;
- color: @LeftMainNavNormalTextColor;
- &:hover {
- color: @LeftMainNavActiveTextColor;
- }
- .nav-icon {
- padding-right: 5px;
- }
- .layui-nav-more {
- padding: 0;
- }
- }
- }
- }
- }
- > .layui-body {
- top: @LayoutHeadTopHeight;
- left: @LayoutLeftDefaSize;
- padding: 0;
- z-index: 111;
- background: @BodyMainBackColor;
- > .think-page-loader {
- left: @LayoutLeftDefaSize
- }
- > .think-page-body > .layui-card {
- box-shadow: none !important;
- background: none !important;
- > .layui-card-body {
- top: 0;
- width: 100%;
- bottom: 0;
- padding: 0;
- z-index: 2;
- overflow: auto;
- position: absolute;
- box-sizing: border-box;
- > .layui-card-html {
- padding: 15px;
- min-width: 100%;
- position: absolute;
- box-sizing: border-box;
- #bodyLayout();
- }
- > .layui-card-table {
- padding: 15px;
- box-sizing: border-box;
- #bodyLayout();
- }
- > div > .layui-tab.layui-tab-card {
- border: none;
- box-shadow: @ShadowOuterMax;
- & > .layui-tab-content.think-box-shadow {
- box-shadow: none;
- }
- }
- }
- > .layui-card-line {
- top: 0;
- left: 0;
- right: 0;
- z-index: 3;
- position: absolute;
- box-shadow: @ShadowBodyTop;
- }
- > .layui-card-header {
- top: @LayoutHeadTopHeight;
- left: @LayoutLeftDefaSize;
- border-top: @BoxBottomLine;
- border-bottom: 1px solid #fff !important;
- #NotSelect();
- right: 0;
- height: @LayoutBodyHeadHeight;
- z-index: 4;
- padding: 0 15px;
- position: fixed;
- background: #FFF;
- box-sizing: border-box;
- line-height: @LayoutBodyHeadHeight;
- & + .layui-card-line {
- top: @LayoutBodyHeadHeight;
- & + .layui-card-body {
- top: @LayoutBodyHeadHeight;
- }
- }
- }
- }
- }
- }
- .layui-layout-left-mini {
- .layui-header {
- left: @LayoutLeftMiniSize !important;
- }
- > .layui-body {
- left: @LayoutLeftMiniSize !important;
- > .think-page-loader {
- left: @LayoutLeftMiniSize !important;
- }
- > .think-page-body > .layui-card > .layui-card-header {
- left: @LayoutLeftMiniSize !important;
- }
- }
- > .layui-side {
- .layui-logo {
- .headimg {
- margin: 0;
- display: inline-block;
- }
- .headtxt {
- display: none;
- }
- }
- .layui-nav-more {
- display: none !important
- }
- .layui-side-target:before {
- transform: rotate(0deg);
- }
- .layui-nav-item {
- a {
- padding: 0
- }
- .nav-text {
- display: none
- }
- .nav-icon {
- padding: 0 !important;
- font-size: 16px !important;
- display: inline-block !important;
- #defaTransition();
- }
- .layui-nav-child {
- padding: 0;
- display: block !important;
- background-color: rgba(0, 0, 0, .3) !important
- }
- }
- &,
- .layui-nav-tree,
- .layui-side-scroll,
- .layui-side-scroll .layui-nav-tree {
- width: @LayoutLeftMiniSize;
- text-align: center;
- }
- }
- [data-target-menu-type] i {
- display: inline-block;
- transform: rotate(180deg);
- -ms-transform: rotate(180deg);
- -webkit-transform: rotate(180deg);
- }
- }
- .layui-layout-left-hide {
- > .layui-header {
- left: 0 !important;
- .layui-logo-hide {
- display: inline-block !important;
- }
- }
- > .layui-side {
- display: none !important;
- }
- > .layui-body {
- left: 0 !important;
- > .think-page-loader {
- left: 0 !important;
- }
- > .think-page-body > .layui-card > .layui-card-header {
- left: 0 !important;
- }
- }
- [data-target-menu-type] {
- display: none !important;
- }
- }
|