123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- .book {
- position: fixed;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- inset: 0;
- z-index: 100;
- padding-top: 10vh;
- .back {
- position: absolute;
- left: 41px;
- top: 24px;
- }
- &.bookHide {
- visibility: hidden;
- pointer-events: none;
- opacity: 0;
- }
- :global {
- .bookWrap {
- margin: 0 auto;
- }
- .animated {
- transition: margin-left 0.2s ease-in-out;
- }
- .page {
- background: white;
- }
- .shadow {
- box-shadow: 0 0 20px 0 rgba(0, 0, 0, .4);
- }
- .page-wrapper {
- perspective: 2000px;
- }
- }
- }
- .wrap {
- position: relative;
- height: 100%;
- overflow: hidden;
- background-color: #FFD8A1;
- width: calc(100% + 1Px);
- &::before {
- content: '';
- position: absolute;
- left: 10Px;
- right: 10Px;
- top: 10Px;
- bottom: 10Px;
- background-color: #fff;
- z-index: 1;
- }
- .wrapItem {
- position: relative;
- padding: 20Px;
- height: 100%;
- overflow: hidden;
- z-index: 2;
- }
- .item {
- display: flex;
- font-size: 14px;
- font-weight: 600;
- color: #333;
- line-height: 20Px;
- padding: 13Px 0;
- word-break: break-all;
- }
- .des {
- line-height: 16Px;
- font-size: 12px;
- font-weight: 400;
- }
- .icon {
- width: 20Px;
- height: 20Px;
- margin-right: 6Px;
- }
- .last {
- font-size: 12Px;
- color: #FF5A56;
- margin-left: 6px;
- font-weight: 400;
- }
- }
- :global(.even) {
- .wrap {
- left: -1Px;
- &::before {
- right: 0;
- border-radius: 4Px 0 0 4Px;
- }
- &::after {
- content: '';
- position: absolute;
- right: 0;
- top: 0;
- bottom: 0;
- width: 24Px;
- background: linear-gradient(to right,rgba(255, 255, 255, 0) 20% ,rgba(229, 199, 156, .4) 100%);
- z-index: 3;
- }
- }
- }
- :global(.odd) {
- .wrap {
- left: -1Px;
- &::before {
- left: 0;
- border-radius: 0 4Px 4Px 0;
- }
- &::after {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- bottom: 0;
- width: 24Px;
- background: linear-gradient(to right, rgba(255, 225, 183, .35) 8%, rgba(255, 255, 255, 0) 100%);
- z-index: 2;
- }
- }
- .wrapItem {
- padding-left: 20Px;
-
- }
- }
|