_hire.sass 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. .hire
  2. position: relative
  3. display: flex
  4. width: 700px
  5. max-width: 75%
  6. height: 100%
  7. flex-direction: column
  8. justify-content: center
  9. margin: 0 auto
  10. @media (max-width: 1180px)
  11. max-width: 100%
  12. h2
  13. margin: 0 0 20px 0
  14. font-size: 30px
  15. text-align: center
  16. .work-request
  17. display: flex
  18. width: 100%
  19. flex-direction: column
  20. align-items: center
  21. color: $white
  22. input[type="submit"]
  23. width: 400px
  24. max-width: 100%
  25. line-height: 50px
  26. font-size: 16px
  27. font-weight: 700
  28. text-transform: uppercase
  29. background-color: $highlight
  30. border: none
  31. border-radius: 0
  32. &:focus
  33. outline: none
  34. &--options
  35. display: flex
  36. width: 100%
  37. flex-direction: column
  38. align-items: center
  39. margin: 30px 0
  40. .options-a
  41. display: flex
  42. width: 100%
  43. justify-content: space-between
  44. .options-b
  45. display: flex
  46. width: 72%
  47. flex-wrap: wrap
  48. justify-content: space-around
  49. label
  50. display: block
  51. width: 200px
  52. margin-bottom: 30px
  53. line-height: 50px
  54. font-size: 16px
  55. font-weight: 700
  56. text-align: center
  57. border: 2px solid $white
  58. cursor: pointer
  59. transition: background-color .2s ease-in-out, border-color .2s ease-in-out
  60. svg
  61. position: relative
  62. left: -5px
  63. width: 0
  64. fill: $white
  65. transition: width .2s ease-in-out
  66. input[type="checkbox"]
  67. display: none
  68. &:checked + label
  69. background-color: $highlight
  70. border-color: $highlight
  71. & svg
  72. width: 15px
  73. &--information
  74. display: flex
  75. width: 100%
  76. justify-content: space-between
  77. margin-bottom: 60px
  78. .information-name,
  79. .information-email
  80. position: relative
  81. width: 45%
  82. height: 50px
  83. font-size: 30px
  84. font-weight: 300
  85. input[type="text"],
  86. input[type="email"]
  87. width: 100%
  88. padding: 0 0 5px 0
  89. background-color: transparent
  90. border: none
  91. border-bottom: 1px solid $white
  92. border-radius: 0
  93. &:focus
  94. outline: none
  95. background-color: $black
  96. label
  97. position: absolute
  98. top: 0
  99. left: 0
  100. pointer-events: none
  101. transition: top .2s ease-in-out, font-size .2s ease-in-out
  102. input:focus + label,
  103. input.has-value + label
  104. top: -15px
  105. font-size: 14px
  106. @media (max-width: 767px)
  107. .work-request
  108. &--options
  109. flex-direction: row
  110. justify-content: space-around
  111. .options-a,
  112. .options-b
  113. display: block
  114. width: auto
  115. @media (max-width: 600px)
  116. .work-request
  117. &--options
  118. margin: 20px 0
  119. @media (max-width: 415px)
  120. justify-content: space-between
  121. label
  122. width: 150px
  123. margin-bottom: 15px
  124. font-size: 14px
  125. input[type="checkbox"]
  126. &:checked + label
  127. & svg
  128. width: 12px
  129. &--information
  130. margin-bottom: 30px
  131. .information-name,
  132. .information-email
  133. height: 40px
  134. font-size: 24px