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
cabc4375
Commit
cabc4375
authored
Mar 10, 2018
by
Andrew Hrdy
Browse files
Favorite button always visible on mobile.
Closes
#26
parent
988318a5
Changes
1
Show whitespace changes
Inline
Side-by-side
src/styles/components/favoriteButton.scss
View file @
cabc4375
...
...
@@ -11,15 +11,7 @@
}
.favorite-button-heart-favorited
{
color
:
#E91E63
;
//TODO: Somehow use materials color system
}
.favorite-button-heart-hover
{
color
:
grey
;
}
.favorite-button-heart-no-hover
{
color
:
rgba
(
0
,
0
,
0
,
0
);
color
:
#E91E63
!
important
;
//TODO: Somehow use materials color system
}
//Between lg and xl
...
...
@@ -31,9 +23,22 @@
}
}
//Above lg
@media
screen
and
(
min-width
:
map-get
(
$breakpoints
,
lg
))
{
.favorite-button-heart-hover
{
color
:
grey
;
}
.favorite-button-heart-no-hover
{
color
:
rgba
(
0
,
0
,
0
,
0
);
}
}
//Under lg
@media
screen
and
(
max-width
:
map-get
(
$breakpoints
,
lg
))
{
@media
screen
and
(
max-width
:
map-get
(
$breakpoints
,
lg
)
-
1px
)
{
.favorite-button-heart
{
color
:
grey
;
height
:
24px
*
$favorite-button-sm-scale
!
important
;
width
:
24px
*
$favorite-button-sm-scale
!
important
;
padding
:
5px
*
$favorite-button-sm-scale
!
important
;
...
...
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