timepicker.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. .timepicker-to-column {
  2. margin-top: 10px;
  3. }
  4. .timepicker-input input {
  5. outline: 0 !important;
  6. border: 0px !important;
  7. -webkit-box-shadow: 0;
  8. -moz-box-shadow: 0;
  9. box-shadow: 0;
  10. position: relative;
  11. }
  12. .timepicker-input input::-webkit-outer-spin-button,
  13. .timepicker-input input::-webkit-inner-spin-button {
  14. -webkit-appearance: none;
  15. margin: 0;
  16. }
  17. input.timepicker-date {
  18. width: 90px;
  19. }
  20. input.timepicker-hms {
  21. width: 20px;
  22. }
  23. input.timepicker-ms {
  24. width: 25px;
  25. }
  26. div.timepicker-now {
  27. float: right;
  28. }
  29. .timepicker-timestring {
  30. font-weight: normal;
  31. }
  32. .gf-timepicker-dropdown {
  33. margin: 0px;
  34. padding: 10px 20px;
  35. float: right;
  36. background-color: @grafanaPanelBackground;
  37. .box-shadow(@navbarDropdownShadow);
  38. }
  39. .gf-timepicker-absolute-section {
  40. width: 300px;
  41. float: left;
  42. border-right: @grafanaTriggerBorder;
  43. padding: 0 20px 0 20px;
  44. }
  45. .gf-timepicker-relative-section {
  46. padding: 0 20px 0 20px;
  47. min-height: 258px;
  48. float: left;
  49. ul {
  50. float: left;
  51. margin: 0 20px 10px 25px;
  52. li.active {
  53. border-bottom: 1px solid @blue;
  54. margin: 3px 0;
  55. }
  56. }
  57. }
  58. .gf-timepicker-component {
  59. button.btn-sm {
  60. .buttonBackground(@btnInverseBackground, @btnInverseBackgroundHighlight);
  61. background-image: none;
  62. border: none;
  63. padding: 6px 9px;
  64. color: @textColor;
  65. &.active .text-info {
  66. color: @orange;
  67. font-weight: bold;
  68. }
  69. }
  70. }
  71. .faMixin {
  72. display: inline-block;
  73. font: normal normal normal 14px/1 FontAwesome;
  74. font-size: inherit;
  75. text-rendering: auto;
  76. -webkit-font-smoothing: antialiased;
  77. -moz-osx-font-smoothing: grayscale;
  78. }
  79. .glyphicon-chevron-right:before {
  80. .faMixin;
  81. content: "\f054";
  82. }
  83. .glyphicon-chevron-left:before {
  84. .faMixin;
  85. content: "\f053";
  86. }
  87. .input-datetime-format {
  88. color: @linkColorDisabled
  89. }