1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-15 23:52:33 +01:00
invoiceninja/resources/assets/css/sidebar.css

289 lines
5.8 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;
}
2018-02-08 11:39:58 +01:00
#left-sidebar-wrapper .btn-primary.btn-sm.pull-right {
margin-top: 7px;
}
2016-09-01 17:52:26 +02:00
#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%;
2017-06-19 13:19:25 +02:00
}
.sidebar-nav-dark {
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
}
2017-06-19 13:19:25 +02:00
.sidebar-nav-light {
height: 100%;
box-shadow: inset 0 0 4px #888;
-moz-box-shadow: inset 0 0 4px #888;
-webkit-box-shadow: inset 0 0 4px #888;
}
2016-09-01 17:52:26 +02:00
#left-sidebar-wrapper .sidebar-nav li {
2017-06-19 13:19:25 +02:00
text-indent: 14px;
2018-02-08 11:39:58 +01:00
line-height: 32px;
font-size: 16px;
2016-09-01 17:52:26 +02:00
}
#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: 6px;
margin-right: 8px;
text-indent: 0px
2016-09-01 17:52:26 +02:00
}
2016-09-14 21:31:34 +02:00
#left-sidebar-wrapper ul {
2019-01-30 12:00:26 +01:00
min-height: 820px;
}
@media (max-height: 744px) {
div.nav-footer {
min-width: 234px !important;
}
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;
2016-12-14 21:36:06 +01:00
width:100%;
min-width:250px;
}
.sidebar-nav-dark li div.nav-footer {
background-color: #000;
2016-12-13 11:47:40 +01:00
border-top-style: solid;
}
.sidebar-nav-light li div.nav-footer {
background-color: #777;
border-top-style: inset;;
}
.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 {
2017-01-22 22:53:01 +01:00
margin-top:8px;
2016-09-02 16:53:16 +02:00
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
}