_storefront.scss 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. @import "variables";
  2. .vendure-intro {
  3. .intro-storefront {
  4. display: flex;
  5. flex-direction: column;
  6. padding: calc(0.05 * var(--width-unit));
  7. width: calc(2 * var(--width-unit));
  8. height: calc(2 * var(--width-unit));
  9. transition: opacity $transition-duration;
  10. .intro-top-bar {
  11. background-color: #494949;
  12. color: #999;
  13. height: calc(0.3 * var(--width-unit));
  14. font-size: calc(0.2 * var(--width-unit));
  15. display: flex;
  16. align-items: center;
  17. justify-content: center;
  18. text-transform: uppercase;
  19. user-select: none;
  20. }
  21. .intro-content {
  22. background-color: #fff;
  23. flex: 1;
  24. margin: 0;
  25. padding: 0;
  26. list-style-type: none;
  27. display: grid;
  28. grid-template-columns: 1fr 1fr 1fr;
  29. grid-template-rows: 1fr 1fr;
  30. grid-gap: calc(0.05 * var(--width-unit));
  31. padding: calc(0.05 * var(--width-unit));
  32. li {
  33. position: relative;
  34. background-color: #c0c1c7;
  35. height: 100%;
  36. width: 100%;
  37. margin-bottom: calc(0.08 * var(--width-unit));
  38. border-radius: calc(0.01 * var(--width-unit));
  39. &:before {
  40. content: '';
  41. position: absolute;
  42. background-color: #e2e4ee;
  43. background: linear-gradient(to bottom, rgba(238, 238, 238, 1) 0%, rgb(231, 228, 228) 100%);
  44. width: calc(0.5 * var(--width-unit));
  45. height: calc(0.5 * var(--width-unit));
  46. top: calc(0.03 * var(--width-unit));
  47. left: calc(0.03 * var(--width-unit));
  48. }
  49. &:after {
  50. content: '';
  51. position: absolute;
  52. background-color: #2a82bea1;
  53. width: calc(0.2 * var(--width-unit));
  54. height: calc(0.1 * var(--width-unit));
  55. bottom: calc(0.05 * var(--width-unit));
  56. right: calc(0.03 * var(--width-unit));
  57. border-radius: calc(0.01 * var(--width-unit));
  58. }
  59. }
  60. }
  61. }
  62. }