ux(): added dashboard-padding variable

This commit is contained in:
Torkel Ödegaard 2016-02-23 13:32:14 +01:00
parent 5e553e40fa
commit ecc22757b8
3 changed files with 6 additions and 2 deletions

View File

@ -215,3 +215,6 @@ $btn-border-radius: 3px;
// sidemenu
$side-menu-width: 14rem;
// dashboard
$dashboard-padding: $spacer / 2;

View File

@ -1,7 +1,8 @@
.tabbed-view {
background-color: $page-bg;
background-image: linear-gradient(60deg, transparent 70%, darken($page-bg, 4%) 98%);
margin: -($spacer/2) 0 $spacer*2 0;
margin: -$dashboard-padding;
margin-bottom: $spacer*2;
padding: $spacer*2;
}

View File

@ -4,7 +4,7 @@
}
.dashboard-container {
padding: $spacer / 2;
padding: $dashboard-padding;
width: 100%;
}