Pomodoro Clock
19 |20 | 24 | 28 |
29 |35 |
-__-
36 |38 | Whole pomodoros today: 0 39 |
40 |41 | Today spent in focus: 0 mins. 42 |
43 |├── favicon.ico ├── files └── sound.mp3 ├── fonts ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.ttf ├── glyphicons-halflings-regular.woff └── glyphicons-halflings-regular.woff2 ├── README.md ├── LICENSE ├── css └── style.css ├── index.html └── js ├── pomodoro.js ├── bootstrap.min.js └── jq.js /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/askeroff/pomodoro/HEAD/favicon.ico -------------------------------------------------------------------------------- /files/sound.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/askeroff/pomodoro/HEAD/files/sound.mp3 -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/askeroff/pomodoro/HEAD/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/askeroff/pomodoro/HEAD/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/askeroff/pomodoro/HEAD/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/askeroff/pomodoro/HEAD/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Pomodoro Clock 2 | 3 | This is one of the many variations of pomodoro clocks. I coded it for practice within the [FreeCodeCamp](https://freecodecamp.com) curriculum. 4 | 5 | Pomodoro Technique 6 | ================== 7 | 8 | The Pomodoro Technique is a time management method developed by Francesco Cirillo in the late 1980s. The technique uses a timer to break down work into intervals, traditionally 25 minutes in length, separated by short breaks. These intervals are named pomodoros, the plural in English of the Italian word pomodoro (tomato), after the tomato-shaped kitchen timer that Cirillo used as a university student. The method is based on the idea that frequent breaks can improve mental agility. 9 | 10 | Demo 11 | ==== 12 | 13 | You can see how it works [here](https://askeroff.github.io/pomodoro/). 14 | 15 | 16 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 Jay 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /css/style.css: -------------------------------------------------------------------------------- 1 | #main { 2 | margin-top: 2%; 3 | } 4 | 5 | .col-centered{ 6 | float: none; 7 | margin: 0 auto; 8 | } 9 | 10 | .pomodoro-text { 11 | font-size: 6em; 12 | width: 250px; 13 | height: 250px; 14 | line-height: 300px; 15 | margin: auto; 16 | } 17 | 18 | #indicator { 19 | padding-bottom: 10px; 20 | } 21 | 22 | .continuous-mode { 23 | position: absolute; 24 | right: 0; 25 | top: 0; 26 | left: 0; 27 | bottom: 0; 28 | z-index: 1050; 29 | display: none; 30 | } 31 | 32 | .pomodoros-count { 33 | margin: 15px 0px; 34 | padding: 15px 0px; 35 | font-size: 1.4em; 36 | text-align: center; 37 | } 38 | 39 | .pomodoros-count p{ 40 | background: #2f4f4f; 41 | } 42 | 43 | @media screen and (max-device-width: 650px) 44 | 45 | { 46 | a#start, a#stop { 47 | height: 160px; 48 | line-height: 160px; 49 | font-size: 60px; 50 | padding-top: 0px; 51 | margin-bottom: 50px; 52 | } 53 | 54 | .pomodoros-count p{ 55 | font-size: 2.5em; 56 | margin-bottom: 20px; 57 | } 58 | .pomodoro-text { 59 | font-size: 8em; 60 | } 61 | 62 | .glyphicon { 63 | font-size: 80px; 64 | } 65 | 66 | .modal-title { 67 | font-size: 60px; 68 | padding: 20px; 69 | } 70 | 71 | .control-label { 72 | font-size: 60px; 73 | display: block; 74 | float: none; 75 | text-align: center; 76 | } 77 | 78 | #workTime, #breakTime { 79 | float: none; 80 | height: 60px; 81 | font-size: 60px; 82 | padding: 40px 20px; 83 | display: block; 84 | margin-top: 10px; 85 | } 86 | 87 | .checkbox { 88 | font-size: 45px; 89 | } 90 | 91 | .checkbox input[type="checkbox"] { 92 | width: 40px; 93 | height: 40px; 94 | margin-left: -45px; 95 | margin-top: 15px; 96 | } 97 | 98 | #changeSettings { 99 | height: 70px; 100 | width: 260px; 101 | font-size: 35px; 102 | } 103 | 104 | .modal-body { 105 | position: relative; 106 | padding: 20px; 107 | font-size: 45px; 108 | } 109 | 110 | } 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |20 | 24 | 28 |
29 |38 | Whole pomodoros today: 0 39 |
40 |41 | Today spent in focus: 0 mins. 42 |
43 |