_timepicker.scss 2.3 KB

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