buefy.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. @import "./vars.scss";
  2. @import "~bulma/sass/utilities/_all";
  3. $fullhd: 1200px+(2 * $gap);
  4. $primary-invert: findColorInvert($primary);
  5. $dropdown-mobile-breakpoint: $tablet - 1;
  6. @import "~bulma";
  7. @import "~buefy/src/scss/buefy";
  8. html.has-navbar-fixed-top,
  9. body.has-navbar-fixed-top {
  10. padding: 0 !important;
  11. }
  12. .container {
  13. &.is-content {
  14. max-width: 1000px;
  15. }
  16. &.is-wide {
  17. max-width: 1080px;
  18. }
  19. }
  20. .input {
  21. &::-webkit-input-placeholder {
  22. color: rgba(64, 64, 64, 0.6);
  23. }
  24. }
  25. .button {
  26. &.is-pure {
  27. background: transparent;
  28. border-color: transparent;
  29. }
  30. }
  31. .tag {
  32. &.is-choice {
  33. background: #d1a26d;
  34. color: #fff;
  35. }
  36. &.is-border {
  37. color: #555;
  38. background: #fafafa;
  39. box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.2);
  40. }
  41. &.is-link.is-light {
  42. box-shadow: inset 0 0 1px rgba(33, 96, 196, 0.2);
  43. }
  44. &.is-success.is-light {
  45. color: #288147;
  46. box-shadow: inset 0 0 1px rgba(37, 121, 66, 0.2);
  47. }
  48. &:not(body).is-primary.is-light {
  49. background: #eaf3ff;
  50. color: $primary;
  51. &.is-border {
  52. background: rgba($primary, 0.06);
  53. box-shadow: inset 0 0 1px rgba(36, 135, 255, 0.4);
  54. }
  55. }
  56. }
  57. .b-checkbox.checkbox {
  58. .check {
  59. box-shadow: none !important;
  60. }
  61. }
  62. .pagination {
  63. .pagination-previous,
  64. .pagination-next,
  65. .pagination-link {
  66. min-width: 2rem;
  67. height: 2rem;
  68. }
  69. .pagination-link {
  70. background: #f4f4f5;
  71. border-color: #f4f4f5;
  72. font-weight: 500;
  73. &.is-current {
  74. background: $primary;
  75. border-color: $primary;
  76. }
  77. &[disabled] {
  78. pointer-events: none;
  79. }
  80. }
  81. }