Search: Improvements to design (#23874)

* Search: updated design

* Fixed z-index

* Fixes

* Minor pixel push
This commit is contained in:
Torkel Ödegaard
2020-04-25 07:43:54 +02:00
committed by GitHub
parent 21cbcde15f
commit ef5cbee2b3
9 changed files with 101 additions and 199 deletions
+7 -7
View File
@@ -98,13 +98,13 @@ export interface GrafanaThemeCommons {
panelPadding: number;
panelHeaderHeight: number;
zIndex: {
dropdown: string;
navbarFixed: string;
sidemenu: string;
tooltip: string;
modalBackdrop: string;
modal: string;
typeahead: string;
dropdown: number;
navbarFixed: number;
sidemenu: number;
tooltip: number;
modalBackdrop: number;
modal: number;
typeahead: number;
};
}
@@ -45,7 +45,7 @@ const getTagStyles = (theme: GrafanaTheme, name: string, colorIndex?: number) =>
line-height: ${theme.typography.lineHeight.xs};
vertical-align: baseline;
background-color: ${colors.color};
color: ${theme.colors.textStrong};
color: ${theme.palette.gray98};
white-space: nowrap;
text-shadow: none;
padding: 3px 6px;
+7 -7
View File
@@ -122,13 +122,13 @@ const theme: GrafanaThemeCommons = {
panelPadding: 8,
panelHeaderHeight: 28,
zIndex: {
navbarFixed: '1000',
sidemenu: '1020',
dropdown: '1030',
typeahead: '1030',
tooltip: '1040',
modalBackdrop: '1050',
modal: '1060',
navbarFixed: 1000,
sidemenu: 1020,
dropdown: 1030,
typeahead: 1030,
tooltip: 1040,
modalBackdrop: 1050,
modal: 1060,
},
};