Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                .wrap
  main.info-group
    .edit
      input(type='text' id='userInput' placeholder='ADD A NEW MISSION…')
      button#addbtn +
    .running
      .current-todo
        label
          input(type='checkbox')
          span.circle
            i.material-icons done
          | THE FIRST THIGN TO DO TODAY
        //- .counter
      .countdown 25:00
        .outer-circle
          .inner-circle
            #control
              i.material-icons play_circle_filled
            .decoration       
    .list
      ul
        li
          label
            input(type='checkbox')
            span.circle
              i.material-icons done
            | THE SECOND THIGN TO DO TODAY
          a(href="#" class="todo")
            i.material-icons play_circle_outline
        li
          label
            input(type='checkbox')
            span.circle
              i.material-icons done
            | THE THIRD THIGN TO DO TODAY
          a(href="#" class="todo")
            i.material-icons play_circle_outline
        li
          label
            input(type='checkbox')
            span.circle
              i.material-icons done
            | THE FORTH THIGN TO DO TODAY
          a(href="#" class="todo")
            i.material-icons play_circle_outline
      .more 
        a(href='#') MORE
          
  .side
    nav
      ul
        li
          a(href="#" class="")
            i.material-icons list
        li
          a(href="#" class="")
            i.material-icons assessment
        li
          a(href="#" class="")
            i.material-icons library_music
    p.text POMODORO
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

/*---------------------*/
$primary-color: #003164;
$secondary-color: #FFEDF7;
$lightPink-color: #FF4384;
$white-color: #FFFFFF;

@mixin size($w,$h:$w) {
  width: $w;
  height: $h;
}

@mixin round($w,$h:$w) {
  width: $w;
  height: $h;
  border-radius: 50%;
}

%DoneRound {
  display: inline-block;
  border: 2px solid;
  text-align: center;
  vertical-align: middle;
}
%PositionCenter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

/*---------------------*/
* {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  box-sizing: border-box;
}

#addbtn,#control {
  cursor: pointer;
}

.wrap {
  width: 1280px;
  height: 800px;
  display: flex; 
  .info-group {
    width: 64.84375%;   //830px
    background-color: $secondary-color;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 300px 80px 48px;
  }
  .side {
    width: 35.15625%;   //450px
    background-color: $primary-color;
  }
}

.edit {
  max-width: 445px;
  position: relative;
  background-color: $white-color;
  input {   
    padding: 19px 0 18px 16px;
    font-size: 1rem;
    outline: none;
    border: none;   
  }  
  ::-webkit-input-placeholder {
    color: $lightPink-color;
    font-style: italic;
  }
  #addbtn {
    position: absolute;
    top: 0;
    right: 6.25px;
    padding: 12.5px;
    border: none;
    outline: none;
    font-size: 1.5rem; 
    background-color: $white-color;
    color: $lightPink-color;
  }
}

.current-todo{
  color: $primary-color;
  label {
    font-size: 24px;
    line-height: 1.66666;
  }
  input[type='checkbox'] {
    position: absolute;
    opacity: 0;
  }
  .circle {
    @include round(48px);
    @extend %DoneRound;
    vertical-align: top;
    margin-right: 1rem;
    i {
      font-size: 2.75rem;
      transform: scale(0);
    }
  }
  input[type='checkbox']:checked ~ .circle i {
    transform: scale(1);     
  }
}

.countdown {
  position: relative;
  font-size: 176px;
  color: $lightPink-color;  
}
.outer-circle {
  @include round(540px);
  border: 4px solid $lightPink-color;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(50%,-50%);
  .inner-circle {
    @include round(510px);
    background-color: $lightPink-color;
    @extend %PositionCenter;
  }
  #control {
    @extend %PositionCenter;
    i.material-icons {
      font-size: 96px;
      color: $white-color;
      @extend %PositionCenter;
    }
  }
  .decoration {
    @include size(12px);
    position: absolute;
    top: 285px;
    left: 308px;
    transform: translate(-50%,-50%);
    background-color: $white-color;
  }
}


.info-group .list{
  max-width: 445px;
  color: $primary-color;
  li {
    border-bottom: 1px solid rgba($primary-color, 0.2);
    padding: 10px 0;
    display: flex;
    align-items: center;
    text-align: left;
  }
  a {
    color: $primary-color;
    margin-left: auto;
  }
  label {
    font-size: 1rem;
    line-height: 1.5;
  }
  input[type='checkbox'] {
    position: absolute;
    opacity: 0;
  }
  .circle {
    @include round(24px);
    @extend %DoneRound;
    margin-right: 4px;
    i {
      font-size: 1.2rem;
      transform: scale(0);
    }
  }
  input[type='checkbox']:checked ~ .circle i {
    transform: scale(1);     
  }
}

.info-group .more {
  text-align: right;
  font-size: 1rem;
  line-height: 1.2; 
  margin-top: 9px;
  a {
    text-decoration: none;
    color: $lightPink-color; 
  }
}

.side{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 85px 48px 329px;
  nav ul {
    display: flex;
    flex-direction: column;
  }
  nav li {
    flex: 84px;   // 36 + 48
  } 
  nav i{
    font-size: 36px;
    color: $white-color;
  }
  .text {
    color: $white-color;
    font-size: 24px;
    line-height: 2;
    letter-spacing: 5px;
    transform: rotate(90deg) translatex(-450%);
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console