hamburgers.scss 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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 : 0px !default;
  12. $hamburger-padding-y : 0px !default;
  13. $hamburger-layer-width : 30px !default;
  14. $hamburger-layer-height : 3px !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-active-layer-color : $hamburger-layer-color !default;
  20. $hamburger-active-hover-opacity: $hamburger-hover-opacity !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. $hamburger-active-hover-filter: $hamburger-hover-filter !default;
  27. // Types (Remove or comment out what you don’t need)
  28. // ==================================================
  29. $hamburger-types: (
  30. 3dx,
  31. 3dx-r,
  32. 3dy,
  33. 3dy-r,
  34. 3dxy,
  35. 3dxy-r,
  36. arrow,
  37. arrow-r,
  38. arrowalt,
  39. arrowalt-r,
  40. arrowturn,
  41. arrowturn-r,
  42. boring,
  43. collapse,
  44. collapse-r,
  45. elastic,
  46. elastic-r,
  47. emphatic,
  48. emphatic-r,
  49. minus,
  50. slider,
  51. slider-r,
  52. spin,
  53. spin-r,
  54. spring,
  55. spring-r,
  56. stand,
  57. stand-r,
  58. squeeze,
  59. vortex,
  60. vortex-r
  61. ) !default;
  62. // Base Hamburger (We need this)
  63. // ==================================================
  64. @import "base";
  65. // Hamburger types
  66. // ==================================================
  67. @import "types/collapse";
  68. @import "types/collapse-r";
  69. // ==================================================
  70. // Cooking up additional types:
  71. //
  72. // The Sass for each hamburger type should be nested
  73. // inside an @if directive to check whether or not
  74. // it exists in $hamburger-types so only the CSS for
  75. // included types are generated.
  76. //
  77. // e.g. hamburgers/types/_new-type.scss
  78. //
  79. // @if index($hamburger-types, new-type) {
  80. // .hamburger--new-type {
  81. // ...
  82. // }
  83. // }