mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
move timepicker's styles to separate less file (#9117)
This commit is contained in:
parent
7cdd29822f
commit
8d642709bd
3 changed files with 20 additions and 19 deletions
|
@ -1,23 +1,4 @@
|
|||
<div class="kbn-timepicker">
|
||||
<style>
|
||||
.kbn-timepicker [kbn-time-input] {
|
||||
text-align: center;
|
||||
}
|
||||
.kbn-timepicker-modes {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.kbn-timepicker-section {
|
||||
float: left;
|
||||
padding: 0px 15px;
|
||||
}
|
||||
.kbn-refresh-section {
|
||||
float: left;
|
||||
padding: 0px 15px;
|
||||
}
|
||||
.kbn-timepicket-alert {
|
||||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="tab-content">
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ import _ from 'lodash';
|
|||
import dateMath from '@elastic/datemath';
|
||||
import moment from 'moment';
|
||||
import Notifier from 'ui/notify/notifier';
|
||||
import 'ui/timepicker/timepicker.less';
|
||||
import 'ui/directives/input_datetime';
|
||||
import 'ui/directives/inequality';
|
||||
import 'ui/timepicker/quick_ranges';
|
||||
|
|
19
src/ui/public/timepicker/timepicker.less
Normal file
19
src/ui/public/timepicker/timepicker.less
Normal file
|
@ -0,0 +1,19 @@
|
|||
.kbn-timepicker {
|
||||
[kbn-time-input] {
|
||||
text-align: center;
|
||||
}
|
||||
.kbn-timepicker-modes {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.kbn-timepicker-section {
|
||||
float: left;
|
||||
padding: 0px 15px;
|
||||
}
|
||||
.kbn-refresh-section {
|
||||
float: left;
|
||||
padding: 0px 15px;
|
||||
}
|
||||
.kbn-timepicket-alert {
|
||||
width: 100px;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue