Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.00 KB | None | 0 0
  1. /*custom font*/
  2. @import url(https://fonts.googleapis.com/css?family=Open+Sans);
  3.  
  4. @primary-color: #63a2cb;
  5. @secondary-color: #67d5bf;
  6. /*basic reset*/
  7. * {margin: 0; padding: 0;}
  8.  
  9.  
  10.  
  11. body {
  12. background-color:blue;
  13. font-family: "Open Sans", arial, verdana;
  14. }
  15. .content {
  16. width: 64%;
  17. position: relative;
  18. height: 500px;
  19. background-color:#fff;
  20. margin: auto;
  21. display: table;
  22. }
  23.  
  24. /*form styles*/
  25. #msform {
  26. width: 100%;
  27. margin: 50px auto;
  28. text-align: center;
  29. background: white;
  30. //position: relative;
  31. }
  32. #msform fieldset {
  33. //background: white;
  34. border: 0 none;
  35. border-radius: 3px;
  36. //box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
  37. padding: 20px 30px;
  38. box-sizing: border-box;
  39. width: 80%;
  40. margin: 0 10%;
  41. /*stacking fieldsets above each other*/
  42. position: absolute;
  43. }
  44.  
  45. /*Hide all except first fieldset*/
  46. #msform fieldset:not(:first-of-type) {
  47. display: none;
  48. }
  49.  
  50. /*inputs*/
  51. #msform input, #msform textarea {
  52. padding: 15px;
  53. border: 1px solid #ccc;
  54. border-radius: 3px;
  55. margin-bottom: 10px;
  56. width: 100%;
  57. box-sizing: border-box;
  58. font-family: montserrat;
  59. color: #2C3E50;
  60. font-size: 13px;
  61. }
  62.  
  63. /*buttons*/
  64. #msform .action-button {
  65. width: 100px;
  66. background: @secondary-color;
  67. font-weight: bold;
  68. color: white;
  69. border: 0 none;
  70. border-radius: 1px;
  71. cursor: pointer;
  72. padding: 10px 5px;
  73. margin: 10px 5px;
  74. }
  75.  
  76. #msform .action-button:hover, #msform .action-button:focus {
  77. box-shadow: 0 0 0 2px white, 0 0 0 3px @secondary-color;
  78. }
  79.  
  80. /*headings*/
  81. .fs-title {
  82. font-size: 16px;
  83. text-transform: uppercase;
  84. color: @primary-color;
  85. margin-bottom: 10px;
  86. }
  87. .fs-subtitle {
  88. font-weight: normal;
  89. font-size: 14px;
  90. color: #666;
  91. margin-bottom: 20px;
  92. }
  93. /*progressbar*/
  94. #progressbar {
  95. margin-bottom: 30px;
  96. overflow: hidden;
  97. /*CSS counters to number the steps*/
  98. counter-reset: step;
  99. position: absolute;
  100. top: 294px;
  101. left: 0;
  102. right: 0;
  103. width: 50%;
  104. margin:10% auto;
  105. z-index: 1;
  106. }
  107. #progressbar li {
  108. list-style-type: none;
  109. color: white;
  110. text-transform: uppercase;
  111. font-size: 9px;
  112. width: 16%;
  113. float: left;
  114. position: relative;
  115. }
  116. #progressbar li:before {
  117. content: counter(step);
  118. counter-increment: step;
  119. width: 20px;
  120. line-height: 20px;
  121. display: block;
  122. font-size: 10px;
  123. color: #333;
  124. background: white;
  125. border-radius: 3px;
  126. margin: 0 auto 5px auto;
  127. }
  128. /*progressbar connectors*/
  129. #progressbar li:after {
  130. content: '';
  131. width: 100%;
  132. height: 2px;
  133. background: #67d5bf;
  134. position: absolute;
  135. left: -50%;
  136. top: 9px;
  137. z-index: -1; /*put it behind the numbers*/
  138. }
  139. #progressbar li:first-child:after {
  140. /*connector not needed before the first step*/
  141. content: none;
  142. }
  143. /*marking active/completed steps green*/
  144. /*The number of the step and the connector before it = green*/
  145. #progressbar li.active:before, #progressbar li.active:after{
  146. background: @secondary-color;
  147. color: white;
  148. }
  149.  
  150. .help-block {
  151. font-size: .8em;
  152. color: #7c7c7c;
  153. text-align: left;
  154. margin-bottom: .5em;
  155. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement