Revert "-Added a css variable to adjust the side bar width"

This reverts commit 88ef9065cf.
pull/212/head
Ramiro 2016-06-18 03:39:12 +02:00
parent 88ef9065cf
commit aaec6701c3
3 changed files with 16 additions and 24 deletions

View File

@ -1,7 +1,4 @@
@charset "UTF-8"; @charset "UTF-8";
:root {
--sidebarwidth: 230px; }
.left_col { .left_col {
background: #2A3F54; } background: #2A3F54; }
@ -190,7 +187,7 @@
.nav_menu { .nav_menu {
position: static; } } position: static; } }
.nav-md .container.body .col-md-3.left_col { .nav-md .container.body .col-md-3.left_col {
width: var(--sidebarwidth); width: 230px;
padding: 0; padding: 0;
position: absolute; position: absolute;
display: -ms-flexbox; display: -ms-flexbox;
@ -206,10 +203,10 @@ body .container.body .right_col {
.nav-md .container.body .right_col { .nav-md .container.body .right_col {
padding: 10px 20px 0; padding: 10px 20px 0;
margin-left: var(--sidebarwidth); } margin-left: 230px; }
.nav_title { .nav_title {
width: var(--sidebarwidth); width: 230px;
float: left; float: left;
background: #2A3F54; background: #2A3F54;
border-radius: 0; border-radius: 0;
@ -338,7 +335,7 @@ body {
.main_container .top_nav { .main_container .top_nav {
display: block; display: block;
margin-left: var(--sidebarwidth); } margin-left: 230px; }
.no-padding { .no-padding {
padding: 0 !important; } padding: 0 !important; }
@ -1419,7 +1416,7 @@ span.right {
display: block; display: block;
padding: 5px 0 0 0; padding: 5px 0 0 0;
position: fixed; position: fixed;
width: var(--sidebarwidth); width: 230px;
background: #2A3F54; } background: #2A3F54; }
.sidebar-footer a { .sidebar-footer a {
@ -1449,7 +1446,7 @@ span.right {
@media (min-width: 992px) { @media (min-width: 992px) {
footer { footer {
margin-left: var(--sidebarwidth); } } margin-left: 230px; } }
@media (min-width: 992px) { @media (min-width: 992px) {
.tile_count .tile_stats_count { .tile_count .tile_stats_count {
margin-bottom: 10px; margin-bottom: 10px;
@ -3988,7 +3985,7 @@ ul.notifications {
margin-bottom: 20px; margin-bottom: 20px;
border: 1px solid rgba(0, 0, 0, 0.15); border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 4px; border-radius: 4px;
width: var(--sidebarwidth); width: 230px;
overflow: hidden; overflow: hidden;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); } box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); }

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,3 @@
:root {
--sidebarwidth: 230px;
}
.left_col { .left_col {
background: #2A3F54; background: #2A3F54;
} }
@ -193,7 +188,7 @@
} }
} }
.nav-md .container.body .col-md-3.left_col { .nav-md .container.body .col-md-3.left_col {
width: var(--sidebarwidth); width: 230px;
padding: 0; padding: 0;
position: absolute; position: absolute;
display: flex; display: flex;
@ -208,10 +203,10 @@ body .container.body .right_col {
} }
.nav-md .container.body .right_col { .nav-md .container.body .right_col {
padding: 10px 20px 0; padding: 10px 20px 0;
margin-left: var(--sidebarwidth); margin-left: 230px;
} }
.nav_title { .nav_title {
width: var(--sidebarwidth); width: 230px;
float: left; float: left;
background: #2A3F54; background: #2A3F54;
border-radius: 0; border-radius: 0;
@ -347,7 +342,7 @@ body {
} }
.main_container .top_nav { .main_container .top_nav {
display: block; display: block;
margin-left: var(--sidebarwidth); margin-left: 230px;
} }
.main_container {} .main_container {}
.no-padding { .no-padding {
@ -1535,7 +1530,7 @@ span.right {
display: block; display: block;
padding: 5px 0 0 0; padding: 5px 0 0 0;
position: fixed; position: fixed;
width: var(--sidebarwidth); width: 230px;
background: #2A3F54; background: #2A3F54;
} }
.sidebar-footer a { .sidebar-footer a {
@ -1567,7 +1562,7 @@ span.right {
@media (min-width: 992px) { @media (min-width: 992px) {
footer { footer {
margin-left: var(--sidebarwidth); margin-left: 230px;
} }
} }
@ -4482,7 +4477,7 @@ ul.notifications {
margin-bottom: 20px; margin-bottom: 20px;
border: 1px solid rgba(0, 0, 0, .15); border: 1px solid rgba(0, 0, 0, .15);
border-radius: 4px; border-radius: 4px;
width: var(--sidebarwidth); width: 230px;
overflow: hidden; overflow: hidden;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
box-shadow: 0 6px 12px rgba(0, 0, 0, .175); box-shadow: 0 6px 12px rgba(0, 0, 0, .175);