You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

159 lines
2.6 KiB

  1. .ui-datepicker {
  2. padding:0;
  3. font-family:inherit;
  4. .ui-icon {
  5. background-image:none;
  6. }
  7. &.ui-widget.ui-widget-content {
  8. border:0 none;
  9. box-shadow:0 0 10px rgba(#000, 0.4);
  10. }
  11. th {
  12. font-weight:400;
  13. }
  14. td {
  15. padding:0;
  16. text-align:center;
  17. .ui-state-default {
  18. background-color:transparent;
  19. border:0 none;
  20. text-align:center;
  21. &:hover {
  22. background-color:$brand-primary;
  23. color:#fff;
  24. }
  25. }
  26. .ui-state-highlight {
  27. color:$brand-primary;
  28. }
  29. .ui-state-active {
  30. background-color:$brand-primary;
  31. color:#fff;
  32. }
  33. }
  34. .ui-widget-header {
  35. background-color:$brand-primary;
  36. color:#fff;
  37. border:0 none;
  38. border-bottom-left-radius:0;
  39. border-bottom-right-radius:0;
  40. }
  41. .ui-datepicker-header {
  42. padding:0;
  43. height:30px;
  44. @include display-flex();
  45. align-items: center;
  46. }
  47. .ui-datepicker-prev,
  48. .ui-datepicker-next {
  49. text-align: center;
  50. width:30px;
  51. height:30px;
  52. top:0px;
  53. @include display-flex();
  54. align-items: center;
  55. justify-content: center;
  56. border-radius:0px;
  57. &.ui-datepicker-prev-hover,
  58. &.ui-datepicker-next-hover{
  59. background-color:darken($brand-primary, 7.5%);
  60. color:#fff;
  61. border:0 none;
  62. cursor:pointer;
  63. }
  64. }
  65. .ui-datepicker-prev {
  66. left:0;
  67. }
  68. .ui-datepicker-next {
  69. right:0;
  70. }
  71. .ui-datepicker-title {
  72. width:100%;
  73. select {
  74. vertical-align: middle;
  75. background: transparent;
  76. border: 0 none;
  77. color: #fff;
  78. height:30px;
  79. line-height:30px;
  80. outline: 0 none !important;
  81. text-align:center;
  82. margin:0;
  83. font-family:inherit;
  84. option {
  85. color:#333;
  86. }
  87. }
  88. }
  89. }
  90. .dx-datagrid {
  91. .dx-datagrid-headers {
  92. border:1px solid #d8d8d8;
  93. .dx-datagrid-table {
  94. .dx-header-row {
  95. background-color:#f9f9f9;
  96. color:#282828;
  97. > td {
  98. vertical-align: middle;
  99. text-align: center !important;
  100. }
  101. }
  102. }
  103. }
  104. .dx-datagrid-total-footer {
  105. >.dx-datagrid-content {
  106. padding:0;
  107. .dx-row {
  108. border: 1px solid #ddd;
  109. background-color:#f9f9f9;
  110. color:#282828;
  111. td {
  112. border-right:1px solid #ddd;
  113. border-bottom:1px solid #ddd;
  114. }
  115. }
  116. }
  117. }
  118. }
  119. .dx-datagrid-rowsview {border:1px solid #d8d8d8;}
  120. .ui-datepicker-next {
  121. &:before {
  122. content:'\f054';
  123. font-family: 'Font Awesome 5 Pro';
  124. }
  125. }
  126. .ui-datepicker-prev {
  127. &:before {
  128. content:'\f053';
  129. font-family: 'Font Awesome 5 Pro';
  130. }
  131. }