fullscreen.sass 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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. display: flex
  9. flex-direction: row
  10. align-items: center
  11. justify-content: center
  12. .center
  13. box-sizing: border-box
  14. width: 600px
  15. max-width: 100%
  16. background-color: $primary
  17. color: $font
  18. border: $primary 2px solid
  19. border-radius: 10px
  20. display: flex
  21. flex-direction: column
  22. align-items: stretch
  23. justify-content: stretch
  24. .result
  25. background-color: $background
  26. .content
  27. box-sizing: border-box
  28. width: 100%
  29. background-color: $background
  30. min-height: 100px
  31. padding: 10px
  32. display: flex
  33. flex-direction: column
  34. gap: 10px
  35. align-items: center
  36. justify-content: center
  37. .input-container
  38. box-sizing: border-box
  39. width: 100%
  40. display: flex
  41. flex-direction: row
  42. flex-wrap: wrap
  43. justify-content: space-between
  44. align-items: center
  45. gap: 10px
  46. input
  47. padding: 5px
  48. border-radius: 5px
  49. color: $background
  50. background-color: $font
  51. border: $primary 2px solid
  52. transition: transform 0.5s
  53. max-width: 300px
  54. &:focus
  55. transform: scaleX(1.1)
  56. outline: 0 !important
  57. .result
  58. padding: 10px
  59. min-height: 1.2em
  60. .error, .success, .info
  61. margin: 0px
  62. text-align: center
  63. .error
  64. color: red
  65. .success
  66. color: lightgreen
  67. .info
  68. color: $font
  69. .title h3
  70. color: $background
  71. text-align: center
  72. .bottom
  73. box-sizing: border-box
  74. padding: 10px
  75. display: flex
  76. flex-direction: row
  77. align-items: center
  78. justify-content: center
  79. gap: 10px
  80. .close, .send
  81. padding: 10px
  82. border-radius: 10px
  83. transition: transform 0.5s
  84. border: none
  85. .close
  86. background-color: red
  87. color: white
  88. .send
  89. background-color: $background
  90. color: $primary
  91. .close:hover
  92. transform: rotate(30deg)
  93. .send:hover
  94. transform: scale(1.2)
  95. .product-fullscreen-viewer
  96. .close
  97. position: fixed
  98. top: 30px
  99. right: 30px
  100. padding: 10px
  101. border-radius: 10px
  102. border: none
  103. background-color: red
  104. color: white
  105. transition: transform 0.5s
  106. &:hover
  107. transform: rotate(30deg)
  108. .image
  109. width: 100%
  110. height: 100%
  111. position: absolute
  112. top: 0px
  113. left: 0px
  114. background-repeat: no-repeat
  115. background-size: contain
  116. background-position: center
  117. z-index: -1
  118. .title
  119. width: 100%
  120. position: absolute
  121. top: 0px
  122. left: 0px
  123. background-color: $primary
  124. border-radius: 0px 0px 10px 10px
  125. h1
  126. color: $secondary
  127. padding: 10px
  128. text-align: center
  129. .bottom-side
  130. position: absolute
  131. bottom: 0px
  132. left: 0px
  133. width: calc(100% - 20px)
  134. background-color: $font
  135. display: flex
  136. flex-direction: column
  137. border-radius: 10px 10px 0px 0px
  138. padding: 10px
  139. align-items: center
  140. justify-content: center
  141. vertical-align: center
  142. p
  143. color: $background
  144. .bottom-header, .description
  145. width: calc(100% - 40px)
  146. max-width: 500px
  147. margin-left: 20px
  148. margin-right: 20px
  149. .bottom-header
  150. display: flex
  151. flex-direction: row
  152. justify-content: space-between
  153. vertical-align: center
  154. align-items: center
  155. p
  156. display: flex
  157. flex-direction: row
  158. vertical-align: center
  159. align-items: center
  160. span
  161. display: block
  162. &:last-child
  163. margin-left: 5px
  164. .login-prompt, .product-adder
  165. display: flex
  166. vertical-align: center
  167. align-items: center
  168. justify-content: center
  169. flex-direction: column
  170. .center
  171. padding: 20px
  172. border-radius: 10px
  173. border: 2px solid $primary
  174. background-color: $secondary
  175. display: flex
  176. flex-direction: column
  177. justify-content: center
  178. align-items: center
  179. input
  180. border: $background 2px solid
  181. padding: 10px 5px
  182. border-radius: 10px
  183. color: $background
  184. background-color: $dark
  185. transition: transform 0.5s
  186. margin-bottom: 20px
  187. &:focus
  188. transform: scale(1.1)
  189. outline: 0 !important
  190. button
  191. border: $primary 2px solid
  192. padding: 10px 15px
  193. border-radius: 10px
  194. background-color: $secondary
  195. color: $primary
  196. transition: transform 0.5s
  197. &:hover
  198. transform: scale(1.2)
  199. label
  200. color: $primary
  201. margin-bottom: 5px