Context menu :active; Experimenting with branding
This commit is contained in:
@ -279,6 +279,7 @@
|
||||
|
||||
.context-menu-trigger {
|
||||
@include animate();
|
||||
@include gradient_overlay(3px);
|
||||
display: inline-block;
|
||||
padding: 14px 12px;
|
||||
cursor: pointer;
|
||||
@ -297,21 +298,9 @@
|
||||
margin: 1px;
|
||||
}
|
||||
|
||||
&:before {
|
||||
@include animate();
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
opacity: 0;
|
||||
z-index: 9;
|
||||
background: -webkit-linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
|
||||
background: -moz-linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
|
||||
background: -o-linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
|
||||
background: linear-gradient(to bottom right, rgba(255,255,255,1), rgba(0,0,0,0.5));
|
||||
&:active {
|
||||
margin-top: 0px;
|
||||
margin-bottom: -1px;
|
||||
}
|
||||
|
||||
&:hover{
|
||||
|
||||
@ -24,6 +24,19 @@ aside{
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.branding {
|
||||
height: 50px;
|
||||
margin-top: 30px;
|
||||
opacity: 0.2;
|
||||
|
||||
background: {
|
||||
image: url('../assets/icon.svg');
|
||||
position: 50% 50%;
|
||||
repeat: no-repeat;
|
||||
size: contain;
|
||||
}
|
||||
}
|
||||
|
||||
nav {
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user