_timepicker.scss 2.3 KB

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