Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-web
Commits
6a655bc9
Commit
6a655bc9
authored
Feb 01, 2018
by
Andrew Hrdy
Browse files
Reduced shadows on cards.
parent
48a87542
Pipeline
#2091
passed with stages
in 1 minute and 54 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/containers/FacilityCard.js
View file @
6a655bc9
import
React
from
'
react
'
;
import
Card
,
{
CardContent
,
CardMedia
}
from
'
material-ui/Card
'
;
import
Card
,
{
CardContent
}
from
'
material-ui/Card
'
;
import
Typography
from
'
material-ui/Typography
'
;
import
Grid
from
'
material-ui/Grid
'
;
import
FacilityStatus
from
'
../components/FacilityStatus
'
;
...
...
@@ -70,9 +70,9 @@ class FacilityCard extends React.Component {
facility
.
facility_location
.
building
;
return
(
<
Card
onClick
=
{
this
.
handleCardClick
}
className
=
{
classNames
(
'
fc-root
'
,
isSelected
&&
'
fc-selected
'
)}
onMouseEnter
=
{
this
.
handleMouseEnter
}
onMouseLeave
=
{
this
.
handleMouseLeave
}
raised
>
<
CardMedia
className
=
{
'
fc-media
'
}
image
=
{
'
https://gmucampus.files.wordpress.com/2010/09/00southside2.jpg
'
}
/
>
onMouseEnter
=
{
this
.
handleMouseEnter
}
onMouseLeave
=
{
this
.
handleMouseLeave
}
elevation
=
{
3
}
>
{
/*
<CardMedia className={'fc-media'}
image={'https://gmucampus.files.wordpress.com/2010/09/00southside2.jpg'} />
*/
}
<
div
className
=
{
'
fc-logo-container
'
}
>
<
img
className
=
{
'
fc-logo
'
}
...
...
src/styles/containers/facilityCard.scss
View file @
6a655bc9
...
...
@@ -34,7 +34,7 @@
height
:
100px
;
margin
:
-60px
auto
auto
auto
;
border-radius
:
50%
;
box-shadow
:
0
px
5
px
5
px
-3px
rgba
(
0
,
0
,
0
,
0
.2
)
,
0
px
8
px
10
px
1px
rgba
(
0
,
0
,
0
,
0
.14
)
,
0px
3px
14px
2px
rgba
(
0
,
0
,
0
,
0
.12
);
box-shadow
:
0
1
px
8
px
0
rgba
(
0
,
0
,
0
,
0
.2
)
,
0
3
px
4
px
0
rgba
(
0
,
0
,
0
,
0
.14
)
,
0
3
px
3px
-
2px
rgba
(
0
,
0
,
0
,
0
.12
);
overflow
:
hidden
;
}
...
...
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