larrygeams
1/29/2014 - 2:35 AM

A Pen by Larry Geams Parangan.

A Pen by Larry Geams Parangan.

body{
  background: #1abc9c;
  font-family: sans-serif;
}

h1{
  color: #fff;
  text-align: center;
  font-size: 40px;
  font-weight: 100;
}

.steps{
  width: 300px;
  height: 405px;
  position: absolute;
  top: 20%;
  left: 0px; 
  right: 0px;
  margin: 0px auto;
}

input[type=checkbox] {
  display: none;
}

label{
  background: #34495E;
  height: 69px;
  width: 100%;
  display: block;
  border-bottom: 1px solid #2C3E50;
  color: #fff;
  text-transform: capitalize;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 1px;
  text-indent: 20px;
  cursor: pointer;
  transition: all 0.7s ease;
  position: relative;
  padding: 5px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

label h2 span{
  display: block;
  font-size: 12px;
  text-transform: capitalize;
  font-weight: normal;
  color: #bdc3c7;
}

label:before{
  content:"";
  width: 20px;
  height: 20px;
  background: #fff;
  display: block;
  position: absolute;
  border-radius: 100%;
  right: 20px;
  top: 30%;
  transition: border 0.7s ease
}


#label-1:checked ~ label[for=label-1],
#label-2:checked ~ label[for=label-2],
#label-3:checked ~ label[for=label-3],
#label-4:checked ~ label[for=label-4],
#label-5:checked ~ label[for=label-5]{
  background: #2C3E50;
  border-bottom: 1px solid #34495E;
  color: #1ABC9C;
}

#label-1:checked ~ label[for=label-1] h2 span,
#label-2:checked ~ label[for=label-2] h2 span,
#label-3:checked ~ label[for=label-3] h2 span,
#label-4:checked ~ label[for=label-4] h2 span,
#label-5:checked ~ label[for=label-5] h2 span{
  color: #1ABC9C;
}



#label-1:checked ~ label[for=label-1]:before,
#label-2:checked ~ label[for=label-2]:before,
#label-3:checked ~ label[for=label-3]:before,
#label-4:checked ~ label[for=label-4]:before,
#label-5:checked ~ label[for=label-5]:before{
  background: url("http://designmodo.github.io/Flat-UI/images/todo/done.png") no-repeat center center;
}


<div class="steps">
  <h1>Flat Checklist</h1>
    <input id='label-1' type='checkbox' checked/>
    <label for='label-1'>
      <h2>Meet Larry at 6pm <span>Lorem ipsum dolor</span></h2>   
    </label>

    <input id='label-2' type='checkbox' checked/>
    <label for='label-2'>
      <h2>Team Session <span>Lorem ipsum dolor</span></h2>   
    </label>
	
    <input id='label-3' type='checkbox'/>
    <label for='label-3'>
      <h2>Watch Movie <span>Lorem ipsum dolor</span></h2>   
    </label>
	
    <input id='label-4' type='checkbox'/>
   <label for='label-4'>
      <h2>Date with babe <span>Lorem ipsum dolor</span></h2>   
    </label>
	
    <input id='label-5' type='checkbox'/>
   <label for='label-5'>
      <h2>Jogging at Ayala<span>Lorem ipsum dolor</span></h2>   
    </label>
</div>