1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-22 09:21:34 +02:00
invoiceninja/resources/assets/css/sidebar.css

260 lines
5.2 KiB
CSS
Raw Normal View History

2016-09-01 17:52:26 +02:00
/*!
* Start Bootstrap - Simple Sidebar (http://startbootstrap.com/)
* Copyright 2013-2016 Start Bootstrap
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
*/
@media(min-width:768px) {
body {
overflow-x: hidden;
}
/* Toggle Styles */
#wrapper {
2016-10-16 15:38:04 +02:00
padding-top: 56px;
2016-09-01 17:52:26 +02:00
padding-left: 0;
padding-right: 0;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
#wrapper.toggled-left {
padding-left: 250px;
}
#wrapper.toggled-right {
padding-right: 250px;
}
#left-sidebar-wrapper {
z-index: 1000;
position: fixed;
left: 250px;
2016-09-22 08:31:42 +02:00
width: 250px;
2016-09-01 17:52:26 +02:00
height: 100%;
margin-left: -250px;
overflow-y: auto;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
#right-sidebar-wrapper {
z-index: 1000;
position: fixed;
right: 250px;
width: 0px;
height: 100%;
margin-right: -250px;
overflow-y: auto;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
#wrapper.toggled-left #left-sidebar-wrapper {
width: 250px;
}
#wrapper.toggled-right #right-sidebar-wrapper {
width: 250px;
}
#page-content-wrapper {
width: 100%;
position: absolute;
padding: 15px;
}
#wrapper.toggled-left #page-content-wrapper {
position: absolute;
margin-right: -250px;
}
#wrapper.toggled-right #page-content-wrapper {
position: absolute;
padding-right: -250px;
}
/* Sidebar Styles */
.sidebar-nav {
padding-top: 16px;
position: absolute;
top: 0;
width: 250px;
margin: 0;
list-style: none;
height: 100%;
2016-09-22 08:31:42 +02:00
box-shadow: inset 0 0 6px #000000;
-moz-box-shadow: inset 0 0 6px #000000;
-webkit-box-shadow: inset 0 0 5px #000000;
2016-09-01 17:52:26 +02:00
}
#left-sidebar-wrapper .sidebar-nav li {
text-indent: 20px;
line-height: 40px;
}
#left-sidebar-wrapper .sidebar-nav li span.badge {
text-indent: 0px;
}
2016-09-01 17:52:26 +02:00
#right-sidebar-wrapper .sidebar-nav li {
text-indent: 8px;
2016-09-11 16:30:23 +02:00
font-size: 15px;
line-height: 42px;
2016-09-01 17:52:26 +02:00
}
#right-sidebar-wrapper .sidebar-nav li a.btn {
margin-top:5px;
margin-right:10px;
text-indent:0px
}
2016-09-14 21:31:34 +02:00
#left-sidebar-wrapper ul {
2016-11-14 09:27:47 +01:00
min-height: 720px;
2016-09-14 21:31:34 +02:00
}
2016-09-01 17:52:26 +02:00
.sidebar-nav li > a {
display: block;
text-decoration: none;
cursor: pointer;
}
.sidebar-nav li:hover > a,
.sidebar-nav li > a.active {
text-decoration: none;
}
.sidebar-nav li > a:hover {
text-decoration: none;
}
.sidebar-nav li > a.btn {
display: none;
}
.sidebar-nav li:hover > a {
display: block;
}
.sidebar-nav > .sidebar-brand {
height: 65px;
font-size: 18px;
line-height: 60px;
}
.sidebar-nav > .sidebar-brand a {
color: #999999;
}
.sidebar-nav > .sidebar-brand a:hover {
color: #fff;
background: none;
}
.sidebar-nav li div {
max-width:226px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sidebar-nav li div.nav-footer {
text-indent: 16px;
2016-12-13 11:47:40 +01:00
line-height: 36px;
2016-12-14 21:36:06 +01:00
position: fixed;
bottom:0;
2016-12-13 11:47:40 +01:00
left:0;
right:0;
text-align:left;
background-color:#000;
2016-12-14 21:36:06 +01:00
width:100%;
min-width:250px;
2016-12-13 11:47:40 +01:00
border-top-style: solid;
}
.sidebar-nav li div.nav-footer i {
color:#ccc !important;
}
.sidebar-nav li div.nav-footer i:hover {
color:#fff !important;
2016-09-01 17:52:26 +02:00
}
#wrapper.toggled-left #left-sidebar-wrapper .nav-footer {
visibility: hidden;
}
2016-09-01 17:52:26 +02:00
#wrapper {
padding-left: 250px;
padding-right: 250px;
}
#wrapper.toggled-left {
padding-left: 0;
}
#wrapper.toggled-right {
padding-right: 0;
}
2016-09-02 16:53:16 +02:00
#left-sidebar-wrapper a.btn {
margin-top:10px;
margin-right:10px;
text-indent:0px
}
2016-09-01 17:52:26 +02:00
#right-sidebar-wrapper {
width: 250px;
}
#wrapper.toggled-left #left-sidebar-wrapper {
width: 0;
}
#wrapper.toggled-right #right-sidebar-wrapper {
width: 0;
}
#page-content-wrapper {
padding: 20px;
position: relative;
}
#wrapper.toggled-left #page-content-wrapper {
position: relative;
margin-right: 0;
}
#wrapper.toggled-right #page-content-wrapper {
position: relative;
margin-right: 0;
}
.menu-toggle {
text-decoration: none;
}
.menu-toggle:hover {
text-decoration: none;
}
2016-09-01 17:57:04 +02:00
#right-menu-toggle div
{
width:30px;
margin-right:12px;
margin-left:24px;
margin-top:20px;
margin-bottom:25px;
text-align: center;
}
2016-09-01 17:52:26 +02:00
}