refactored favorites:

instead of using a fav page for each content, use a general favorites pane where the user can select which favs shall be shown
This commit is contained in:
Pfingstfrosch
2020-05-12 19:19:04 +02:00
parent a8f4d4a9db
commit 92eff82f1a
13 changed files with 88 additions and 9 deletions
+25
View File
@@ -0,0 +1,25 @@
// Place all the styles related to the favorites controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: https://sass-lang.com/
.favNav {
display: flex;
a:link, a:visited {
font-family: Helvetica, sans-serif;
transition: .3s all ease-in-out;
font-size: 18px;
background-color: #3F51B5;
color: white;
padding: 5px 10px;
text-align: center;
text-decoration: none;
display: inline-block;
flex-grow: 1;
}
a:hover, a:active {
background-color: #009688;
}
}
@@ -2,6 +2,24 @@
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: https://sass-lang.com/
h5 {
font-weight: normal;
opacity: 0.8;
}
.profile-picture {
float: right;
width: 25%;
img {
width: 100%;
max-width: 260px;
height: auto;
object-fit: contain;
}
}
.people-list {
list-style: none;
padding: 0;