timepicker.less 1.9 KB

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