_timepicker.scss 2.3 KB

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