| @@ -14,6 +14,7 @@ import { PostDetailsComponent } from './reusable-components/forum/post-details/p | |||||
| import { ChatPageComponent } from './chat-page/chat-page.component'; | import { ChatPageComponent } from './chat-page/chat-page.component'; | ||||
| import { SettingsComponent } from './settings/settings.component'; | import { SettingsComponent } from './settings/settings.component'; | ||||
| import { TestComponent } from './tabs/courses/test/test.component'; | import { TestComponent } from './tabs/courses/test/test.component'; | ||||
| import { ThemesComponent } from './settings/themes/themes.component'; | |||||
| const routes: Routes = [ | const routes: Routes = [ | ||||
| { path: '', pathMatch: 'full', redirectTo: 'welcome' }, | { path: '', pathMatch: 'full', redirectTo: 'welcome' }, | ||||
| @@ -33,6 +34,7 @@ const routes: Routes = [ | |||||
| { component: PostDetailsComponent, path: 'forum-post-details'}, | { component: PostDetailsComponent, path: 'forum-post-details'}, | ||||
| { component: ChatPageComponent, path: 'chats'}, | { component: ChatPageComponent, path: 'chats'}, | ||||
| { component: SettingsComponent, path: 'settings'}, | { component: SettingsComponent, path: 'settings'}, | ||||
| { component: ThemesComponent, path: 'theme' } | |||||
| ]; | ]; | ||||
| @NgModule({ | @NgModule({ | ||||
| @@ -10,9 +10,35 @@ export class AppComponent { | |||||
| constructor( | constructor( | ||||
| private updateService: UpdateService, | private updateService: UpdateService, | ||||
| ) { | ) { | ||||
| let theme: string = ''; | |||||
| if (!localStorage.demoType) { | if (!localStorage.demoType) { | ||||
| localStorage.demoType = 'Student'; | localStorage.demoType = 'Student'; | ||||
| console.log('Student'); | |||||
| } | } | ||||
| if (!localStorage.theme) { | |||||
| localStorage.theme = 'white'; | |||||
| theme = 'white'; | |||||
| } else { | |||||
| theme = localStorage.theme; | |||||
| } | |||||
| if (!localStorage.mode) { | |||||
| localStorage.mode = 'day'; | |||||
| } | |||||
| // if (theme === 'dark') { | |||||
| // document.documentElement.style.setProperty('--white', '#ffffff'); | |||||
| // document.documentElement.style.setProperty('--black', '#1a1a1a'); | |||||
| // // document.documentElement.style.setProperty('--ash-black', '#282828'); | |||||
| // // document.documentElement.style.setProperty('--light-grey', '#999999'); | |||||
| // } | |||||
| // | |||||
| // if (theme === 'light') { | |||||
| // document.documentElement.style.setProperty('--white', '#1a1a1a'); | |||||
| // document.documentElement.style.setProperty('--black', '#ffffff'); | |||||
| // // document.documentElement.style.setProperty('--ash-black', '#bbbbbb'); | |||||
| // // document.documentElement.style.setProperty('--light-grey', '#5d5d5d'); | |||||
| // } | |||||
| } | } | ||||
| } | } | ||||
| @@ -44,6 +44,7 @@ import { EndComponent } from './tabs/courses/test/end/end.component'; | |||||
| import { QuestionSheetComponent } from './tabs/courses/test/question-sheet/question-sheet.component'; | import { QuestionSheetComponent } from './tabs/courses/test/question-sheet/question-sheet.component'; | ||||
| import { QuestionComponent } from './tabs/courses/test/question-sheet/question/question.component'; | import { QuestionComponent } from './tabs/courses/test/question-sheet/question/question.component'; | ||||
| import { AddBroadcastComponent } from './chat-page/add-broadcast/add-broadcast.component'; | import { AddBroadcastComponent } from './chat-page/add-broadcast/add-broadcast.component'; | ||||
| import { ThemesComponent } from './settings/themes/themes.component'; | |||||
| @NgModule({ | @NgModule({ | ||||
| declarations: [ | declarations: [ | ||||
| @@ -75,6 +76,7 @@ import { AddBroadcastComponent } from './chat-page/add-broadcast/add-broadcast.c | |||||
| QuestionSheetComponent, | QuestionSheetComponent, | ||||
| QuestionComponent, | QuestionComponent, | ||||
| AddBroadcastComponent, | AddBroadcastComponent, | ||||
| ThemesComponent, | |||||
| ], | ], | ||||
| imports: [ | imports: [ | ||||
| BrowserModule, | BrowserModule, | ||||
| @@ -43,11 +43,11 @@ | |||||
| p { | p { | ||||
| font-size: 14px; | font-size: 14px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| h4 { | h4 { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 24px; | font-size: 24px; | ||||
| } | } | ||||
| } | } | ||||
| @@ -75,11 +75,11 @@ | |||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| h4 { | h4 { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| p { | p { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -96,7 +96,7 @@ | |||||
| p { | p { | ||||
| font-size: 17px; | font-size: 17px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| @@ -122,7 +122,7 @@ | |||||
| &.active { | &.active { | ||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -150,7 +150,7 @@ | |||||
| header { | header { | ||||
| background-color: var(--dark-grey); | background-color: var(--dark-grey); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| display: flex; | display: flex; | ||||
| width: 100%; | width: 100%; | ||||
| align-items: center; | align-items: center; | ||||
| @@ -166,7 +166,7 @@ | |||||
| } | } | ||||
| .icon { | .icon { | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| width: 15px; | width: 15px; | ||||
| height: 15px; | height: 15px; | ||||
| transform: rotate(90deg); | transform: rotate(90deg); | ||||
| @@ -264,7 +264,7 @@ | |||||
| label { | label { | ||||
| font-size: 15px; | font-size: 15px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| p { | p { | ||||
| @@ -277,7 +277,7 @@ | |||||
| width: 100px; | width: 100px; | ||||
| text-align: right; | text-align: right; | ||||
| margin-right: 15px; | margin-right: 15px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 16px; | font-size: 16px; | ||||
| } | } | ||||
| @@ -311,7 +311,7 @@ | |||||
| .progress { | .progress { | ||||
| font-size: 16px; | font-size: 16px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -356,7 +356,7 @@ | |||||
| label { | label { | ||||
| font-size: 15px; | font-size: 15px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| p { | p { | ||||
| @@ -369,7 +369,7 @@ | |||||
| width: 20px; | width: 20px; | ||||
| height: 20px; | height: 20px; | ||||
| fill: var(--light-grey); | fill: var(--light-grey); | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| border-radius: 50%; | border-radius: 50%; | ||||
| } | } | ||||
| } | } | ||||
| @@ -6,7 +6,7 @@ | |||||
| button.show-all-button { | button.show-all-button { | ||||
| margin-left: auto; | margin-left: auto; | ||||
| background-color: var(--dark-grey); | background-color: var(--dark-grey); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 14px; | font-size: 14px; | ||||
| height: 40px; | height: 40px; | ||||
| border-radius: 5px; | border-radius: 5px; | ||||
| @@ -24,7 +24,7 @@ | |||||
| } | } | ||||
| .calendar-header { | .calendar-header { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 18px; | font-size: 18px; | ||||
| font-weight: 500; | font-weight: 500; | ||||
| padding: 0 5%; | padding: 0 5%; | ||||
| @@ -49,7 +49,7 @@ | |||||
| left: 5%; | left: 5%; | ||||
| width: 90%; | width: 90%; | ||||
| height: 1px; | height: 1px; | ||||
| background-color: rgba(white, 0.1); | |||||
| background-color: var(--black); | |||||
| } | } | ||||
| span { | span { | ||||
| @@ -82,13 +82,13 @@ | |||||
| border-radius: 50%; | border-radius: 50%; | ||||
| &.current-date { | &.current-date { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-weight: 600; | font-weight: 600; | ||||
| } | } | ||||
| &.active { | &.active { | ||||
| background-color: var(--black); | background-color: var(--black); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| &.non-current-date { | &.non-current-date { | ||||
| @@ -99,7 +99,7 @@ | |||||
| } | } | ||||
| .schedule-details { | .schedule-details { | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| padding: 0 5% 100px; | padding: 0 5% 100px; | ||||
| overflow: hidden; | overflow: hidden; | ||||
| border-top-left-radius: 30px; | border-top-left-radius: 30px; | ||||
| @@ -237,7 +237,7 @@ | |||||
| width: 20px; | width: 20px; | ||||
| height: 20px; | height: 20px; | ||||
| fill: var(--light-grey); | fill: var(--light-grey); | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| &.status-icon { | &.status-icon { | ||||
| border-radius: 50%; | border-radius: 50%; | ||||
| @@ -300,6 +300,6 @@ | |||||
| .icon { | .icon { | ||||
| width: 20px; | width: 20px; | ||||
| height: 20px; | height: 20px; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| @@ -59,7 +59,7 @@ | |||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| border-radius: 7px; | border-radius: 7px; | ||||
| label { | label { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -111,7 +111,7 @@ | |||||
| width: 60%; | width: 60%; | ||||
| position: relative; | position: relative; | ||||
| top: 1px; | top: 1px; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| } | } | ||||
| &.active { | &.active { | ||||
| @@ -119,7 +119,7 @@ | |||||
| .icon { | .icon { | ||||
| width: 70%; | width: 70%; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -28,7 +28,7 @@ | |||||
| .icon { | .icon { | ||||
| width: 18px; | width: 18px; | ||||
| height: 18px; | height: 18px; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| } | } | ||||
| img { | img { | ||||
| @@ -45,7 +45,7 @@ | |||||
| margin-right: auto; | margin-right: auto; | ||||
| height: 40px; | height: 40px; | ||||
| background-color: transparent; | background-color: transparent; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 16px; | font-size: 16px; | ||||
| } | } | ||||
| } | } | ||||
| @@ -65,20 +65,20 @@ | |||||
| flex-grow: 1; | flex-grow: 1; | ||||
| border-radius: 7px; | border-radius: 7px; | ||||
| background-color: transparent; | background-color: transparent; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 13px; | font-size: 13px; | ||||
| border: 0px; | border: 0px; | ||||
| &.active { | &.active { | ||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-weight: 500; | font-weight: 500; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| .segment-details { | .segment-details { | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| overflow: auto; | overflow: auto; | ||||
| height: calc(100vh - 140px); | height: calc(100vh - 140px); | ||||
| padding: 10px 5%; | padding: 10px 5%; | ||||
| @@ -103,7 +103,7 @@ | |||||
| width: 70%; | width: 70%; | ||||
| position: relative; | position: relative; | ||||
| top: 1px; | top: 1px; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -161,7 +161,7 @@ | |||||
| bottom: 0px; | bottom: 0px; | ||||
| left: 0px; | left: 0px; | ||||
| height: calc(100vh - 70px); | height: calc(100vh - 70px); | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| z-index: 1; | z-index: 1; | ||||
| border-top-left-radius: 30px; | border-top-left-radius: 30px; | ||||
| border-top-right-radius: 30px; | border-top-right-radius: 30px; | ||||
| @@ -5,7 +5,7 @@ header { | |||||
| width: 100%; | width: 100%; | ||||
| padding: 0 5%; | padding: 0 5%; | ||||
| margin: 0 auto 20px; | margin: 0 auto 20px; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| h5 { | h5 { | ||||
| font-weight: 500; | font-weight: 500; | ||||
| @@ -31,7 +31,7 @@ header { | |||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| .icon { | .icon { | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| width: 15px; | width: 15px; | ||||
| height: 15px; | height: 15px; | ||||
| } | } | ||||
| @@ -40,7 +40,7 @@ header { | |||||
| .icon { | .icon { | ||||
| width: 12px; | width: 12px; | ||||
| height: 12px; | height: 12px; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -74,7 +74,7 @@ ul { | |||||
| } | } | ||||
| .message { | .message { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| background-color: var(--teal); | background-color: var(--teal); | ||||
| border-bottom-right-radius: 0px; | border-bottom-right-radius: 0px; | ||||
| } | } | ||||
| @@ -111,7 +111,7 @@ ul { | |||||
| padding: 5px; | padding: 5px; | ||||
| .icon { | .icon { | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| width: 15px; | width: 15px; | ||||
| height: 15px; | height: 15px; | ||||
| } | } | ||||
| @@ -11,7 +11,7 @@ | |||||
| position: fixed; | position: fixed; | ||||
| right: 2%; | right: 2%; | ||||
| top: calc(50vh - 30px); | top: calc(50vh - 30px); | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| border-radius: 30px; | border-radius: 30px; | ||||
| padding: 15px; | padding: 15px; | ||||
| box-shadow: 0px 0px 10px rgba(black, 0.3); | box-shadow: 0px 0px 10px rgba(black, 0.3); | ||||
| @@ -20,7 +20,7 @@ | |||||
| } | } | ||||
| li { | li { | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| border-radius: 15px; | border-radius: 15px; | ||||
| overflow: hidden; | overflow: hidden; | ||||
| display: flex; | display: flex; | ||||
| @@ -116,7 +116,7 @@ | |||||
| border-radius: 5px; | border-radius: 5px; | ||||
| border: 0px; | border: 0px; | ||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 14px; | font-size: 14px; | ||||
| width: 80px; | width: 80px; | ||||
| margin-left: 10px; | margin-left: 10px; | ||||
| @@ -7,7 +7,7 @@ | |||||
| display: block; | display: block; | ||||
| width: 100%; | width: 100%; | ||||
| font-size: 16px; | font-size: 16px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| padding: 10px; | padding: 10px; | ||||
| background-color: transparent; | background-color: transparent; | ||||
| border: 2px solid var(--dark-grey); | border: 2px solid var(--dark-grey); | ||||
| @@ -50,7 +50,7 @@ | |||||
| border: 0px; | border: 0px; | ||||
| background-color: transparent; | background-color: transparent; | ||||
| padding: 0 10px; | padding: 0 10px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| display: block; | display: block; | ||||
| flex-grow: 1; | flex-grow: 1; | ||||
| resize: none; | resize: none; | ||||
| @@ -73,7 +73,7 @@ | |||||
| height: 40px; | height: 40px; | ||||
| font-size: 14px; | font-size: 14px; | ||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| border: 0px; | border: 0px; | ||||
| border-radius: 5px; | border-radius: 5px; | ||||
| } | } | ||||
| @@ -84,7 +84,7 @@ | |||||
| height: 40px; | height: 40px; | ||||
| font-size: 14px; | font-size: 14px; | ||||
| background-color: var(--dark-grey); | background-color: var(--dark-grey); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| border: 0px; | border: 0px; | ||||
| border-radius: 5px; | border-radius: 5px; | ||||
| margin-right: 20px; | margin-right: 20px; | ||||
| @@ -170,7 +170,7 @@ | |||||
| li { | li { | ||||
| text-align: center; | text-align: center; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| margin: 20px auto; | margin: 20px auto; | ||||
| font-size: 14px; | font-size: 14px; | ||||
| } | } | ||||
| @@ -211,7 +211,7 @@ | |||||
| button { | button { | ||||
| background-color: var(--black); | background-color: var(--black); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| border-radius: 20px; | border-radius: 20px; | ||||
| height: 25px; | height: 25px; | ||||
| font-size: 12px; | font-size: 12px; | ||||
| @@ -243,7 +243,7 @@ | |||||
| h5 { | h5 { | ||||
| font-size: 16px; | font-size: 16px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-weight: 400; | font-weight: 400; | ||||
| margin: 0px auto 15px; | margin: 0px auto 15px; | ||||
| } | } | ||||
| @@ -279,7 +279,7 @@ | |||||
| label { | label { | ||||
| font-size: 12px; | font-size: 12px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| .time-stamp { | .time-stamp { | ||||
| @@ -18,7 +18,7 @@ | |||||
| <div class="toggle" [ngClass]="{'active' : isNightModeOn }" (click)="isNightModeOn = !isNightModeOn"></div> | <div class="toggle" [ngClass]="{'active' : isNightModeOn }" (click)="isNightModeOn = !isNightModeOn"></div> | ||||
| </div> | </div> | ||||
| </li> | </li> | ||||
| <li> | |||||
| <li [routerLink]="['/theme']"> | |||||
| <svg-icon [applyClass]="true" class="icon" src="assets/custom-icons/021-paint-brush.svg"></svg-icon> | <svg-icon [applyClass]="true" class="icon" src="assets/custom-icons/021-paint-brush.svg"></svg-icon> | ||||
| Theme | Theme | ||||
| </li> | </li> | ||||
| @@ -8,14 +8,14 @@ li { | |||||
| border-bottom: 1px solid var(--dark-grey); | border-bottom: 1px solid var(--dark-grey); | ||||
| height: 70px; | height: 70px; | ||||
| padding: 0 15px; | padding: 0 15px; | ||||
| color: rgba(white, 0.7); | |||||
| color: var(--white); | |||||
| font-size: 14px; | font-size: 14px; | ||||
| letter-spacing: 1px; | letter-spacing: 1px; | ||||
| .icon { | .icon { | ||||
| width: 25px; | width: 25px; | ||||
| height: 25px; | height: 25px; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| margin-right: 15px; | margin-right: 15px; | ||||
| } | } | ||||
| @@ -45,7 +45,7 @@ li { | |||||
| width: 15px; | width: 15px; | ||||
| height: 15px; | height: 15px; | ||||
| border-radius: 50%; | border-radius: 50%; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| display: block; | display: block; | ||||
| left: 0px; | left: 0px; | ||||
| top: 0px; | top: 0px; | ||||
| @@ -7,13 +7,16 @@ import { Location } from '@angular/common'; | |||||
| styleUrls: ['./settings.component.scss'] | styleUrls: ['./settings.component.scss'] | ||||
| }) | }) | ||||
| export class SettingsComponent implements OnInit { | export class SettingsComponent implements OnInit { | ||||
| isNightModeOn: boolean = true; | |||||
| isNightModeOn: boolean = false; | |||||
| constructor( | constructor( | ||||
| private location: Location | private location: Location | ||||
| ) { } | ) { } | ||||
| ngOnInit(): void { | ngOnInit(): void { | ||||
| if (localStorage.mode === 'night') { | |||||
| this.isNightModeOn = true; | |||||
| } | |||||
| } | } | ||||
| back() { | back() { | ||||
| @@ -0,0 +1,22 @@ | |||||
| <section class="page-container full-bg" color="black"> | |||||
| <header class="nav-header"> | |||||
| <button class="close-button" (click)="back()"> | |||||
| <svg-icon [applyClass]="true" class="icon" src="assets/custom-icons/close.svg"></svg-icon> | |||||
| </button> | |||||
| <h5> | |||||
| <svg-icon [applyClass]="true" class="icon" src="assets/custom-icons/021-paint-brush.svg"></svg-icon> | |||||
| <span> Theme </span> | |||||
| </h5> | |||||
| </header> | |||||
| <ul> | |||||
| <li [ngClass]="{'active' : themeName === 'light'}" | |||||
| (click)="selectTheme('light')"> | |||||
| <div class="radio"></div> Light | |||||
| </li> | |||||
| <li [ngClass]="{'active' : themeName === 'dark'}" | |||||
| (click)="selectTheme('dark')"> | |||||
| <div class="radio"></div> Dark | |||||
| </li> | |||||
| </ul> | |||||
| </section> | |||||
| @@ -0,0 +1,50 @@ | |||||
| ul { | |||||
| list-style: none; | |||||
| } | |||||
| li { | |||||
| border-bottom: 1px solid var(--light-grey); | |||||
| color: var(--white); | |||||
| font-size: 16px; | |||||
| letter-spacing: 1px; | |||||
| padding: 0 5%; | |||||
| height: 60px; | |||||
| display: flex; | |||||
| align-items: center; | |||||
| justify-content: flex-start; | |||||
| width: 100%; | |||||
| &.active { | |||||
| color: var(--teal-green); | |||||
| .radio { | |||||
| border-color: var(--teal-green); | |||||
| &::before { | |||||
| background-color: var(--teal-green); | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| .radio { | |||||
| margin-right: 20px; | |||||
| width: 25px; | |||||
| height: 25px; | |||||
| border: 1px solid var(--white); | |||||
| border-radius: 50%; | |||||
| position: relative; | |||||
| display: flex; | |||||
| align-items: center; | |||||
| justify-content: center; | |||||
| &::before { | |||||
| content: ''; | |||||
| display: block; | |||||
| width: 15px; | |||||
| height: 15px; | |||||
| border-radius: 50%; | |||||
| background-color: transparent; | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,25 @@ | |||||
| import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | |||||
| import { ThemesComponent } from './themes.component'; | |||||
| describe('ThemesComponent', () => { | |||||
| let component: ThemesComponent; | |||||
| let fixture: ComponentFixture<ThemesComponent>; | |||||
| beforeEach(async(() => { | |||||
| TestBed.configureTestingModule({ | |||||
| declarations: [ ThemesComponent ] | |||||
| }) | |||||
| .compileComponents(); | |||||
| })); | |||||
| beforeEach(() => { | |||||
| fixture = TestBed.createComponent(ThemesComponent); | |||||
| component = fixture.componentInstance; | |||||
| fixture.detectChanges(); | |||||
| }); | |||||
| it('should create', () => { | |||||
| expect(component).toBeTruthy(); | |||||
| }); | |||||
| }); | |||||
| @@ -0,0 +1,29 @@ | |||||
| import { Component, OnInit } from '@angular/core'; | |||||
| import { Location } from '@angular/common'; | |||||
| @Component({ | |||||
| selector: 'app-themes', | |||||
| templateUrl: './themes.component.html', | |||||
| styleUrls: ['./themes.component.scss'] | |||||
| }) | |||||
| export class ThemesComponent implements OnInit { | |||||
| themeName: string = ''; | |||||
| constructor( | |||||
| private location: Location | |||||
| ) { } | |||||
| ngOnInit(): void { | |||||
| this.themeName = localStorage.theme; | |||||
| } | |||||
| back() { | |||||
| this.location.back(); | |||||
| } | |||||
| selectTheme(theme: string) { | |||||
| localStorage.theme = theme; | |||||
| this.themeName = theme; | |||||
| } | |||||
| } | |||||
| @@ -2,7 +2,7 @@ h2 { | |||||
| padding: 0 5%; | padding: 0 5%; | ||||
| font-size: 22px; | font-size: 22px; | ||||
| margin: 20px auto 10px; | margin: 20px auto 10px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-weight: 400; | font-weight: 400; | ||||
| } | } | ||||
| @@ -20,7 +20,7 @@ h2 { | |||||
| label { | label { | ||||
| font-size: 14px; | font-size: 14px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| margin-right: 10px; | margin-right: 10px; | ||||
| } | } | ||||
| @@ -46,7 +46,7 @@ h2 { | |||||
| .description { | .description { | ||||
| width: 90%; | width: 90%; | ||||
| margin: 40px auto 0; | margin: 40px auto 0; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| p { | p { | ||||
| margin: 20px auto; | margin: 20px auto; | ||||
| @@ -15,7 +15,7 @@ | |||||
| .icon { | .icon { | ||||
| width: 15px; | width: 15px; | ||||
| height: 15px; | height: 15px; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| @@ -28,7 +28,7 @@ | |||||
| p { | p { | ||||
| margin-top: 10px; | margin-top: 10px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 13px; | font-size: 13px; | ||||
| } | } | ||||
| @@ -86,7 +86,7 @@ | |||||
| color: var(--light-grey); | color: var(--light-grey); | ||||
| &.active { | &.active { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -102,7 +102,7 @@ | |||||
| } | } | ||||
| p { | p { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 13px; | font-size: 13px; | ||||
| } | } | ||||
| @@ -111,7 +111,7 @@ | |||||
| display: block; | display: block; | ||||
| width: 100%; | width: 100%; | ||||
| height: 40px; | height: 40px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 14px; | font-size: 14px; | ||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| border-radius: 5px; | border-radius: 5px; | ||||
| @@ -194,7 +194,7 @@ | |||||
| &.checkmark { | &.checkmark { | ||||
| width: 25px; | width: 25px; | ||||
| height: 25px; | height: 25px; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| border-radius: 50%; | border-radius: 50%; | ||||
| } | } | ||||
| } | } | ||||
| @@ -207,11 +207,11 @@ | |||||
| label { | label { | ||||
| font-size: 16px; | font-size: 16px; | ||||
| font-weight: 500; | font-weight: 500; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| p { | p { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 14px; | font-size: 14px; | ||||
| } | } | ||||
| } | } | ||||
| @@ -286,14 +286,14 @@ | |||||
| overflow: hidden; | overflow: hidden; | ||||
| .type { | .type { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-weight: 500; | font-weight: 500; | ||||
| } | } | ||||
| .type-icon { | .type-icon { | ||||
| width: 15px; | width: 15px; | ||||
| height: 15px; | height: 15px; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -309,7 +309,7 @@ | |||||
| &.checkmark { | &.checkmark { | ||||
| align-self: center; | align-self: center; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| border-radius: 50%; | border-radius: 50%; | ||||
| } | } | ||||
| @@ -399,7 +399,7 @@ | |||||
| } | } | ||||
| label { | label { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 15px; | font-size: 15px; | ||||
| display: block; | display: block; | ||||
| } | } | ||||
| @@ -1,6 +1,6 @@ | |||||
| header { | header { | ||||
| padding: 0 7%; | padding: 0 7%; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 18px; | font-size: 18px; | ||||
| position: relative; | position: relative; | ||||
| margin-top: 50px; | margin-top: 50px; | ||||
| @@ -13,7 +13,7 @@ header { | |||||
| margin: 20px auto 0; | margin: 20px auto 0; | ||||
| &.whiten { | &.whiten { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -36,7 +36,7 @@ ul { | |||||
| width: 42vw; | width: 42vw; | ||||
| height: 37vw; | height: 37vw; | ||||
| padding: 15px; | padding: 15px; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| border-radius: 15px; | border-radius: 15px; | ||||
| margin-top: 6vw; | margin-top: 6vw; | ||||
| box-shadow: 0px 0px 5px var(--light-grey); | box-shadow: 0px 0px 5px var(--light-grey); | ||||
| @@ -9,7 +9,7 @@ | |||||
| .icon { | .icon { | ||||
| width: 20px; | width: 20px; | ||||
| height: 20px; | height: 20px; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -60,7 +60,7 @@ | |||||
| width: 17px; | width: 17px; | ||||
| height: 17px; | height: 17px; | ||||
| background-color: var(--dark-grey); | background-color: var(--dark-grey); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| margin-right: 7px; | margin-right: 7px; | ||||
| border-radius: 50%; | border-radius: 50%; | ||||
| overflow: hidden; | overflow: hidden; | ||||
| @@ -82,7 +82,7 @@ | |||||
| .icon { | .icon { | ||||
| width: 100%; | width: 100%; | ||||
| height: 100%; | height: 100%; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| display: none; | display: none; | ||||
| } | } | ||||
| @@ -107,13 +107,13 @@ | |||||
| } | } | ||||
| .icon { | .icon { | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| &.correct { | &.correct { | ||||
| border-color: var(--green); | border-color: var(--green); | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| label { | label { | ||||
| display: none; | display: none; | ||||
| @@ -127,7 +127,7 @@ | |||||
| &.wrong { | &.wrong { | ||||
| border-color: var(--danger-dark); | border-color: var(--danger-dark); | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| label { | label { | ||||
| display: none; | display: none; | ||||
| @@ -147,7 +147,7 @@ ngx-siema-slide { | |||||
| .question { | .question { | ||||
| line-height: 1.5; | line-height: 1.5; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 13px; | font-size: 13px; | ||||
| background-color: var(--ash-black); | background-color: var(--ash-black); | ||||
| padding: 0 5% 15px 5%; | padding: 0 5% 15px 5%; | ||||
| @@ -176,7 +176,7 @@ ngx-siema-slide { | |||||
| width: 60px; | width: 60px; | ||||
| height: 60px; | height: 60px; | ||||
| border-radius: 50%; | border-radius: 50%; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| display: flex; | display: flex; | ||||
| align-items: center; | align-items: center; | ||||
| justify-content: center; | justify-content: center; | ||||
| @@ -211,7 +211,7 @@ ngx-siema-slide { | |||||
| display: flex; | display: flex; | ||||
| width: 100%; | width: 100%; | ||||
| border: 1px solid var(--light-grey); | border: 1px solid var(--light-grey); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| border-radius: 15px; | border-radius: 15px; | ||||
| align-items: center; | align-items: center; | ||||
| min-height: 50px; | min-height: 50px; | ||||
| @@ -236,7 +236,7 @@ ngx-siema-slide { | |||||
| .icon { | .icon { | ||||
| width: 100%; | width: 100%; | ||||
| height: 100%; | height: 100%; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| display: none; | display: none; | ||||
| } | } | ||||
| } | } | ||||
| @@ -251,7 +251,7 @@ ngx-siema-slide { | |||||
| .icon-holder { | .icon-holder { | ||||
| border-color: var(--green); | border-color: var(--green); | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| .correct-icon { | .correct-icon { | ||||
| fill: var(--green); | fill: var(--green); | ||||
| @@ -270,7 +270,7 @@ ngx-siema-slide { | |||||
| .icon-holder { | .icon-holder { | ||||
| border-color: var(--danger-dark); | border-color: var(--danger-dark); | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| .wrong-icon { | .wrong-icon { | ||||
| fill: var(--danger-dark); | fill: var(--danger-dark); | ||||
| @@ -308,7 +308,7 @@ ngx-siema-slide { | |||||
| &.next-button { | &.next-button { | ||||
| background-color: var(--teal); | background-color: var(--teal); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| margin-left: auto; | margin-left: auto; | ||||
| &.skip { | &.skip { | ||||
| @@ -350,7 +350,7 @@ ngx-siema-slide { | |||||
| } | } | ||||
| header { | header { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| margin-top: -60px; | margin-top: -60px; | ||||
| img { | img { | ||||
| @@ -388,7 +388,7 @@ ngx-siema-slide { | |||||
| height: 100%; | height: 100%; | ||||
| width: 100%; | width: 100%; | ||||
| padding: 25px 5% 80px 5%; | padding: 25px 5% 80px 5%; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| border-top-right-radius: 30px; | border-top-right-radius: 30px; | ||||
| border-top-left-radius: 30px; | border-top-left-radius: 30px; | ||||
| position: relative; | position: relative; | ||||
| @@ -424,7 +424,7 @@ ngx-siema-slide { | |||||
| width: 90%; | width: 90%; | ||||
| border-radius: 30px; | border-radius: 30px; | ||||
| height: 45px; | height: 45px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| background: linear-gradient(180deg, var(--teal), var(--teal-green)); | background: linear-gradient(180deg, var(--teal), var(--teal-green)); | ||||
| border: 0px; | border: 0px; | ||||
| font-size: 14px; | font-size: 14px; | ||||
| @@ -436,7 +436,7 @@ ngx-siema-slide { | |||||
| .quiz-list-slideup { | .quiz-list-slideup { | ||||
| width: 100%; | width: 100%; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| overflow: hidden; | overflow: hidden; | ||||
| border-top-left-radius: 30px; | border-top-left-radius: 30px; | ||||
| border-top-right-radius: 30px; | border-top-right-radius: 30px; | ||||
| @@ -482,7 +482,7 @@ ngx-siema-slide { | |||||
| .icon { | .icon { | ||||
| width: 10px; | width: 10px; | ||||
| height: 10px; | height: 10px; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -510,7 +510,7 @@ ngx-siema-slide { | |||||
| width: 20px; | width: 20px; | ||||
| height: 20px; | height: 20px; | ||||
| fill: var(--light-grey); | fill: var(--light-grey); | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| border-radius: 50%; | border-radius: 50%; | ||||
| display: none; | display: none; | ||||
| } | } | ||||
| @@ -714,7 +714,7 @@ ngx-siema-slide { | |||||
| } | } | ||||
| label { | label { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| position: absolute; | position: absolute; | ||||
| top: -5px; | top: -5px; | ||||
| left: calc(50% - 50px); | left: calc(50% - 50px); | ||||
| @@ -731,14 +731,14 @@ ngx-siema-slide { | |||||
| span { | span { | ||||
| font-weight: 500; | font-weight: 500; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 60px; | font-size: 60px; | ||||
| } | } | ||||
| } | } | ||||
| p { | p { | ||||
| font-size: 16px; | font-size: 16px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| margin-bottom: 20px; | margin-bottom: 20px; | ||||
| text-align: center; | text-align: center; | ||||
| } | } | ||||
| @@ -754,7 +754,7 @@ ngx-siema-slide { | |||||
| display: flex; | display: flex; | ||||
| align-items: stretch; | align-items: stretch; | ||||
| justify-content: flex-start; | justify-content: flex-start; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| .correct { | .correct { | ||||
| background-color: var(--green); | background-color: var(--green); | ||||
| @@ -776,7 +776,7 @@ ngx-siema-slide { | |||||
| } | } | ||||
| .answers-report { | .answers-report { | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| border-top-right-radius: 30px; | border-top-right-radius: 30px; | ||||
| border-top-left-radius: 30px; | border-top-left-radius: 30px; | ||||
| height: 100%; | height: 100%; | ||||
| @@ -860,7 +860,7 @@ ngx-siema-slide { | |||||
| width: 48%; | width: 48%; | ||||
| border: 0px; | border: 0px; | ||||
| background-color: var(--light-grey); | background-color: var(--light-grey); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 14px; | font-size: 14px; | ||||
| height: 40px; | height: 40px; | ||||
| border-radius: 5px; | border-radius: 5px; | ||||
| @@ -13,12 +13,12 @@ | |||||
| fill: var(--green); | fill: var(--green); | ||||
| display: block; | display: block; | ||||
| margin: 20px auto; | margin: 20px auto; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| border-radius: 50%; | border-radius: 50%; | ||||
| } | } | ||||
| h2 { | h2 { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 20px; | font-size: 20px; | ||||
| line-height: 1.5; | line-height: 1.5; | ||||
| margin: 10px auto 50px; | margin: 10px auto 50px; | ||||
| @@ -71,7 +71,7 @@ | |||||
| z-index: 1; | z-index: 1; | ||||
| left: 0; | left: 0; | ||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 14px; | font-size: 14px; | ||||
| height: 50px; | height: 50px; | ||||
| border: 0px; | border: 0px; | ||||
| @@ -64,7 +64,7 @@ | |||||
| header { | header { | ||||
| background-color: var(--dark-grey); | background-color: var(--dark-grey); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| display: flex; | display: flex; | ||||
| width: 100%; | width: 100%; | ||||
| padding: 0 5%; | padding: 0 5%; | ||||
| @@ -85,7 +85,7 @@ | |||||
| .acknowledgement { | .acknowledgement { | ||||
| background-color: var(--dark-grey); | background-color: var(--dark-grey); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| padding: 15px 5%; | padding: 15px 5%; | ||||
| .container { | .container { | ||||
| @@ -102,13 +102,13 @@ | |||||
| display: flex; | display: flex; | ||||
| align-items: center; | align-items: center; | ||||
| justify-content: center; | justify-content: center; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| border-radius: 3px; | border-radius: 3px; | ||||
| transition: background-color 0.2s, border-color 0.2s; | transition: background-color 0.2s, border-color 0.2s; | ||||
| &.active { | &.active { | ||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| border-color: var(--teal-green); | border-color: var(--teal-green); | ||||
| } | } | ||||
| @@ -130,7 +130,7 @@ | |||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| font-size: 14px; | font-size: 14px; | ||||
| height: 40px; | height: 40px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| margin: 10px auto 0; | margin: 10px auto 0; | ||||
| border: 0px; | border: 0px; | ||||
| transition: background-color 0.3s; | transition: background-color 0.3s; | ||||
| @@ -5,7 +5,7 @@ | |||||
| transition: background-color 0.3s; | transition: background-color 0.3s; | ||||
| &.active { | &.active { | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| .question-text { | .question-text { | ||||
| p { | p { | ||||
| @@ -30,7 +30,7 @@ | |||||
| height: 25px; | height: 25px; | ||||
| border-radius: 5px; | border-radius: 5px; | ||||
| background-color: var(--dark-grey); | background-color: var(--dark-grey); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 12px; | font-size: 12px; | ||||
| display: flex; | display: flex; | ||||
| align-items: center; | align-items: center; | ||||
| @@ -45,7 +45,7 @@ | |||||
| p { | p { | ||||
| width: calc(100% - 60px); | width: calc(100% - 60px); | ||||
| padding: 0 10px 0; | padding: 0 10px 0; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| min-height: 25px; | min-height: 25px; | ||||
| display: flex; | display: flex; | ||||
| align-items: center; | align-items: center; | ||||
| @@ -87,7 +87,7 @@ | |||||
| width: 100%; | width: 100%; | ||||
| margin: 20px auto 10px; | margin: 20px auto 10px; | ||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 13px; | font-size: 13px; | ||||
| height: 40px; | height: 40px; | ||||
| border-radius: 5px; | border-radius: 5px; | ||||
| @@ -129,7 +129,7 @@ | |||||
| display: flex; | display: flex; | ||||
| width: 100%; | width: 100%; | ||||
| border: 1px solid transparent; | border: 1px solid transparent; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| border-radius: 30px; | border-radius: 30px; | ||||
| align-items: center; | align-items: center; | ||||
| min-height: 50px; | min-height: 50px; | ||||
| @@ -159,7 +159,7 @@ | |||||
| .icon { | .icon { | ||||
| width: 100%; | width: 100%; | ||||
| height: 100%; | height: 100%; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| display: none; | display: none; | ||||
| } | } | ||||
| } | } | ||||
| @@ -170,15 +170,15 @@ | |||||
| background-color: var(--green); | background-color: var(--green); | ||||
| label { | label { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| .icon-holder { | .icon-holder { | ||||
| border-color: white; | |||||
| border-color: var(--white); | |||||
| background-color: transparent; | background-color: transparent; | ||||
| .correct-icon { | .correct-icon { | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| display: block; | display: block; | ||||
| } | } | ||||
| } | } | ||||
| @@ -47,7 +47,7 @@ | |||||
| h2 { | h2 { | ||||
| font-size: 26px; | font-size: 26px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-weight: 500; | font-weight: 500; | ||||
| margin: 10px auto; | margin: 10px auto; | ||||
| } | } | ||||
| @@ -85,7 +85,7 @@ | |||||
| border-radius: 30px; | border-radius: 30px; | ||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| border: 0px; | border: 0px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| width: 150px; | width: 150px; | ||||
| display: block; | display: block; | ||||
| margin: 20px auto 0; | margin: 20px auto 0; | ||||
| @@ -109,7 +109,7 @@ | |||||
| z-index: 1; | z-index: 1; | ||||
| max-height: calc(100vh - 100px); | max-height: calc(100vh - 100px); | ||||
| width: 100%; | width: 100%; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| border-top-left-radius: 30px; | border-top-left-radius: 30px; | ||||
| border-top-right-radius: 30px; | border-top-right-radius: 30px; | ||||
| padding: 0px 7% 30px; | padding: 0px 7% 30px; | ||||
| @@ -129,7 +129,7 @@ | |||||
| position: -webkit-sticky; | position: -webkit-sticky; | ||||
| z-index: 1; | z-index: 1; | ||||
| top: 0; | top: 0; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| padding: 30px 0 10px; | padding: 30px 0 10px; | ||||
| } | } | ||||
| @@ -155,13 +155,13 @@ | |||||
| height: 30px; | height: 30px; | ||||
| background-color: var(--light-grey); | background-color: var(--light-grey); | ||||
| border: 0px; | border: 0px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| border-radius: 50%; | border-radius: 50%; | ||||
| .icon { | .icon { | ||||
| width: 12px; | width: 12px; | ||||
| height: 12px; | height: 12px; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| @@ -1,6 +1,6 @@ | |||||
| .video-player { | .video-player { | ||||
| background-color: var(--dark-grey); | background-color: var(--dark-grey); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| display: flex; | display: flex; | ||||
| align-items: center; | align-items: center; | ||||
| justify-content: center; | justify-content: center; | ||||
| @@ -15,7 +15,7 @@ | |||||
| .icon { | .icon { | ||||
| width: 50px; | width: 50px; | ||||
| height: 50px; | height: 50px; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| @@ -33,12 +33,12 @@ | |||||
| flex-grow: 1; | flex-grow: 1; | ||||
| border-radius: 7px; | border-radius: 7px; | ||||
| background-color: transparent; | background-color: transparent; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 13px; | font-size: 13px; | ||||
| border: 0px; | border: 0px; | ||||
| &.active { | &.active { | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| color: var(--teal); | color: var(--teal); | ||||
| font-weight: 500; | font-weight: 500; | ||||
| } | } | ||||
| @@ -58,7 +58,7 @@ | |||||
| margin-bottom: 20px; | margin-bottom: 20px; | ||||
| .highlight { | .highlight { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -82,7 +82,7 @@ | |||||
| } | } | ||||
| label { | label { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 15px; | font-size: 15px; | ||||
| display: block; | display: block; | ||||
| } | } | ||||
| @@ -123,7 +123,7 @@ | |||||
| } | } | ||||
| label { | label { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 15px; | font-size: 15px; | ||||
| display: block; | display: block; | ||||
| } | } | ||||
| @@ -195,7 +195,7 @@ | |||||
| width: 100%; | width: 100%; | ||||
| height: 50px; | height: 50px; | ||||
| background-color: var(--ash-black); | background-color: var(--ash-black); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| align-items: center; | align-items: center; | ||||
| justify-content: space-between; | justify-content: space-between; | ||||
| padding: 0 5%; | padding: 0 5%; | ||||
| @@ -9,14 +9,14 @@ h2 { | |||||
| padding: 0 5%; | padding: 0 5%; | ||||
| font-size: 22px; | font-size: 22px; | ||||
| margin: 20px auto 10px; | margin: 20px auto 10px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-weight: 400; | font-weight: 400; | ||||
| } | } | ||||
| .description { | .description { | ||||
| width: 90%; | width: 90%; | ||||
| margin: 0 auto; | margin: 0 auto; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| p { | p { | ||||
| margin-bottom: 20px; | margin-bottom: 20px; | ||||
| @@ -28,7 +28,7 @@ | |||||
| .icon { | .icon { | ||||
| width: 20px; | width: 20px; | ||||
| height: 20px; | height: 20px; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| } | } | ||||
| button { | button { | ||||
| @@ -55,7 +55,7 @@ | |||||
| display: flex; | display: flex; | ||||
| align-items: center; | align-items: center; | ||||
| justify-content: center; | justify-content: center; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| position: sticky; | position: sticky; | ||||
| position: -webkit-sticky; | position: -webkit-sticky; | ||||
| top: 0; | top: 0; | ||||
| @@ -101,7 +101,7 @@ | |||||
| } | } | ||||
| .tutor { | .tutor { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| width: 100%; | width: 100%; | ||||
| .go-live-button { | .go-live-button { | ||||
| @@ -111,7 +111,7 @@ | |||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| border-radius: 5px; | border-radius: 5px; | ||||
| border: 0px; | border: 0px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 14px; | font-size: 14px; | ||||
| height: 35px; | height: 35px; | ||||
| } | } | ||||
| @@ -161,7 +161,7 @@ | |||||
| font-size: 20px; | font-size: 20px; | ||||
| font-weight: 500; | font-weight: 500; | ||||
| margin-bottom: 15px; | margin-bottom: 15px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| @@ -192,13 +192,13 @@ | |||||
| display: flex; | display: flex; | ||||
| align-items: center; | align-items: center; | ||||
| justify-content: center; | justify-content: center; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| border-radius: 3px; | border-radius: 3px; | ||||
| transition: background-color 0.2s, border-color 0.2s; | transition: background-color 0.2s, border-color 0.2s; | ||||
| &.active { | &.active { | ||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| border-color: var(--teal-green); | border-color: var(--teal-green); | ||||
| } | } | ||||
| @@ -264,7 +264,7 @@ | |||||
| @media screen and (min-width: 1023px) { | @media screen and (min-width: 1023px) { | ||||
| width: 56%; | width: 56%; | ||||
| margin: 5vh 0 0 4%; | margin: 5vh 0 0 4%; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3); | box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3); | ||||
| border-radius: 30px; | border-radius: 30px; | ||||
| height: 40vh; | height: 40vh; | ||||
| @@ -286,7 +286,7 @@ | |||||
| display: flex; | display: flex; | ||||
| align-items: center; | align-items: center; | ||||
| justify-content: space-between; | justify-content: space-between; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 14px; | font-size: 14px; | ||||
| height: 45px; | height: 45px; | ||||
| border-radius: 7px; | border-radius: 7px; | ||||
| @@ -305,7 +305,7 @@ | |||||
| } | } | ||||
| .icon { | .icon { | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| width: 15px; | width: 15px; | ||||
| height: 15px; | height: 15px; | ||||
| @@ -337,7 +337,7 @@ | |||||
| width: calc(100% / 2); | width: calc(100% / 2); | ||||
| border: 0px; | border: 0px; | ||||
| background-color: transparent; | background-color: transparent; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| border-radius: 10px; | border-radius: 10px; | ||||
| @media screen and (min-width: 1023px) { | @media screen and (min-width: 1023px) { | ||||
| @@ -347,7 +347,7 @@ | |||||
| &.active { | &.active { | ||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -390,7 +390,7 @@ | |||||
| margin-bottom: 15px; | margin-bottom: 15px; | ||||
| @media screen and (min-width: 1023px) { | @media screen and (min-width: 1023px) { | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| box-shadow: 0px 0px 5px var(--light-grey); | box-shadow: 0px 0px 5px var(--light-grey); | ||||
| width: 98%; | width: 98%; | ||||
| margin: 5px auto 15px; | margin: 5px auto 15px; | ||||
| @@ -402,7 +402,7 @@ | |||||
| } | } | ||||
| label { | label { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 15px; | font-size: 15px; | ||||
| display: block; | display: block; | ||||
| @@ -69,7 +69,7 @@ | |||||
| h5 { | h5 { | ||||
| font-weight: 500; | font-weight: 500; | ||||
| font-size: 16px; | font-size: 16px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| p { | p { | ||||
| @@ -86,7 +86,7 @@ | |||||
| display: flex; | display: flex; | ||||
| align-items: center; | align-items: center; | ||||
| justify-content: space-between; | justify-content: space-between; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 15px; | font-size: 15px; | ||||
| height: 50px; | height: 50px; | ||||
| border-radius: 0px; | border-radius: 0px; | ||||
| @@ -97,7 +97,7 @@ | |||||
| } | } | ||||
| .icon { | .icon { | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| width: 15px; | width: 15px; | ||||
| height: 15px; | height: 15px; | ||||
| } | } | ||||
| @@ -134,13 +134,13 @@ | |||||
| flex-grow: 1; | flex-grow: 1; | ||||
| border-radius: 7px; | border-radius: 7px; | ||||
| background-color: transparent; | background-color: transparent; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 13px; | font-size: 13px; | ||||
| border: 0px; | border: 0px; | ||||
| &.active { | &.active { | ||||
| background-color: var(--teal-green); | background-color: var(--teal-green); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-weight: 500; | font-weight: 500; | ||||
| } | } | ||||
| } | } | ||||
| @@ -157,7 +157,7 @@ | |||||
| li { | li { | ||||
| text-align: center; | text-align: center; | ||||
| width: 30%; | width: 30%; | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| border-radius: 10px; | border-radius: 10px; | ||||
| box-shadow: 1px 1px 5px var(--light-grey); | box-shadow: 1px 1px 5px var(--light-grey); | ||||
| padding: 15px 15px 10px; | padding: 15px 15px 10px; | ||||
| @@ -185,7 +185,7 @@ | |||||
| width: 90%; | width: 90%; | ||||
| margin: 0 auto 20px; | margin: 0 auto 20px; | ||||
| background-color: var(--danger); | background-color: var(--danger); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| border: 0px; | border: 0px; | ||||
| border-radius: 5px; | border-radius: 5px; | ||||
| height: 50px; | height: 50px; | ||||
| @@ -83,7 +83,7 @@ | |||||
| &.mid-button { | &.mid-button { | ||||
| height: calc(90vw / 5); | height: calc(90vw / 5); | ||||
| background-color: white; | |||||
| background-color: var(--white); | |||||
| border-radius: 50%; | border-radius: 50%; | ||||
| position: relative; | position: relative; | ||||
| transform: translateY(calc(-90vw / 13))scale(0.9); | transform: translateY(calc(-90vw / 13))scale(0.9); | ||||
| @@ -102,7 +102,7 @@ | |||||
| @media screen and (max-width: 1023px) { | @media screen and (max-width: 1023px) { | ||||
| display: block; | display: block; | ||||
| margin-top: 5px; | margin-top: 5px; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| font-size: 10px; | font-size: 10px; | ||||
| } | } | ||||
| } | } | ||||
| @@ -113,7 +113,7 @@ | |||||
| display: block; | display: block; | ||||
| width: 15px; | width: 15px; | ||||
| height: 15px; | height: 15px; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| @media screen and (min-width: 1023px) { | @media screen and (min-width: 1023px) { | ||||
| width: 18px; | width: 18px; | ||||
| @@ -4,7 +4,7 @@ | |||||
| .upfold { | .upfold { | ||||
| width: 100%; | width: 100%; | ||||
| color: white; | |||||
| color: var(--white); | |||||
| position: sticky; | position: sticky; | ||||
| position: -webkit-sticky; | position: -webkit-sticky; | ||||
| z-index: 1; | z-index: 1; | ||||
| @@ -28,7 +28,7 @@ | |||||
| width: 70%; | width: 70%; | ||||
| height: 50px; | height: 50px; | ||||
| box-shadow: 2px 2px 20px -5px var(--teal); | box-shadow: 2px 2px 20px -5px var(--teal); | ||||
| color: white; | |||||
| color: var(--white); | |||||
| background-color: var(--teal); | background-color: var(--teal); | ||||
| border-radius: 10px; | border-radius: 10px; | ||||
| font-size: 14px; | font-size: 14px; | ||||
| @@ -47,12 +47,12 @@ | |||||
| &:first-child { | &:first-child { | ||||
| header { | header { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| header.white-header { | header.white-header { | ||||
| color: white; | |||||
| color: var(--white); | |||||
| } | } | ||||
| } | } | ||||
| @@ -20,6 +20,7 @@ | |||||
| --teal-green: #08c17e; | --teal-green: #08c17e; | ||||
| --danger: #ea8b8b; | --danger: #ea8b8b; | ||||
| --danger-dark: #d65f5f; | --danger-dark: #d65f5f; | ||||
| --white: #ffffff; | |||||
| } | } | ||||
| // Confirmation pop up container style | // Confirmation pop up container style | ||||
| @@ -62,6 +63,7 @@ | |||||
| height: 100vh; | height: 100vh; | ||||
| overflow: auto; | overflow: auto; | ||||
| padding-bottom: 70px; | padding-bottom: 70px; | ||||
| background-color: var(--white); | |||||
| &.half-bg { | &.half-bg { | ||||
| &::before { | &::before { | ||||
| @@ -128,15 +130,15 @@ | |||||
| h5 { | h5 { | ||||
| font-size: 16px; | font-size: 16px; | ||||
| color: white; | |||||
| font-weight: 400; | |||||
| color: var(--white); | |||||
| font-weight: 500; | |||||
| margin-left: 20px; | margin-left: 20px; | ||||
| letter-spacing: 1px; | letter-spacing: 1px; | ||||
| .icon { | .icon { | ||||
| width: 15px; | width: 15px; | ||||
| height: 15px; | height: 15px; | ||||
| fill: white; | |||||
| fill: var(--white); | |||||
| margin-right: 3px; | margin-right: 3px; | ||||
| vertical-align: middle; | vertical-align: middle; | ||||
| position: relative; | position: relative; | ||||