| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- #hotListWrap {
- display: flex;
- flex-direction: column;
- position: absolute;
- top: 0;
- right: -400px;
- width: 356px;
- max-width: 50%;
- height: 100%;
- transition: right 0.4s, width 0.5s;
- background: rgba(34, 36, 37, 0.7);
- z-index: var(--z-index-popper);
- }
- .hotListActive {
- right: 0 !important;
- }
- #hotListTitle {
- position: relative;
- width: 100%;
- height: 15%;
- opacity: 0.8;
- display: flex;
- flex-direction: column;
- justify-content: center;
- text-align: center;
- }
- #hotListContent {
- width: 100%;
- flex-grow: 1;
- height: 100%;
- overflow-y: scroll;
- overflow-x: hidden;
- }
- #hotListBottom {
- position: relative;
- height: 20%;
- }
- #hotListClose {
- position: absolute;
- width: 26px;
- right: 64px;
- bottom: 64px;
- cursor: pointer;
- }
- #hotListContent ul {
- padding: 40px 30px;
- font-size: 18px;
- letter-spacing: 3px;
- }
- #hotListContent ul li {
- height: 68px;
- line-height: 68px;
- text-align: right;
- color: #979cab;
- padding: 0 25px;
- transition: color 0.3s, background 0.6s;
- border-radius: 10px;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- #hotListContent ul li:hover {
- color: white;
- }
- #hotListContent ul li.active {
- color: black;
- background: #f3f5f9;
- }
- #hotListText {
- font-size: 22px;
- letter-spacing: 4px;
- color: white;
- }
- #hotListIcon {
- width: 34px;
- margin-left: 48px;
- }
- #hotListContent::-webkit-scrollbar {
- width: 6px;
- }
- #hotListContent::-webkit-scrollbar-thumb {
- border-radius: 10px;
- background-color: #979cab;
- }
- #hotListContent::-webkit-scrollbar-track {
- border-radius: 10px;
- }
- @media only screen and (max-width: 910px) {
- #hotListWrap {
- top: -320px;
- right: 0;
- width: 100%;
- max-width: 100%;
- height: 250px;
- transition: top 0.4s, width 0.5s;
- background: rgba(34, 36, 37, 0.9);
- }
- .hotListActive {
- top: 0 !important;
- }
- #hotListTitle {
- height: 40%;
- position: relative;
- background: none;
- opacity: 1;
- }
- #hotListText {
- font-size: 20px;
- letter-spacing: 3px;
- font-weight: 100;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- }
- #hotListIcon {
- width: 24px;
- margin-left: 26px;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(165%, -50%);
- }
- #hotListContent ul li {
- text-align: center;
- height: 40px;
- line-height: 40px;
- }
- #hotListContent ul {
- padding: 0 30px;
- font-size: 16px;
- }
- #hotListBottom {
- display: none;
- height: 15%;
- /* background: rgba(34, 36, 37,0.9); */
- background: none;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- #hotListClose {
- display: none;
- position: initial;
- width: 18px;
- }
- #hotListContent ul li.active {
- color: white;
- background: none;
- }
- }
|