mirror of https://github.com/Chocobozzz/PeerTube
Menu secondary button consistency
parent
6af1270727
commit
aac9ff8931
|
@ -1,7 +1,7 @@
|
||||||
<ng-template #moreInfoButton>
|
<ng-template #moreInfoButton>
|
||||||
<div class="more-info-btn-container">
|
<div class="more-info-btn-container">
|
||||||
<a
|
<a
|
||||||
class="more-info-btn peertube-button-link secondary-button peertube-button-icon mt-2 d-block" [ngClass]="{ 'icon-only': collapsed }"
|
class="more-info-btn peertube-button-link peertube-button-icon mt-2 d-block" [ngClass]="{ 'icon-only': collapsed }"
|
||||||
routerLink="/about" i18n-title title="More info" routerLinkActive="active"
|
routerLink="/about" i18n-title title="More info" routerLinkActive="active"
|
||||||
>
|
>
|
||||||
<my-global-icon iconName="help"></my-global-icon>
|
<my-global-icon iconName="help"></my-global-icon>
|
||||||
|
|
|
@ -160,21 +160,34 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.more-info-btn {
|
||||||
|
@include secondary-button(
|
||||||
|
$fg: pvar(--menu-fg),
|
||||||
|
$active-bg: pvar(--menu-bg-600),
|
||||||
|
$hover-bg: pvar(--menu-bg-550),
|
||||||
|
$border-color: pvar(--menu-bg-600)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
.more-info-btn,
|
.more-info-btn,
|
||||||
.menu-link {
|
.menu-link {
|
||||||
color: pvar(--menu-fg);
|
|
||||||
|
|
||||||
my-global-icon {
|
my-global-icon {
|
||||||
color: pvar(--secondary-icon-color);
|
color: pvar(--secondary-icon-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
&,
|
font-weight: $font-bold;
|
||||||
|
|
||||||
my-global-icon {
|
my-global-icon {
|
||||||
color: pvar(--menu-fg-600);
|
color: pvar(--menu-fg-600);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
font-weight: $font-bold;
|
.menu-link {
|
||||||
|
color: pvar(--menu-fg);
|
||||||
|
|
||||||
|
&.active {
|
||||||
background-color: pvar(--menu-bg-600);
|
background-color: pvar(--menu-bg-600);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue