|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- .header-bar {
- display: flex;
- align-items: center;
- height: 60px;
- position: relative;
- padding: 0 5%;
-
- img {
- width: 35px;
- height: 35px;
- border-radius: 50%;
- overflow: hidden;
- }
-
- .icon {
- width: 20px;
- height: 20px;
- fill: white;
- }
-
- button {
- margin-left: 25px;
- border: 0px;
- background-color: transparent;
-
- &.profile-button {
- margin-left: 0;
- margin-right: auto;
- }
- }
- }
-
- .video-section {
- position: relative;
- text-align: center;
- background-color: var(--dark-grey);
- height: 30vh;
- width: 90%;
- margin: 10px auto;
- border-radius: 5px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: white;
- position: sticky;
- position: -webkit-sticky;
- top: 0;
- z-index: 1;
-
- .tutor {
- position: absolute;
- left: 10px;
- bottom: 10px;
- color: white;
-
- img {
- width: 20px;
- height: 20px;
- border-radius: 50%;
- margin-right: 5px;
- vertical-align: middle;
- overflow: hidden;
- }
-
- span {
- font-size: 12px;
- }
- }
-
- h2 {
- font-size: 20px;
- margin-bottom: 5px;
- }
-
- p {
- font-size: 16px;
- }
-
- .counter {
- font-size: 28px;
- font-weight: 500;
- letter-spacing: 1px;
- }
- }
-
-
- .subject-list {
- position: relative;
- width: 88%;
- margin: 0 auto;
- list-style: none;
-
- header {
- color: var(--black);
-
- h5 {
- font-size: 14px;
- margin-top: 30px;
- font-weight: 500;
- }
-
- &:first-child h5 {
- margin-top: 20px;
- }
- }
-
- li {
- background-color: white;
- border-radius: 15px;
- overflow: hidden;
- display: flex;
- align-items: center;
- padding: 15px 10px;
- margin-top: 15px;
- box-shadow: 0px 0px 5px -2px var(--black);
- justify-content: space-between;
- position: relative;
-
- &::before {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- width: 7px;
- height: 100%;
- background-color: transparent;
- }
-
- &.attended::before {
- background-color: var(--teal-green);
- }
-
- &.absent::before {
- background-color: rgba(red, 0.5);
- }
-
- &.late::before {
- background-color: rgba(orange, 0.5);
- }
- }
-
- .schedule {
- width: 80px;
- padding: 0 5px;
- text-align: center;
- }
-
- .subject {
- width: calc(100% - 180px);
- border-left: 1px solid #cecece;
- padding-left: 15px;
- overflow: hidden;
-
- p {
- margin-top: 10px;
- }
- }
-
- .view-button {
- height: 33px;
- border-radius: 5px;
- border: 0px;
- background-color: var(--teal-green);
- color: white;
- font-size: 14px;
- width: 80px;
- }
-
- label {
- font-size: 16px;
- color: var(--black);
- font-weight: 500;
- }
-
- p {
- font-size: 13px;
- color: var(--dark-grey);
- margin-top: 2px;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
-
- img {
- width: 20px;
- height: 20px;
- border-radius: 50%;
- overflow: hidden;
- object-fit: cover;
- object-position: top;
- vertical-align: middle;
- }
-
- span {
- vertical-align: middle;
- margin-left: 3px;
- }
- }
- }
|