hamburgers.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. @charset "UTF-8";
  2. /*!
  3. * Hamburgers
  4. * @description Tasty CSS-animated hamburgers
  5. * @author Jonathan Suh @jonsuh
  6. * @site https://jonsuh.com/hamburgers
  7. * @link https://github.com/jonsuh/hamburgers
  8. */
  9. // Settings
  10. // ==================================================
  11. $hamburger-padding-x: 15px !default;
  12. $hamburger-padding-y: 15px !default;
  13. $hamburger-layer-width: 40px !default;
  14. $hamburger-layer-height: 4px !default;
  15. $hamburger-layer-spacing: 6px !default;
  16. $hamburger-layer-color: #000 !default;
  17. $hamburger-layer-border-radius: 4px !default;
  18. $hamburger-hover-opacity: 0.7 !default;
  19. $hamburger-hover-transition-duration: 0.15s !default;
  20. $hamburger-hover-transition-timing-function: linear !default;
  21. // To use CSS filters as the hover effect instead of opacity,
  22. // set $hamburger-hover-use-filter as true and
  23. // change the value of $hamburger-hover-filter accordingly.
  24. $hamburger-hover-use-filter: false !default;
  25. $hamburger-hover-filter: opacity(50%) !default;
  26. // Types (Remove or comment out what you don’t need)
  27. // ==================================================
  28. $hamburger-types: (
  29. 3dx,
  30. 3dx-r,
  31. 3dy,
  32. 3dy-r,
  33. 3dxy,
  34. 3dxy-r,
  35. arrow,
  36. arrow-r,
  37. arrowalt,
  38. arrowalt-r,
  39. arrowturn,
  40. arrowturn-r,
  41. boring,
  42. collapse,
  43. collapse-r,
  44. elastic,
  45. elastic-r,
  46. emphatic,
  47. emphatic-r,
  48. minus,
  49. slider,
  50. slider-r,
  51. spin,
  52. spin-r,
  53. spring,
  54. spring-r,
  55. stand,
  56. stand-r,
  57. squeeze,
  58. vortex,
  59. vortex-r
  60. )
  61. !default;
  62. // Base Hamburger (We need this)
  63. // ==================================================
  64. @import 'base';
  65. // Hamburger types
  66. // ==================================================
  67. // @import "types/3dx";
  68. // @import "types/3dx-r";
  69. // @import "types/3dy";
  70. // @import "types/3dy-r";
  71. // @import "types/3dxy";
  72. // @import "types/3dxy-r";
  73. // @import "types/arrow";
  74. // @import "types/arrow-r";
  75. @import 'types/arrowalt';
  76. // @import "types/arrowalt-r";
  77. // @import "types/arrowturn";
  78. // @import "types/arrowturn-r";
  79. // @import "types/boring";
  80. // @import "types/collapse";
  81. // @import "types/collapse-r";
  82. // @import "types/elastic";
  83. // @import "types/elastic-r";
  84. // @import "types/emphatic";
  85. // @import "types/emphatic-r";
  86. // @import "types/minus";
  87. // @import "types/slider";
  88. // @import "types/slider-r";
  89. // @import "types/spin";
  90. // @import "types/spin-r";
  91. // @import "types/spring";
  92. // @import "types/spring-r";
  93. // @import "types/stand";
  94. // @import "types/stand-r";
  95. // @import "types/squeeze";
  96. // @import "types/vortex";
  97. // @import "types/vortex-r";
  98. // ==================================================
  99. // Cooking up additional types:
  100. //
  101. // The Sass for each hamburger type should be nested
  102. // inside an @if directive to check whether or not
  103. // it exists in $hamburger-types so only the CSS for
  104. // included types are generated.
  105. //
  106. // e.g. hamburgers/types/_new-type.scss
  107. //
  108. // @if index($hamburger-types, new-type) {
  109. // .hamburger--new-type {
  110. // ...
  111. // }
  112. // }