grafana/public/sass/components/_dashboard_settings.scss
Jack Westbrook ad3b0b2272
PageToolbar: add bottom padding (#34602)
* fix(pagetoolbar): pad elements top and bottom to keep vertical align and wrapper padding

* fix(sidemenu): prevent mobile sidemenu squashing dashboard, vertically align mobile sidemenu icon

* fix(dashboardsettings): prevent subheader overlap

* fix(pagetoolbar): center align all toolbar elements vertically

* refactor(pagetoolbar): combine vertical paddings to bring back original padding values

* refactor: update padding values for components that use PageToolbar

* fix(playlists): update Empty cta link route to prevent 404

* test(dashboard): update snapshot
2021-05-26 10:49:39 +02:00

105 lines
1.7 KiB
SCSS

.dashboard-settings {
position: fixed;
height: 100%;
width: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: $zindex-sidemenu;
background: $dashboard-bg;
display: flex;
flex-direction: column;
}
.dashboard-settings__body {
min-height: 100%;
width: 100%;
display: flex;
flex-direction: row;
background: $panel-bg;
}
.dashboard-settings__aside {
display: flex;
flex-direction: column;
margin-top: $spacer;
}
.dashboard-settings__aside-header {
color: $text-muted;
font-size: $font-size-h3;
padding-right: 60px;
white-space: nowrap;
margin-bottom: $space-md;
i {
font-size: 25px;
position: relative;
top: 1px;
padding-right: 5px;
}
}
.dashboard-settings__header {
font-size: $font-size-h3;
margin-bottom: $space-md;
}
.dashboard-settings__subheader {
color: $text-muted;
font-style: italic;
}
.dashboard-settings__nav-item {
padding: 8px 40px 8px 8px;
color: $text-color-weak;
font-size: $font-size-md;
line-height: 20px;
position: relative;
@include left-brand-border;
&.active {
color: $text-color;
font-weight: $font-weight-semi-bold;
&::before {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 4px;
border-radius: 4px;
background: $brand-gradient-vertical;
}
}
.gicon {
margin-bottom: 2px;
margin-right: 4px;
}
.fa {
font-size: 17px;
width: 16px;
margin-right: 4px;
}
}
.dashboard-settings__aside-actions {
display: flex;
flex-direction: column;
height: 100%;
flex-grow: 1;
margin: 40px $space-xl 0 0;
button {
margin-bottom: $space-sm;
}
}
.dashboard-settings__json-save-button {
margin-top: $space-md;
}