fullscreen.sass 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. .fullscreen-viewer
  2. width: 100%
  3. height: 100%
  4. position: fixed
  5. top: 0px
  6. left: 0px
  7. background-color: rgba(40, 40, 40, 0.7)
  8. .close
  9. position: absolute
  10. top: 30px
  11. right: 30px
  12. padding: 10px
  13. border-radius: 10px
  14. color: red
  15. border: red 2px solid
  16. background-color: rgba(0, 0, 0, 0)
  17. transition: transform 0.5s
  18. &:hover
  19. transform: scale(1.2)
  20. .product-fullscreen-viewer
  21. .image
  22. width: 100%
  23. height: 100%
  24. position: absolute
  25. top: 0px
  26. left: 0px
  27. background-repeat: no-repeat
  28. background-size: contain
  29. background-position: center
  30. z-index: -1
  31. .title
  32. width: 100%
  33. position: absolute
  34. top: 0px
  35. left: 0px
  36. background-color: $primary
  37. border-radius: 0px 0px 10px 10px
  38. h1
  39. color: $secondary
  40. padding: 10px
  41. text-align: center
  42. .bottom-side
  43. position: absolute
  44. bottom: 0px
  45. left: 0px
  46. width: calc(100% - 20px)
  47. background-color: $font
  48. color: $background
  49. display: flex
  50. flex-direction: column
  51. border-radius: 10px 10px 0px 0px
  52. padding: 10px
  53. align-items: center
  54. justify-content: center
  55. vertical-align: center
  56. .bottom-header, .description
  57. width: calc(100% - 40px)
  58. max-width: 500px
  59. margin-left: 20px
  60. margin-right: 20px
  61. .bottom-header
  62. display: flex
  63. flex-direction: row
  64. justify-content: space-between
  65. vertical-align: center
  66. align-items: center
  67. p
  68. display: flex
  69. flex-direction: row
  70. vertical-align: center
  71. align-items: center
  72. span
  73. display: block
  74. &:last-child
  75. margin-left: 5px
  76. .login-prompt, .product-adder
  77. display: flex
  78. vertical-align: center
  79. align-items: center
  80. justify-content: center
  81. flex-direction: column
  82. .center
  83. padding: 20px
  84. border-radius: 10px
  85. border: 2px solid $primary
  86. background-color: $secondary
  87. display: flex
  88. flex-direction: column
  89. justify-content: center
  90. align-items: center
  91. input
  92. border: $background 2px solid
  93. padding: 10px 5px
  94. border-radius: 10px
  95. color: $background
  96. background-color: $dark
  97. transition: transform 0.5s
  98. margin-bottom: 20px
  99. &:focus
  100. transform: scale(1.1)
  101. outline: 0 !important
  102. button
  103. border: $primary 2px solid
  104. padding: 10px 15px
  105. border-radius: 10px
  106. background-color: $secondary
  107. color: $primary
  108. transition: transform 0.5s
  109. &:hover
  110. transform: scale(1.2)
  111. label
  112. color: $primary
  113. margin-bottom: 5px