Skip to content

Commit ccc2a5d

Browse files
committed
Add missing padding to Timelion title.
1 parent 8ed3b33 commit ccc2a5d

3 files changed

Lines changed: 43 additions & 53 deletions

File tree

src/core_plugins/timelion/public/app.less

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -18,50 +18,50 @@
1818
.timelion {
1919
position: relative;
2020

21-
&-container {
22-
margin: 20px;
21+
.config .list-group-item .container-fluid {
22+
background-color: transparent;
23+
padding: 0;
2324
}
25+
}
2426

25-
&-container-drawer {
26-
position: fixed;
27-
bottow: 0px;
27+
.timelion-container {
28+
margin: 20px;
29+
}
2830

29-
&-tab {
30-
width: 100%;
31-
background-color: @gray-lighter;
32-
}
33-
}
31+
.timelion-container-drawer {
32+
position: fixed;
33+
bottow: 0px;
34+
}
3435

35-
&-expression {
36-
position: relative !important;
37-
}
36+
.timelion-container-drawer-tab {
37+
width: 100%;
38+
background-color: @gray-lighter;
39+
}
3840

39-
&-subnav {
40-
background-color: @gray-lighter;
41-
margin: 0px
42-
}
41+
.timelion-expression {
42+
position: relative !important;
43+
}
4344

44-
&-stats {
45-
font-weight: normal;
46-
}
45+
.timelion-subnav {
46+
background-color: @gray-lighter;
47+
margin: 0px
48+
}
4749

48-
&-buttons {
49-
position: absolute;
50-
right: 0px;
51-
display: inline-block;
52-
padding: 5px 20px;
53-
background-color: @navbar-default-bg;
54-
border-bottom-left-radius: @border-radius-base;
50+
.timelion-stats {
51+
font-weight: normal;
52+
}
5553

56-
a {
57-
margin: 5px;
58-
color: #000;
59-
}
60-
}
54+
.timelion-buttons {
55+
position: absolute;
56+
right: 0px;
57+
display: inline-block;
58+
padding: 5px 20px;
59+
background-color: @navbar-default-bg;
60+
border-bottom-left-radius: @border-radius-base;
6161

62-
.config .list-group-item .container-fluid {
63-
background-color: transparent;
64-
padding: 0;
62+
a {
63+
margin: 5px;
64+
color: #000;
6565
}
6666
}
6767

src/core_plugins/timelion/public/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
<kbn-top-nav name="timelion" config="topNavMenu">
44
<!-- Transcluded elements. -->
55
<div data-transclude-slots>
6-
<div data-transclude-slot="topLeftCorner" class="kibana-nav-info">
7-
<span class="kibana-nav-info-title">
8-
<span ng-show="opts.savedSheet.id">
9-
{{opts.savedSheet.title}}
10-
<i class="fa fa-bolt" ng-click="showStats = !showStats"></i>
11-
</span>
12-
<small class="timelion-stats" ng-show="showStats">
6+
<div data-transclude-slot="topLeftCorner">
7+
<span class="localTitle" ng-show="opts.savedSheet.id">
8+
{{opts.savedSheet.title}}
9+
&nbsp;
10+
<span class="fa fa-bolt" ng-click="showStats = !showStats"></span>
11+
&nbsp;
12+
<span class="timelion-stats" ng-show="showStats">
1313
Query Time {{stats.queryTime - stats.invokeTime}}ms /
1414
Processing Time {{stats.sheetTime - stats.queryTime}}ms
15-
</small>
15+
</span>
1616
</span>
1717
</div>
1818

src/ui/public/styles/base.less

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -161,16 +161,6 @@ a {
161161
border-radius: 0;
162162
}
163163
}
164-
165-
.kibana-nav-info {
166-
line-height: 30px;
167-
padding: 0 10px;
168-
}
169-
170-
.kibana-nav-info-title {
171-
font-weight: bold;
172-
margin-right: 10px;
173-
}
174164
}
175165

176166
> config {

0 commit comments

Comments
 (0)