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:
parent
6ad971d5f5
commit
e66883b37a
65 changed files with 355 additions and 294 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue