_timepicker.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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: -8px -10px 10px 5px;
  14. padding: 10px 20px;
  15. float: right;
  16. background-color: $panel-bg;
  17. @include box-shadow($navbarDropdownShadow);
  18. }
  19. .gf-timepicker-absolute-section {
  20. width: 290px;
  21. float: left;
  22. border-right: 1px solid $divider-border-color;
  23. padding: 0 10px;
  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: $tight-form-func-bg;
  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: 237px;
  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. padding: $spacer/2 0 $spacer 0;
  61. td {
  62. padding: 1px;
  63. }
  64. button.btn-sm {
  65. @include buttonBackground($btn-inverse-bg, $btn-inverse-bg-hl);
  66. font-size: $font-size-sm;
  67. background-image: none;
  68. border: none;
  69. padding: 5px 11px;
  70. color: $text-color;
  71. &.active span {
  72. color: $blue;
  73. font-weight: bold;
  74. }
  75. .text-info {
  76. color: $orange;
  77. font-weight: bold;
  78. }
  79. }
  80. }
  81. .input-datetime-format {
  82. color: $link-color-disabled
  83. }
  84. .fa {
  85. display: inline-block;
  86. font: normal normal normal 14px/1 FontAwesome;
  87. font-size: inherit;
  88. text-rendering: auto;
  89. -webkit-font-smoothing: antialiased;
  90. -moz-osx-font-smoothing: grayscale;
  91. }
  92. .fa-chevron-left::before {
  93. content: "\f053";
  94. }
  95. .fa-chevron-right::before {
  96. content: "\f054";
  97. }
  98. .glyphicon-chevron-right {
  99. @extend .fa;
  100. @extend .fa-chevron-right;
  101. }
  102. .glyphicon-chevron-left {
  103. @extend .fa;
  104. @extend .fa-chevron-left;
  105. }
  106. .gf-timepicker-time-control {
  107. font-size: $font-size-sm;
  108. a {
  109. padding: 18px 7px 13px !important;
  110. }
  111. }
  112. .dashnav-move-timeframe {
  113. position: relative;
  114. top: 1px;
  115. }