- added font-awesome icons
- solved widget cross-sync (removed previous hack) : closure is the key !
This commit is contained in:
parent
cd24f7290d
commit
e5b7f63f08
9 changed files with 200 additions and 139 deletions
|
|
@ -41,6 +41,7 @@ $sidepanel-size:300px;
|
|||
}
|
||||
a {
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
}
|
||||
|
||||
$scrollbar-margin:5px;
|
||||
|
|
@ -172,6 +173,20 @@ a.btn {
|
|||
&.sidepanel-open {
|
||||
right:$sidepanel-size;
|
||||
}
|
||||
#open-toggle {
|
||||
position:absolute;
|
||||
top:7px;
|
||||
right:0;
|
||||
width:60px;
|
||||
height:40px;
|
||||
padding:0 10px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
color:$color-text-fade;
|
||||
&.sidepanel-open {
|
||||
color:$color-text
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#sidepanel {
|
||||
|
|
@ -186,60 +201,13 @@ a.btn {
|
|||
border-left:1px solid $color-border;
|
||||
//box-shadow: 0 0 10px 0 $color-border;
|
||||
transition:right .3s;
|
||||
overflow-y: auto;
|
||||
overflow-x: visible;
|
||||
|
||||
&.sidepanel-open {
|
||||
right:$sidepanel-size;
|
||||
}
|
||||
.open-toggle {
|
||||
position:absolute;
|
||||
top:7px;
|
||||
left:-53px;
|
||||
width:47px;
|
||||
height:40px;
|
||||
padding:11px 9px;
|
||||
border:1px solid transparent;
|
||||
border-bottom:0;
|
||||
//box-shadow: 0 0 10px 0 $color-border;
|
||||
border-radius:3px 3px 0 0;
|
||||
|
||||
.bars {
|
||||
display:block;
|
||||
position: relative;
|
||||
width:100%;
|
||||
height:2px;
|
||||
background: $color-text;
|
||||
&:after, &:before {
|
||||
content:"";
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height:100%;
|
||||
top:7px;
|
||||
left:0;
|
||||
background: $color-text;
|
||||
}
|
||||
&::after {
|
||||
top:14px;
|
||||
}
|
||||
&, &:after, &:before {
|
||||
//transition:all .3s;
|
||||
}
|
||||
&.sidepanel-open {
|
||||
background:transparent,
|
||||
}
|
||||
&.sidepanel-open:before {
|
||||
background:$color-accent;
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
&.sidepanel-open:after {
|
||||
background:$color-accent;
|
||||
transform: rotate(-45deg);
|
||||
top:8px;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#options {
|
||||
position:absolute;
|
||||
left:0;top:2px;
|
||||
|
|
@ -321,7 +289,7 @@ a {
|
|||
|
||||
|
||||
&.main {
|
||||
right:80px;
|
||||
right:60px;
|
||||
}
|
||||
ul {
|
||||
list-style:none;
|
||||
|
|
@ -339,7 +307,9 @@ a {
|
|||
border-image:none;
|
||||
border-left:1px solid transparent;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
border-left:0;
|
||||
}
|
||||
|
||||
a {
|
||||
display:block;
|
||||
|
|
@ -1013,6 +983,10 @@ a {
|
|||
position: relative;
|
||||
background: $color-bg;
|
||||
box-shadow: 0 0 0 2px $color-border;
|
||||
cursor: -webkit-grab;
|
||||
&:active {
|
||||
cursor: -webkit-grabbing;
|
||||
}
|
||||
&:after {
|
||||
content:"";
|
||||
position:absolute;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue