| Index: chrome/skin/firstRun.css |
| =================================================================== |
| --- a/chrome/skin/firstRun.css |
| +++ b/chrome/skin/firstRun.css |
| @@ -438,6 +438,112 @@ |
| transition-duration: 0.15s; |
| } |
| +.toggle |
| +{ |
| + cursor: pointer; |
| + display: inline-block; |
| + width: 69px; |
| + border-radius: 9999px; |
| + box-shadow: 0 0 0 1px #999; |
| + overflow: hidden; |
| +} |
| + |
| +.toggle-on, .toggle-off, .toggle-blob |
| +{ |
| + height: 22px; |
| + font-size: 11px; |
| + font-weight: 500; |
| + text-align: center; |
| + line-height: 22px; |
| + float: left; |
| +} |
| + |
| +.toggle-inner, .toggle-on, .toggle-off, .toggle-blob |
| +{ |
| + -moz-transition: all 0.2s; |
| + -webkit-transition: all 0.2s; |
| + transition: all 0.2s; |
| +} |
| + |
| +.toggle-inner |
| +{ |
| + width: 185px; |
| +} |
| + |
| +.toggle-blob |
| +{ |
| + position: relative; |
| + width: 22px; |
| + border-radius: 50px; |
| + box-shadow: 1px 1px 2px #888; |
| + background: #cfcfcf; |
| + background: -moz-linear-gradient(bottom, #cfcfcf 0%, #f5f5f5 100%); |
| + background: -webkit-linear-gradient(bottom, #cfcfcf 0%,#f5f5f5 100%); |
| + background: linear-gradient(to top, #cfcfcf 0%,#f5f5f5 100%); |
| + z-index: 99; |
| +} |
| + |
| +.toggle-blob:hover |
| +{ |
| + background: #e4e4e4; |
| + background: -moz-linear-gradient(top, #e4e4e4 0%, #f9f9f9 100%); |
| + background: -webkit-linear-gradient(top, #e4e4e4 0%,#f9f9f9 100%); |
| + background: linear-gradient(to bottom, #e4e4e4 0%,#f9f9f9 100%); |
| +} |
| + |
| +.toggle-on |
| +{ |
| + color: rgba(255,255,255, 0.8); |
| + text-shadow: 1px 1px rgba(0,0,0,0.2); |
| + box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); |
| + background: rgb(69,163,31); |
| +} |
| + |
| +.toggle-off |
| +{ |
| + width: 59px; |
| + margin-left: -11px; |
| + text-indent: 11px; |
| + color: rgba(0,0,0,0.6); |
| + text-shadow: 1px 1px rgba(255,255,255,0.2); |
| + background: #cfcfcf; |
| + background: -moz-linear-gradient(top, #cfcfcf 0%, #f5f5f5 100%); |
| + background: -webkit-linear-gradient(top, #cfcfcf 0%,#f5f5f5 100%); |
| + background: linear-gradient(to bottom, #cfcfcf 0%,#f5f5f5 100%); |
| +} |
| + |
| +.disable .toggle-inner |
| +{ |
| + margin-left: 0px; |
| +} |
| + |
| +.disable .toggle-blob |
| +{ |
| + margin-left: -11px; |
| +} |
| + |
| +.disable .toggle-on |
| +{ |
| + width: 59px; |
| + text-indent: -11px; |
| +} |
| + |
| +.enable .toggle-inner |
| +{ |
| + margin-left: -75px; |
| +} |
| + |
| +.enable .toggle-blob |
| +{ |
| + margin-left: -17.5px; |
| +} |
| + |
| +.enable .toggle-on |
| +{ |
| + width: 92.5px; |
| + text-indent: -17.5px; |
| +} |
| + |
| /* Adjust font size on smaller screens */ |
| @media (max-height: 800px) |
| { |