Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
whats-open-web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicholas J Anderson
whats-open-web
Commits
3470b080
Commit
3470b080
authored
Jan 19, 2018
by
Andrew Hrdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed some fonts with the sidebar.
parent
9bd1ae60
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
16 deletions
+16
-16
src/components/WeekHours.js
src/components/WeekHours.js
+7
-2
src/styles/components/textwTitle.scss
src/styles/components/textwTitle.scss
+9
-5
src/styles/components/weekHours.scss
src/styles/components/weekHours.scss
+0
-9
No files found.
src/components/WeekHours.js
View file @
3470b080
import
React
from
'
react
'
;
import
Grid
from
'
material-ui/Grid
'
;
import
facilityUtils
from
'
../utils/facilityUtils
'
;
import
Typography
from
'
material-ui/Typography
'
;
const
WeekHours
=
({
facility
})
=>
{
const
weekDays
=
[
...
...
@@ -21,8 +22,12 @@ const WeekHours = ({facility}) => {
for
(
let
i
=
0
;
i
<
todaysHours
.
length
;
i
++
)
{
output
[
index
]
=
(
<
Grid
container
spacing
=
{
0
}
key
=
{
facility
.
slug
+
index
}
className
=
"
week-hours-row
"
>
<
Grid
item
xs
=
{
2
}
className
=
"
week-hours-day
"
>
{
weekDays
[
dayOfWeek
]}
<
/Grid
>
<
Grid
item
className
=
"
week-hours-times
"
>
{
todaysHours
[
i
].
text
}
<
/Grid
>
<
Grid
item
xs
=
{
2
}
>
<
Typography
type
=
{
'
body1
'
}
>
{
weekDays
[
dayOfWeek
]}
<
/Typography
>
<
/Grid
>
<
Grid
item
>
<
Typography
type
=
{
'
body1
'
}
>
{
todaysHours
[
i
].
text
}
<
/Typography
>
<
/Grid
>
<
/Grid
>
);
index
++
;
...
...
src/styles/components/textwTitle.scss
View file @
3470b080
.text-w-title-label
{
font-family
:
"Roboto-Regular"
,
"-apple-system"
,
"Helvetica"
,
"Arial"
,
sans-serif
;;
font-size
:
12px
;
color
:
rgba
(
0
,
0
,
0
,
.54
);
font-family
:
"Roboto"
,
"-apple-system"
,
"Helvetica"
,
"Arial"
,
sans-serif
;
font-size
:
14px
;
line-height
:
24px
;
font-weight
:
500
;
color
:
rgba
(
0
,
0
,
0
,
0
.87
);
}
.text-w-title-content
{
font-family
:
"Roboto
-Medium
"
,
"-apple-system"
,
"Helvetica"
,
"Arial"
,
sans-serif
;
font-family
:
"Roboto"
,
"-apple-system"
,
"Helvetica"
,
"Arial"
,
sans-serif
;
font-size
:
14px
;
line-height
:
20px
;
font-weight
:
400
;
color
:
rgba
(
0
,
0
,
0
,
0
.87
);
text-overflow
:
ellipsis
;
width
:
100%
;
white-space
:
nowrap
;
overflow
:
hidden
;
color
:
#354052
;
}
\ No newline at end of file
src/styles/components/weekHours.scss
View file @
3470b080
...
...
@@ -2,15 +2,6 @@
.week-hours-row
{
font-size
:
14px
;
color
:
#354052
;
}
.week-hours-day
{
font-family
:
Roboto-Regular
,
Helvetica-Neue
;
}
.week-hours-times
{
font-family
:
Roboto-Medium
;
}
@media
screen
and
(
max-width
:
map-get
(
$breakpoints
,
lg
)
-
1px
)
{
...
...
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