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