Skip to content

Commit

Permalink
Add missing padding to Timelion title. (elastic#8919) (elastic#8957)
Browse files Browse the repository at this point in the history
Former-commit-id: e57608b
  • Loading branch information
cjcenizal authored Nov 3, 2016
1 parent 1768999 commit 31d4e35
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 53 deletions.
70 changes: 35 additions & 35 deletions src/core_plugins/timelion/public/app.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,50 +18,50 @@
.timelion {
position: relative;

&-container {
margin: 20px;
.config .list-group-item .container-fluid {
background-color: transparent;
padding: 0;
}
}

&-container-drawer {
position: fixed;
bottow: 0px;
.timelion-container {
margin: 20px;
}

&-tab {
width: 100%;
background-color: @gray-lighter;
}
}
.timelion-container-drawer {
position: fixed;
bottow: 0px;
}

&-expression {
position: relative !important;
}
.timelion-container-drawer-tab {
width: 100%;
background-color: @gray-lighter;
}

&-subnav {
background-color: @gray-lighter;
margin: 0px
}
.timelion-expression {
position: relative !important;
}

&-stats {
font-weight: normal;
}
.timelion-subnav {
background-color: @gray-lighter;
margin: 0px
}

&-buttons {
position: absolute;
right: 0px;
display: inline-block;
padding: 5px 20px;
background-color: @navbar-default-bg;
border-bottom-left-radius: @border-radius-base;
.timelion-stats {
font-weight: normal;
}

a {
margin: 5px;
color: #000;
}
}
.timelion-buttons {
position: absolute;
right: 0px;
display: inline-block;
padding: 5px 20px;
background-color: @navbar-default-bg;
border-bottom-left-radius: @border-radius-base;

.config .list-group-item .container-fluid {
background-color: transparent;
padding: 0;
a {
margin: 5px;
color: #000;
}
}

Expand Down
16 changes: 8 additions & 8 deletions src/core_plugins/timelion/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
<kbn-top-nav name="timelion" config="topNavMenu">
<!-- Transcluded elements. -->
<div data-transclude-slots>
<div data-transclude-slot="topLeftCorner" class="kibana-nav-info">
<span class="kibana-nav-info-title">
<span ng-show="opts.savedSheet.id">
{{opts.savedSheet.title}}
<i class="fa fa-bolt" ng-click="showStats = !showStats"></i>
</span>
<small class="timelion-stats" ng-show="showStats">
<div data-transclude-slot="topLeftCorner">
<span class="localTitle" ng-show="opts.savedSheet.id">
{{opts.savedSheet.title}}
&nbsp;
<span class="fa fa-bolt" ng-click="showStats = !showStats"></span>
&nbsp;
<span class="timelion-stats" ng-show="showStats">
Query Time {{stats.queryTime - stats.invokeTime}}ms /
Processing Time {{stats.sheetTime - stats.queryTime}}ms
</small>
</span>
</span>
</div>

Expand Down
10 changes: 0 additions & 10 deletions src/ui/public/styles/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -161,16 +161,6 @@ a {
border-radius: 0;
}
}

.kibana-nav-info {
line-height: 30px;
padding: 0 10px;
}

.kibana-nav-info-title {
font-weight: bold;
margin-right: 10px;
}
}

> config {
Expand Down

0 comments on commit 31d4e35

Please sign in to comment.