timepicker.less 1.8 KB

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