代码拉取完成,页面将自动刷新
html,
body {
font-family: 'PingFang SC', 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
font-size: 10px;
}
@cppr: 2;
@--theme:#101924;
@--themeLight:#0F2A32;
@--red: #e54d42;
@--orange: #f37b1d;
@--yellow: #fbbd08;
@--olive: #8dc63f;
@--green: #39b54a;
@--cyan: #1cbbb4;
@--blue: #0081ff;
@--purple: #6739b6;
@--mauve: #9c26b0;
@--pink: #e03997;
@--brown: #a5673f;
@--grey: #8799a3;
@--black: #333333;
@--darkGray: #666666;
@--gray: #aaaaaa;
@--mainBlack:#1B083F;
@--ghostWhite: #f1f1f1;
@--white: #ffffff;
/* 浅色 */
@--redLight: #fadbd9;
@--orangeLight: #fde6d2;
@--yellowLight: #fef2ce;
@--oliveLight: #e8f4d9;
@--greenLight: #d7f0db;
@--cyanLight: #d2f1f0;
@--blueLight: #cce6ff;
@--purpleLight: #e1d7f0;
@--mauveLight: #ebd4ef;
@--pinkLight: #f9d7ea;
@--brownLight: #ede1d9;
@--greyLight: #e7ebed;
/* 渐变色 */
@--gradualRed: linear-gradient(45deg, #f43f3b, #ec008c);
@--gradualOrange: linear-gradient(45deg, #ff9700, #ed1c24);
@--gradualGreen: linear-gradient(45deg, #39b54a, #8dc63f);
@--gradualPurple: linear-gradient(45deg, #9000ff, #5e00ff);
@--gradualPink: linear-gradient(45deg, #ec008c, #6739b6);
@--gradualBlue: linear-gradient(45deg, #0081ff, #1cbbb4);
/* 阴影透明色 */
@--ShadowSize: 6px 6px 8px;/*阴影背景大小*/
@--redShadow: rgba(204, 69, 59, 0.2);
@--orangeShadow: rgba(217, 109, 26, 0.2);
@--yellowShadow: rgba(224, 170, 7, 0.2);
@--oliveShadow: rgba(124, 173, 55, 0.2);
@--greenShadow: rgba(48, 156, 63, 0.2);
@--cyanShadow: rgba(28, 187, 180, 0.2);
@--blueShadow: rgba(0, 102, 204, 0.2);
@--purpleShadow: rgba(88, 48, 156, 0.2);
@--mauveShadow: rgba(133, 33, 150, 0.2);
@--pinkShadow: rgba(199, 50, 134, 0.2);
@--brownShadow: rgba(140, 88, 53, 0.2);
@--greyShadow: rgba(114, 130, 138, 0.2);
@--grayShadow: rgba(114, 130, 138, 0.2);
@--blackShadow: rgba(26, 26, 26, 0.2);
.all-width{
width: 100%;
}
.hr-box{
width: 100%;
height:30px /@cppr ;
}
// 文本文字
.text-xs {
font-size: 20px /@cppr ;
}
.text-sm {
font-size: 24px /@cppr ;
}
.text-df {
font-size: 28px /@cppr ;
}
.text-lg {
font-size: 32px /@cppr ;
}
.text-xl {
font-size: 36px /@cppr ;
}
.text-xll{
font-size: 40px /@cppr ;
}
.text-xxl {
font-size: 44px /@cppr ;
}
.text-sl {
font-size: 80px /@cppr ;
}
.text-xsl {
font-size: 120px /@cppr ;
}
.text-Abc {
text-transform: Capitalize;
}
.text-ABC {
text-transform: Uppercase;
}
.text-abc {
text-transform: Lowercase;
}
.text-price::before {
content: "¥";
font-size: 80%;
margin-right: 4px /@cppr ;
}
.text-cut {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.text-bold {
font-weight: bold;
}
.text-center {
text-align: center;
}
.text-content {
line-height: 1.6;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-theme,
.line-theme,
.lines-theme {
color: (@--theme);
}
.text-red,
.line-red,
.lines-red {
color: (@--red);
}
.text-mainBlack,
.line-mainBlack,
.lines-mainBlack {
color: (@--mainBlack);
}
.text-orange,
.line-orange,
.lines-orange {
color: (@--orange);
}
.text-yellow,
.line-yellow,
.lines-yellow {
color: (@--yellow);
}
.text-olive,
.line-olive,
.lines-olive {
color: (@--olive);
}
.text-green,
.line-green,
.lines-green {
color: (@--green);
}
.text-cyan,
.line-cyan,
.lines-cyan {
color: (@--cyan);
}
.text-blue,
.line-blue,
.lines-blue {
color: (@--blue);
}
.text-purple,
.line-purple,
.lines-purple {
color: (@--purple);
}
.text-mauve,
.line-mauve,
.lines-mauve {
color: (@--mauve);
}
.text-pink,
.line-pink,
.lines-pink {
color: (@--pink);
}
.text-brown,
.line-brown,
.lines-brown {
color: (@--brown);
}
.text-grey,
.line-grey,
.lines-grey {
color: (@--grey);
}
.text-gray,
.line-gray,
.lines-gray {
color: (@--gray);
}
.text-black,
.line-black,
.lines-black {
color: (@--black);
}
.text-white,
.line-white,
.lines-white {
color: (@--white);
}
/* ==================
背景
==================== */
.line-red::after,
.lines-red::after {
border-color: (@--red);
}
.line-orange::after,
.lines-orange::after {
border-color: (@--orange);
}
.line-yellow::after,
.lines-yellow::after {
border-color: (@--yellow);
}
.line-olive::after,
.lines-olive::after {
border-color: (@--olive);
}
.line-green::after,
.lines-green::after {
border-color: (@--green);
}
.line-cyan::after,
.lines-cyan::after {
border-color: (@--cyan);
}
.line-blue::after,
.lines-blue::after {
border-color: (@--blue);
}
.line-purple::after,
.lines-purple::after {
border-color: (@--purple);
}
.line-mauve::after,
.lines-mauve::after {
border-color: (@--mauve);
}
.line-pink::after,
.lines-pink::after {
border-color: (@--pink);
}
.line-brown::after,
.lines-brown::after {
border-color: (@--brown);
}
.line-grey::after,
.lines-grey::after {
border-color: (@--grey);
}
.line-gray::after,
.lines-gray::after {
border-color: (@--gray);
}
.line-black::after,
.lines-black::after {
border-color: (@--black);
}
.line-white::after,
.lines-white::after {
border-color: (@--white);
}
.bg-theme {
background-color: (@--theme);
color: (@--white);
}
.bg-themeLight{
background-color: (@--themeLight);
color: (@--white);
}
.bg-red {
background-color: (@--red);
color: (@--white);
}
.bg-orange {
background-color: (@--orange);
color: (@--white);
}
.bg-yellow {
background-color: (@--yellow);
color: (@--black);
}
.bg-olive {
background-color: (@--olive);
color: (@--white);
}
.bg-green {
background-color: (@--green);
color: (@--white);
}
.bg-cyan {
background-color: (@--cyan);
color: (@--white);
}
.bg-blue {
background-color: (@--blue);
color: (@--white);
}
.bg-purple {
background-color: (@--purple);
color: (@--white);
}
.bg-mauve {
background-color: (@--mauve);
color: (@--white);
}
.bg-pink {
background-color: (@--pink);
color: (@--white);
}
.bg-brown {
background-color: (@--brown);
color: (@--white);
}
.bg-grey {
background-color: (@--grey);
color: (@--white);
}
.bg-gray {
background-color: #f0f0f0;
color: (@--black);
}
.bg-black {
background-color: (@--black);
color: (@--white);
}
.bg-white {
background-color: (@--white);
color: (@--darkGray);
}
.bg-shadeTop {
background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.01));
color: (@--white);
}
.bg-shadeBottom {
background-image: linear-gradient(rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 1));
color: (@--white);
}
.bg-red.light {
color: (@--red);
background-color: (@--redLight);
}
.bg-orange.light {
color: (@--orange);
background-color: (@--orangeLight);
}
.bg-yellow.light {
color: (@--yellow);
background-color: (@--yellowLight);
}
.bg-olive.light {
color: (@--olive);
background-color: (@--oliveLight);
}
.bg-green.light {
color: (@--green);
background-color: (@--greenLight);
}
.bg-cyan.light {
color: (@--cyan);
background-color: (@--cyanLight);
}
.bg-blue.light {
color: (@--blue);
background-color: (@--blueLight);
}
.bg-purple.light {
color: (@--purple);
background-color: (@--purpleLight);
}
.bg-mauve.light {
color: (@--mauve);
background-color: (@--mauveLight);
}
.bg-pink.light {
color: (@--pink);
background-color: (@--pinkLight);
}
.bg-brown.light {
color: (@--brown);
background-color: (@--brownLight);
}
.bg-grey.light {
color: (@--grey);
background-color: (@--greyLight);
}
.bg-gradual-red {
background-image: (@--gradualRed);
color: (@--white);
}
.bg-gradual-orange {
background-image: (@--gradualOrange);
color: (@--white);
}
.bg-gradual-green {
background-image: (@--gradualGreen);
color: (@--white);
}
.bg-gradual-purple {
background-image: (@--gradualPurple);
color: (@--white);
}
.bg-gradual-pink {
background-image: (@--gradualPink);
color: (@--white);
}
.bg-gradual-blue {
background-image: (@--gradualBlue);
color: (@--white);
}
.shadow[class*="-red"] {
box-shadow: (@--ShadowSize) (@--redShadow);
}
.shadow[class*="-orange"] {
box-shadow: (@--ShadowSize) (@--orangeShadow);
}
.shadow[class*="-yellow"] {
box-shadow: (@--ShadowSize) (@--yellowShadow);
}
.shadow[class*="-olive"] {
box-shadow: (@--ShadowSize) (@--oliveShadow);
}
.shadow[class*="-green"] {
box-shadow: (@--ShadowSize) (@--greenShadow);
}
.shadow[class*="-cyan"] {
box-shadow: (@--ShadowSize) (@--cyanShadow);
}
.shadow[class*="-blue"] {
box-shadow: (@--ShadowSize) (@--blueShadow);
}
.shadow[class*="-purple"] {
box-shadow: (@--ShadowSize) (@--purpleShadow);
}
.shadow[class*="-mauve"] {
box-shadow: (@--ShadowSize) (@--mauveShadow);
}
.shadow[class*="-pink"] {
box-shadow: (@--ShadowSize) (@--pinkShadow);
}
.shadow[class*="-brown"] {
box-shadow: (@--ShadowSize) (@--brownShadow);
}
.shadow[class*="-grey"] {
box-shadow: (@--ShadowSize) (@--greyShadow);
}
.shadow[class*="-gray"] {
box-shadow: (@--ShadowSize) (@--grayShadow);
}
.shadow[class*="-black"] {
box-shadow: (@--ShadowSize) (@--blackShadow);
}
.shadow[class*="-white"] {
box-shadow: (@--ShadowSize) (@--blackShadow);
}
.text-shadow[class*="-red"] {
text-shadow: (@--ShadowSize) (@--redShadow);
}
.text-shadow[class*="-orange"] {
text-shadow: (@--ShadowSize) (@--orangeShadow);
}
.text-shadow[class*="-yellow"] {
text-shadow: (@--ShadowSize) (@--yellowShadow);
}
.text-shadow[class*="-olive"] {
text-shadow: (@--ShadowSize) (@--oliveShadow);
}
.text-shadow[class*="-green"] {
text-shadow: (@--ShadowSize) (@--greenShadow);
}
.text-shadow[class*="-cyan"] {
text-shadow: (@--ShadowSize) (@--cyanShadow);
}
.text-shadow[class*="-blue"] {
text-shadow: (@--ShadowSize) (@--blueShadow);
}
.text-shadow[class*="-purple"] {
text-shadow: (@--ShadowSize) (@--purpleShadow);
}
.text-shadow[class*="-mauve"] {
text-shadow: (@--ShadowSize) (@--mauveShadow);
}
.text-shadow[class*="-pink"] {
text-shadow: (@--ShadowSize) (@--pinkShadow);
}
.text-shadow[class*="-brown"] {
text-shadow: (@--ShadowSize) (@--brownShadow);
}
.text-shadow[class*="-grey"] {
text-shadow: (@--ShadowSize) (@--greyShadow);
}
.text-shadow[class*="-gray"] {
text-shadow: (@--ShadowSize) (@--grayShadow);
}
.text-shadow[class*="-black"] {
text-shadow: (@--ShadowSize) (@--blackShadow);
}
/* ==================
布局
==================== */
/* -- flex弹性布局 -- */
.flex {
display: flex;
}
.basis-xs {
flex-basis: 20%;
}
.basis-sm {
flex-basis: 40%;
}
.basis-df {
flex-basis: 50%;
}
.basis-lg {
flex-basis: 60%;
}
.basis-xl {
flex-basis: 80%;
}
.flex-sub {
flex: 1;
}
.flex-twice {
flex: 2;
}
.flex-treble {
flex: 3;
}
.flex-direction {
flex-direction: column;
}
.flex-wrap {
flex-wrap: wrap;
}
.align-start {
align-items: flex-start;
}
.align-end {
align-items: flex-end;
}
.align-center {
align-items: center;
}
.align-stretch {
align-items: stretch;
}
.self-start {
align-self: flex-start;
}
.self-center {
align-self: flex-center;
}
.self-end {
align-self: flex-end;
}
.self-stretch {
align-self: stretch;
}
.align-stretch {
align-items: stretch;
}
.justify-start {
justify-content: flex-start;
}
.justify-end {
justify-content: flex-end;
}
.justify-center {
justify-content: center;
}
.justify-between {
justify-content: space-between;
}
.justify-around {
justify-content: space-around;
}
/* -- 内外边距 -- */
.margin-0 {
margin: 0;
}
.margin-xs {
margin: 10px /@cppr ;
}
.margin-sm {
margin: 20px /@cppr ;
}
.margin {
margin: 30px /@cppr ;
}
.margin-lg {
margin: 40px /@cppr ;
}
.margin-xl {
margin: 50px /@cppr ;
}
.margin-top-xs {
margin-top: 10px /@cppr ;
}
.margin-top-sm {
margin-top: 20px /@cppr ;
}
.margin-top {
margin-top: 30px /@cppr ;
}
.margin-top-lg {
margin-top: 40px /@cppr ;
}
.margin-top-xl {
margin-top: 50px /@cppr ;
}
.margin-right-xs {
margin-right: 10px /@cppr ;
}
.margin-right-sm {
margin-right: 20px /@cppr ;
}
.margin-right {
margin-right: 30px /@cppr ;
}
.margin-right-lg {
margin-right: 40px /@cppr ;
}
.margin-right-xl {
margin-right: 50px /@cppr ;
}
.margin-bottom-xs {
margin-bottom: 10px /@cppr ;
}
.margin-bottom-sm {
margin-bottom: 20px /@cppr ;
}
.margin-bottom {
margin-bottom: 30px /@cppr ;
}
.margin-bottom-lg {
margin-bottom: 40px /@cppr ;
}
.margin-bottom-xl {
margin-bottom: 50px /@cppr ;
}
.margin-left-xs {
margin-left: 10px /@cppr ;
}
.margin-left-sm {
margin-left: 20px /@cppr ;
}
.margin-left {
margin-left: 30px /@cppr ;
}
.margin-left-lg {
margin-left: 40px /@cppr ;
}
.margin-left-xl {
margin-left: 50px /@cppr ;
}
.margin-lr-xs {
margin-left: 10px /@cppr ;
margin-right: 10px /@cppr ;
}
.margin-lr-sm {
margin-left: 20px /@cppr ;
margin-right: 20px /@cppr ;
}
.margin-lr {
margin-left: 30px /@cppr ;
margin-right: 30px /@cppr ;
}
.margin-lr-lg {
margin-left: 40px /@cppr ;
margin-right: 40px /@cppr ;
}
.margin-lr-xl {
margin-left: 50px /@cppr ;
margin-right: 50px /@cppr ;
}
.margin-tb-xs {
margin-top: 10px /@cppr ;
margin-bottom: 10px /@cppr ;
}
.margin-tb-sm {
margin-top: 20px /@cppr ;
margin-bottom: 20px /@cppr ;
}
.margin-tb {
margin-top: 30px /@cppr ;
margin-bottom: 30px /@cppr ;
}
.margin-tb-lg {
margin-top: 40px /@cppr ;
margin-bottom: 40px /@cppr ;
}
.margin-tb-xl {
margin-top: 50px /@cppr ;
margin-bottom: 50px /@cppr ;
}
.padding-0 {
padding: 0;
}
.padding-xs {
padding: 10px /@cppr ;
}
.padding-sm {
padding: 20px /@cppr ;
}
.padding {
padding: 30px /@cppr ;
}
.padding-lg {
padding: 40px /@cppr ;
}
.padding-xl {
padding: 50px /@cppr ;
}
.padding-top-xs {
padding-top: 10px /@cppr ;
}
.padding-top-sm {
padding-top: 20px /@cppr ;
}
.padding-top {
padding-top: 30px /@cppr ;
}
.padding-top-lg {
padding-top: 40px /@cppr ;
}
.padding-top-xl {
padding-top: 50px /@cppr ;
}
.padding-right-xs {
padding-right: 10px /@cppr ;
}
.padding-right-sm {
padding-right: 20px /@cppr ;
}
.padding-right {
padding-right: 30px /@cppr ;
}
.padding-right-lg {
padding-right: 40px /@cppr ;
}
.padding-right-xl {
padding-right: 50px /@cppr ;
}
.padding-bottom-xs {
padding-bottom: 10px /@cppr ;
}
.padding-bottom-sm {
padding-bottom: 20px /@cppr ;
}
.padding-bottom {
padding-bottom: 30px /@cppr ;
}
.padding-bottom-lg {
padding-bottom: 40px /@cppr ;
}
.padding-bottom-xl {
padding-bottom: 50px /@cppr ;
}
.padding-left-xs {
padding-left: 10px /@cppr ;
}
.padding-left-sm {
padding-left: 20px /@cppr ;
}
.padding-left {
padding-left: 30px /@cppr ;
}
.padding-left-lg {
padding-left: 40px /@cppr ;
}
.padding-left-xl {
padding-left: 50px /@cppr ;
}
.padding-lr-xs {
padding-left: 10px /@cppr ;
padding-right: 10px /@cppr ;
}
.padding-lr-sm {
padding-left: 20px /@cppr ;
padding-right: 20px /@cppr ;
}
.padding-lr {
padding-left: 30px /@cppr ;
padding-right: 30px /@cppr ;
}
.padding-lr-lg {
padding-left: 40px /@cppr ;
padding-right: 40px /@cppr ;
}
.padding-lr-xl {
padding-left: 50px /@cppr ;
padding-right: 50px /@cppr ;
}
.padding-tb-xs {
padding-top: 10px /@cppr ;
padding-bottom: 10px /@cppr ;
}
.padding-tb-sm {
padding-top: 20px /@cppr ;
padding-bottom: 20px /@cppr ;
}
.padding-tb {
padding-top: 30px /@cppr ;
padding-bottom: 30px /@cppr ;
}
.padding-tb-lg {
padding-top: 40px /@cppr ;
padding-bottom: 40px /@cppr ;
}
.padding-tb-xl {
padding-top: 50px /@cppr ;
padding-bottom: 50px /@cppr ;
}
/* -- 浮动 -- */
.cf::after,
.cf::before {
content: " ";
display: table;
}
.cf::after {
clear: both;
}
.fl {
float: left;
}
.fr {
float: right;
}
/* ==================
边框
==================== */
/* -- 实线 -- */
.solid,
.solid-top,
.solid-right,
.solid-bottom,
.solid-left,
.solids,
.solids-top,
.solids-right,
.solids-bottom,
.solids-left,
.dashed,
.dashed-top,
.dashed-right,
.dashed-bottom,
.dashed-left {
position: relative;
}
.solid::after,
.solid-top::after,
.solid-right::after,
.solid-bottom::after,
.solid-left::after,
.solids::after,
.solids-top::after,
.solids-right::after,
.solids-bottom::after,
.solids-left::after,
.dashed::after,
.dashed-top::after,
.dashed-right::after,
.dashed-bottom::after,
.dashed-left::after {
content: " ";
width: 200%;
height: 200%;
position: absolute;
top: 0;
left: 0;
border-radius: inherit;
transform: scale(0.5);
transform-origin: 0 0;
pointer-events: none;
box-sizing: border-box;
}
.solid::after {
border: 5px /@cppr solid rgba(0, 0, 0, 0.1);
}
.solid-top::after {
border-top: 5px /@cppr solid rgba(0, 0, 0, 0.1);
}
.solid-right::after {
border-right: 5px /@cppr solid rgba(0, 0, 0, 0.1);
}
.solid-bottom::after {
border-bottom: 5px /@cppr solid rgba(0, 0, 0, 0.1);
}
.solid-left::after {
border-left:5px /@cppr solid rgba(0, 0, 0, 0.1);
}
.solids::after {
border: 8px /@cppr solid #eee;
}
.solids-top::after {
border-top: 8px /@cppr solid #eee;
}
.solids-right::after {
border-right: 8px /@cppr solid #eee;
}
.solids-bottom::after {
border-bottom: 8px /@cppr solid #eee;
}
.solids-left::after {
border-left: 8px /@cppr solid #eee;
}
/* -- 虚线 -- */
.dashed::after {
border: 1px /@cppr dashed #ddd;
}
.dashed-top::after {
border-top: 1px /@cppr dashed #ddd;
}
.dashed-right::after {
border-right: 1px /@cppr dashed #ddd;
}
.dashed-bottom::after {
border-bottom: 1px /@cppr dashed #ddd;
}
.dashed-left::after {
border-left: 1px /@cppr dashed #ddd;
}
/* -- 阴影 -- */
.shadow[class*='white'] {
--ShadowSize: 0 1px /@cppr 6px /@cppr ;
}
.shadow-lg {
--ShadowSize: 0px /@cppr 40px /@cppr 100px /@cppr 0px /@cppr ;
}
.shadow-warp {
position: relative;
box-shadow: 0 0 10px /@cppr rgba(0, 0, 0, 0.1);
}
.shadow-warp:before,
.shadow-warp:after {
position: absolute;
content: "";
top: 20px /@cppr ;
bottom: 30px /@cppr ;
left: 20px /@cppr ;
width: 50%;
box-shadow: 0 30px /@cppr 20px /@cppr rgba(0, 0, 0, 0.2);
transform: rotate(-3deg);
z-index: -1;
}
.shadow-warp:after {
right: 20px /@cppr ;
left: auto;
transform: rotate(3deg);
}
.shadow-blur {
position: relative;
}
.shadow-blur::before {
content: "";
display: block;
background: inherit;
filter: blur(10px /@cppr );
position: absolute;
width: 100%;
height: 100%;
top: 10px /@cppr ;
left: 10px /@cppr ;
z-index: -1;
opacity: 0.4;
transform-origin: 0 0;
border-radius: inherit;
transform: scale(1, 1);
}
/* ==================
模态窗口
==================== */
.cu-modal {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1110;
opacity: 0;
outline: 0;
text-align: center;
-ms-transform: scale(1.185);
transform: scale(1.185);
backface-visibility: hidden;
perspective: 2000px /@cppr ;
background: rgba(0, 0, 0, 0.6);
transition: all 0.3s ease-in-out 0s;
pointer-events: none;
}
.cu-modal::before {
content: "\200B";
display: inline-block;
height: 100%;
vertical-align: middle;
}
.cu-modal.show {
opacity: 1;
transition-duration: 0.3s;
-ms-transform: scale(1);
transform: scale(1);
overflow-x: hidden;
overflow-y: auto;
pointer-events: auto;
}
.cu-dialog {
position: relative;
display: inline-block;
vertical-align: middle;
margin-left: auto;
margin-right: auto;
width: 680px /@cppr ;
max-width: 100%;
background-color: #f8f8f8;
border-radius: 10px /@cppr ;
overflow: hidden;
}
.cu-modal.bottom-modal::before {
vertical-align: bottom;
}
.cu-modal.bottom-modal .cu-dialog {
width: 100%;
border-radius: 0;
}
.cu-modal.bottom-modal {
margin-bottom: -1000px /@cppr ;
}
.cu-modal.bottom-modal.show {
margin-bottom: 0;
}
.cu-modal.drawer-modal {
transform: scale(1);
display: flex;
}
.cu-modal.drawer-modal .cu-dialog {
height: 100%;
min-width: 200px /@cppr ;
border-radius: 0;
margin: initial;
transition-duration: 0.3s;
}
.cu-modal.drawer-modal.justify-start .cu-dialog {
transform: translateX(-100%);
}
.cu-modal.drawer-modal.justify-end .cu-dialog {
transform: translateX(100%);
}
.cu-modal.drawer-modal.show .cu-dialog {
transform: translateX(0%);
}
.cu-modal .cu-dialog>.cu-bar:first-child .action{
min-width: 100px /@cppr ;
margin-right: 0;
min-height: 100px /@cppr ;
}
/* ==================
导航栏
==================== */
.nav {
white-space: nowrap;
}
::-webkit-scrollbar {
display: none;
}
.nav .cu-item {
height: 90px /@cppr ;
display: inline-block;
line-height: 90px /@cppr ;
margin: 0 10px /@cppr ;
padding: 0 20px /@cppr ;
}
.nav .cu-item.cur {
border-bottom: 4px /@cppr solid;
}
/* ==================
时间轴
==================== */
.cu-timeline {
display: block;
background-color: (@--white);
}
.cu-timeline .cu-time {
width: 120px /@cppr ;
text-align: center;
padding: 20px /@cppr 0;
font-size: 26px /@cppr ;
color: #888;
display: block;
}
.cu-timeline>.cu-item {
padding: 30px /@cppr 30px /@cppr 30px /@cppr 120px /@cppr ;
position: relative;
display: block;
z-index: 0;
}
.cu-timeline>.cu-item:not([class*="text-"]) {
color: #ccc;
}
.cu-timeline>.cu-item::after {
content: "";
display: block;
position: absolute;
width: 1px /@cppr ;
background-color: #ddd;
left: 60px /@cppr ;
height: 100%;
top: 0;
z-index: 8;
}
.cu-timeline>.cu-item::before {
font-family: "cuIcon";
display: block;
position: absolute;
top: 36px /@cppr ;
z-index: 9;
background-color: (@--white);
width: 50px /@cppr ;
height: 50px /@cppr ;
text-align: center;
border: none;
line-height: 50px /@cppr ;
left: 36px /@cppr ;
}
.cu-timeline>.cu-item:not([class*="cuIcon-"])::before {
content: "\e763";
}
.cu-timeline>.cu-item[class*="cuIcon-"]::before {
background-color: (@--white);
width: 50px /@cppr ;
height: 50px /@cppr ;
text-align: center;
border: none;
line-height: 50px /@cppr ;
left: 36px /@cppr ;
}
.cu-timeline>.cu-item>.content {
padding: 30px /@cppr ;
border-radius: 6px /@cppr ;
display: block;
line-height: 1.6;
}
.cu-timeline>.cu-item>.content:not([class*="bg-"]) {
background-color: (@--ghostWhite);
color: (@--black);
}
.cu-timeline>.cu-item>.content+.content {
margin-top: 20px /@cppr ;
}
/* ==================
列表
==================== */
.grayscale {
filter: grayscale(1);
}
.cu-list+.cu-list {
margin-top: 30px /@cppr
}
.cu-list>.cu-item {
transition: all .6s ease-in-out 0s;
transform: translateX(0px /@cppr )
}
.cu-list>.cu-item.move-cur {
transform: translateX(-260px /@cppr )
}
.cu-list>.cu-item .move {
position: absolute;
right: 0;
display: flex;
width: 260px /@cppr ;
height: 100%;
transform: translateX(100%)
}
.cu-list>.cu-item .move view {
display: flex;
flex: 1;
justify-content: center;
align-items: center
}
.cu-list.menu-avatar {
overflow: hidden;
}
.cu-list.menu-avatar>.cu-item {
position: relative;
display: flex;
padding-right: 10px /@cppr ;
height: 140px /@cppr ;
background-color: (@--white);
justify-content: flex-end;
align-items: center
}
.cu-list.menu-avatar>.cu-item>.cu-avatar {
position: absolute;
left: 30px /@cppr
}
.cu-list.menu-avatar>.cu-item .flex .text-cut {
max-width: 510px /@cppr
}
.cu-list.menu-avatar>.cu-item .content {
position: absolute;
left: 146px /@cppr ;
width: calc(100% - 96px /@cppr - 60px /@cppr - 120px /@cppr - 20px /@cppr );
line-height: 1.6em;
}
.cu-list.menu-avatar>.cu-item .content.flex-sub {
width: calc(100% - 96px /@cppr - 60px /@cppr - 20px /@cppr );
}
.cu-list.menu-avatar>.cu-item .content>view:first-child {
font-size: 30px /@cppr ;
display: flex;
align-items: center
}
.cu-list.menu-avatar>.cu-item .content .cu-tag.sm {
display: inline-block;
margin-left: 10px /@cppr ;
height: 28px /@cppr ;
font-size: 16px /@cppr ;
line-height: 32px /@cppr
}
.cu-list.menu-avatar>.cu-item .action {
width: 100px /@cppr ;
text-align: center
}
.cu-list.menu-avatar>.cu-item .action view+view {
margin-top: 10px /@cppr
}
.cu-list.menu-avatar.comment>.cu-item .content {
position: relative;
left: 0;
width: auto;
flex: 1;
}
.cu-list.menu-avatar.comment>.cu-item {
padding: 30px /@cppr 30px /@cppr 30px /@cppr 120px /@cppr ;
height: auto
}
.cu-list.menu-avatar.comment .cu-avatar {
align-self: flex-start
}
.cu-list.menu>.cu-item {
position: relative;
display: flex;
padding: 0 30px /@cppr ;
min-height: 100px /@cppr ;
background-color: (@--white);
justify-content: space-between;
align-items: center
}
.cu-list.menu>.cu-item:last-child:after {
border: none
}
.cu-list.menu>.cu-item:after {
position: absolute;
top: 0;
left: 0;
box-sizing: border-box;
width: 200%;
height: 200%;
border-bottom: 1px /@cppr solid #ddd;
border-radius: inherit;
content: " ";
transform: scale(.5);
transform-origin: 0 0;
pointer-events: none
}
.cu-list.menu>.cu-item.grayscale {
background-color: #f5f5f5
}
.cu-list.menu>.cu-item.cur {
background-color: #fcf7e9
}
.cu-list.menu>.cu-item.arrow {
padding-right: 90px /@cppr
}
.cu-list.menu>.cu-item.arrow:before {
position: absolute;
top: 0;
right: 30px /@cppr ;
bottom: 0;
display: block;
margin: auto;
width: 30px /@cppr ;
height: 30px /@cppr ;
color: (@--grey);
content: "\e6a3";
text-align: center;
font-size: 34px /@cppr ;
font-family: "cuIcon";
line-height: 30px /@cppr
}
.cu-list.menu>.cu-item button.content {
padding: 0;
background-color: transparent;
justify-content: flex-start
}
.cu-list.menu>.cu-item button.content:after {
display: none
}
.cu-list.menu>.cu-item .cu-avatar-group .cu-avatar {
border-color: (@--white)
}
.cu-list.menu>.cu-item .content>view:first-child {
display: flex;
align-items: center
}
.cu-list.menu>.cu-item .content>text[class*=cuIcon] {
display: inline-block;
margin-right: 10px /@cppr ;
width: 1.6em;
text-align: center
}
.cu-list.menu>.cu-item .content>image {
display: inline-block;
margin-right: 10px /@cppr ;
width: 1.6em;
height: 1.6em;
vertical-align: middle
}
.cu-list.menu>.cu-item .content {
font-size: 30px /@cppr ;
line-height: 1.6em;
flex: 1
}
.cu-list.menu>.cu-item .content .cu-tag.sm {
display: inline-block;
margin-left: 10px /@cppr ;
height: 28px /@cppr ;
font-size: 16px /@cppr ;
line-height: 32px /@cppr
}
.cu-list.menu>.cu-item .action .cu-tag:empty {
right: 10px /@cppr
}
.cu-list.menu {
display: block;
overflow: hidden
}
.cu-list.menu.sm-border>.cu-item:after {
left: 30px /@cppr ;
width: calc(200% - 120px /@cppr )
}
.cu-list.grid>.cu-item {
position: relative;
display: flex;
padding: 20px /@cppr 0 30px /@cppr ;
transition-duration: 0s;
flex-direction: column
}
.cu-list.grid>.cu-item:after {
position: absolute;
top: 0;
left: 0;
box-sizing: border-box;
width: 200%;
height: 200%;
border-right: 1px solid rgba(0, 0, 0, .1);
border-bottom: 1px solid rgba(0, 0, 0, .1);
border-radius: inherit;
content: " ";
transform: scale(.5);
transform-origin: 0 0;
pointer-events: none
}
.cu-list.grid>.cu-item text {
display: block;
margin-top: 10px /@cppr ;
color: #888;
font-size: 26px /@cppr ;
line-height: 40px /@cppr
}
.cu-list.grid>.cu-item [class*=cuIcon] {
position: relative;
display: block;
margin-top: 20px /@cppr ;
width: 100%;
font-size: 48px /@cppr
}
.cu-list.grid>.cu-item .cu-tag {
right: auto;
left: 50%;
margin-left: 20px /@cppr
}
.cu-list.grid {
background-color: (@--white);
text-align: center
}
.cu-list.grid.no-border>.cu-item {
padding-top: 10px /@cppr ;
padding-bottom: 20px /@cppr
}
.cu-list.grid.no-border>.cu-item:after {
border: none
}
.cu-list.grid.no-border {
padding: 20px /@cppr 10px /@cppr
}
.cu-list.grid.col-3>.cu-item:nth-child(3n):after,
.cu-list.grid.col-4>.cu-item:nth-child(4n):after,
.cu-list.grid.col-5>.cu-item:nth-child(5n):after {
border-right-width: 0
}
.cu-list.card-menu {
overflow: hidden;
margin-right: 30px /@cppr ;
margin-left: 30px /@cppr ;
border-radius: 20px /@cppr
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。