| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /* module/article/components/diet-card/diet-card.wxss */
- .list-card-item {
- position: relative;
- display: flex;
- flex-direction: row;
- align-items: center;
- min-height: 125px;
- padding: 12px;
- box-sizing: border-box;
- .cover {
- flex: none;
- width: 100px;
- height: 100px;
- margin-right: 16px;
- border-radius: 12px;
- }
- .content {
- flex: auto;
- display: flex;
- flex-direction: column;
- height: 100px;
- justify-content: space-evenly;
- }
- .title {
- font-size: 16px;
- color: #fff;
- }
- .description {
- font-size: 14px;
- color: #A2AFB2;
- &-2 {
- font-size: 12px;
- color: #34A76B;
- }
- }
- .border-gradient {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 1px;
- transform: translateY(-1px);
- background: linear-gradient(90deg, rgba(15, 34, 38, 0) 0%, var(--primary-color, #38FF6E) 50%, rgba(15, 34, 38, 0) 100%);
- }
- }
|