_timepicker.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. .timepicker-timestring {
  2. font-weight: normal;
  3. }
  4. .gf-timepicker-nav {
  5. flex-wrap: nowrap;
  6. display: flex;
  7. }
  8. .gf-timepicker-nav-btn {
  9. text-overflow: ellipsis;
  10. overflow: hidden;
  11. }
  12. .gf-timepicker-dropdown {
  13. position: absolute;
  14. top: $navbarHeight;
  15. right: 0;
  16. padding: 10px 20px;
  17. background-color: $page-bg;
  18. border-radius: 0 0 0 4px;
  19. box-shadow: $search-shadow;
  20. }
  21. .gf-timepicker-absolute-section {
  22. width: 290px;
  23. float: left;
  24. padding: 0 10px;
  25. select {
  26. width: 183px;
  27. margin-bottom: 0;
  28. }
  29. }
  30. .gf-timepicker-btn-apply {
  31. margin: 0 0 0 15px;
  32. }
  33. .gf-timepicker-utc {
  34. background-color: $tight-form-func-bg;
  35. color: $orange;
  36. font-size: 75%;
  37. padding: 3px;
  38. border-radius: 2px;
  39. font-weight: 500;
  40. margin-left: 4px;
  41. }
  42. .gf-timepicker-relative-section {
  43. padding: 0 20px 0 30px;
  44. min-height: 237px;
  45. float: left;
  46. ul {
  47. list-style: none;
  48. float: left;
  49. margin: 0 30px 10px 0px;
  50. li {
  51. line-height: 22px;
  52. }
  53. li.active {
  54. border-bottom: 1px solid $blue;
  55. margin: 3px 0;
  56. font-weight: 500;
  57. }
  58. }
  59. }
  60. .gf-timepicker-component {
  61. padding: $spacer/2 0 $spacer 0;
  62. td {
  63. padding: 1px;
  64. }
  65. button {
  66. @include buttonBackground($btn-inverse-bg, $btn-inverse-bg-hl);
  67. background-image: none;
  68. border: none;
  69. color: $text-color;
  70. &.active span {
  71. color: $query-blue;
  72. font-weight: bold;
  73. }
  74. .text-info {
  75. color: $orange;
  76. font-weight: bold;
  77. }
  78. &.btn-sm {
  79. font-size: $font-size-sm;
  80. padding: 5px 11px;
  81. }
  82. &:hover {
  83. color: $text-color-strong;
  84. }
  85. &[disabled] {
  86. color: $text-color;
  87. }
  88. }
  89. }
  90. .input-datetime-format {
  91. color: $link-color-disabled;
  92. }
  93. .fa {
  94. display: inline-block;
  95. font: normal normal normal 14px/1 FontAwesome;
  96. font-size: inherit;
  97. text-rendering: auto;
  98. -webkit-font-smoothing: antialiased;
  99. -moz-osx-font-smoothing: grayscale;
  100. }
  101. .fa-chevron-left::before {
  102. content: '\f053';
  103. }
  104. .fa-chevron-right::before {
  105. content: '\f054';
  106. }
  107. .glyphicon-chevron-right {
  108. @extend .fa;
  109. @extend .fa-chevron-right;
  110. }
  111. .glyphicon-chevron-left {
  112. @extend .fa;
  113. @extend .fa-chevron-left;
  114. }