huibing.xie | 1f1606f | 2018-08-20 15:46:55 +0800 | [diff] [blame^] | 1 | @import './variables.scss'; |
| 2 | @import './mixin.scss'; |
| 3 | @import './transition.scss'; |
| 4 | @import './element-ui.scss'; |
| 5 | @import './sidebar.scss'; |
| 6 | |
| 7 | body { |
| 8 | height: 100%; |
| 9 | -moz-osx-font-smoothing: grayscale; |
| 10 | -webkit-font-smoothing: antialiased; |
| 11 | text-rendering: optimizeLegibility; |
| 12 | font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif; |
| 13 | } |
| 14 | |
| 15 | label { |
| 16 | font-weight: 700; |
| 17 | } |
| 18 | |
| 19 | html { |
| 20 | height: 100%; |
| 21 | box-sizing: border-box; |
| 22 | } |
| 23 | |
| 24 | #app{ |
| 25 | height: 100%; |
| 26 | } |
| 27 | |
| 28 | *, |
| 29 | *:before, |
| 30 | *:after { |
| 31 | box-sizing: inherit; |
| 32 | } |
| 33 | |
| 34 | a, |
| 35 | a:focus, |
| 36 | a:hover { |
| 37 | cursor: pointer; |
| 38 | color: inherit; |
| 39 | outline: none; |
| 40 | text-decoration: none; |
| 41 | } |
| 42 | |
| 43 | div:focus{ |
| 44 | outline: none; |
| 45 | } |
| 46 | |
| 47 | a:focus, |
| 48 | a:active { |
| 49 | outline: none; |
| 50 | } |
| 51 | |
| 52 | a, |
| 53 | a:focus, |
| 54 | a:hover { |
| 55 | cursor: pointer; |
| 56 | color: inherit; |
| 57 | text-decoration: none; |
| 58 | } |
| 59 | |
| 60 | .clearfix { |
| 61 | &:after { |
| 62 | visibility: hidden; |
| 63 | display: block; |
| 64 | font-size: 0; |
| 65 | content: " "; |
| 66 | clear: both; |
| 67 | height: 0; |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | //main-container全局样式 |
| 72 | .app-main{ |
| 73 | min-height: 100% |
| 74 | } |
| 75 | |
| 76 | .app-container { |
| 77 | padding: 20px; |
| 78 | } |
| 79 | |
| 80 | .filter-container { |
| 81 | padding-bottom: 10px; |
| 82 | .filter-item { |
| 83 | display: inline-block; |
| 84 | vertical-align: middle; |
| 85 | margin-bottom: 10px; |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | //refine vue-multiselect plugin |
| 90 | .multiselect { |
| 91 | line-height: 16px; |
| 92 | } |
| 93 | |
| 94 | .multiselect--active { |
| 95 | z-index: 1000 !important; |
| 96 | } |