| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839 |
- @import "./color";
- body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, input, textarea, th, td {
- margin: 0;
- padding: 0
- }
- body, input, select, textarea {
- font: 14px -apple-system;
- color: #333;
- -ms-overflow-style: scrollbar
- }
- body, html {
- font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
- }
- button, input, select, textarea {
- font-size: 100%
- }
- a {
- color: #333;
- text-decoration: none;
- outline: 0
- }
- a:hover {
- color: $primary
- }
- table {
- border-collapse: collapse;
- border-spacing: 0
- }
- fieldset, img, area, a {
- border: 0;
- outline: 0
- }
- address, caption, cite, code, dfn, em, th, var, i {
- font-style: normal;
- font-weight: normal
- }
- code, kbd, pre, samp {
- font-family: courier new, courier, monospace
- }
- ol, ul {
- list-style: none
- }
- body {
- background: #fff;
- -webkit-text-size-adjust: none;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- }
- small {
- font-size: 12px
- }
- h1, h2, h3, h4, h5, h6 {
- font-size: 100%
- }
- sup {
- vertical-align: text-top
- }
- sub {
- vertical-align: text-bottom
- }
- legend {
- color: #000
- }
- a, input {
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- }
- div {
- -webkit-overflow-scrolling: touch;
- }
- input, textarea, select {
- border: none;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- -webkit-appearance: none;
- -moz-appearance: none;
- border-radius: 0;
- background: none;
- outline: none;
- }
- input[type='checkbox'] {
- -webkit-appearance: checkbox;
- }
- img {
- vertical-align: top;
- }
- @media screen and (max-device-width: 828px) {
- body {
- -webkit-text-size-adjust: none;
- }
- }
- /****************flexbox**************/
- .flex {
- display: flex;
- }
- .inline-flex {
- display: inline-flex;
- }
- .flex-center {
- justify-content: center;
- align-items: center;
- }
- .flex-center-between {
- justify-content: space-between;
- align-items: center;
- }
- /*横向或纵向*/
- .flex-row {
- flex-direction: row;
- }
- .flex-col {
- flex-direction: column;
- }
- .flex-row-reverse {
- flex-direction: row-reverse;
- }
- .flex-col-reverse {
- flex-direction: column-reverse;
- }
- .flex-wrap {
- flex-wrap: wrap;
- }
- /*主轴对齐方式*/
- .flex-justify-start {
- justify-content: flex-start;
- }
- .flex-justify-end {
- justify-content: flex-end;
- }
- .flex-justify-center {
- justify-content: center;
- }
- .flex-justify-between {
- justify-content: space-between;
- }
- .flex-justify-around {
- justify-content: space-around;
- }
- /*侧轴对齐方式*/
- .flex-align-start {
- align-items: flex-start;
- }
- .flex-align-end {
- align-items: flex-end;
- }
- .flex-align-center {
- align-items: center;
- }
- .flex-align-baseline {
- align-items: baseline;
- }
- .flex-align-stretch {
- align-items: stretch;
- }
- /*主轴换行时行在侧轴的对齐方式,必须定义flex-wrap为换行*/
- .flex-content-start {
- align-content: flex-start;
- }
- .flex-content-end {
- align-content: flex-end;
- }
- .flex-content-center {
- align-content: center;
- }
- .flex-content-between {
- align-content: space-between;
- }
- .flex-content-around {
- align-content: space-around;
- }
- .flex-content-stretch {
- align-content: stretch;
- }
- /*允许子元素收缩*/
- .flex-child-grow {
- flex-grow: 1;
- }
- /*允许拉伸*/
- .flex-child-shrink {
- flex-shrink: 1;
- }
- /*允许收缩*/
- .flex-child-noshrink {
- flex-shrink: 0;
- }
- /*不允许收缩*/
- .flex-child-average {
- flex: 1;
- }
- /*平均分布,兼容旧版必须给宽度*/
- .flex-child-first {
- order: 1;
- }
- /*排第一个*/
- /*子元素在侧轴的对齐方式*/
- .flex-child-align-start {
- align-self: flex-start;
- }
- .flex-child-align-end {
- align-self: flex-end;
- }
- .flex-child-align-center {
- align-self: center;
- }
- .flex-child-align-baseline {
- align-self: baseline;
- }
- .flex-child-align-stretch {
- align-self: stretch;
- }
- .wrapper {
- width: 1200px;
- margin: 0 auto;
- }
- .block {
- display: block;
- }
- .inline-block {
- display: inline-block;
- }
- .inline {
- display: inline;
- }
- .hide {
- display: none;
- }
- .full-height {
- height: 100%;
- }
- .full-width {
- width: 100%;
- }
- .full-size {
- width: 100%;
- height: 100%;
- }
- .full-screen {
- width: 100vw;
- height: 100vh;
- }
- .relative {
- position: relative;
- }
- .absolute {
- position: absolute;
- }
- .fixed {
- position: fixed;
- }
- .clear {
- clear: both;
- }
- .overflow-hide {
- overflow: hidden;
- }
- .normal {
- font-weight: normal;
- }
- .bold {
- font-weight: bold;
- }
- .radius {
- border-radius: 10px;
- }
- .font-34 {
- font-size: 34px;
- }
- .font-30 {
- font-size: 30px;
- }
- .font-28 {
- font-size: 28px;
- }
- .font-24 {
- font-size: 24px;
- }
- .font-20 {
- font-size: 20px;
- }
- .font-18 {
- font-size: 18px;
- }
- .font-16 {
- font-size: 16px;
- }
- .font-15 {
- font-size: 15px;
- }
- .font-14 {
- font-size: 14px;
- }
- .font-13 {
- font-size: 13px;
- }
- .font-12 {
- font-size: 12px;
- }
- .border-box {
- box-sizing: border-box;
- }
- .border {
- border: 1px solid $border;
- }
- .border-top {
- border-top: 1px solid $border;
- }
- .border-bottom {
- border-bottom: 1px solid $border;
- }
- .border-left {
- border-left: 1px solid $border;
- }
- .border-right {
- border-right: 1px solid $border;
- }
- .margin {
- margin: 10px;
- }
- .mt-5 {
- margin-top: 5px;
- }
- .mr-5 {
- margin-right: 5px;
- }
- .mb-5 {
- margin-bottom: 5px;
- }
- .ml-5 {
- margin-left: 5px;
- }
- .mt-10 {
- margin-top: 10px;
- }
- .mr-10 {
- margin-right: 10px;
- }
- .mb-10 {
- margin-bottom: 10px;
- }
- .ml-10 {
- margin-left: 10px;
- }
- .mt-15 {
- margin-top: 15px;
- }
- .mr-15 {
- margin-right: 15px;
- }
- .mb-15 {
- margin-bottom: 15px;
- }
- .ml-15 {
- margin-left: 15px;
- }
- .mt-20 {
- margin-top: 20px;
- }
- .mr-20 {
- margin-right: 20px;
- }
- .mb-20 {
- margin-bottom: 20px;
- }
- .ml-20 {
- margin-left: 20px;
- }
- .padding {
- padding: 10px;
- }
- .padding-14 {
- padding: 14px;
- }
- .padding-20 {
- padding: 20px;
- }
- .padding-top {
- padding-top: 10px;
- }
- .padding-right {
- padding-right: 10px;
- }
- .padding-bottom {
- padding-bottom: 10px;
- }
- .padding-left {
- padding-left: 10px;
- }
- .text-center {
- text-align: center;
- }
- .text-right {
- text-align: right;
- }
- .text-left {
- text-align: left;
- }
- .pointer {
- cursor: pointer;
- }
- .ellipsis {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .nowrap {
- word-wrap: normal;
- white-space: nowrap;
- }
- .lines-1 {
- text-overflow: ellipsis;
- -webkit-line-clamp: 1;
- display: -webkit-box;
- overflow: hidden;
- -webkit-box-orient: vertical;
- }
- .lines-2 {
- text-overflow: ellipsis;
- -webkit-line-clamp: 2;
- display: -webkit-box;
- overflow: hidden;
- -webkit-box-orient: vertical;
- word-break: break-all;
- }
- .lines-height-2 {
- line-height: 2
- }
- .lines-height-15 {
- line-height: 1.5
- }
- .row2 {
- word-break: break-all;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- }
- .card-item {
- border-radius: 8px;
- box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.08);
- background-color: #fff;
- margin: 0 14px 14px;
- overflow: hidden;
- }
- .btn {
- height: 32px;
- border-radius: 5px;
- }
- .pointer {
- cursor: pointer;
- }
- .hide-scrollbar::-webkit-scrollbar {
- display: none;
- }
- .box-shadow-blue {
- box-shadow: 0 0 16px 2px #deedff;
- }
- .box-shadow {
- box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.18)
- }
- .main-button {
- color: #fff;
- width: 100%;
- height: 44px;
- line-height: 44px;
- border-radius: 8px;
- font-size: 16px;
- background: linear-gradient(239deg, #85CAFF 0%, #007CDD 100%);
- cursor: pointer;
- &:hover {
- opacity: 0.9;
- }
- }
- .button-plain {
- width: 110px;
- color: $primary;
- text-align: center;
- height: 32px;
- border-radius: 16px;
- border: 2px solid $primary;
- line-height: 28px;
- box-sizing: border-box;
- &:hover {
- background: rgba($primary, 0.1);
- }
- }
- /*颜色*/
- .main-color, a.main-color {
- color: $primary;
- }
- /*主色*/
- .main-bgcolor {
- background-color: $primary;
- }
- .assist-color, a.assist-color {
- color: #78b
- }
- /*辅助色*/
- .assist-bgcolor {
- background-color: #78b;
- }
- .orange, a.orange {
- color: #ff6700;
- }
- .orange-bg {
- background-color: #ff6700;
- }
- .grey, a.grey {
- color: #707070;
- }
- .grey-bg {
- background-color: #505050;
- }
- .grey-6, a.grey-6 {
- color: #6b6b6b;
- }
- .grey-6-bg {
- background-color: #F6F6F6;
- }
- .grey-9, a.grey-9 {
- color: #9c9c9c;
- }
- .grey-9-bg {
- background-color: #9c9c9c;
- }
- .grey-d, a.grey-d {
- color: #dfdfdf;
- }
- .grey-d-bg {
- background-color: #dfdfdf;
- }
- .grey-e, a.grey-e {
- color: #efefef;
- }
- .grey-e-bg {
- background-color: #efefef;
- }
- .grey-f, a.grey-f {
- color: #f5f5f5;
- }
- .grey-f-bg {
- background-color: #f5f5f5;
- }
- .grey-fa-bg {
- background-color: #fafafa;
- }
- .black, a.black {
- color: #333;
- }
- .black-bg {
- background-color: #333;
- }
- .white, a.white {
- color: #fff;
- }
- .white-bg {
- background-color: #fff;
- }
- .red, a.red {
- color: #e12e2e;
- }
- .red-bg {
- background-color: #e12e2e;
- }
- .light-red, a.light-red {
- color: #ff5050;
- }
- .light-red-bg {
- background-color: #ff5050;
- }
- .orange-red, a.orange-red {
- color: #ff4e00;
- }
- .orange-red-bg {
- background-color: #ff4e00;
- }
- .yellow, a.yellow {
- color: #fbcb30;
- }
- .yellow-bg {
- background-color: #fbcb30;
- }
- .orange, a.orange {
- color: #ff6700;
- }
- .orange-bg {
- background-color: #ff6700;
- }
- .orange-yellow, a.orange-yellow {
- color: #fd9712;
- }
- .orange-yellow-bg {
- background-color: #fd9712;
- }
- .green, a.green {
- color: $green;
- }
- .green-bg {
- background-color: $green;
- }
- .green-text, a.green-text {
- color: #008000;
- }
- .light-green, a.light-green {
- color: #8fd14c;
- }
- .light-green-bg {
- background-color: #8fd14c;
- }
- .blue, a.blue {
- color: #3caaff;
- }
- .blue-bg {
- background-color: #3caaff;
- }
- .light-blue, a.light-blue {
- color: #7597dc;
- }
- .light-blue-bg {
- background-color: #7597dc;
- }
- .pink, a.pink {
- color: #fb5c9b;
- }
- .pink-bg {
- background-color: #fb5c9b;
- }
- .purple, a.purple {
- color: #a776d9;
- }
- .purple-bg {
- background-color: #a776d9;
- }
- .light-purple, a.light-purple {
- color: #b394f3;
- }
- .light-purple-bg {
- background-color: #b394f3;
- }
- /* 表格头部标题左边的border */
- .before-line {
- position: relative;
- margin-left: 10px;
- }
- .before-line:before {
- content: '';
- position: absolute;
- left: -10px;
- top: 54%;
- transform: translateY(-50%);
- border: 2px solid $primary;
- border-radius: 2px;
- height: 50%;
- }
|