|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419 |
- .page-container {
- padding-bottom: 0;
- }
-
- .upfold {
- background-color: var(--black);
- padding: 20px 10%;
-
- .close-button {
- background-color: transparent;
- border: 0px;
-
- .icon {
- width: 15px;
- height: 15px;
- fill: var(--white);
- }
- }
-
- h3 {
- color: var(--teal);
- font-size: 20px;
- margin-top: 20px;
- font-weight: 500;
- }
-
- p {
- margin-top: 10px;
- color: var(--white);
- font-size: 13px;
- }
-
- label {
- color: var(--light-grey);
- font-size: 14px;
- margin-top: 20px;
- display: block;
- font-weight: 500;
- }
- }
-
- .progress-holder {
- height: 7px;
- background-color: #cecece;
- position: relative;
-
- .progress {
- position: absolute;
- left: 0;
- top: 0;
- height: 100%;
- width: 30%;
- background-color: var(--green);
- }
- }
-
- .segment-header {
- position: sticky;
- position: -webkit-sticky;
- z-index: 1;
- left: 0;
- top: 0;
- background-color: var(--ash-black);
- display: flex;
- align-items: stretch;
- height: 50px;
- box-shadow: 0px 0px 5px var(--black);
-
- &.hide-grades {
- button {
- width: calc(100% / 3);
-
- &:nth-child(3) {
- display: none;
- }
- }
- }
-
- button {
- font-size: 14px;
- width: calc(100% / 4);
- border: 0px;
- background-color: transparent;
- color: var(--light-grey);
-
- &.active {
- color: var(--white);
- }
- }
- }
-
- .test-prompt {
- background-color: var(--black);
- padding: 20px;
-
- .prompt {
- border-radius: 15px;
- background-color: var(--ash-black);
- padding: 20px;
- }
-
- p {
- color: var(--white);
- font-size: 13px;
- }
-
- button {
- margin-top: 10px;
- display: block;
- width: 100%;
- height: 40px;
- color: var(--white);
- font-size: 14px;
- background-color: var(--teal-green);
- border-radius: 5px;
- border: 0px;
- }
- }
-
- .chapter-list {
- list-style: none;
-
- .chapter {
-
- .chapter-action-buttons {
- display: none;
- align-items: stretch;
- width: 100%;
- justify-content: space-around;
- padding: 10px 0;
-
- button {
- width: 48%;
- border-radius: 5px;
- height: 35px;
- font-size: 14px;
- color: var(--light-grey);
- border: 1px solid var(--light-grey);
- background-color: transparent;
-
- &:first-child {
- border-color: var(--teal-green);
- color: var(--teal-green);
- }
- }
- }
-
- &.completed {
- .checkmark {
- fill: var(--green);
- }
- }
-
- &.active {
- .chapter-action-buttons {
- display: flex;
- }
-
- .container {
- position: sticky;
- position: -webkit-sticky;
- top: 48px;
- z-index: 1;
- border-bottom: 0px;
- border-top: 1px solid var(--dark-grey);
- }
-
- .arrow {
- transform: rotate(90deg);
- }
-
- .topic-list {
- display: block;
- }
- }
- }
-
- .container {
- display: flex;
- align-items: center;
- justify-content: space-between;
- width: 100%;
- padding: 15px 5%;
- background-color: var(--ash-black);
- border-bottom: 1px solid var(--dark-grey);
-
- .icon {
- width: 20px;
- height: 20px;
- fill: var(--light-grey);
-
- &.checkmark {
- width: 25px;
- height: 25px;
- background-color: var(--white);
- border-radius: 50%;
- }
- }
-
- .chapter-heading {
- width: calc(100% - 100px);
- }
-
-
- label {
- font-size: 16px;
- font-weight: 500;
- color: var(--white);
- }
-
- p {
- color: var(--white);
- font-size: 14px;
- }
- }
- }
-
- .topic-list {
- list-style: none;
- position: relative;
- z-index: 0;
- display: none;
-
- .topic {
- display: flex;
- width: 100%;
- padding-left: 5%;
- justify-content: space-between;
- background-color: #333333;
- position: relative;
- overflow: visible;
-
- &::before {
- content: '';
- position: absolute;
- left: calc(5% + 9px);
- top: 50%;
- height: 100%;
- width: 2px;
- background-color: var(--light-grey);
- z-index: 1;
- }
-
- &:last-child {
- &::before {
- display: none;
- }
- }
-
- &.completed {
- .checkmark {
- fill: var(--green);
- }
- &::before {
- background-color: var(--green);
- }
- }
- }
-
- .topic-container {
- display: flex;
- width: 90%;
- padding: 15px;
- background-color: var(--black);
- border-bottom: 1px solid #333333;
-
- .action-button {
- background-color: transparent;
- border: 0px;
- }
-
- .icon {
- margin-top: 5px;
- }
-
- p {
- font-size: 14px;
- color: var(--light-grey);
- padding-right: 10px;
- height: 55px;
- display: -webkit-box;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
- overflow: hidden;
-
- .type {
- color: var(--white);
- font-weight: 500;
- }
-
- .type-icon {
- width: 15px;
- height: 15px;
- fill: var(--white);
- }
- }
- }
-
- .icon {
- width: 20px;
- height: 20px;
- fill: var(--light-grey);
- align-self: flex-start;
- position: relative;
- z-index: 2;
- overflow: visible;
-
- &.checkmark {
- align-self: center;
- background-color: var(--white);
- border-radius: 50%;
- }
-
- &.delete {
- fill: var(--danger-dark);
- }
-
- &.download {
- fill: var(--teal-green);
- }
-
- &.downloading {
- fill: var(--teal-green);
- overflow: visible;
-
- #download-arrow {
- animation: verticalMovement 1s infinite;
- fill: var(--light-grey);
- }
- }
- }
-
- .progress-button {
- transform: scale(0.6)translateX(17px);
- }
-
- #progress {
- stroke: var(--green);
- animation: fill 2s forwards;
- }
-
- @keyframes fill {
- 0% {
- stroke-dashoffset: calc(116.8 * (1 - 0.2));
- }
- 50% {
- stroke-dashoffset: calc(116.8 * (1 - 0.5));
- }
- 100% {
- stroke-dashoffset: calc(116.8 * (1 - 0.999999));
- }
- }
- }
-
- @keyframes verticalMovement {
- 0% {
- transform: translateY(0px);
- }
- 50% {
- transform: translateY(20px);
- }
- 0% {
- transform: translateY(0px);
- }
- }
-
- .resources-list {
- list-style: none;
- width: 90%;
- margin: 0 auto;
-
- header {
- font-size: 16px;
- color: var(--light-grey);
- font-weight: 500;
- margin: 30px 0 15px 0;
- }
-
- a {
- text-decoration: none;
- display: block;
- }
-
- li {
- padding: 15px 20px;
- background-color: var(--ash-black);
- display: flex;
- align-items: center;
- justify-content: space-between;
- border-radius: 10px;
- overflow: hidden;
- margin-bottom: 15px;
- }
-
- .content {
- width: calc(100% - 80px);
- }
-
- label {
- color: var(--white);
- font-size: 15px;
- display: block;
- }
-
- p {
- color: var(--light-grey);
- font-size: 12px;
- }
-
- .icon {
- width: 20px;
- height: 20px;
- fill: var(--light-grey);
-
- &.arrow {
- transform: rotate(-45deg);
- }
- }
- }
|