|
| 1 | +.app-home { |
| 2 | + min-height: 10vh; |
| 3 | + padding-bottom: 40px; |
| 4 | +} |
| 5 | +.app-home .app-home-list { |
| 6 | + width: calc(100% - 292px); |
| 7 | +} |
| 8 | +.app-home .app-home-list-item { |
| 9 | + position: relative; |
| 10 | + border: 1px solid #ebedf0; |
| 11 | + padding: 16px 24px; |
| 12 | + margin-bottom: 10px; |
| 13 | + transition: all 0.2s linear; |
| 14 | +} |
| 15 | +.app-home .app-home-list-item:hover { |
| 16 | + background: #effbff; |
| 17 | + box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.1); |
| 18 | + transform: translate3d(0, -5px 0); |
| 19 | +} |
| 20 | +.app-home .app-home-list-item .title { |
| 21 | + color: #394d69; |
| 22 | + font-size: 1.4rem; |
| 23 | + font-weight: 600; |
| 24 | + line-height: 1.2; |
| 25 | + cursor: pointer; |
| 26 | +} |
| 27 | +.app-home .app-home-list-item .title:hover { |
| 28 | + color: #48b2ff; |
| 29 | +} |
| 30 | +.app-home .app-home-list-item .posted-time { |
| 31 | + font-size: 0.5em; |
| 32 | + padding-left: 20px; |
| 33 | +} |
| 34 | +.app-home .app-home-list-item .content { |
| 35 | + cursor: pointer; |
| 36 | + max-height: 260px; |
| 37 | + overflow: hidden; |
| 38 | +} |
| 39 | +.app-home .app-home-list-item .list-item-others { |
| 40 | + vertical-align: middle; |
| 41 | + margin-top: 10px; |
| 42 | + color: rgba(0, 0, 0, 0.45); |
| 43 | +} |
| 44 | +.app-home .app-home-list-item .list-item-others a { |
| 45 | + color: inherit; |
| 46 | +} |
| 47 | +.app-home .preview { |
| 48 | + position: fixed; |
| 49 | + width: 260px; |
| 50 | + top: 90px; |
| 51 | + right: 20px; |
| 52 | + list-style-type: circle; |
| 53 | +} |
| 54 | +.app-home .preview .title { |
| 55 | + color: #394d69; |
| 56 | + font-size: 22px; |
| 57 | +} |
| 58 | +.app-home .preview li { |
| 59 | + cursor: pointer; |
| 60 | + display: block; |
| 61 | + -webkit-transition: all 0.3s ease; |
| 62 | + transition: all 0.3s ease; |
| 63 | + white-space: nowrap; |
| 64 | + overflow: hidden; |
| 65 | + text-overflow: ellipsis; |
| 66 | + margin-left: -1px; |
| 67 | +} |
| 68 | +.app-home .preview li a { |
| 69 | + color: #8590a6; |
| 70 | + display: block; |
| 71 | +} |
| 72 | +.app-home .preview li:hover { |
| 73 | + background: #f0f2f5; |
| 74 | +} |
| 75 | +.app-home .preview li:hover a { |
| 76 | + color: #40a9ff; |
| 77 | +} |
| 78 | +.app-home .app-pagination { |
| 79 | + margin-right: 292px; |
| 80 | +} |
| 81 | +.app-home .ant-drawer-body { |
| 82 | + padding: 0; |
| 83 | + width: 256px; |
| 84 | + height: 100%; |
| 85 | +} |
| 86 | +.app-home .ant-drawer-body .preview { |
| 87 | + position: static; |
| 88 | + margin: 0; |
| 89 | + margin-top: 10px; |
| 90 | +} |
| 91 | +.app-home .ant-drawer-body .preview li { |
| 92 | + padding-left: 20px; |
| 93 | +} |
| 94 | +.app-home .ant-drawer-body .preview li a { |
| 95 | + line-height: 26px; |
| 96 | +} |
| 97 | +.app-home .drawer-btn { |
| 98 | + position: fixed; |
| 99 | + width: 41px; |
| 100 | + height: 41px; |
| 101 | + top: 20vh; |
| 102 | + right: 0; |
| 103 | + cursor: pointer; |
| 104 | + box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15); |
| 105 | + border-radius: 4px 0 0 4px; |
| 106 | + text-align: center; |
| 107 | + line-height: 41px; |
| 108 | + z-index: 999; |
| 109 | + background: #fff; |
| 110 | +} |
| 111 | +.app-home .no-data { |
| 112 | + margin-top: 24%; |
| 113 | +} |
| 114 | +.app-home .no-data .keyword { |
| 115 | + font-size: 18px; |
| 116 | + font-weight: bold; |
| 117 | + color: #f00; |
| 118 | +} |
| 119 | +@media screen and (max-width: 1300px) { |
| 120 | + .app-home .app-home-list { |
| 121 | + width: 100%; |
| 122 | + } |
| 123 | + .app-home .app-pagination { |
| 124 | + margin-right: 0; |
| 125 | + } |
| 126 | +} |
0 commit comments