forked from UnBTV/UnB-TV-Frontend
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from fga-eps-mds/8-favoritarVideo
US08 - Eu, como usuário, quero favoritar um vídeo diretamente da página de visualização, para acessá-lo facilmente depois. + US13 - Eu, como usuário, quero marcar vídeos para assistir mais tarde
- Loading branch information
Showing
9 changed files
with
581 additions
and
60 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,78 @@ | ||
.clamped-description { | ||
display: -webkit-box; | ||
-webkit-box-orient: vertical; | ||
-webkit-line-clamp: 3; | ||
overflow: hidden; | ||
} | ||
|
||
display: -webkit-box; | ||
-webkit-box-orient: vertical; | ||
-webkit-line-clamp: 3; | ||
overflow: hidden; | ||
} | ||
|
||
.watch-later-button { | ||
background-color: #0087c8; | ||
color: #fff; | ||
border: none; | ||
padding: 0.15em 0.9em; | ||
border-radius: 5em; | ||
cursor: pointer; | ||
font-size: 1.2em; | ||
display: flex; | ||
align-items: center; | ||
gap: 0.3em; | ||
} | ||
|
||
.watch-later-button.watch-later-active { | ||
background-color: #f00; /* Cor para quando o vídeo estiver na lista de assistir mais tarde */ | ||
} | ||
|
||
.watch-later-button:hover { | ||
background-color: #00000094; /* Fundo ao passar o mouse */ | ||
color: white; /* Cor das letras ao passar o mouse */ | ||
} | ||
|
||
.watch-later-button:active { | ||
background-color: red; /* Fundo ao clicar */ | ||
color: white; /* Cor das letras ao clicar */ | ||
} | ||
|
||
.title-button-container { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
|
||
.favorite-button { | ||
color: white; | ||
background-color: #0087c8; | ||
padding: 0.15em 0.9em; | ||
border: none; | ||
cursor: pointer; | ||
border-radius: 5em; | ||
font-size: 1.2em; | ||
display: flex; /* Utiliza flexbox para alinhar o conteúdo */ | ||
align-items: center; /* Alinha verticalmente o conteúdo */ | ||
gap: 0.3em; | ||
} | ||
|
||
.favorite-button.favorited { | ||
background-color: red; /* Fundo quando favorito */ | ||
color: white; /* Cor das letras quando favorito */ | ||
} | ||
|
||
.favorite-icon { | ||
display: flex; | ||
width: 1em; /* Define a largura do ícone */ | ||
height: 1em; /* Define a altura do ícone */ | ||
fill: #ffffff; /* Define a cor do ícone */ | ||
} | ||
|
||
.favorite-button:hover { | ||
background-color: #0085c894; /* Fundo ao passar o mouse */ | ||
color: white; /* Cor das letras ao passar o mouse */ | ||
} | ||
|
||
.favorite-button:active { | ||
background-color: red; /* Fundo ao clicar */ | ||
color: white; /* Cor das letras ao clicar */ | ||
} | ||
|
||
button.favorited span { | ||
color: rgb(255, 255, 255); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.