Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
35cdb126
Commit
35cdb126
authored
Jun 17, 2020
by
Muhammad Usman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
work styles ui completed
parent
2fc1f88a
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
263 additions
and
21 deletions
+263
-21
work-style.component.html
...areer-web/assessment/work-style/work-style.component.html
+34
-4
work-style.component.scss
...areer-web/assessment/work-style/work-style.component.scss
+183
-10
work-style.component.ts
...-career-web/assessment/work-style/work-style.component.ts
+5
-2
mc-shared.module.ts
...pp/components/my-career-web/mc-shared/mc-shared.module.ts
+3
-1
_misc.scss
frontend/angular/src/styles/my-career-styles/_misc.scss
+23
-4
_styles.scss
frontend/angular/src/styles/my-career-styles/_styles.scss
+1
-0
_variables.scss
frontend/angular/src/styles/my-career-styles/_variables.scss
+2
-0
_progressbar.scss
...lar/src/styles/my-career-styles/primeng/_progressbar.scss
+12
-0
No files found.
frontend/angular/src/app/components/my-career-web/assessment/work-style/work-style.component.html
View file @
35cdb126
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"col-12"
style=
"padding: 0;"
>
<div
class=
"col-12"
style=
"padding: 0;"
>
<div
class=
"assessment-header"
>
<div
class=
"assessment-header"
>
<div
class=
"header-logo"
>
<div
class=
"header-logo"
*
ngIf=
"!isMobileView"
>
<img
src=
"assets/my-career-web/images/MATCHD_LOGO.jpg"
alt=
""
>
<img
src=
"assets/my-career-web/images/MATCHD_LOGO.jpg"
alt=
""
>
</div>
</div>
...
@@ -12,16 +12,46 @@
...
@@ -12,16 +12,46 @@
<button
pButton
label=
"Save & exit"
class=
"ui-button-info"
></button>
<button
pButton
label=
"Save & exit"
class=
"ui-button-info"
></button>
</div>
</div>
</div>
</div>
<div
class=
"assessment-progress"
>
<p-progressBar
[
value
]="
20
"
></p-progressBar>
</div>
<div
class=
"assessment-body container"
>
<div
class=
"assessment-body container"
>
<div
class=
"assessment-body-header"
>
<div
class=
"assessment-body-header"
>
<div
class=
"assessment-heading"
>
Work Style
</div>
<div
class=
"assessment-heading"
>
Work Style
</div>
<span
class=
"assessment-estimation"
>
<i
class=
"fa fa-clock-o"
></i>
<strong>
Estimated time to complete
</strong>
: 20 mins
</span>
<span
class=
"assessment-estimation"
>
<i
class=
"fa fa-clock-o"
></i>
<strong>
Estimated time to complete
</strong>
: 20 mins
</span>
</div>
</div>
<div
class=
"assessment-body-description"
>
Using the scale given, indicate how important to you are the following aspects in your work life.
</div>
<div
class=
"assessment-body-question-wrapper mc-card"
>
<div
class=
"question-title"
>
How important to you is the following in your work life?
</div>
<div
class=
"question-completed"
>
0%
</div>
<div
class=
"question-tag"
>
FLEXIBILITY AT WORK
</div>
<div
class=
"answer-wrapper"
>
<span
class=
"extreme-label-left"
>
Not very important
</span>
<div
class=
"answer-options"
>
<span
class=
"option-value"
>
1
</span>
<span
class=
"option-value"
>
2
</span>
<span
class=
"option-value"
>
3
</span>
<span
class=
"option-value"
>
4
</span>
<span
class=
"option-value"
>
5
</span>
<span
class=
"option-value"
>
6
</span>
<span
class=
"option-value"
>
7
</span>
</div>
<span
class=
"extreme-label-right"
>
Very important
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
frontend/angular/src/app/components/my-career-web/assessment/work-style/work-style.component.scss
View file @
35cdb126
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
&
-header
{
&
-header
{
height
:
76px
;
height
:
76px
;
background
:
#58595B
;
background
:
$darkColor
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
...
@@ -43,13 +43,6 @@
...
@@ -43,13 +43,6 @@
}
}
}
}
&
-progress
{
height
:
8px
;
background
:
#E0E0E0
;
width
:
100%
;
position
:
relative
;
}
&
-body
{
&
-body
{
margin-top
:
32px
;
margin-top
:
32px
;
...
@@ -57,16 +50,17 @@
...
@@ -57,16 +50,17 @@
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
margin-bottom
:
8px
;
.assessment-heading
{
.assessment-heading
{
color
:
#58595B
;
color
:
$darkColor
;
font-family
:
$headingFont
;
font-family
:
$headingFont
;
font-size
:
24px
;
font-size
:
24px
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.assessment-estimation
{
.assessment-estimation
{
color
:
#58595B
;
color
:
$darkColor
;
font-family
:
$bodyFont
;
font-family
:
$bodyFont
;
font-size
:
14px
;
font-size
:
14px
;
...
@@ -77,6 +71,185 @@
...
@@ -77,6 +71,185 @@
}
}
}
}
}
}
&
-description
{
color
:
$darkColor
;
font-family
:
$bodyFont
;
font-size
:
18px
;
}
&
-question-wrapper
{
margin-top
:
32px
;
position
:
relative
;
.question
{
&
-title
,
&
-completed
,
&
-tag
{
color
:
$darkColor
;
font-family
:
$bodyFont
;
font-size
:
18px
;
}
&
-title
{
margin-bottom
:
32px
;
}
&
-tag
{
color
:
$white
;
text-align
:
center
;
font-weight
:
600
;
background
:
$primaryColor
;
padding
:
12px
;
margin-bottom
:
56px
;
}
&
-completed
{
position
:
absolute
;
right
:
24px
;
top
:
24px
;
}
}
.answer-wrapper
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
span
{
color
:
$darkColor
;
font-family
:
$bodyFont
;
font-size
:
18px
;
}
.answer-options
{
display
:
flex
;
align-items
:
center
;
.option-value
{
width
:
40px
;
height
:
40px
;
border
:
1px
solid
$primaryColor
;
border-radius
:
3px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
transition
:
.3s
;
font-weight
:
600
;
color
:
$darkColor
;
cursor
:
pointer
;
&
:not
(
:last-child
)
{
margin-right
:
23px
;
}
&
:hover
,
&
.selected
{
background
:
$primaryColor
;
color
:
$white
;
}
}
}
}
}
}
}
}
@media
only
screen
and
(
max-width
:
600px
)
{
.header-actions
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
padding
:
0
12px
;
width
:
100%
;
}
.assessment-body
{
margin-top
:
16px
!
important
;
&
-header
{
padding
:
0
4px
;
margin-bottom
:
16px
!
important
;
.assessment-heading
{
white-space
:
nowrap
;
}
.assessment-estimation
{
margin-left
:
32px
;
text-align
:
center
;
position
:
relative
;
.fa
{
position
:
absolute
;
left
:
-16px
;
}
}
}
}
&
-description
{
text-align
:
center
;
}
}
&
-question-wrapper
{
margin-top
:
24px
!
important
;
.question-title
{
margin-bottom
:
16px
!
important
;
width
:
80%
!
important
;
}
.question-completed
{
position
:
absolute
;
right
:
0
!
important
;
top
:
6px
!
important
;
font-weight
:
bold
;
}
.question-tag
{
margin-bottom
:
24px
!
important
;
}
.answer-wrapper
{
position
:
relative
;
.extreme-label-right
,
.extreme-label-left
{
font-size
:
12px
!
important
;
font-family
:
$bodyFont
;
position
:
absolute
;
bottom
:
-24px
;
}
.extreme-label-right
{
right
:
0
;
}
.extreme-label-left
{
left
:
0
;
}
.answer-options
{
justify-content
:
space-between
;
width
:
100%
;
.option-value
{
width
:
unset
;
height
:
unset
;
border
:
none
!
important
;
margin
:
0
!
important
;
}
}
}
}
}
}
}
frontend/angular/src/app/components/my-career-web/assessment/work-style/work-style.component.ts
View file @
35cdb126
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
BaseComponent
}
from
'../../base/base.component'
;
@
Component
({
@
Component
({
selector
:
'app-work-style'
,
selector
:
'app-work-style'
,
templateUrl
:
'./work-style.component.html'
,
templateUrl
:
'./work-style.component.html'
,
styleUrls
:
[
'./work-style.component.scss'
]
styleUrls
:
[
'./work-style.component.scss'
]
})
})
export
class
WorkStyleComponent
implements
OnInit
{
export
class
WorkStyleComponent
extends
BaseComponent
implements
OnInit
{
constructor
()
{
}
constructor
()
{
super
();
}
ngOnInit
()
{
ngOnInit
()
{
}
}
...
...
frontend/angular/src/app/components/my-career-web/mc-shared/mc-shared.module.ts
View file @
35cdb126
...
@@ -15,6 +15,7 @@ import { InputSwitchModule } from 'primeng/inputswitch';
...
@@ -15,6 +15,7 @@ import { InputSwitchModule } from 'primeng/inputswitch';
import
{
ButtonModule
}
from
'primeng/button'
;
import
{
ButtonModule
}
from
'primeng/button'
;
import
{
GooglePlacesAutocompleteDirective
}
from
'./google-places-autocomplete.directive'
;
import
{
GooglePlacesAutocompleteDirective
}
from
'./google-places-autocomplete.directive'
;
import
{
InputMaskModule
}
from
'primeng/inputmask'
;
import
{
InputMaskModule
}
from
'primeng/inputmask'
;
import
{
ProgressBarModule
}
from
'primeng/progressbar'
;
const
MODULES
=
[
const
MODULES
=
[
ReactiveFormsModule
,
ReactiveFormsModule
,
...
@@ -26,7 +27,8 @@ const MODULES = [
...
@@ -26,7 +27,8 @@ const MODULES = [
ToastModule
,
ToastModule
,
InputSwitchModule
,
InputSwitchModule
,
ButtonModule
,
ButtonModule
,
InputMaskModule
InputMaskModule
,
ProgressBarModule
];
];
const
COMPONENTS
=
[
const
COMPONENTS
=
[
...
...
frontend/angular/src/styles/my-career-styles/_misc.scss
View file @
35cdb126
.mc-nav-link
{
.mc-nav-link
{
color
:
#12A8DE
;
color
:
$primaryColor
;
border-bottom
:
1px
solid
transparent
;
border-bottom
:
1px
solid
transparent
;
transition
:
.3s
;
transition
:
.3s
;
cursor
:
pointer
;
cursor
:
pointer
;
&
:hover
{
&
:hover
{
border-bottom-color
:
#12A8DE
;
border-bottom-color
:
$primaryColor
;
}
}
}
}
.mc-page-header
{
.mc-page-header
{
background
:
#58595B
;
background
:
$darkColor
;
padding
:
3%
8%
;
padding
:
3%
8%
;
position
:
relative
;
position
:
relative
;
color
:
#FFFFFF
;
color
:
$white
;
font-family
:
$headingFont
;
font-family
:
$headingFont
;
font-size
:
24px
;
font-size
:
24px
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.mc-card
{
padding
:
24px
;
background
:
$white
;
border-radius
:
4px
;
box-shadow
:
0
0
20px
0
rgba
(
128
,
130
,
133
,
0
.13
);
}
@media
only
screen
and
(
max-width
:
600px
)
{
.mc-card
{
padding
:
2px
;
background
:
transparent
!
important
;
border-radius
:
0
;
box-shadow
:
none
;
}
}
frontend/angular/src/styles/my-career-styles/_styles.scss
View file @
35cdb126
...
@@ -16,5 +16,6 @@
...
@@ -16,5 +16,6 @@
@import
"primeng/switch"
;
@import
"primeng/switch"
;
@import
"primeng/button"
;
@import
"primeng/button"
;
@import
"primeng/mask"
;
@import
"primeng/mask"
;
@import
"primeng/progressbar"
;
}
}
frontend/angular/src/styles/my-career-styles/_variables.scss
View file @
35cdb126
$headingFont
:
'Montserrat'
,
sans-serif
;
$headingFont
:
'Montserrat'
,
sans-serif
;
$bodyFont
:
'Catamaran'
,
sans-serif
;
$bodyFont
:
'Catamaran'
,
sans-serif
;
$white
:
#FFFFFF
;
$primaryColor
:
#12A8DE
;
$primaryColor
:
#12A8DE
;
$darkColor
:
#58595B
;
frontend/angular/src/styles/my-career-styles/primeng/_progressbar.scss
0 → 100644
View file @
35cdb126
p-progressBar
{
.ui-progressbar
{
height
:
8px
;
background-color
:
#E0E0E0
!
important
;
border-radius
:
0
;
&
-value
{
border-radius
:
0
;
background
:
linear-gradient
(
90deg
,
#12A8DE
0%
,
#1469A2
100%
);
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment