registration-style.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. @font-face {
  2. font-family: "FuturaRoundBold";
  3. src: url("../fonts/FuturaRoundBold/FuturaRoundBold.eot");
  4. src: url("../fonts/FuturaRoundBold/FuturaRoundBold.eot?#iefix")format("embedded-opentype"),
  5. url("../fonts/FuturaRoundBold/FuturaRoundBold.woff") format("woff"),
  6. url("../fonts/FuturaRoundBold/FuturaRoundBold.ttf") format("truetype");
  7. font-style: normal;
  8. font-weight: 700;
  9. }
  10. body {
  11. background: #71f7f7;
  12. }
  13. .container {
  14. background: white;
  15. width: 400px;
  16. height: 300px;
  17. box-shadow: gray 0px 0px 14px -5px;
  18. border-radius: 10px;
  19. }
  20. .reg-center {
  21. width: 400px;
  22. height: 300px;
  23. background: white;
  24. float: center;
  25. border-radius: 10px;
  26. }
  27. #head {
  28. background: #30affb;
  29. color: white;
  30. font-family: FuturaRoundBold;
  31. font-size: 30px;
  32. border-top-left-radius: 10px;
  33. border-top-right-radius: 10px;
  34. }
  35. #text-head {
  36. padding-top: 10px;
  37. padding-bottom: 10px;
  38. margin-top: 10px;
  39. }
  40. .place-form {
  41. margin: 20px 0 0 0;
  42. box-sizing: border-box;
  43. width: 320px;
  44. }
  45. #place-container {
  46. position: relative;
  47. width: 100%;
  48. margin-bottom: 20px;
  49. }
  50. #place-container input {
  51. background-color: #FFF;
  52. border: 2px solid #30affb;
  53. box-sizing: border-box;
  54. color: black;
  55. font-size: 16px;
  56. font-family: FuturaRoundBold;
  57. line-height: 16px;
  58. height: 50px;
  59. outline: 0;
  60. padding: 0 20px;
  61. width: 100%;
  62. border-radius: 10px;
  63. }
  64. #place-container label {
  65. color: black;
  66. font-family: FuturaRoundBold;
  67. font-size: 16px;
  68. line-height: 16px;
  69. padding: 5px 10px;
  70. position: absolute;
  71. transition: all 200ms;
  72. top: 12px;
  73. left: 10px;
  74. background-color: #FFF;
  75. border-radius: 10px;
  76. }
  77. #place-container input:focus + label,
  78. #place-container input:not(:placeholder-shown) + label{
  79. top: -10px;
  80. left: 10px;
  81. font-size: 11px;
  82. background-color: #30b2f9;
  83. padding: 2px 10px;
  84. color: white;
  85. }
  86. #reg-button {
  87. background: #30affb;
  88. color: white;
  89. border-radius: 10px;
  90. font-family: FuturaRoundBold;
  91. font-size: 25px;
  92. padding: 10px;
  93. margin-top: 8px;
  94. display: inline-flex;
  95. text-decoration: none;
  96. position: relative;
  97. line-height: 15px;
  98. text-transform: uppercase;
  99. cursor: pointer;
  100. overflow: hidden;
  101. z-index: 1;
  102. }
  103. #reg-button:hover,
  104. #reg-button:active,
  105. #reg-button:focus {
  106. color: #08FFF9;
  107. }
  108. #reg-button:before {
  109. content: '';
  110. position: absolute;
  111. top: 0;
  112. right: -50px;
  113. bottom: 0;
  114. left: 0;
  115. border-right: 50px solid transparent;
  116. border-top: 50px solid #000;
  117. transition: transform 0.5s;
  118. transform: translateX(-100%);
  119. z-index: -1;
  120. }
  121. #reg-button:hover:before,
  122. #reg-button:active:before,
  123. #reg-button:focus:before {
  124. transform: translateX(0);
  125. }
  126. #main-button {
  127. display: inline-flex;
  128. text-decoration: none;
  129. position: relative;
  130. font-size: 15px;
  131. line-height: 15px;
  132. padding: 10px;
  133. color: #000;
  134. text-transform: uppercase;
  135. font-family: FuturaRoundBold;
  136. background: white;
  137. cursor: pointer;
  138. border-radius: 10px;
  139. overflow: hidden;
  140. z-index: 1;
  141. }
  142. #main-button:hover,
  143. #main-button:active,
  144. #main-button:focus {
  145. color: white;
  146. }
  147. #main-button:before {
  148. content: '';
  149. position: absolute;
  150. top: 0;
  151. right: -50px;
  152. bottom: 0;
  153. left: 0;
  154. border-right: 50px solid transparent;
  155. border-top: 50px solid #000;
  156. transition: transform 0.5s;
  157. transform: translateX(-100%);
  158. z-index: -1;
  159. }
  160. #main-button:hover:before,
  161. #main-button:active:before,
  162. #main-button:focus:before {
  163. transform: translateX(0);
  164. }