123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- @import './transition/index.less';
- @import 'var/index.less';
- @import 'public.less';
- @import 'mixins.less';
- @import 'ant/index.less';
- @import './global.less';
- *,
- *::before,
- *::after {
- padding: 0;
- margin: 0;
- box-sizing: border-box;
- }
- html,
- body {
- width: 100%;
- height: 100%;
- overflow: hidden;
- &.color-weak {
- filter: invert(80%);
- }
- &.gray-mode {
- filter: grayscale(100%);
- filter: progid:dximagetransform.microsoft.basicimage(grayscale=1);
- }
- }
- input::-ms-clear,
- input::-ms-reveal {
- display: none;
- }
- body {
- font-family: 'Microsoft YaHei,微软雅黑,Arial,sans-serif,Helvetica Neue,Helvetica,Pingfang SC,Hiragino Sans GB';
- font-style: normal;
- font-weight: normal;
- line-height: 1.428571429;
- letter-spacing: normal;
- word-spacing: normal;
- text-align: left;
- text-align: start;
- text-decoration: none;
- text-size-adjust: 100%;
- text-shadow: none;
- text-transform: none;
- word-break: normal;
- word-wrap: normal;
- white-space: normal;
- line-break: auto;
- }
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- margin-top: 0;
- margin-bottom: 0.5em;
- font-weight: 500;
- color: @heading-color;
- }
- ul,
- ol {
- list-style: none;
- }
- li {
- list-style-type: none;
- }
- img {
- vertical-align: top;
- border: 0;
- }
- table {
- border-collapse: collapse;
- border-spacing: 0;
- }
- a:focus,
- a:active {
- outline: none;
- }
- i,
- em {
- font-style: normal;
- }
- button,
- div:focus {
- outline: none !important;
- }
- a {
- color: @link-color;
- text-decoration: none;
- cursor: pointer;
- background-color: transparent;
- outline: none;
- transition: color 0.3s;
- -webkit-text-decoration-skip: objects;
- &:hover {
- color: @link-hover-color;
- }
- &:active {
- color: @link-active-color;
- }
- &:active,
- &:hover {
- text-decoration: none;
- outline: 0;
- }
- &[disabled] {
- color: @disabled-color;
- pointer-events: none;
- cursor: not-allowed;
- }
- }
- img,
- svg,
- video,
- canvas,
- audio,
- iframe,
- embed,
- object {
- vertical-align: baseline !important;
- }
- #app,
- #app > div,
- .ant-layout {
- width: 100%;
- height: 100%;
- }
- .ant-layout {
- background: #f1f1f6;
- &-content {
- position: relative;
- overflow: hidden;
- }
- }
|