| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- html {
- height: 100%;
- }
-
- body {
- font-family: 'Source Sans Pro', sans-serif;
- font-size: 14px;
- }
-
-
- /* Form styles */
- #msform {
- width: 400px;
- margin: 50px auto;
- text-align: center;
- position: relative;
- }
- #msform fieldset {
- background: #fff;
- border: 0 none;
- border-radius: 5px;
- box-shadow: 0 0 30px 1px rgba(0, 0, 0, 0.1);
- padding: 20px;
- box-sizing: border-box;
- width: 80%;
- margin: 0 auto;
- left:0%;
- right: 0%;
- position: relative;
- }
-
- /* Hide all except first fieldset */
- #msform fieldset:not(:first-of-type) {
- display: none;
- }
- img.logo {
- max-width: 120px;
- margin-bottom: 20px;
- }
- #msform p {
- color: #8b9ab0;
- font-size: 12px;
- }
-
- /* Inputs */
-
-
- /* Buttons */
- #msform .action-button {
- width: 49%;
- text-transform: uppercase;
- background: #e74c3c;
- font-weight: bold;
- color: white;
- border: 1px solid transparent;
- border-radius: 3px;
- cursor: pointer;
- padding: 12px 5px;
- margin: 10px 0;
- font-size: 16px;
- display: inline-block;
- -webkit-transition: all 0.2s;
- -moz-transition: all 0.2s;
- transition: all 0.2s;
- }
- #msform .previous.action-button {
- background: #fff;
- border: 1px solid #7bbdf3;
- color: #7bbdf3;
- }
-
- /* Headings */
- .fs-title {
- font-size: 26px;
- font-weight: 200;
- color: #434a54;
- margin-bottom: 20px;
- }
- .fs-subtitle {
- font-weight: 400;
- color: #434a54;
- margin-bottom: 20px;
- line-height: 1.4
- }
- #msform #progressbar li{
- font-size: 13px;
- text-transform: capitalize;
- }
- /* Progressbar */
- #progressbar {
- margin-bottom: 30px;
- overflow: hidden;
- /*CSS counters to number the steps*/
- counter-reset: step;
- }
- #progressbar li {
- list-style-type: none;
- color: #8b9ab0;
- text-transform: uppercase;
- font-size: 9px;
- width: 33.33%;
- float: left;
- position: relative;
- }
- #progressbar li.active {
- color: #e74c3c;
- }
- #progressbar li:before {
- content: counter(step);
- counter-increment: step;
- width: 20px;
- line-height: 20px;
- display: block;
- font-size: 10px;
- color: #333;
- background: white;
- border-radius: 3em;
- margin: 0 auto 5px auto;
- }
-
- /* Progressbar connectors */
- #progressbar li:after {
- content: '';
- width: 100%;
- height: 2px;
- background: white;
- position: absolute;
- left: -50%;
- top: 9px;
- z-index: -1;
- }
- #progressbar li:first-child:after {
- /* connector not needed before the first step */
- content: none;
- }
-
- /* Marking active/completed steps green */
- /*The number of the step and the connector before it = green*/
- #progressbar li.active:before, #progressbar li.active:after{
- background: #e74c3c;
- color: white;
- }
|