From 1d6951a7ce730ad1f3b8de7f4915c0feceeab80a Mon Sep 17 00:00:00 2001 From: CJ Cenizal Date: Wed, 24 May 2017 10:04:39 -0700 Subject: [PATCH 1/5] Adjust markup and styles so that the Quick, Relative, and Absolute layouts all occupy the same bounds, so the content doesn't jump around as you switch modes.. --- .../angular-bootstrap/datepicker/day.html | 2 +- .../angular-bootstrap/datepicker/month.html | 2 +- .../angular-bootstrap/datepicker/year.html | 2 +- .../kbn_timepicker_absolute_panel.html | 96 ++++---- .../kbn_timepicker_quick_panel.html | 2 +- .../kbn_timepicker_relative_panel.html | 220 ++++++++++-------- src/ui/public/timepicker/timepicker.less | 12 + 7 files changed, 192 insertions(+), 144 deletions(-) diff --git a/src/ui/public/angular-bootstrap/datepicker/day.html b/src/ui/public/angular-bootstrap/datepicker/day.html index 4d2bb57ffb0ae..4912427ea0b70 100755 --- a/src/ui/public/angular-bootstrap/datepicker/day.html +++ b/src/ui/public/angular-bootstrap/datepicker/day.html @@ -1,5 +1,5 @@ -
-
- +
+
+
+ + + +
+ +
Invalid Date
+ +
+ +
-
- -
-
-
-
- +
+
+ + + +
+ Invalid Date -
-
- + +
+ +
-
- -
- - From must occur before To -
+
+ + From must occur before To
diff --git a/src/ui/public/timepicker/quick_panel/kbn_timepicker_quick_panel.html b/src/ui/public/timepicker/quick_panel/kbn_timepicker_quick_panel.html index 87423552622ee..6e659719b4a9a 100644 --- a/src/ui/public/timepicker/quick_panel/kbn_timepicker_quick_panel.html +++ b/src/ui/public/timepicker/quick_panel/kbn_timepicker_quick_panel.html @@ -1,4 +1,4 @@ -
+
  • diff --git a/src/ui/public/timepicker/relative_panel/kbn_timepicker_relative_panel.html b/src/ui/public/timepicker/relative_panel/kbn_timepicker_relative_panel.html index 2713fffff1c71..41aaf7df429ca 100644 --- a/src/ui/public/timepicker/relative_panel/kbn_timepicker_relative_panel.html +++ b/src/ui/public/timepicker/relative_panel/kbn_timepicker_relative_panel.html @@ -1,111 +1,135 @@
    -
    - -
    -
    - -
    -
    - -
    -
    -
    -