Commit 67b7fdcd by Torkel Ödegaard

improved styling of graphite target editor

parent a517b30d
...@@ -59,10 +59,10 @@ ...@@ -59,10 +59,10 @@
<div ng-repeat="tab in editorTabs" data-title="{{tab}}"> <div ng-repeat="tab in editorTabs" data-title="{{tab}}">
</div> </div>
</div> </div>
<div ng-show="editorTabs[editor.index] == 'General'"> <div class="tab-content" ng-show="editorTabs[editor.index] == 'General'">
<div ng-include src="'app/partials/panelgeneral.html'"></div> <div ng-include src="'app/partials/panelgeneral.html'"></div>
</div> </div>
<div ng-repeat="tab in panelMeta.fullEditorTabs" ng-show="editorTabs[editor.index] == tab.title"> <div class="tab-content" ng-repeat="tab in panelMeta.fullEditorTabs" ng-show="editorTabs[editor.index] == tab.title">
<div ng-include src="tab.src"></div> <div ng-include src="tab.src"></div>
</div> </div>
</div> </div>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -144,11 +144,26 @@ ...@@ -144,11 +144,26 @@
.panel-full-edit-tabs { .panel-full-edit-tabs {
margin-top: 10px; margin-top: 10px;
padding: 10px;
min-height: 250px; min-height: 250px;
margin-left: -10px; margin-left: -10px;
margin-right: -10px; margin-right: -10px;
border-top: 1px solid black;
.tabs {
.nav-tabs {
margin: 0;
background: @grayDark; background: @grayDark;
border-top: 1px solid #555;
}
.tab-content {
display: none;
}
}
.tab-content {
overflow: visible;
padding: 10px;
}
.nav-tabs > li > a { .nav-tabs > li > a {
line-height: 15px; line-height: 15px;
...@@ -166,15 +181,15 @@ ...@@ -166,15 +181,15 @@
} }
.grafana-target-inner-wrapper { .grafana-target-inner-wrapper {
border-top: 1px solid #444444; //border-top: 1px solid #444444;
border-bottom: 1px solid #444444;
width: 100%; width: 100%;
} }
.grafana-target-inner { .grafana-target-inner {
border-top: 1px solid black; border-top: 2px solid black;
border-bottom: 1px solid black; border-left: 2px solid black;
background: #202020; border-right: 2px solid black;
background: @grayDark;
width: 100%; width: 100%;
} }
...@@ -198,7 +213,7 @@ ...@@ -198,7 +213,7 @@
padding: 5px 7px; padding: 5px 7px;
display: inline-block; display: inline-block;
font-weight: normal; font-weight: normal;
border: 1px solid #050505; border-right: 2px solid #050505;
color: @grafanaTargetColor; color: @grafanaTargetColor;
display: inline-block; display: inline-block;
...@@ -210,14 +225,14 @@ ...@@ -210,14 +225,14 @@
text-decoration: none; text-decoration: none;
} }
&:hover { &:hover {
background: #282828; background: #444;
} }
} }
.grafana-target-function { .grafana-target-function {
background: #303030; background: #444;
&:hover { &:hover {
background: #383838; background: #555;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment