@import '@/utils/common.scss'; .streaks_title { display: flex; font-weight: bold; font-size: 48px; line-height: 48px; margin-top: 60px; margin-bottom: 20px; margin-left: 46px; color: #fff; } .streaks_content { margin-left: 46px; margin-right: 46px; display: flex; flex-direction: row; justify-content: space-between; } .streaks_item { width: 318px; background-color: #1C1C1C; box-sizing: border-box; border-radius: 36px; padding-left: 24px; padding-right: 24px; padding-top: 24px; padding-bottom: 32px; display: flex; flex-direction: column; align-items: center; } .streaks_item_header { display: flex; flex-direction: row; justify-content: space-between; align-items: center; } .streak_item_type { font-size: 22px; line-height: 32px; color: #fff; opacity: 0.6; } .streak_item_point_bg { display: flex; flex-direction: row; align-items: center; margin-top: 18px; // margin-bottom: 58px; } .scroll_point_bg { display: flex; flex-direction: row; // align-items: center; margin-top: 26px; width: 270px; box-sizing: border-box; border-radius: 6px; transform: translateY(0); overflow: hidden; height: 28px; } .streak_item_point { height: 28px; width: 28px; border-radius: 14px; margin-right: 8px; background: rgba(216, 216, 216, 0.1); flex-shrink: 0; } .streak_item_note { font-size: 24px; line-height: 24px; color: #fff; opacity: 0.4; } .streak_item_value { font-size: 36px; line-height: 36px; font-weight: bold; margin-left: 6px; margin-right: 4px; height: 36px; } .streaks_countdown_bg { padding-left: 46px; padding-right: 46px; padding-top: 20px; padding-bottom: 20px; display: flex; flex-direction: column; } .streak_countdown_item { height: 32px; line-height: 32px; margin-right: 24px; display: flex; flex-direction: row; align-items: center; } .streak_point { width: 12px; height: 12px; border-radius: 6px; background-color: #fff; opacity: 0.4; margin-right: 10px; } /* #ifdef weapp */ .streak_countdown_title { font-size: 18px; font-weight: bold; background: linear-gradient(90deg, $fastColor 0%, $sleepColor 100%); -webkit-background-clip: text; background-clip: text; color: transparent; } .streak_line_left{ height: 1px; margin-right: 10px; background: linear-gradient(270deg, #2F2F2F 0%, rgba(47, 47, 47, 0) 100%); // transform: scaleY(0.5); flex: 1; } .streak_line_right{ height: 1px; margin-left: 10px; background: linear-gradient(90deg, #2F2F2F 0%, rgba(47, 47, 47, 0) 100%); // transform: scaleY(0.5); flex: 1; } /* #endif */ /* #ifdef rn */ .streak_countdown_title { font-size: 18px; font-weight: bold; // background: linear-gradient(90deg, $fastColor 0%, $sleepColor 100%); -webkit-background-clip: text; background-clip: text; color: transparent; } /* #endif */ .streak_countdown_value { color: #fff; opacity: 0.4; font-size: 18px; letter-spacing: 0; } .streak_index { font-weight: bold; font-size: 56px; line-height: 60px; } .streak_index_day{ font-size: 40px; line-height: 40px; font-weight: bold; margin-left: 4px; margin-bottom: 6px; } .streak_next { display: flex; flex-direction: row; margin-top: 24px; height: 20px; width: 120%; align-items: center; } .streak_next_text{ font-size: 16px; line-height: 20px; color: #2F2F2F; } .streak_status { margin-top: 24px; display: flex; flex-direction: row; align-items: center; justify-content: center; color: #fff; opacity: 0.3; font-size: 20px; line-height: 24px; font-weight: bold; } .streak_bottom{ margin-top: 12px; display: flex; flex-direction: row; justify-content: center; align-items: center; height: 34px; } .streak_bottom_info{ height: 34px; min-width: 114px; padding-left: 15px; padding-right: 15px; border-radius: 6px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; } .streak_bottom_info_text{ font-size: 20px; color: #fff; font-weight: bold; margin-bottom: 2px; }