|
| 1 | +.courseCard { |
| 2 | + display: flex; |
| 3 | + flex-direction: row; |
| 4 | + height: 95px; |
| 5 | + width: 300px; |
| 6 | + justify-content: space-between; |
| 7 | + align-items: center; |
| 8 | + text-align: center; |
| 9 | + /* border: 2px solid var(--warmYellow); */ |
| 10 | + border-radius: 16px; |
| 11 | + /* box-shadow: 0px 4px 0px 0px; */ |
| 12 | + cursor: pointer; |
| 13 | + /* background: var(--faintYellow); */ |
| 14 | + padding: 0 16px; |
| 15 | + |
| 16 | + margin-top: 20px; |
| 17 | + |
| 18 | +} |
| 19 | + |
| 20 | +.courseHeader { |
| 21 | + display: flex; |
| 22 | + justify-content: space-between; |
| 23 | + align-items: center; |
| 24 | + width: 100%; |
| 25 | +} |
| 26 | + |
| 27 | +.courseTitle { |
| 28 | + text-align: center; |
| 29 | + font-family: var(--font-poppins), sans-serif; |
| 30 | + font-weight: 700; |
| 31 | + font-size: 19px; |
| 32 | + color: var(--primary); |
| 33 | + margin: 0; |
| 34 | +} |
| 35 | + |
| 36 | +.courseProgress { |
| 37 | + font-family: var(--font-poppins), sans-serif; |
| 38 | + font-weight: 600; |
| 39 | + font-size: 12px; |
| 40 | + color: var(--primary); |
| 41 | +} |
| 42 | + |
| 43 | +.progressBar { |
| 44 | + position: relative; |
| 45 | + width: 100px; |
| 46 | + height: 12px; |
| 47 | + background: var(--faintGrey); |
| 48 | + border-radius: 25px; |
| 49 | + overflow: hidden; |
| 50 | + margin: 8px 0; |
| 51 | +} |
| 52 | + |
| 53 | +.progressWrapper { |
| 54 | + display: flex; |
| 55 | + |
| 56 | + justify-content: space-between; |
| 57 | +} |
| 58 | + |
| 59 | +.progressFill { |
| 60 | + height: 100%; |
| 61 | + background: var(--coolAccentBg); |
| 62 | + border-radius: 4px; |
| 63 | + transition: width 0.3s ease; |
| 64 | +} |
| 65 | + |
| 66 | +.startBtn, |
| 67 | +.reviewBtn { |
| 68 | + display: inline-block; |
| 69 | + width: 80px; |
| 70 | + height: 25px; |
| 71 | + padding: 8px 16px; |
| 72 | + font-family: var(--font-poppins), sans-serif; |
| 73 | + font-weight: 500; |
| 74 | + font-size: 18px; |
| 75 | + text-align: center; |
| 76 | + text-decoration: none; |
| 77 | + border-radius: 25px; |
| 78 | + cursor: pointer; |
| 79 | + transition: background-color 0.3s ease, color 0.3s ease; |
| 80 | +} |
| 81 | + |
| 82 | +.startBtn { |
| 83 | + background: var(--warm); |
| 84 | + color: var(--white); |
| 85 | + border: none; |
| 86 | +} |
| 87 | + |
| 88 | +/* .startBtn:hover { |
| 89 | + background: #d9534f; |
| 90 | +} */ |
| 91 | + |
| 92 | +.reviewBtn { |
| 93 | + background: var(--warm); |
| 94 | + color: var(--white); |
| 95 | + border: none; |
| 96 | +} |
| 97 | + |
| 98 | +/* .reviewBtn:hover { |
| 99 | + background: #5cb85c; |
| 100 | +} */ |
| 101 | + |
| 102 | + |
| 103 | +.selectedcourseContainer { |
| 104 | + display: flex; |
| 105 | + flex-direction: column; |
| 106 | + height: 95px; |
| 107 | + width: 344px; |
| 108 | + justify-content: center; |
| 109 | + align-items: center; |
| 110 | + border: 2px solid var(--coolDark); |
| 111 | + border-radius: 16px; |
| 112 | + box-shadow: 0px 4px 0px 0px black; |
| 113 | + cursor: pointer; |
| 114 | + background: var(--coolAccentBg); |
| 115 | +} |
| 116 | + |
| 117 | +.correctcourse { |
| 118 | + background-color: var(--faintSuccess); |
| 119 | + border: 2px solid var(--success); |
| 120 | + box-shadow: 0px 4px 0px 0px var(--success); |
| 121 | +} |
| 122 | + |
| 123 | +.incorrectcourse { |
| 124 | + background-color: var(--faintFailure); |
| 125 | + border: 2px solid var(--failure); |
| 126 | + box-shadow: 0px 4px 0px 0px var(--failure); |
| 127 | +} |
| 128 | + |
| 129 | +@media screen and (max-height: 840px) { |
| 130 | + .courseContainer, |
| 131 | + .selectedcourseContainer { |
| 132 | + height: 80px; |
| 133 | + } |
| 134 | +} |
| 135 | +@media screen and (max-height: 750px) { |
| 136 | + .courseContainer, |
| 137 | + .selectedcourseContainer { |
| 138 | + height: 64px; |
| 139 | + } |
| 140 | +} |
| 141 | + |
| 142 | +.questionLabel { |
| 143 | + font-family: var(--font-poppins), sans-serif; |
| 144 | + font-weight: 700; |
| 145 | + font-size: 22px; |
| 146 | + line-height: 33px; |
| 147 | + color: var(--primary); |
| 148 | + text-align: left; |
| 149 | +} |
| 150 | + |
| 151 | +.courseText { |
| 152 | + font-family: var(--font-poppins), sans-serif; |
| 153 | + font-weight: 400; |
| 154 | + font-size: 20px; |
| 155 | + line-height: 30px; |
| 156 | + text-align: center; |
| 157 | + color: var(--primary); |
| 158 | +} |
| 159 | + |
| 160 | +.selectedcourseText { |
| 161 | + font-family: var(--font-poppins), sans-serif; |
| 162 | + font-weight: 400; |
| 163 | + font-size: 20px; |
| 164 | + line-height: 30px; |
| 165 | + text-align: center; |
| 166 | + color: white; |
| 167 | +} |
0 commit comments