123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- /* reset */
- body,
- div,
- ul,
- ol,
- li,
- h1,
- h2,
- h3,
- h4,
- h5,
- h6,
- input,
- p,
- tr,
- th,
- td,
- span,
- a,
- header,
- footer {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
- }
- li {
- list-style: none;
- }
- em,
- i,
- u {
- font-style: normal;
- }
- input {
- outline: none;
- border: none;
- box-shadow: 100px 100px 100px #fff inset;
- font-family: $--font-family;
- }
- button {
- font-family: $--font-family;
- }
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- font-size: 100%;
- font-weight: bold;
- }
- fieldset,
- img {
- border: 0;
- }
- abbr {
- border: 0;
- font-variant: normal;
- }
- a {
- text-decoration: none;
- color: inherit;
- *color: $--color-text-secondary;
- }
- img {
- vertical-align: middle;
- }
- /* common-style */
- input:-webkit-autofill {
- box-shadow: 0 0 0 1000px white inset;
- }
- input[type="text"]:focus,
- input[type="password"]:focus,
- input[type="number"]:focus,
- textarea:focus {
- box-shadow: 0 0 0 1000px white inset;
- }
- /* browse style */
- ::-webkit-scrollbar {
- width: 8px;
- height: 8px;
- background: transparent;
- }
- ::-webkit-scrollbar-button {
- display: none;
- }
- ::-webkit-scrollbar-track {
- background: transparent;
- }
- ::-webkit-scrollbar-thumb {
- border-radius: 8px;
- background: $--color-text-primary;
- }
- ::-webkit-scrollbar-corner {
- background: transparent;
- }
- ::-webkit-scrollbar-resizer {
- background: transparent;
- }
- body {
- font-family: $--font-family;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- font-size: $--font-size-base;
- color: $--color-text-primary;
- background: $--color-background;
- min-width: 1366px;
- }
- // color
- .color-primary {
- color: $--color-primary !important;
- }
- .color-success {
- color: $--color-success;
- }
- .color-warning {
- color: $--color-warning;
- }
- .color-danger {
- color: $--color-danger;
- }
- .color-info {
- color: $--color-info;
- }
- // text
- .text-center {
- text-align: center;
- }
- // other
- .btn--danger {
- &.el-button--text {
- color: $--color-danger !important;
- }
- }
- .btn-white {
- background-color: #fff !important;
- color: #999 !important;
- }
- .font-bold {
- font-weight: bold;
- }
- .table-head-bg {
- th {
- background-color: #f6f6f6;
- color: $--color-text-primary;
- }
- }
- .btn-act {
- background: rgba(28, 208, 161, 1) !important;
- box-shadow: 5px 5px 4px 0px rgba(28, 208, 161, 0.3);
- border-radius: 10px;
- }
- .mr-1 {
- margin-right: 5px;
- }
- .mr-2 {
- margin-right: 10px;
- }
|