dfghgfhplkjbv

src/components/Subscrie/SubscribeMain.module.scss

Mar 5th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. @import '../../styles/utility';
  2.  
  3. .wrap {
  4. position: relative;
  5. background-color: #fff;
  6. margin-top: 88px;
  7. border-top: 1px solid #e8e8e8;
  8. border-bottom: 1px solid #eee;
  9. @media (max-width: $xl) {
  10. margin-top: -120px;
  11. }
  12. @media (max-width: $lg) {
  13. margin-top: -120px;
  14. }
  15. }
  16.  
  17. .root {
  18. @include container();
  19.  
  20. position: relative;
  21. display: flex;
  22. flex-flow: row nowrap;
  23. margin-bottom: $vertical-margin;
  24. margin-top: $vertical-margin;
  25.  
  26. @media (max-width: $lg) {
  27. align-items: center;
  28. flex-flow: column-reverse nowrap;
  29. margin-top: 0;
  30. }
  31. }
  32.  
  33. .image {
  34. width: 570px;
  35.  
  36. img {
  37. height: 100%;
  38. max-height: 850px;
  39. object-fit: cover;
  40. width: 100%;
  41. object-position: right bottom !important;
  42. }
  43.  
  44. @media (max-width: $lg) {
  45. display: none;
  46. }
  47. }
  48. .content {
  49. display: flex;
  50. flex-flow: column;
  51. justify-content: center;
  52. padding-left: 32px;
  53. padding-right: 32px;
  54. width: calc(100% - 570px);
  55.  
  56. @media (max-width: $lg) {
  57. margin-bottom: 6rem;
  58. padding-top: 32px;
  59. padding-bottom: 32px;
  60. width: initial;
  61. }
  62.  
  63. @media (max-width: $md) {
  64. margin-bottom: 0;
  65. margin-top: 2rem;
  66. padding: 16px;
  67. }
  68. }
  69.  
  70. .form {
  71. display: flex;
  72. padding-bottom: 10px;
  73. margin-top: 35px;
  74. align-items: flex-end;
  75. @media (max-width: $xl) {
  76. flex-flow: column;
  77. align-items: unset;
  78. }
  79. }
  80. .formInnerContainer {
  81. display: flex;
  82. flex-flow: column;
  83. position: relative;
  84. }
  85.  
  86. .button {
  87. @include base-font();
  88. @include base-transition();
  89.  
  90. background-color: white;
  91. border: 2px solid #161616;
  92. box-shadow: 4px 4px 0 0 #161616;
  93. color: $black;
  94. cursor: pointer;
  95. font-size: 18px;
  96. font-style: normal;
  97. font-weight: 600;
  98. height: $input-height;
  99. left: -4px;
  100. padding: 0 1rem;
  101. position: relative;
  102. white-space: nowrap;
  103.  
  104. &:hover {
  105. box-shadow: 0 0 0 0 $black;
  106. transform: translate(2px, 2px);
  107. }
  108.  
  109. @media (max-width: $lg) {
  110. width: 100%;
  111. }
  112. }
  113.  
  114. .input {
  115. @include base-font();
  116. @include base-transition();
  117. background-color: #f4f4f4;
  118. border: 2px solid #f4f4f4;
  119. font-size: 18px;
  120. font-style: normal;
  121. font-weight: normal;
  122. height: $input-height;
  123. line-height: 22px;
  124. margin-right: 20px;
  125. margin-top: 0;
  126. min-width: initial;
  127. padding-left: 16px;
  128. padding-right: 24px;
  129. &:focus {
  130. border-color: $black;
  131. box-shadow: none;
  132. outline: none;
  133. }
  134.  
  135. @media (max-width: $xl) {
  136. margin-bottom: 1rem;
  137. width: 100%;
  138. }
  139. }
  140.  
  141. .success {
  142. border: 2px solid lightgreen;
  143. }
  144.  
  145. .error {
  146. border: 2px solid tomato;
  147. }
  148.  
  149. .title {
  150. @include base-font();
  151. color: $black;
  152. font-size: 3rem;
  153. line-height: 1.3;
  154. margin-bottom: 50px;
  155.  
  156. @media (max-width: $xl) {
  157. font-size: 2.5rem;
  158. }
  159.  
  160. @media (max-width: $sm) {
  161. font-size: 2rem;
  162. }
  163. @media (max-width: $md) {
  164. margin-bottom: 1rem;
  165. }
  166. }
  167.  
  168. .description {
  169. @include base-font();
  170. color: $black;
  171. font-size: 1.125rem;
  172. font-style: normal;
  173. font-weight: normal;
  174. line-height: 150%;
  175. margin-bottom: 20px;
  176.  
  177. @media (max-width: $md) {
  178. line-height: 1.8;
  179. margin-bottom: 2rem;
  180. }
  181. }
  182.  
  183. .under {
  184. @include base-font();
  185. color: #333333;
  186. font-size: 12px;
  187. font-style: normal;
  188. font-weight: normal;
  189. line-height: 14px;
  190. @media (max-width: $lg) {
  191. margin-top: 1rem;
  192. }
  193. }
  194.  
  195. .status {
  196. position: absolute;
  197. top: -22px;
  198. }
Advertisement
Add Comment
Please, Sign In to add comment