Small style update to submenu (template variables, annotation menu)

This commit is contained in:
Torkel Ödegaard 2015-03-27 08:39:08 +01:00
parent e646ae8be4
commit 1d64ba3b5d
3 changed files with 5 additions and 9 deletions

View File

@ -3,9 +3,6 @@
<ul class="tight-form-list" ng-if="dashboard.templating.list.length > 0">
<li class="tight-form-item">
<strong>VARIABLES:</strong>
</li>
<li ng-repeat-start="variable in variables" class="tight-form-item template-param-name">
<span class="template-variable ">
${{variable.name}}:
@ -20,11 +17,9 @@
</ul>
<ul class="tight-form-list" ng-if="dashboard.annotations.list.length > 0">
<li class="tight-form-item">
<strong>ANNOTATIONS:</strong>
</li>
<li ng-repeat="annotation in dashboard.annotations.list" class="tight-form-item annotation-segment" ng-class="{'annotation-disabled': !annotation.enable}">
<a ng-click="disableAnnotation(annotation)">
<i class="fa fa-bolt"></i>
{{annotation.name}}
<input class="cr1" id="hideYAxis" type="checkbox" ng-model="annotation.enable" ng-checked="annotation.enable">
<label for="hideYAxis" class="cr1"></label>

View File

@ -3,9 +3,9 @@
top: 88px;
}
}
.submenu-controls {
margin: 10px 10px 0 10px;
margin: 10px 10px 0 0px;
font-size: 16px;
}
.annotation-disabled, .annotation-disabled a {

View File

@ -85,7 +85,8 @@
&.template-param-name {
border-right: none;
padding-right: 3px;
padding-right: 0;
padding-left: 18px;
}
&.annotation-segment {
padding: 8px 10px;