mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ux(): minor tweaks
This commit is contained in:
parent
65f9cc986a
commit
ac1648c946
@ -220,3 +220,5 @@ $btn-padding-y-lg: .75rem !default;
|
||||
|
||||
$btn-border-radius: 1px;
|
||||
|
||||
// sidemenu
|
||||
$side-menu-width: 15rem;
|
||||
|
@ -1,5 +1,3 @@
|
||||
$sideMenuWidth: 220px;
|
||||
|
||||
.sidemenu-canvas {
|
||||
position: relative;
|
||||
}
|
||||
@ -8,7 +6,7 @@ $sideMenuWidth: 220px;
|
||||
position: absolute;
|
||||
top: 52px;
|
||||
left: 0;
|
||||
width: $sideMenuWidth;
|
||||
width: $side-menu-width;
|
||||
background-color: $body-bg;
|
||||
z-index: 101;
|
||||
transform: translate3d(0, -100%, 0);
|
||||
@ -32,17 +30,15 @@ $sideMenuWidth: 220px;
|
||||
min-height: calc(100% - 54px);
|
||||
}
|
||||
.dashboard-container {
|
||||
padding-left: $sideMenuWidth;
|
||||
padding-left: $side-menu-width;
|
||||
}
|
||||
.page-container {
|
||||
margin-left: 195px;
|
||||
padding-left: 77px;
|
||||
margin-left: $side-menu-width;
|
||||
}
|
||||
.top-nav-menu-btn {
|
||||
a {
|
||||
background-color: $page-bg;
|
||||
padding-right: 67px;
|
||||
padding-left: 22px;
|
||||
width: $side-menu-width;
|
||||
}
|
||||
.icon-gf-grafana_wordmark {
|
||||
display: inline-block;
|
||||
@ -71,7 +67,7 @@ $sideMenuWidth: 220px;
|
||||
.dropdown-menu {
|
||||
display: block;
|
||||
top: 0px;
|
||||
left: $sideMenuWidth;
|
||||
left: $side-menu-width;
|
||||
background-color: $body-bg;
|
||||
}
|
||||
}
|
||||
|
@ -4,15 +4,11 @@
|
||||
}
|
||||
|
||||
.dashboard-container {
|
||||
padding: 5px 5px;
|
||||
padding: $spacer / 2;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.main-view {
|
||||
// background-image: url(/img/grafana_pattern.png);
|
||||
// background-position: 100% -550px;
|
||||
// background-repeat: no-repeat;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@ -33,7 +29,7 @@
|
||||
}
|
||||
|
||||
.page-header {
|
||||
padding: $spacer 0;
|
||||
padding: $spacer 0 $spacer/2 0;
|
||||
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
@ -59,7 +55,7 @@
|
||||
.page-heading {
|
||||
font-size: 1.25rem;
|
||||
margin-top: 0;
|
||||
margin-bottom: $spacer * 0.6;
|
||||
margin-bottom: $spacer * 0.7;
|
||||
}
|
||||
|
||||
.admin-page {
|
||||
|
Loading…
Reference in New Issue
Block a user