1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

fitWidth for video-miniature, fluid grid (#2830)

* Fluid abstract video list

* normalize timestamp display on miniatures

* use grid for abstract-video-list

- refactor scss function var to pvar to avoid overriding css variables
- move fluid-grid margins to adapt-margin-content-width mixin for maintainability
- fix video-miniature-name margin-top on small screen

* move sceenratio function in a mixin

* display no miniature avatar in channel videos view
This commit is contained in:
Rigel Kent 2020-06-09 09:33:28 +02:00 committed by GitHub
parent 6ad971d5f5
commit e66883b37a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
65 changed files with 355 additions and 294 deletions

View file

@ -24,7 +24,7 @@ button {
&.routeActive {
&::after {
display: inherit;
border: 2px solid var(--mainColor);
border: 2px solid pvar(--mainColor);
position: relative;
right: 95%;
top: 50%;
@ -53,8 +53,8 @@ button {
width: 100%;
&.active {
color: var(--mainBackgroundColor) !important;
background-color: var(--mainHoverColor);
color: pvar(--mainBackgroundColor) !important;
background-color: pvar(--mainHoverColor);
opacity: .9;
}
}