Small update to submenu (annotation/templating) css, #1554
This commit is contained in:
@@ -88,7 +88,7 @@ function (angular, _, require, config) {
|
||||
return function(scope, elem) {
|
||||
require(['ZeroClipboard'], function(ZeroClipboard) {
|
||||
ZeroClipboard.config({
|
||||
swfPath: config.appSubUrl + 'public/vendor/ZeroClipboard.swf'
|
||||
swfPath: config.appSubUrl + '/public/vendor/ZeroClipboard.swf'
|
||||
});
|
||||
new ZeroClipboard(elem[0]);
|
||||
});
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
<div ng-include="'app/partials/dashboard_topnav.html'">
|
||||
</div>
|
||||
|
||||
<div ng-if="submenuEnabled" ng-include="'app/partials/submenu.html'">
|
||||
</div>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<div dash-editor-view></div>
|
||||
<div dash-search-view></div>
|
||||
|
||||
<div ng-if="submenuEnabled" ng-include="'app/partials/submenu.html'">
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<div class="main-view-container">
|
||||
<div class="grafana-row" ng-controller="RowCtrl" ng-repeat="(row_name, row) in dashboard.rows" row-height>
|
||||
<div class="row-control">
|
||||
|
||||
@@ -25,8 +25,9 @@
|
||||
</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="annotation-color-icon 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>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -11,12 +11,12 @@ input[type="checkbox"].cr1 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
input[type="checkbox"]+.cr1 {
|
||||
label.cr1 {
|
||||
display: inline-block;
|
||||
height: 20px;
|
||||
height: 19px;
|
||||
clear: none;
|
||||
text-indent: 2px;
|
||||
margin: 0;
|
||||
margin: 0 0 1px 0;
|
||||
padding: 0 0 0 20px;
|
||||
vertical-align:middle;
|
||||
background: url(@checkboxImageUrl) left top no-repeat;
|
||||
|
||||
@@ -5,10 +5,16 @@
|
||||
}
|
||||
|
||||
.submenu-controls {
|
||||
margin: 5px 10px 0 10px;
|
||||
margin: 10px 10px 0 10px;
|
||||
}
|
||||
|
||||
.annotation-disabled, .annotation-disabled a {
|
||||
color: @linkColorDisabled;
|
||||
}
|
||||
|
||||
.annotation-segment {
|
||||
label.cr1 {
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
padding-right: 3px;
|
||||
}
|
||||
&.annotation-segment {
|
||||
padding: 8px 15px;
|
||||
padding: 8px 10px;
|
||||
}
|
||||
|
||||
&.last {
|
||||
|
||||
Reference in New Issue
Block a user