body { margin: 0; overflow: hidden; color: #555555; font-family: sans-serif; } * { box-sizing: border-box; } .button { z-index: 2; overflow: hidden; background-color: #00b6ff; border: none; border-radius: 50%; background-size: 66%; background-position: center; background-repeat: no-repeat; padding: 0; outline: none; -webkit-transition: background-color 0.2s; -moz-transition: background-color 0.2s; -ms-transition: background-color 0.2s; -o-transition: background-color 0.2s; transition: background-color 0.2s; } .button:hover { background-color: #2eceff; } .panel { z-index: 1; overflow: hidden; background-color: white; transform: none; -webkit-transition: transform 0.2s ease-in-out; -moz-transition: transform 0.2s ease-in-out; -ms-transition: transform 0.2s ease-in-out; -o-transition: transform 0.2s ease-in-out; transition: transform 0.2s ease-in-out; } .panel.hidden { transform: translate(-500px); } .shadow { box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 4px 0px; } .switchBox { position: relative; overflow: hidden; -webkit-transition: background-color 0.2s ease-in-out; -moz-transition: background-color 0.2s ease-in-out; -ms-transition: background-color 0.2s ease-in-out; -o-transition: background-color 0.2s ease-in-out; transition: background-color 0.2s ease-in-out; background-color: #b8b8b8; cursor: pointer } .switchBox > .mover { position: absolute; width: 100%; height: 100%; top: 0; -webkit-transition: right 0.2s ease-in-out; -moz-transition: right 0.2s ease-in-out; -ms-transition: right 0.2s ease-in-out; -o-transition: right 0.2s ease-in-out; transition: right 0.2s ease-in-out; } .switchBox .circle { background-color: #ffffff; position: absolute; border-radius: 50%; } .numericBox { border: none; height: 100%; width: 100%; outline: none; color: #555555; font-size: 16px; text-align: center; -webkit-box-shadow: inset 0px 0px 0 #555555; -moz-box-shadow: inset 0px 0px 0 #555555; box-shadow: inset 0px 0px 0 #555555; -webkit-transition: box-shadow 0.2s ease-in-out; -moz-transition: box-shadow 0.2s ease-in-out; -ms-transition: box-shadow 0.2s ease-in-out; -o-transition: box-shadow 0.2s ease-in-out; transition: box-shadow 0.2s ease-in-out; } .numericBox:focus { -webkit-box-shadow: inset 0 -2px 0 #00b6ff; -moz-box-shadow: inset 0 -2px 0 #00b6ff; box-shadow: inset 0 -2px 0 #00b6ff; } .form { overflow-x: hidden; overflow-y: auto; padding: 10px; } .form > table { table-layout: fixed; border-spacing: 0; overflow: hidden; width: 100%; -webkit-transition: height 0.2s ease-in-out; -moz-transition: height 0.2s ease-in-out; -ms-transition: height 0.2s ease-in-out; -o-transition: height 0.2s ease-in-out; transition: height 0.2s ease-in-out; } .form > table:not(:last-child) { margin-bottom: 10px; } .form > table td { vertical-align: middle; } .form > table td:nth-child(1) { width: 60% } .form > table td:nth-child(2) { width: 40%; } .form > table td:nth-child(2) > * { float: right; }