timepicker.less 1.9 KB

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