Advertisement
MastroPino

Untitled

Feb 23rd, 2022
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. .bs-datepicker {
  2.  
  3. &:not([readonly]),
  4. &:not(.disabled),
  5. &:not(.is-disabled) {
  6. cursor: pointer;
  7. }
  8.  
  9. &.t-oto {
  10.  
  11. border: 1px solid setColor("dark", "darken-20");
  12. box-shadow: $dropdown-box-shadow;
  13. min-width: 270px;
  14.  
  15. .bs-datepicker-container,
  16. .bs-datepicker-body {
  17. padding: 0;
  18. border: 0;
  19. }
  20.  
  21. .bs-datepicker-head {
  22. height: 2.875rem;
  23. user-select: none;
  24.  
  25. &:after {
  26. vertical-align: middle;
  27. border-top: 1px solid setColor("dark", "darken-20");
  28. }
  29.  
  30. bs-datepicker-navigation-view {
  31. display: flex;
  32. align-items: center;
  33. justify-content: center;
  34. }
  35.  
  36. button {
  37. color: setColor('dark', 'darken-80');
  38. height: unset;
  39. line-height: 1;
  40.  
  41. &.previous,
  42. &.next {
  43. position: relative;
  44. height: 1rem;
  45. width: 1rem;
  46. display: inline-block;
  47. background-size: contain !important;
  48.  
  49. span {
  50. opacity: 0;
  51. }
  52. }
  53.  
  54. &.previous {
  55. font-family: 'oto-fe';
  56. content: "\e913";
  57. background: none;
  58. margin-right: auto;
  59. }
  60.  
  61. &.next {
  62. font-family: 'oto-fe';
  63. content: "\e914";
  64. background: none;
  65. margin-left: auto;
  66. }
  67.  
  68. &.current {
  69. font-weight: 600;
  70. // pointer-events: none;
  71. padding: 0 map-get($spacers, 1) 0 0;
  72.  
  73. ~.current {
  74. padding: 0;
  75. }
  76. }
  77.  
  78. }
  79. }
  80.  
  81. .bs-datepicker-body {
  82. min-height: 200px;
  83.  
  84. thead {
  85. th {
  86. font-weight: 600;
  87. color: setColor('dark', 'darken-80');
  88. text-transform: lowercase;
  89. }
  90. }
  91.  
  92. tbody {
  93. td {
  94. color: setColor('dark', 'darken-100');
  95.  
  96. span {
  97. border-radius: 0;
  98. }
  99.  
  100. .disabled {
  101. color: setColor('dark', 'darken-40');
  102. background-color: #f3f3f3;
  103. }
  104.  
  105. .selected {
  106. background-color: var(--bs-primary);
  107. color: #fff;
  108. }
  109.  
  110. .is-today {
  111. background-color: #F7E1CD;
  112. }
  113.  
  114. .is-other-month {
  115. // pointer-events: none;
  116. cursor: default;
  117. opacity: 0;
  118. }
  119. }
  120. }
  121. }
  122. }
  123. }
  124.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement