index.less 3.65 KB
@import './pub.less';
html,body{
   
   height: 100%;
    min-width:1200px;
   font-family: "Arial", "Microsoft YaHei", "黑体", "宋体", "微软雅黑", sans-serif;
}
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video  {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}
*{box-sizing: border-box;}


h1, h2, h3, h4, h5, h6{font-weight:normal;}
ul,ol {
    list-style: none;
}

img {
    border: none;
    vertical-align: middle;
}

a {
    text-decoration: none;
    outline: none;
}
flex{
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}

// table {
//     border-collapse: collapse;
//     border-spacing: 0;
// }

input, textarea {
    outline: none;
    border: none;
}

textarea {
    resize: none;
    overflow: auto;
}

.clearfix {
    zoom: 1;
}

.clearfix:after {
    content: ".";
    width: 0;
    height: 0;
    visibility: hidden;
    display: block;
    clear: both;
    overflow:hidden;
}


.tl {
    text-align: left;
}

.tc {
    text-align: center
}

.tr {
    text-align: right;
}
//文本省略号
.ellipse {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.inline{
    display: inline-block;
    *display: inline;
    *zoom: 1;
}
// @media (min-width: 1200px){
//     body{font-size: 12px}
//     } /*>=1200的设备*/

//     // @media (min-width: 1100px) {
//     // body{font-size: 14px}
//     // } /*>=1100的设备*/
//     @media (min-width: 1280px) {
//     body{font-size: 14px;}
//     } /*>=1280的设备*/

//     @media (min-width: 1366px) {

//     body{font-size: 16px;}
//     }

//     @media (min-width: 1440px) {
//     body{font-size: 18px !important;}
//     }

//     @media (min-width: 1680px) {
//     body{font-size: 20px;}
//     }
//     @media (min-width: 1920px) {
//     body{font-size: 22px;}
//     }
.BTN-Blue{
    cursor: pointer;
    height: 60/@f;
    width: 250/@f;
    border:none;
    border-radius:35/@f;
    font-size:20/@f;color:#fff;
    align-items: center;
    background:rgba(2, 154, 225,1) linear-gradient(to right, rgba(2, 154, 225,0), rgba(103, 233, 180,1));
    position: relative;top:0;left:0;padding-right:45/@f;
    transition: background-color .5s;
    &::before{
        background:#fff;border-radius:50%;color:#029ae1;line-height:45/@f;text-align: center;
        transform:translateY(-50%);font-size:22/@f;;
        position: absolute;top:50%;right:10/@f;display: inline-block;content:">";width:45/@f;height:45/@f;
       
    }
    &:hover{
      
        background-color:#044be1;
       
    }
}
.BTN-White{
    cursor: pointer;
    height: 60/@f;
    width: 250/@f;
    border:none;
    border-radius:35/@f;
    border:#fff solid 1px;
    font-size:20/@f;color:#fff;
    align-items: center;
    position: relative;top:0;left:0;padding-right:45/@f;
    background: rgba(2, 44, 150,0);
    &::before{
        background:#fff;border-radius:50%;color:rgba(2, 44, 150,1);line-height:45/@f;text-align: center;
        transform:translateY(-50%);font-size:22/@f;;
        position: absolute;top:50%;right:10/@f;display: inline-block;content:">";width:45/@f;height:45/@f;
    }
    &:hover{
      font-weight: bold;
    }
}
// 去掉点击button蓝边
button{
    outline:none;
    &:focus{
        outline: 0;
    }
} 
.h100{ height:100%;}