Skip to content

Commit

Permalink
remove duplicate css rules
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Mar 15, 2017
1 parent 86ee809 commit b8ac4ae
Showing 1 changed file with 1 addition and 118 deletions.
119 changes: 1 addition & 118 deletions public/tooltip/popupVisualize.less
Original file line number Diff line number Diff line change
Expand Up @@ -60,121 +60,4 @@ popup-visualize {
z-index: 20;
opacity: @loading-opacity;
}
}

.visualize-error {
display: flex;
align-items: center;
justify-content: center;
.top { align-self: flext-start; }
.item { }
.bottom { align-self: flext-end; }
}

visualize-spy {
// this element should flex
flex: 0 1 auto;
padding: 0px 0px 0px 15px;

// it's children should also flex vertically
flex-direction: column;
display: flex;

overflow: auto;

&.visible {
display: block;
}

&.only {
flex: 1 1 auto;
padding-top: 0px;
}

.visualize-spy-fill {
margin-right: 5px;
}

.visualize-spy-container {
&.only {
height: auto;
}
}

pre {
word-break: break-all;
word-wrap: break-word;
white-space: pre-wrap;
}
}

.visualize-spy-container {
flex: 1 1 auto;

display: flex;
flex-direction: column;

height: 482px;
overflow-y: auto;

header {
padding: 0 0 15px;
}

header + * {
flex: 1 1 auto;
}

> .alert {
flex: 0 0 auto;
}

tr > td {
font-size: 0.85em;
}
}

.visualize-spy-nav {
flex: 0 0 auto;

a.btn {
margin: @padding-small-vertical @padding-small-vertical;
}
}

.visualize-spy-content {
position: relative;
}

.visualize-spy-loading {
position: absolute;
top: 0px;
left: 0px;
right: 0px;
text-align: center;
}

.visualize-spy-loading-text {
display: inline-block;
margin: 0;
background: @alert-info-bg;
color: @alert-info-text;
padding: 5px 10px;
border-radius: @border-radius-base;

.spinner > * {
background-color: @alert-info-text;
}
}

.visualize-show-spy {
flex: 0 0 auto;
}

.visualize-show-spy-tab {
color: @kibanaGray4;
position: absolute;
z-index: 100;
left: 5px;
bottom: 0px;
}
}

0 comments on commit b8ac4ae

Please sign in to comment.