fullscreen.sass 6.2 KB

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