Rebellion theme Update for Sidebar

This commit is contained in:
marjohn56
2018-07-09 16:49:41 +02:00
committed by Franco Fichtner
parent c6c4301a2a
commit 2de487540c
4 changed files with 4812 additions and 2815 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
PLUGIN_NAME= theme-rebellion
PLUGIN_VERSION= 1.1
PLUGIN_VERSION= 1.2
PLUGIN_COMMENT= A suitably dark theme
PLUGIN_MAINTAINER= team-rebellion@queens-park.com
@@ -127,6 +127,14 @@
@include responsive-invisibility('.hidden-sm');
}
/* COLLAPSE SIDEBAR @media*/
@media (max-width: 768px), (max-height: 669px) {
.toggle-sidebar {
display: none !important;
}
}
/* COLLAPSE SIDEBAR @media END*/
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
@include responsive-invisibility('.hidden-md');
}
@@ -355,6 +355,243 @@ body{
}
}
/* COLLAPSE SIDEBAR */
main.page-content.col-lg-12 {
padding-left: 90px;
}
#navigation.col-sidebar-left {
width: 70px;
background-color: transparent !important;
overflow: hidden;
> div {
&.row {
height: 100% !important;
> nav.page-side-nav {
width: 70px;
background-color: #202020 !important;
height: 100% !important;
}
}
> nav > #mainmenu > div > {
a.list-group-item {
font-size: 11px;
text-align: center;
> span {
&.fa, &.glyphicon {
visibility: visible;
font-size: 28px;
}
&.__iconspacer {
padding-left: 7px;
padding-right: 7px;
}
}
width: 70px;
height: 70px;
padding-left: 10px;
padding-right: 10px;
padding-top: 15px;
padding-bottom: 15px;
border-bottom: 2px solid #393939;
}
div {
&.collapsing > a.list-group-item {
padding-left: 10px !important;
font-size: 11px !important;
display: block !important;
position: absolute !important;
left: 70px !important;
margin-top: -70px !important;
}
&.collapse.in > div.collapsing > a.list-group-item {
padding-left: 10px !important;
font-size: 11px !important;
display: block !important;
position: absolute !important;
left: 148px !important;
margin-top: -28px !important;
}
}
a.list-group-item.active-menu-title {
color: #FFF !important;
background-color: #2a2a2a !important;
}
}
}
}
a.list-group-item.active-menu-title.collapsed {
color: #FFF !important;
background-color: #2a2a2a !important;
}
#navigation.col-sidebar-left > div > nav > #mainmenu > div > {
a.list-group-item[aria-expanded="true"] {
color: #ec6d12 !important;
background-color: #2a2a2a !important;
}
div {
&.collapse {
&.in {
> a.list-group-item[aria-expanded="true"] {
color: #ec6d12 !important;
background-color: #2a2a2a !important;
}
> div.collapse.in > a.list-group-item {
padding-left: 10px !important;
font-size: 11px !important;
background-color: #393939e6 !important;
&.menu-level-3-item.active {
color: #ec6d12 !important;
background-color: #2a2a2a !important;
}
}
}
> a.list-group-item {
padding-left: 10px !important;
font-size: 11px !important;
background-color: #393939e6 !important;
}
> div.collapse > a.list-group-item {
padding-left: 10px !important;
font-size: 11px !important;
}
}
&.collapsed > a.list-group-item {
padding-left: 10px !important;
font-size: 11px !important;
}
&.collapse.in > a.list-group-item:hover {
color: #ec6d12 !important;
background-color: #2a2a2a !important;
}
}
}
a.list-group-item:focus {
color: #ec6d12 !important;
background-color: #2a2a2a !important;
}
#navigation.col-sidebar-left > div > nav > #mainmenu > div > div.collapse.in > div.collapse.in > a.list-group-item:hover, a.list-group-item:focus {
text-decoration: none !important;
color: #ec6d12 !important;
background-color: #2a2a2a !important;
}
#navigation.col-sidebar-left > div > nav > #mainmenu > div > div {
&.collapse.in > a.list-group-item {
&.active-menu-title, &.collapsed:focus, &:focus {
color: #ec6d12 !important;
background-color: #2a2a2a !important;
}
}
&.active-menu.collapse.in > a.list-group-item.active {
color: #ec6d12 !important;
background-color: #2a2a2a !important;
}
&.collapse.in {
width: 150px;
font-size: 11px;
display: block;
z-index: 10;
position: absolute;
left: 70px;
margin-top: -70px;
height: auto;
border: 1px solid #515151;
-webkit-transition: width 0.1s;
-o-transition: width 0.1s;
transition: width 0.1s;
-webkit-box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.5);
box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.5);
}
&.collapsing {
width: 0px;
font-size: 11px;
position: absolute;
display: block;
z-index: 10;
left: 70px;
margin-top: -70px;
height: auto;
-webkit-box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.5);
box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.5);
}
&.collapse.in > div {
&.collapse.in {
width: 150px;
font-size: 11px;
display: block;
z-index: 10;
position: absolute;
left: 148px;
margin-top: -28px;
height: auto;
border: 1px solid #515151;
-webkit-transition: width 0.1s;
-o-transition: width 0.1s;
transition: width 0.1s;
-webkit-box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.5);
box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.5);
}
&.collapsing {
width: 0px;
font-size: 11px;
position: absolute;
display: block;
z-index: 10;
left: 148px;
margin-top: -28px;
height: auto;
-webkit-box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.75);
-moz-box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.75);
box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.75);
}
}
}
/* Sub Level One */
/* Sub Level Two */
button.toggle-sidebar {
&.glyphicon {
&.glyphicon-chevron-left, &.glyphicon-chevron-right {
position: absolute;
-webkit-transition: all 0.1s ease;
-moz-transition: all 0.1s ease;
-o-transition: all 0.1s ease;
-ms-transition: all 0.1s ease;
transition: all 0.1s ease;
}
&.glyphicon-chevron-left:active, &.glyphicon-chevron-right:active {
position: absolute;
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-o-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
&.glyphicon-chevron-left:focus, &.glyphicon-chevron-right:focus {
outline: none;
}
}
color: #FFF;
background-color: transparent;
font-size: 14px;
border: none;
margin-top: 18px;
float: left;
}
/* COLLAPSE SIDEBAR END*/
#navigation.collapse.in{
display: block !important;
}
File diff suppressed because it is too large Load Diff