_timepicker.scss 2.1 KB

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