datepicker-bulma.scss 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. $dp-background-color: $white !default;
  2. $dp-border-color: $border !default;
  3. $dp-border-radius: $radius !default;
  4. $dp-border-radius-small: $radius-small !default;
  5. $dp-line-height-base: 1.5 !default;
  6. $dp-font-size-normal: $size-normal !default;
  7. $dp-font-size-small: $size-small !default;
  8. $dp-font-weight-semibold: $weight-semibold !default;
  9. $dp-font-weight-bold: $weight-bold !default;
  10. $dp-dropdown-offset: 4px !default;
  11. $dp-dropdown-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default;
  12. $dp-dropdown-z: 20 !default;
  13. $dp-title-background-color: $background !default;
  14. $dp-cell-size-base: 2.25rem !default;
  15. $dp-cell-focus-background-color: darken($white-ter, 5%) !default;
  16. $dp-cell-prevnext-color: $grey !default;
  17. $dp-cell-disabled-color: $grey-lighter !default;
  18. $dp-cell-selected-background-color: $link !default;
  19. $dp-cell-selected-color: $link-invert !default;
  20. $dp-cell-selected-font-weight: $weight-semibold !default;
  21. $dp-cell-today-background-color: $primary !default;
  22. $dp-cell-today-color: $primary-invert !default;
  23. $dp-cell-highlighted-background-color: $white-ter !default;
  24. $dp-range-start-end-background-color: $grey-light !default;
  25. $dp-range-start-end-color: $dp-cell-selected-color !default;
  26. $dp-range-background-color: $grey-lighter !default;
  27. $dp-range-today-background-color: $dp-cell-today-background-color !default;
  28. $dp-week-color: $grey-light !default;
  29. $dp-footer-background-color: $background !default;
  30. $dp-input-in-edit-border-color: darken($link, 5%) !default;
  31. $dp-input-in-edit-focus-box-shadow-size: 0 0 0.25em 0.25em !default;
  32. @import 'mixins';
  33. @mixin dp-button {
  34. .button {
  35. .datepicker-header & {
  36. @include dp-header-button-common;
  37. &:hover {
  38. background-color: darken($white, 2.5%);
  39. }
  40. &:focus {
  41. &:not(:active) {
  42. box-shadow: 0 0 0 0.125em rgba($white, 0.25);
  43. }
  44. }
  45. &:active {
  46. background-color: darken($white, 5%);
  47. }
  48. &[disabled] {
  49. box-shadow: none;
  50. }
  51. }
  52. .datepicker-footer & {
  53. @include dp-footer-button-common;
  54. }
  55. }
  56. }
  57. @import 'datepicker';