123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309 |
- .card-section-content {
- border-radius: 14px;
- background: linear-gradient(270deg, #DBF1FF 0%, #E7F9FF 100%) !important;
-
-
-
-
-
-
-
- img {
- -moz-user-select: none;
-
- -webkit-user-drag: none;
-
- -webkit-user-select: none;
-
- -ms-user-select: none;
-
- user-select: none;
-
- -webkit-touch-callout: none;
-
- }
- &.isActive {
- border: 2px solid rgba(0, 122, 254, 1) !important;
- }
- }
- .card-section {
- position: relative;
- box-sizing: border-box;
- width: 300px;
- height: 220px;
- border-radius: 14px;
- background: linear-gradient(270deg, #DBF1FF 0%, #E7F9FF 100%) !important;
- display: inline-flex;
- transition: all .3s ease-in-out;
- :global {
- .n-card--bordered {
- border: 1Px solid rgba(202, 228, 244, 1) !important;
-
- &:hover {
- border: 1Px solid rgba(0, 122, 254, 1) !important;
- }
- }
- }
- &.isError {
- :global {
- .n-card--bordered {
- border: 1Px solid #d03050 !important;
-
- &:hover {
- border: 1Px solid #d03050 !important;
- }
- }
- }
- }
- &.cardDrag {
- cursor: move;
- :global {
- .n-image:not(.n-image--preview-disabled) {
- cursor: move !important;
- }
- }
- }
- &.course {
- cursor: pointer;
- }
-
- &:hover,
- &.showAddBtn {
- transform: scale(1.01);
- transition: all .3s ease-in-out;
- .addBtn {
- display: block;
- opacity: 1;
- transition: all .3s ease-in-out;
- }
- }
-
- .cover {
- width: 100%;
- height: 100%;
- background-color: #fff;
- border-radius: 14px 14px 0 0;
- overflow: hidden;
- img {
- height: fit-content;
- min-height: 100%;
- }
- }
- :global {
- .n-card__footer {
- padding: 10px 12px;
- }
- .n-card-cover {
-
- position: relative;
- flex: 1 auto;
- }
- }
- .audioPlayTypeSection {
- position: absolute;
- bottom: 10px;
- right: 12px;
- font-size: 0;
- gap: 8px 10px !important;
- &.audioPlayTypeSmall {
- .iconType {
- display: inline-block;
- width: 22px;
- height: 22px;
- }
- }
- .iconType {
- display: inline-block;
- width: 26px;
- height: 26px;
- }
- .iconPlay {
- background: url('../../common/images/icon-play-default.png');
- background-size: contain;
- &:hover {
- background: url('../../common/images/icon-play-active.png');
- background-size: contain;
- }
- }
- .iconSing {
- background: url('../../common/images/icon-sing-default.png');
- background-size: contain;
- &:hover {
- background: url('../../common/images/icon-sing-active.png');
- background-size: contain;
- }
- }
- }
- .footer {
- display: flex;
- align-items: center;
- justify-content: space-between;
-
- }
- .title {
- display: flex;
- align-items: center;
- .titleType {
- width: 13Px;
- height: 13Px;
- margin-top: 1px;
- }
- .titleContent {
- padding-left: 6px;
- font-size: max(16px, 12Px);
- max-width: 160px;
- color: #131415;
- font-weight: 600 !important;
- flex: 1;
- }
- }
-
- .btnGroup {
- position: absolute;
- right: 12px;
- display: flex;
- align-items: center;
- :global {
- .n-spin-content {
- display: flex;
- align-items: center;
- }
- }
- }
- .btnItem+.btnItem {
- margin-left: 12px;
- }
- .iconCollect {
- width: 34px;
- height: 34px;
-
-
-
-
- transition: transform .2s ease;
- &:hover {
- transform: scale(1.1);
- transition: transform .2s ease;
- }
- &.isCollect {
- cursor: pointer;
- }
- }
- .iconDiv {
- right: 12px;
- }
-
- .iconSelected {
- background: url('../../common/images/icon-selected.png') no-repeat center;
- background-size: contain;
- position: absolute;
- top: 0px;
- left: 0px;
- z-index: 9;
- width: 58px;
- height: 29px;
- border-top-left-radius: 14px;
- }
-
- .addBtn {
- position: absolute;
- top: 6px;
- right: 6px;
- font-size: max(16px, 12Px);
- font-weight: 600 !important;
- height: 32px;
- border-radius: 8px;
-
-
- z-index: 99;
- transition: all .3s ease-in-out;
- &.addBtnDisabled {
- background-color: #fff;
- color: #999;
- font-weight: bold !important;
- --n-border: 1px solid #fff !important;
- --n-border-hover: 1px solid #fff !important;
- --n-border-pressed: 1px solid #fff !important;
- --n-border-focus: 1px solid #fff !important;
- --n-border-disabled: 1px solid #fff !important;
- --n-opacity-disabled: 1 !important;
- }
- }
- .offShelfBg {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- border-radius: 14px;
- background-color: rgba(0, 0, 0, 0.7);
- z-index: 10;
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
- .offShelfTips {
- font-size: 22px;
- font-weight: 600;
- color: #FFFFFF;
- line-height: 30px;
- padding-bottom: 32px;
- }
- .offShelfBtn {
- height: 44px;
- border-radius: 10px;
- min-width: 124px;
- }
- }
- }
|