_timepicker.scss 2.2 KB

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