#wn() {
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
overflow: hidden;
|
}
|
|
#wnd(@row: 2) {
|
display: -webkit-box;
|
box-orient: vertical;
|
-webkit-box-orient: vertical;
|
line-clamp: @row;
|
-webkit-line-clamp: @row;
|
overflow: hidden;
|
}
|
|
#dbi() {
|
display: block;
|
width: 100%;
|
height: 100%;
|
}
|
|
#lhImg(@h) {
|
height: @h;
|
line-height: @h;
|
font-size: 0;
|
text-align: center;
|
}
|
|
#dibImg() {
|
display: inline-block;
|
vertical-align: middle;
|
max-height: 100%;
|
}
|
|
#pic(@h_w) {
|
position: relative;
|
height: 0;
|
padding-top: @h_w;
|
overflow: hidden;
|
}
|
|
#img() {
|
position: absolute;
|
top: 0;
|
left: 0;
|
display: block;
|
width: 100%;
|
height: 100%;
|
}
|
|
#img50() {
|
position: absolute;
|
top: 50%;
|
left: 50%;
|
transform: translate(-50%, -50%);
|
max-width: 100%;
|
display: block;
|
max-height: 100%;
|
}
|
|
#yq(@w) {
|
width: @w;
|
height: @w;
|
border-radius: 50%;
|
}
|
|
#bg(@left: center, @top: center) {
|
background-repeat: no-repeat;
|
background-position: @left @top;
|
background-size: cover;
|
}
|
|
.m-logo {
|
span {
|
font-size: 28px;
|
color: #fff;
|
}
|
|
img {
|
max-height: 46px;
|
}
|
}
|
|
.my-page.layui-layout-admin .layui-logo {
|
|
background-color: #131d27 !important;
|
box-shadow: none;
|
}
|
|
.my-page.layui-layout-admin .layui-header .layui-nav .layui-nav-item, .my-page.layui-layout-admin .layui-logo {
|
height: 75px;
|
line-height: 75px;
|
box-shadow: 0 3px 7px rgba(4, 0, 0, .14);
|
}
|
|
.my-page.layui-layout-admin .layui-logo,
|
.my-page .layui-side-menu .layui-nav,
|
.my-page .layui-side-menu .layui-side-scroll,
|
.my-page.layui-layout-admin .layui-side {
|
width: 287px;
|
}
|
|
.my-page {
|
.layadmin-pagetabs, &.layui-layout-admin .layui-body, &.layui-layout-admin .layui-footer, &.layui-layout-admin .layui-layout-left {
|
left: 287px;
|
}
|
|
.layui-side-menu .layui-nav {
|
margin-top: 75px;
|
}
|
|
&.layui-layout-admin .layui-header {
|
height: 75px;
|
background-color: #131d27;
|
border-bottom: none;
|
}
|
|
&.layui-layout-admin .layui-body {
|
top: 75px;
|
}
|
|
.layui-side-menu {
|
background-color: #131d27 !important;
|
}
|
|
.layui-layout-right {
|
right: 30px;
|
}
|
|
&.layui-layout-admin .layui-header .layui-nav-child {
|
top: 75px;
|
}
|
}
|
|
.m-boxb1 {
|
border: 1px solid #00ac52;
|
background-color: #000000;
|
min-height: 1000px;
|
|
.img {
|
max-width: 100%;
|
}
|
}
|
|
.scy_y {
|
height: 100%;
|
overflow-y: auto;
|
overflow-x: hidden;
|
}
|
|
.nav-btns {
|
overflow: hidden;
|
display: inline-block;
|
vertical-align: middle;
|
|
.btn {
|
float: left;
|
line-height: 44px;
|
font-size: 0;
|
border: 1px solid rgba(255, 255, 255, .16);
|
border-radius: 3px;
|
min-width: 145px;
|
margin: 0 10px;
|
transition: .4s;
|
text-align: center;
|
|
&.on,
|
&:hover {
|
background-color: #00ac52;
|
border-color: #00ac52;
|
|
.icon {
|
img {
|
display: none;
|
|
&:nth-child(2) {
|
display: inline-block;
|
}
|
}
|
}
|
}
|
|
.icon {
|
width: 30px;
|
|
img {
|
max-width: 24px;
|
|
&:nth-child(2) {
|
display: none;
|
}
|
}
|
}
|
|
.icon, img, .name {
|
display: inline-block;
|
vertical-align: middle;
|
}
|
|
.name {
|
font-size: 18px;
|
color: #fff;
|
}
|
}
|
}
|
|
.m-user {
|
.img {
|
float: left;
|
#yq(40px);
|
#bg();
|
margin-top: 17px;
|
margin-right: 10px;
|
}
|
|
color: #fff;
|
|
.name {
|
color: #fff;
|
overflow: hidden;
|
}
|
}
|
|
.badge-num {
|
display: block;
|
position: absolute;
|
font-size: 12px;
|
color: #fff;
|
border-radius: 100%;
|
background-color: #f91919;
|
line-height: 18px;
|
min-width: 18px;
|
top: 18px;
|
right: 10px;
|
text-align: center;
|
}
|
|
.my-page.layui-layout-admin .layui-header .layui-nav .layui-nav-more {
|
border-top-color: #fff;
|
}
|
|
.my-page.layui-layout-admin .layui-header .layui-nav .layui-nav-mored {
|
border-color: transparent transparent #fff;
|
}
|
|
.g-icon {
|
font-size: 0;
|
display: inline-block;
|
vertical-align: middle;
|
width: 35px;
|
|
&.m {
|
img {
|
display: inline-block;
|
vertical-align: middle;
|
|
&:nth-child(2) {
|
display: none;
|
}
|
}
|
}
|
}
|
|
.layui-nav-itemed {
|
.g-icon {
|
&.m {
|
img {
|
display: none;
|
|
&:nth-child(2) {
|
display: inline-block;
|
}
|
}
|
}
|
}
|
}
|
|
.layui-side-menu .layui-nav .layui-nav-item .g-subnav {
|
padding-left: 75px;
|
|
&.three {
|
padding-left: 105px;
|
}
|
}
|
|
.g-subnav {
|
background-color: #0f171f;
|
box-sizing: border-box;
|
}
|
|
.g-subnav.three {
|
background-color: #0c1219;
|
}
|
|
.snv .layui-nav-more {
|
width: 5px;
|
height: 5px;
|
border-left-width: 0px;
|
border-bottom-width: 0px;
|
border-color: #fff;
|
border-top: 1px solid #fff;
|
border-right: 1px solid #fff;
|
transform: rotate(45deg);
|
}
|
|
.snv.layui-nav .layui-nav-mored, .layui-nav-itemed > a .layui-nav-more {
|
border-color: #fff;
|
margin-top: -8px;
|
transform: rotate(135deg);
|
}
|
|
.snv .layui-nav-itemed .c1 {
|
color: #00ac52;
|
}
|
|
.snv .one {
|
background-color: rgba(0, 172, 82, .1);
|
}
|
|
.snv.layui-nav-tree .layui-nav-bar {
|
background-color: rgba(0, 172, 82, 1);
|
}
|
|
.m-boxb2 {
|
background-color: #1a2633;
|
min-height: 1000px;
|
}
|
|
.m-top_opt {
|
overflow: hidden;
|
margin: 0 20px;
|
line-height: 60px;
|
|
.left {
|
width: 70%;
|
float: left;
|
}
|
|
.right {
|
float: right;
|
}
|
|
.layui-icon {
|
color: #fff;
|
font-size: 24px;
|
}
|
|
.btn {
|
cursor: pointer;
|
}
|
|
.s {
|
float: left;
|
font-size: 16px;
|
color: #fff;
|
}
|
|
.sty {
|
float: left;
|
margin: 0 10px;
|
cursor: pointer;
|
opacity: .3;
|
transition: .4s;
|
font-size: 0;
|
|
img {
|
display: inline-block;
|
vertical-align: middle;
|
}
|
|
&.on {
|
opacity: 1;
|
}
|
}
|
}
|
|
.oh {
|
overflow: hidden;
|
}
|
|
.video-all {
|
.layui-card-body {
|
padding: 0;
|
#pic(58.14%);
|
}
|
|
.layui-card {
|
background-color: #000;
|
border-radius: 0;
|
box-shadow: 0 1px 1px 0 #353f47;
|
position: relative;
|
|
&:hover {
|
&::after {
|
content: "";
|
display: block;
|
width: 100%;
|
height: 100%;
|
border: 1px solid #00ac52;
|
pointer-events: none;
|
position: absolute;
|
top: 0;
|
left: 0;
|
z-index: 2;
|
}
|
}
|
}
|
}
|
|
.layui-side-menu .layui-nav .layui-nav-item .g-subnav.four {
|
// padding-left: 40px;
|
}
|
|
.g-subnav.four {
|
padding-right: 20px !important;
|
|
.dot {
|
display: inline-block;
|
vertical-align: middle;
|
#yq(6px);
|
background-color: #fff;
|
margin-right: 10px;
|
}
|
|
}
|
|
.layui-nav-tree .layui-nav-child .four dd.layui-this {
|
border-radius: 3px;
|
overflow: hidden;
|
}
|
|
.layui-nav-tree .layui-nav-child .four dd.layui-this a {
|
background-color: #00ac52 !important;
|
}
|
|
.snv.layui-nav-tree .layui-this, .snv.layui-nav-tree .layui-this > a, .snv.layui-nav-tree .layui-nav-child dd.layui-this, .snv.layui-nav-tree .layui-nav-child dd.layui-this a {
|
background-color: #00ac52 !important;
|
}
|
|
.m-menu {
|
visibility: hidden;
|
opacity: 0;
|
}
|
|
.layui-nav .layui-nav-item.sm-nav-btns {
|
display: none;
|
}
|
|
.tab-box {
|
display: none;
|
margin-right: 4px;
|
}
|
|
.video-all.other {
|
.layui-card-body {
|
padding-top: 40%;
|
}
|
|
}
|
|
@media screen and (max-width: 1500px) {
|
.nav-btns .btn {
|
margin: 0 5px;
|
min-width: 90px;
|
line-height: 40px;
|
}
|
|
.nav-btns .btn .icon {
|
width: 25px;
|
|
img {
|
max-width: 18px;
|
}
|
}
|
|
.nav-btns .btn .name {
|
font-size: 12px;
|
}
|
|
.layui-nav .layui-nav-item a {
|
// padding: 0 10px;
|
padding-left: 10px;
|
}
|
|
.my-page .layui-layout-right {
|
right: 10px;
|
}
|
|
|
}
|
|
@media screen and (max-width: 992px) {
|
.my-page .layadmin-pagetabs, .my-page.layui-layout-admin .layui-body, .my-page.layui-layout-admin .layui-footer, .my-page.layui-layout-admin .layui-layout-left {
|
left: 0;
|
}
|
|
.my-page.layui-layout-admin .layui-side {
|
transform: translate3d(-287px, 0, 0);
|
-webkit-transform: translate3d(-287px, 0, 0);
|
}
|
|
.layadmin-side-spread-sm .my-page .layadmin-pagetabs, .layadmin-side-spread-sm .my-page.layui-layout-admin .layui-body, .my-page.layui-layout-admin .layui-footer, .layadmin-side-spread-sm .my-page.layui-layout-admin .layui-layout-left,
|
.layadmin-side-spread-sm .my-page.layui-layout-admin .layui-body {
|
transform: translate3d(287px, 0, 0);
|
-webkit-transform: translate3d(287px, 0, 0);
|
}
|
|
.layadmin-side-spread-sm .my-page .layui-side {
|
transform: translate3d(0, 0, 0);
|
-webkit-transform: translate3d(0, 0, 0);
|
}
|
|
.m-menu {
|
opacity: 1;
|
visibility: visible;
|
|
.layui-icon {
|
color: #fff;
|
}
|
}
|
|
.my-page.layui-layout-admin .layui-header {
|
height: 50px;
|
}
|
|
.my-page.layui-layout-admin .layui-body {
|
top: 50px;
|
}
|
|
.my-page.layui-layout-admin .layui-header .layui-nav .layui-nav-item, .my-page.layui-layout-admin .layui-logo {
|
height: 50px;
|
line-height: 50px;
|
}
|
|
.my-page.layui-layout-admin .layui-layout-left .layui-nav-item {
|
margin: 0 10px;
|
}
|
|
.nav-btns {
|
display: none;
|
}
|
|
.layui-nav .layui-nav-item.sm-nav-btns {
|
display: inline-block;
|
}
|
|
.my-page.layui-layout-admin .layui-header .layui-nav-child {
|
top: 50px;
|
}
|
|
.my-page .layui-side-menu .layui-nav {
|
margin-top: 50px;
|
}
|
|
.m-user .img {
|
width: 30px;
|
height: 30px;
|
margin-top: 10px;
|
}
|
|
.my-page .notice {
|
width: 20px;
|
}
|
|
.badge-num {
|
top: 8px;
|
}
|
|
.m-logo img {
|
max-height: 35px;
|
}
|
|
.m-top_opt {
|
margin: 0 10px;
|
line-height: 40px;
|
}
|
|
.m-menu .layadmin-flexible {
|
margin: 0;
|
|
a {
|
padding-left: 0;
|
}
|
}
|
|
.m-top_opt .left {
|
float: none;
|
width: auto;
|
}
|
|
.m-top_opt .right {
|
display: none;
|
}
|
|
.m-top_opt .sty {
|
margin: 0 5px;
|
}
|
|
.m-top_opt .sty img {
|
max-width: 24px;
|
}
|
}
|