123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833 |
- @charset "UTF-8";
- /***********
- 常用样式库 v1
- 包含颜色、亮度、宽高、flex、gird、margin、padding、圆角、字体、动画
- ***********/
- /***********颜色:背景、文本***********/
- .bg-red {
- background-color: #ff0000;
- color: #fff;
- }
- .txt-red {
- color: #ff0000;
- }
- .bg-orange {
- background-color: #f37b1d;
- color: #fff;
- }
- .txt-orange {
- color: #f37b1d;
- }
- .bg-yellow {
- background-color: #fbbd08;
- color: #fff;
- }
- .txt-yellow {
- color: #fbbd08;
- }
- .bg-olive {
- background-color: #8dc63f;
- color: #fff;
- }
- .txt-olive {
- color: #8dc63f;
- }
- .bg-green {
- background-color: #39b54a;
- color: #fff;
- }
- .txt-green {
- color: #39b54a;
- }
- .bg-cyan {
- background-color: #1cbbb4;
- color: #fff;
- }
- .txt-cyan {
- color: #1cbbb4;
- }
- .bg-blue {
- background-color: #0081ff;
- color: #fff;
- }
- .txt-blue {
- color: #0081ff;
- }
- .bg-purple {
- background-color: #6739b6;
- color: #fff;
- }
- .txt-purple {
- color: #6739b6;
- }
- .bg-mauve {
- background-color: #9c26b0;
- color: #fff;
- }
- .txt-mauve {
- color: #9c26b0;
- }
- .bg-pink {
- background-color: #e03997;
- color: #fff;
- }
- .txt-pink {
- color: #e03997;
- }
- .bg-brown {
- background-color: #a5673f;
- color: #fff;
- }
- .txt-brown {
- color: #a5673f;
- }
- .bg-grey {
- background-color: #8799a3;
- color: #fff;
- }
- .txt-grey {
- color: #8799a3;
- }
- .bg-black {
- background-color: #333333;
- color: #fff;
- }
- .txt-black {
- color: #333333;
- }
- .bg-darkGray {
- background-color: #666666;
- color: #fff;
- }
- .txt-darkGray {
- color: #666666;
- }
- .bg-gray {
- background-color: #aaaaaa;
- color: #000;
- }
- .txt-gray {
- color: #aaaaaa;
- }
- .bg-ghostWhite {
- background-color: #f1f1f1;
- color: #000;
- }
- .txt-ghostWhite {
- color: #f1f1f1;
- }
- .bg-white {
- background-color: #ffffff;
- color: #000;
- }
- .txt-white {
- color: #ffffff;
- }
- .txt-2hide{
- word-break: break-all;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- }
- /***********宽度***********/
- .wid-1 {
- width: 1%;
- }
- .wid-2 {
- width: 2%;
- }
- .wid-3 {
- width: 3%;
- }
- .wid-4 {
- width: 4%;
- }
- .wid-5 {
- width: 5%;
- }
- .wid-10 {
- width: 10%;
- }
- .wid-20 {
- width: 20%;
- }
- .wid-30 {
- width: 30%;
- }
- .wid-40 {
- width: 40%;
- }
- .wid-50 {
- width: 50%;
- }
- .wid-60 {
- width: 60%;
- }
- .wid-70 {
- width: 70%;
- }
- .wid-80 {
- width: 80%;
- }
- .wid-90 {
- width: 90%;
- }
- .wid-100 {
- width: 100%;
- }
- /***********高度***********/
- .hei-100 {
- height: 100%;
- }
- .hei-50 {
- height: 50%;
- }
- .wh-100 {
- height: 100%;
- width: 100%;
- }
- /***********margin***********/
- .mt-10 {
- margin-top: 10rpx;
- }
- .mt-20 {
- margin-top: 20rpx;
- }
- .mt-30 {
- margin-top: 30rpx;
- }
- .mt-40 {
- margin-top: 40rpx;
- }
- .mt-50 {
- margin-top: 50rpx;
- }
- .mt-60 {
- margin-top: 60rpx;
- }
- .mt-70 {
- margin-top: 70rpx;
- }
- .mt-80 {
- margin-top: 80rpx;
- }
- .mt-90 {
- margin-top: 90rpx;
- }
- .mt-100 {
- margin-top: 100rpx;
- }
- /***********padding***********/
- .pd-5 {
- padding: 5rpx;
- }
- .pd-10 {
- padding: 10rpx;
- }
- .pd-15 {
- padding: 15rpx;
- }
- .pd-20 {
- padding: 20rpx;
- }
- .pd-30 {
- padding: 30rpx;
- }
- .pd-40 {
- padding: 40rpx;
- }
- /***********圆角***********/
- .round-5 {
- border-radius: 5rpx;
- }
- .round-10 {
- border-radius: 10rpx;
- }
- .round-15 {
- border-radius: 15rpx;
- }
- .round-20 {
- border-radius: 20rpx;
- }
- .round-50 {
- border-radius: 50%;
- }
- /***********Flex布局***********/
- .row {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: horizontal;
- -webkit-box-direction: normal;
- -ms-flex-direction: row;
- flex-direction: row;
- }
- .column {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -ms-flex-direction: column;
- flex-direction: column;
- }
- .y-center {
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- }
- .x-center {
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center;
- }
- .flex-center {
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center;
- }
- .flex-start {
- -webkit-box-pack: start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- }
- .flex-end {
- -webkit-box-pack: end;
- -ms-flex-pack: end;
- justify-content: flex-end;
- }
- .flex-between {
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between;
- }
- .flex-around {
- -ms-flex-pack: distribute;
- justify-content: space-around;
- }
- .flex-wrap {
- -ms-flex-wrap: wrap;
- flex-wrap: wrap;
- }
- /***********grid***********/
- .grid {
- display: -ms-grid;
- display: grid;
- -ms-flex-wrap: wrap;
- flex-wrap: wrap;
- }
- .grid.col-1 > view {
- width: 100%;
- }
- .grid.col-2 > view {
- width: 50%;
- }
- .grid.col-3 > view {
- width: 33.33333%;
- }
- .grid.col-4 > view {
- width: 25%;
- }
- .grid.col-5 > view {
- width: 20%;
- }
- /***********文本***********/
- .txt-sm {
- font-size: 22rpx;
- }
- .txt-df {
- font-size: 28rpx;
- }
- .txt-lg {
- font-size: 32rpx;
- }
- .txt-xl {
- font-size: 36rpx;
- }
- .txt-xxl {
- font-size: 42rpx;
- }
- .txt-sl {
- font-size: 56rpx;
- }
- .txt-sxl {
- font-size: 88rpx;
- }
- .txt-left {
- text-align: left;
- }
- .txt-right {
- text-align: right;
- }
- .txt-center {
- text-align: center;
- }
- .txt-bold {
- font-weight: 800;
- }
- .txt-space-3 {
- letter-spacing: 3rpx;
- }
- .txt-Abc {
- text-transform: Capitalize;
- }
- .txt-ABC {
- text-transform: Uppercase;
- }
- .txt-abc {
- text-transform: Lowercase;
- }
- .txtHide {
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- }
- /***********animation***********/
- [class*=ani-] {
- -webkit-animation-duration: .5s;
- animation-duration: .5s;
- -webkit-animation-timing-function: ease-out;
- animation-timing-function: ease-out;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- }
- .ani-fade {
- -webkit-animation: fade;
- animation: fade;
- -webkit-animation-duration: .8s;
- animation-duration: .8s;
- -webkit-animation-timing-function: linear;
- animation-timing-function: linear;
- }
- .ani-scale-up {
- -webkit-animation: scale-up;
- animation: scale-up;
- }
- .ani-scale-down {
- -webkit-animation: scale-down;
- animation: scale-down;
- }
- .ani-slide-top {
- -webkit-animation: slide-top;
- animation: slide-top;
- }
- .ani-slide-bottom {
- -webkit-animation: slide-bottom;
- animation: slide-bottom;
- }
- .ani-slide-left {
- -webkit-animation: slide-left;
- animation: slide-left;
- }
- .ani-slide-right {
- -webkit-animation: slide-right;
- animation: slide-right;
- }
- .ani-shake {
- -webkit-animation: shake;
- animation: shake;
- }
- @-webkit-keyframes fade {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @keyframes fade {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @-webkit-keyframes scale-up {
- 0% {
- opacity: 0;
- -webkit-transform: scale(0.2);
- transform: scale(0.2);
- }
- 100% {
- opacity: 1;
- -webkit-transform: scale(1);
- transform: scale(1);
- }
- }
- @keyframes scale-up {
- 0% {
- opacity: 0;
- -webkit-transform: scale(0.2);
- transform: scale(0.2);
- }
- 100% {
- opacity: 1;
- -webkit-transform: scale(1);
- transform: scale(1);
- }
- }
- @-webkit-keyframes scale-down {
- 0% {
- opacity: 0;
- -webkit-transform: scale(1.8);
- transform: scale(1.8);
- }
- 100% {
- opacity: 1;
- -webkit-transform: scale(1);
- transform: scale(1);
- }
- }
- @keyframes scale-down {
- 0% {
- opacity: 0;
- -webkit-transform: scale(1.8);
- transform: scale(1.8);
- }
- 100% {
- opacity: 1;
- -webkit-transform: scale(1);
- transform: scale(1);
- }
- }
- @-webkit-keyframes slide-top {
- 0% {
- opacity: 0;
- -webkit-transform: translateY(-100%);
- transform: translateY(-100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateY(0);
- transform: translateY(0);
- }
- }
- @keyframes slide-top {
- 0% {
- opacity: 0;
- -webkit-transform: translateY(-100%);
- transform: translateY(-100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateY(0);
- transform: translateY(0);
- }
- }
- @-webkit-keyframes slide-bottom {
- 0% {
- opacity: 0;
- -webkit-transform: translateY(100%);
- transform: translateY(100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateY(0);
- transform: translateY(0);
- }
- }
- @keyframes slide-bottom {
- 0% {
- opacity: 0;
- -webkit-transform: translateY(100%);
- transform: translateY(100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateY(0);
- transform: translateY(0);
- }
- }
- @-webkit-keyframes shake {
- 0%,
- 100% {
- -webkit-transform: translateX(0);
- transform: translateX(0);
- }
- 10% {
- -webkit-transform: translateX(-9px);
- transform: translateX(-9px);
- }
- 20% {
- -webkit-transform: translateX(8px);
- transform: translateX(8px);
- }
- 30% {
- -webkit-transform: translateX(-7px);
- transform: translateX(-7px);
- }
- 40% {
- -webkit-transform: translateX(6px);
- transform: translateX(6px);
- }
- 50% {
- -webkit-transform: translateX(-5px);
- transform: translateX(-5px);
- }
- 60% {
- -webkit-transform: translateX(4px);
- transform: translateX(4px);
- }
- 70% {
- -webkit-transform: translateX(-3px);
- transform: translateX(-3px);
- }
- 80% {
- -webkit-transform: translateX(2px);
- transform: translateX(2px);
- }
- 90% {
- -webkit-transform: translateX(-1px);
- transform: translateX(-1px);
- }
- }
- @keyframes shake {
- 0%,
- 100% {
- -webkit-transform: translateX(0);
- transform: translateX(0);
- }
- 10% {
- -webkit-transform: translateX(-9px);
- transform: translateX(-9px);
- }
- 20% {
- -webkit-transform: translateX(8px);
- transform: translateX(8px);
- }
- 30% {
- -webkit-transform: translateX(-7px);
- transform: translateX(-7px);
- }
- 40% {
- -webkit-transform: translateX(6px);
- transform: translateX(6px);
- }
- 50% {
- -webkit-transform: translateX(-5px);
- transform: translateX(-5px);
- }
- 60% {
- -webkit-transform: translateX(4px);
- transform: translateX(4px);
- }
- 70% {
- -webkit-transform: translateX(-3px);
- transform: translateX(-3px);
- }
- 80% {
- -webkit-transform: translateX(2px);
- transform: translateX(2px);
- }
- 90% {
- -webkit-transform: translateX(-1px);
- transform: translateX(-1px);
- }
- }
- @-webkit-keyframes slide-left {
- 0% {
- opacity: 0;
- -webkit-transform: translateX(-100%);
- transform: translateX(-100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateX(0);
- transform: translateX(0);
- }
- }
- @keyframes slide-left {
- 0% {
- opacity: 0;
- -webkit-transform: translateX(-100%);
- transform: translateX(-100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateX(0);
- transform: translateX(0);
- }
- }
- @-webkit-keyframes slide-right {
- 0% {
- opacity: 0;
- -webkit-transform: translateX(100%);
- transform: translateX(100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateX(0);
- transform: translateX(0);
- }
- }
- @keyframes slide-right {
- 0% {
- opacity: 0;
- -webkit-transform: translateX(100%);
- transform: translateX(100%);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translateX(0);
- transform: translateX(0);
- }
- }
- /***********辅助交互***********/
- .btnClick {
- position: relative;
- }
- .btnClick:active {
- -webkit-transform: translate(1px, 1px);
- transform: translate(1px, 1px);
- }
- .pageShow {
- opacity: 1;
- z-index: 999;
- }
- .pageHide {
- opacity: 0;
- z-index: -999;
- }
- .shadow {
- position: relative;
- -webkit-box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1);
- box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1);
- }
- /*# sourceMappingURL=tt.css.map */
|