menu {
background-color: $black-background;
- padding: 20px;
+ padding: 25px;
margin: 0;
height: 100%;
+ .panel-block {
+ margin-bottom: 15px;
+ }
+
+ .block-title {
+ text-transform: uppercase;
+ font-weight: bold;
+ color: $menu-color-block;
+ margin-bottom: 10px;
+ }
+
a {
display: block;
+ margin-left: 5px;
height: 30px;
- color: #9cabb8;
+ color: $menu-color-link;
cursor: pointer;
transition: color 0.3s;
}
.glyphicon {
- margin-right: 20px;
+ margin-right: 15px;
}
&:hover, &.active {
<menu>
<div class="panel-block">
+ <div class="block-title">Account</div>
+
<div id="panel-user-login" class="panel-button">
<a *ngIf="!isLoggedIn" routerLink="/login" routerLinkActive="active">
<span class="hidden-xs glyphicon glyphicon-log-in"></span>
</div>
<div class="panel-block">
+ <div class="block-title">Videos</div>
+
<a routerLink="/videos/list" routerLinkActive="active">
<span class="hidden-xs glyphicon glyphicon-list"></span>
See videos
</a>
</div>
- <div class="panel-block">
- <a *ngIf="isUserAdmin()" routerLink="/admin" routerLinkActive="active">
+ <div *ngIf="isUserAdmin()" class="panel-block">
+ <div class="block-title">Other</div>
+
+ <a routerLink="/admin" routerLinkActive="active">
<span class="hidden-xs glyphicon glyphicon-cog"></span>
Administration
</a>
$black-background: #1d2125;
$grey-background: #f6f2f2;
+$menu-color-link: #9cabb8;
+$menu-color-block: #686f77;
+
$header-height: 65px;
$header-border-color: #e9eff6;