Commit b85f2c94 by Rashid Khan

css cleanup, fixed issue where dashboards using relative time might not save correctly

parent a6f8d571
...@@ -6,17 +6,19 @@ ...@@ -6,17 +6,19 @@
color: #000; color: #000;
} }
.kibana-row {
margin-left: 15px;
margin-bottom: 15px;
}
.navbar .brand { .navbar .brand {
color: #eee; color: #eee;
} }
.navbar-inner { .navbar-inner {
border-width: 0 0 0px; border-width: 0 0 0px;
padding-left: 0px;
padding-right: 0px;
}
.kibana-row {
margin-left: 15px;
margin-bottom: 15px;
} }
.row-close { .row-close {
...@@ -54,6 +56,10 @@ ...@@ -54,6 +56,10 @@
background-color: #f9f9f9; background-color: #f9f9f9;
} }
.nomargin {
margin: 0px;
}
[ng\:cloak], [ng-cloak], .ng-cloak { [ng\:cloak], [ng-cloak], .ng-cloak {
display: none !important; display: none !important;
} }
...@@ -90,7 +96,15 @@ ...@@ -90,7 +96,15 @@
opacity: 1; opacity: 1;
} }
.pointer:hover { .link {
cursor: pointer;
}
.pointer {
cursor: pointer;
}
.link:hover {
color: #0088CC; color: #0088CC;
} }
...@@ -98,54 +112,42 @@ ...@@ -98,54 +112,42 @@
max-width: 500px; max-width: 500px;
} }
.pointer { .popover-title { display: none; }
cursor: pointer;
.tiny {
font-size: 50%;
} }
.small { .small {
font-size: 85%; font-size: 85%;
} }
.input-append label {
font-size: inherit !important;
}
.large { .large {
font-size: 120%; font-size: 120%;
} }
.nomargin {
margin: 0px;
}
.strong { .strong {
font-weight: bold; font-weight: bold;
} }
.btn-active { .input-append label {
background-color: #E6E6E6; font-size: inherit !important;
background-image: none;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
outline: 0 none
} }
.popover-title { display: none; }
.input-smaller { .input-smaller {
width: 75px; width: 75px;
} }
.tiny { .typeahead { z-index: 1051; }
font-size: 50%;
.btn-active {
background-color: #E6E6E6;
background-image: none;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
outline: 0 none
} }
.remove:hover { .remove:hover {
background-color: #A60000; background-color: #A60000;
} }
.typeahead { z-index: 1051; }
.navbar-inner {
padding-left: 0px;
padding-right: 0px;
}
\ No newline at end of file
...@@ -214,11 +214,15 @@ angular.module('kibana.timepicker', []) ...@@ -214,11 +214,15 @@ angular.module('kibana.timepicker', [])
} }
// Update panel's string representation of the time object // Update panel's string representation of the time object
if($scope.panel.mode !== 'relative') {
$scope.panel.time = { $scope.panel.time = {
from : $scope.time.from.format("mm/dd/yyyy HH:MM:ss"), from : $scope.time.from.format("mm/dd/yyyy HH:MM:ss"),
to : $scope.time.to.format("mm/dd/yyyy HH:MM:ss"), to : $scope.time.to.format("mm/dd/yyyy HH:MM:ss"),
index : $scope.time.index, index : $scope.time.index,
}; };
} else {
delete $scope.panel.time;
}
}; };
function set_timepicker(from,to) { function set_timepicker(from,to) {
......
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