_photographPage.scss 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. .photographPage {
  2. position: relative;
  3. width: 100%;
  4. height: 100%;
  5. display: flex;
  6. flex-direction: column;
  7. background-color: white;
  8. &__header {
  9. position: absolute;
  10. padding-top: em(60);
  11. padding-left: em(30);
  12. z-index: 10;
  13. }
  14. &__body {
  15. position: absolute;
  16. top: 0;
  17. left: 0;
  18. width: 100%;
  19. height: 100%
  20. }
  21. &__userImage {
  22. position: absolute;
  23. top: 0;
  24. left: 0;
  25. width: 100%;
  26. height: 100%;
  27. object-fit: cover;
  28. }
  29. &__facemasker {
  30. position: absolute;
  31. top: 0;
  32. left: 0;
  33. width: 100%;
  34. height: 100%;
  35. margin-top: em(-120);
  36. img {
  37. width: 100%;
  38. }
  39. }
  40. &__facemaskerText {
  41. color: white;
  42. position: absolute;
  43. font-size: rem(20);
  44. font-weight: 700;
  45. line-height: 1.5;
  46. text-align: center;
  47. width: 100%;
  48. left: 0;
  49. bottom: em(50);
  50. }
  51. &__toolbar {
  52. position: absolute;
  53. left: 0;
  54. bottom: 0;
  55. width: 100%;
  56. height: em(205*0.7);
  57. }
  58. &__toolbar__wrapper {
  59. position: absolute;
  60. top: 0;
  61. left: 0;
  62. width: 100%;
  63. height: 100%;
  64. display: flex;
  65. flex-direction: row;
  66. justify-content: space-around;
  67. align-items: center;
  68. padding-top: em(10);
  69. }
  70. .video__container {
  71. position: absolute;
  72. top: 0;
  73. left: 0;
  74. width: 100%;
  75. height: 100%;
  76. }
  77. .btn__back {
  78. cursor: pointer;
  79. position: relative;
  80. width: em(150);
  81. }
  82. .btn__insert {
  83. cursor: pointer;
  84. position: relative;
  85. width: em(90*0.7);
  86. height: em(90*0.7);
  87. input {
  88. position: absolute;
  89. top: 0;
  90. left: 0;
  91. width: 100%;
  92. height: 100%;
  93. opacity: 0;
  94. z-index: 10;
  95. }
  96. }
  97. .btn__camera {
  98. cursor: pointer;
  99. position: relative;
  100. width: em(184*0.7);
  101. height: em(184*0.7);
  102. visibility: hidden;
  103. pointer-events: none;
  104. &.is__show {
  105. visibility: visible;
  106. pointer-events: auto;
  107. }
  108. &.is__hidden {
  109. visibility: hidden;
  110. }
  111. }
  112. .btn__flip__camera {
  113. cursor: pointer;
  114. position: relative;
  115. width: em(90*0.7);
  116. height: em(90*0.7);
  117. visibility: hidden;
  118. pointer-events: none;
  119. &.is__show {
  120. visibility: visible;
  121. pointer-events: auto;
  122. }
  123. &.is__hidden {
  124. visibility: hidden;
  125. }
  126. }
  127. }