_timepicker.scss 2.0 KB

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