123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313 |
- .layui-layout {
- > .layui-side {
- top: 50px;
- bottom: 0;
- overflow: auto
- }
- > .layui-body {
- top: 50px;
- bottom: 0;
- overflow: auto;
- > .layui-card {
- overflow: visible;
- position: absolute;
- min-width: 100%;
- min-height: 100%;
- box-shadow: none;
- background: none !important;
- > .layui-card-header {
- left: 200px;
- right: 0;
- z-index: 3;
- height: 50px;
- border: none;
- position: fixed;
- background: #fff;
- line-height: 50px;
- box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .22);
- }
- > .layui-card-header + .layui-card-body {
- top: 50px;
- }
- > .layui-card-body {
- z-index: 2;
- padding: 15px;
- > .layui-tab.layui-tab-card {
- border: none;
- box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .22);
- }
- > .layui-tab.layui-tab-card > .layui-tab-content.think-box-shadow {
- box-shadow: none;
- }
- }
- }
- }
- }
- /* 页面布局 - 头部 */
- .layui-header {
- height: 50px;
- background: #393D49 !important;
- [data-target-menu-type] {
- border-left: 1px solid rgba(0, 0, 0, 0);
- border-right: 1px solid rgba(0, 0, 0, .15);
- }
- .layui-layout-left, .layui-layout-right {
- margin: 0;
- padding: 0
- }
- .layui-logo {
- color: #fff;
- width: 199px;
- height: auto;
- font-size: 18px;
- line-height: 49px;
- border-right: 1px solid rgba(0, 0, 0, .15);
- border-bottom: 1px solid rgba(0, 0, 0, .15);
- sup {
- font-size: 9px;
- line-height: 9px;
- padding-left: 5px;
- }
- }
- .layui-nav-item {
- height: 50px;
- line-height: 50px;
- &.layui-this {
- background: #009688
- }
- > a {
- color: #fff !important
- }
- .layui-nav-child {
- top: 49px;
- border: 0;
- padding: 0;
- background: #eef;
- line-height: 45px;
- + a.layui-elip {
- padding-right: 35px;
- img {
- width: 20px;
- height: 20px;
- border-radius: 50%
- }
- span {
- padding-left: 5px;
- }
- }
- &.layui-show + a {
- background: #fff;
- span {
- color: #333
- }
- }
- dd {
- background: #fff;
- a {
- padding: 0;
- color: #333;
- margin-top: 1px;
- text-align: center;
- .layui-icon {
- margin-right: 5px;
- }
- }
- }
- }
- }
- .layui-nav-bar, .layui-nav-item:after {
- display: none !important
- }
- .layui-layout-right {
- > li > a {
- border-left: 1px solid rgba(0, 0, 0, .15);
- border-right: 1px solid rgba(0, 0, 0, 0);
- }
- }
- }
- /* 页面布局 - 左则 */
- .layui-layout {
- > .layui-side {
- .layui-nav-bar {
- display: none !important
- }
- .layui-side-scroll {
- width: 100% !important
- }
- .layui-nav-item {
- border-bottom: 1px solid rgba(0, 0, 0, .2);
- a {
- height: 45px;
- display: block;
- line-height: 45px;
- color: #fff !important;
- &:hover {
- background: hsla(0, 0%, 39%, .2) !important
- }
- .nav-icon, .nav-text {
- padding-left: 5px
- }
- }
- &ed {
- border-bottom: none !important;
- }
- }
- .layui-nav-tree-top a {
- height: 28px !important;
- line-height: 28px !important
- }
- }
- &.layui-layout-left-mini {
- > .layui-body {
- left: 50px;
- > .layui-card {
- > .layui-card-header {
- left: 50px;
- }
- }
- }
- > .layui-side {
- .layui-nav-more {
- display: none !important
- }
- .layui-nav-item {
- a {
- padding: 0
- }
- .nav-text {
- display: none
- }
- .nav-icon {
- display: inline-block !important;
- padding: 0 !important
- }
- .layui-nav-child {
- padding: 0;
- display: block !important;
- background-color: rgba(0, 0, 0, .3) !important
- }
- }
- &, .layui-nav-tree, .layui-side-scroll {
- width: 50px;
- 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-body {
- left: 0 !important;
- > .layui-card {
- > .layui-card-header {
- left: 0 !important;
- }
- }
- }
- > .layui-side {
- display: none
- }
- [data-target-menu-type] {
- display: none;
- }
- }
- }
- /* 下拉样式 */
- .layui-nav {
- .layui-nav-item {
- .layui-nav-more {
- top: 0;
- right: 15px;
- width: auto;
- height: auto;
- border: none;
- margin-top: 0;
- font-size: 14px;
- font-style: normal;
- font-family: "layui-icon" !important;
- -moz-osx-font-smoothing: grayscale;
- -webkit-font-smoothing: antialiased;
- &::before {
- content: "\e619"
- }
- }
- & .layui-nav-mored, &ed .layui-nav-more {
- border: none;
- margin-top: 0;
- transform: rotate(180deg);
- -o-transform: rotate(180deg);
- -ms-transform: rotate(180deg);
- -moz-transform: rotate(180deg);
- -webkit-transform: rotate(180deg)
- }
- }
- }
- .iframe-pagination {
- padding: 20px 20px 45px 20px;
- .pagination-container {
- left: 0;
- right: 0;
- bottom: 0;
- padding: 5px 20px;
- position: fixed;
- background: #fff;
- border-top: 1px solid #ddd;
- }
- }
|