HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
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.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
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.
Using packages here is powered by Skypack, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ES6 import
usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<div id="information">
<div class="name">
<div>M</div>
<div class="triangle"></div>
<div>S</div>
<div>K</div>
<div class="watch">watch</div>
</div>
<div class="text">
<p>A few days ago, I saw a shot on <a href="http://dribbble.com/shots/795656-Mask-watch-concept" target="_blank">dribbble</a> by Filip Slováček. I liked so much the concept of watch and wanted to code without using images. In every 5 minutes, minutes capsule rotates and check other cities hours. You can check the whole concept on Filip's <a href="http://www.slvczch.com/mask-watch" target="_blank">website</a>.
</p>
<p>Please support spreading modern browsers!</p>
<p><a href="http://tolgaergin.com/files/mask-watch/">Please check it on my website</a></p>
<div class="social">
</div>
</div>
<ul class="change">
<li role="99">Your Place</li>
<li role="1">Amsterdam</li>
<li role="2">Istanbul</li>
<li role="0">London</li>
<li role="-8">San Fransico</li>
<li role="9">Tokyo</li>
<li role="-5">Washington</li>
</ul>
</div>
<div id="maskwatch">
<div class="day_icon">
<div class="sun"></div>
<div class="is_shining">
<div class="shine"></div>
<div class="shine"></div>
<div class="shine"></div>
<div class="shine"></div>
<div class="shine"></div>
<div class="shine"></div>
<div class="shine"></div>
<div class="shine"></div>
<div class="shine"></div>
<div class="shine"></div>
<div class="shine"></div>
<div class="shine"></div>
</div>
</div>
<div class="night_icon">
<div class="icon icon1"></div>
<div class="icon icon2"></div>
<div class="icon icon3"></div>
<div class="icon icon4"></div>
</div>
<div class="container day">
<div class="top_strap">
<div class="strap_line_left"></div>
<div class="strap_line_left white"></div>
<div class="strap_line_right"></div>
<div class="strap_line_right white"></div>
</div>
<div class="quadrant_border_white"></div>
<div class="quadrant_border_gray"></div>
<div class="quadrant_container">
<div class="switch"></div>
<div class="glass"></div>
<div class="quadrant"></div>
<div class="quadrant_texture"></div>
<div class="lines">
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
</div>
<div class="hours">
<label>12</label>
<label>1</label>
<label>2</label>
<label>3</label>
<label>4</label>
<label>5</label>
<label>6</label>
<label>7</label>
<label>8</label>
<label>9</label>
<label>10</label>
<label>11</label>
</div>
<div class="minutes">
<label>00</label>
<label>05</label>
<label>10</label>
<label>15</label>
<label>20</label>
<label>25</label>
<label>30</label>
<label>35</label>
<label>40</label>
<label>45</label>
<label>50</label>
<label>55</label>
</div>
<div class="first_rotary">
<div class="hours_capsule"></div>
<div class="hours_capsule fill"></div>
</div>
<div class="second_rotary">
<div class="minutes_capsule"></div>
<div class="minutes_capsule fill"></div>
</div>
</div>
<div class="bottom_strap">
<div class="strap_line_left"></div>
<div class="strap_line_left white"></div>
<div class="strap_line_right"></div>
<div class="strap_line_right white"></div>
</div>
</div>
</div>
body{
margin: 0;
padding: 0;
background: #e0e0e0;
font-family: 'Helvetica Neue';
}
#information{
position: fixed;
top: 50px;
left: 700px;
}
#information .social{
position: relative;
}
#information .social .fb{
position: absolute;
left: 0;
}
#information .social .tw{
position: absolute;
left: 140px;
}
#information .name{
position: relative;
left: 30px;
}
#information .name div{
display: inline-block;
width: 20px;
font-weight: bold;
font-size: 20px;
}
#information .name div.triangle{
width: 0;
height: 0;
border-right: 16px solid transparent;
border-bottom: 16px solid black;
border-left: 16px solid transparent;
}
#information .name div.watch{
position: absolute;
top: 25px;
left: 0;
font-weight: normal;
font-size: 13px;
}
#information .text{
position: relative;
left: 30px;
padding: 20px 0 40px 0;
width: 330px;
border-bottom: 1px solid #333;
font-style: italic;
font-size: 12px;
line-height: 22px;
}
#information .change{
padding: 10px 0 0 0;
width: 360px;
}
#information .change li{
padding: 10px 10px 10px 30px;
height: 20px;
list-style-type: none;
cursor: pointer;
}
#information .change li.selected{
background: #000;
color: #fff;
}
#maskwatch{
position: relative;
width: 700px;
height: 960px;
}
#maskwatch .night_icon{
position: absolute;
top: 80px;
left: 50px;
z-index: 10000;
display: none;
width: 250px;
height: 250px;
}
#maskwatch .night_icon .icon{
position: absolute;
width: 22px;
height: 22px;
border-radius: 100%;
}
#maskwatch .night_icon .icon1{
top: 0px;
left: 0px;
z-index: 1;
border: 2px solid #fff;
}
#maskwatch .night_icon .icon2{
top: 2px;
left: 2px;
z-index: 2;
width: 20px;
height: 20px;
background: #000;
}
#maskwatch .night_icon .icon3{
top: -1px;
left: 7px;
z-index: 3;
width: 20px;
height: 20px;
border: 2px solid #fff;
}
#maskwatch .night_icon .icon4{
top: -7px;
left: 14px;
z-index: 4;
width: 30px;
height: 30px;
background: #000;
}
#maskwatch .day_icon{
position: absolute;
top: 80px;
left: 50px;
}
#maskwatch .day_icon .sun{
width: 22px;
height: 22px;
border: 3px solid #000;
border-radius: 100%;
}
#maskwatch .day_icon .is_shining{
}
#maskwatch .day_icon .is_shining .shine{
position: absolute;
top: 50%;
left: 50%;
margin: -3px 0 0 -1px;
width: 2px;
height: 6px;
background: #000;
}
#maskwatch .day_icon .is_shining .shine:nth-child(1){
-webkit-transform: rotate(0deg) translate(0px, -20px);
-moz-transform: rotate(0deg) translate(0px, -20px);
-ms-transform: rotate(0deg) translate(0px, -20px);
-o-transform: rotate(0deg) translate(0px, -20px);
transform: rotate(0deg) translate(0px, -20px);
}
#maskwatch .day_icon .is_shining .shine:nth-child(2){
-webkit-transform: rotate(30deg) translate(0px, -20px);
-moz-transform: rotate(30deg) translate(0px, -20px);
-ms-transform: rotate(30deg) translate(0px, -20px);
-o-transform: rotate(30deg) translate(0px, -20px);
transform: rotate(30deg) translate(0px, -20px);
}
#maskwatch .day_icon .is_shining .shine:nth-child(3){
-webkit-transform: rotate(60deg) translate(0px, -20px);
-moz-transform: rotate(60deg) translate(0px, -20px);
-ms-transform: rotate(60deg) translate(0px, -20px);
-o-transform: rotate(60deg) translate(0px, -20px);
transform: rotate(60deg) translate(0px, -20px);
}
#maskwatch .day_icon .is_shining .shine:nth-child(4){
-webkit-transform: rotate(90deg) translate(0px, -20px);
-moz-transform: rotate(90deg) translate(0px, -20px);
-ms-transform: rotate(90deg) translate(0px, -20px);
-o-transform: rotate(90deg) translate(0px, -20px);
transform: rotate(90deg) translate(0px, -20px);
}
#maskwatch .day_icon .is_shining .shine:nth-child(5){
-webkit-transform: rotate(120deg) translate(0px, -20px);
-moz-transform: rotate(120deg) translate(0px, -20px);
-ms-transform: rotate(120deg) translate(0px, -20px);
-o-transform: rotate(120deg) translate(0px, -20px);
transform: rotate(120deg) translate(0px, -20px);
}
#maskwatch .day_icon .is_shining .shine:nth-child(6){
-webkit-transform: rotate(150deg) translate(0px, -20px);
-moz-transform: rotate(150deg) translate(0px, -20px);
-ms-transform: rotate(150deg) translate(0px, -20px);
-o-transform: rotate(150deg) translate(0px, -20px);
transform: rotate(150deg) translate(0px, -20px);
}
#maskwatch .day_icon .is_shining .shine:nth-child(7){
-webkit-transform: rotate(180deg) translate(0px, -20px);
-moz-transform: rotate(180deg) translate(0px, -20px);
-ms-transform: rotate(180deg) translate(0px, -20px);
-o-transform: rotate(180deg) translate(0px, -20px);
transform: rotate(180deg) translate(0px, -20px);
}
#maskwatch .day_icon .is_shining .shine:nth-child(8){
-webkit-transform: rotate(210deg) translate(0px, -20px);
-moz-transform: rotate(210deg) translate(0px, -20px);
-ms-transform: rotate(210deg) translate(0px, -20px);
-o-transform: rotate(210deg) translate(0px, -20px);
transform: rotate(210deg) translate(0px, -20px);
}
#maskwatch .day_icon .is_shining .shine:nth-child(9){
-webkit-transform: rotate(240deg) translate(0px, -20px);
-moz-transform: rotate(240deg) translate(0px, -20px);
-ms-transform: rotate(240deg) translate(0px, -20px);
-o-transform: rotate(240deg) translate(0px, -20px);
transform: rotate(240deg) translate(0px, -20px);
}
#maskwatch .day_icon .is_shining .shine:nth-child(10){
-webkit-transform: rotate(270deg) translate(0px, -20px);
-moz-transform: rotate(270deg) translate(0px, -20px);
-ms-transform: rotate(270deg) translate(0px, -20px);
-o-transform: rotate(270deg) translate(0px, -20px);
transform: rotate(270deg) translate(0px, -20px);
}
#maskwatch .day_icon .is_shining .shine:nth-child(11){
-webkit-transform: rotate(300deg) translate(0px, -20px);
-moz-transform: rotate(300deg) translate(0px, -20px);
-ms-transform: rotate(300deg) translate(0px, -20px);
-o-transform: rotate(300deg) translate(0px, -20px);
transform: rotate(300deg) translate(0px, -20px);
}
#maskwatch .day_icon .is_shining .shine:nth-child(12){
-webkit-transform: rotate(330deg) translate(0px, -20px);
-moz-transform: rotate(330deg) translate(0px, -20px);
-ms-transform: rotate(330deg) translate(0px, -20px);
-o-transform: rotate(330deg) translate(0px, -20px);
transform: rotate(330deg) translate(0px, -20px);
}
#maskwatch .container{
position: relative;
margin: 0 0 0 100px;
width: 520px;
}
#maskwatch .quadrant_border_white{
position: absolute;
top: 187px;
left: -41px;
z-index: 51;
width: 500px;
height: 500px;
border-radius: 100%;
-webkit-transform: translate3d(0px, 0px, 360px);
}
#maskwatch .day .quadrant_border_white{
border: 41px solid #fff;
}
#maskwatch .night .quadrant_border_white{
border: 41px solid #292929;
}
#maskwatch .quadrant_border_gray{
position: absolute;
top: 228px;
left: -3px;
z-index: 50;
width: 500px;
height: 500px;
border-radius: 100%;
-webkit-transform: translate3d(0px, 0px, 360px);
}
#maskwatch .day .quadrant_border_gray{
border: 3px solid #9e9e9e;
}
#maskwatch .night .quadrant_border_gray{
border: 3px solid #000;
}
#maskwatch .quadrant_container{
position: relative;
top: 230px;
z-index: 30;
width: 500px;
height: 500px;
-webkit-transform: translate3d(0px, 0px, 360px);
}
#maskwatch .quadrant{
position: absolute;
top: 1px;
left: 1px;
z-index: 1;
width: 498px;
height: 498px;
border-radius: 100%;
}
#maskwatch .day .quadrant{
background: #272727;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iNiUiIHN0b3AtY29sb3I9IiMyNzI3MjciIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI5OSUiIHN0b3AtY29sb3I9IiM3MDcwNzAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvcmFkaWFsR3JhZGllbnQ+CiAgPHJlY3QgeD0iLTUwIiB5PSItNTAiIHdpZHRoPSIxMDEiIGhlaWdodD0iMTAxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-radial-gradient(center, ellipse cover, #272727 6%, #707070 99%);
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(6%,#272727), color-stop(99%,#707070));
background: -webkit-radial-gradient(center, ellipse cover, #272727 6%,#707070 99%);
background: -o-radial-gradient(center, ellipse cover, #272727 6%,#707070 99%);
background: -ms-radial-gradient(center, ellipse cover, #272727 6%,#707070 99%);
background: radial-gradient(ellipse at center, #272727 6%,#707070 99%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#272727', endColorstr='#707070',GradientType=1 );
}
#maskwatch .night .quadrant{
background: rgb(5,5,5);
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiMwNTA1MDUiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMTAxMDEwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L3JhZGlhbEdyYWRpZW50PgogIDxyZWN0IHg9Ii01MCIgeT0iLTUwIiB3aWR0aD0iMTAxIiBoZWlnaHQ9IjEwMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-radial-gradient(center, ellipse cover, rgba(5,5,5,1) 0%, rgba(16,16,16,1) 100%);
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(5,5,5,1)), color-stop(100%,rgba(16,16,16,1)));
background: -webkit-radial-gradient(center, ellipse cover, rgba(5,5,5,1) 0%,rgba(16,16,16,1) 100%);
background: -o-radial-gradient(center, ellipse cover, rgba(5,5,5,1) 0%,rgba(16,16,16,1) 100%);
background: -ms-radial-gradient(center, ellipse cover, rgba(5,5,5,1) 0%,rgba(16,16,16,1) 100%);
background: radial-gradient(ellipse at center, rgba(5,5,5,1) 0%,rgba(16,16,16,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#050505', endColorstr='#101010',GradientType=1 );
}
#maskwatch .quadrant_texture{
position: absolute;
top: 1px;
left: 1px;
z-index: 1;
width: 498px;
height: 498px;
border-radius: 100%;
background-image: -webkit-radial-gradient(rgba(255, 255, 255, .1) 7%, transparent 7%),
-webkit-radial-gradient(rgba(0, 0, 0, .3) 8%, transparent 13%),
-webkit-radial-gradient(rgba(255, 255, 255, .1) 7%, transparent 7%);
background-position: 0 0, 2px 2px, 4px 4px;
background-size:7px 7px, 7px 7px, 7px 7px ;
}
#maskwatch .glass{
position: absolute;
z-index: 30;
width: 500px;
height: 500px;
border-radius: 100%;
box-shadow: inset 0px 13px 5px black;
opacity: 0.1;
}
#maskwatch .day .glass{
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMTAwJSIgeDI9IjEwMCUiIHkyPSIwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjIlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAiLz4KICAgIDxzdG9wIG9mZnNldD0iNDUlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuNjciLz4KICAgIDxzdG9wIG9mZnNldD0iNDYlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuNjkiLz4KICAgIDxzdG9wIG9mZnNldD0iNDklIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuNyIvPgogICAgPHN0b3Agb2Zmc2V0PSI1MiUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC42NiIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
background: -moz-linear-gradient(45deg, rgba(0,0,0,0) 2%, rgba(0,0,0,0.67) 45%, rgba(0,0,0,0.69) 46%, rgba(0,0,0,0.7) 49%, rgba(0,0,0,0.66) 52%, rgba(0,0,0,0) 100%);
background: -webkit-gradient(linear, left bottom, right top, color-stop(2%,rgba(0,0,0,0)), color-stop(45%,rgba(0,0,0,0.67)), color-stop(46%,rgba(0,0,0,0.69)), color-stop(49%,rgba(0,0,0,0.7)), color-stop(52%,rgba(0,0,0,0.66)), color-stop(100%,rgba(0,0,0,0)));
background: -webkit-linear-gradient(45deg, rgba(0,0,0,0) 2%,rgba(0,0,0,0.67) 45%,rgba(0,0,0,0.69) 46%,rgba(0,0,0,0.7) 49%,rgba(0,0,0,0.66) 52%,rgba(0,0,0,0) 100%);
background: -o-linear-gradient(45deg, rgba(0,0,0,0) 2%,rgba(0,0,0,0.67) 45%,rgba(0,0,0,0.69) 46%,rgba(0,0,0,0.7) 49%,rgba(0,0,0,0.66) 52%,rgba(0,0,0,0) 100%);
background: -ms-linear-gradient(45deg, rgba(0,0,0,0) 2%,rgba(0,0,0,0.67) 45%,rgba(0,0,0,0.69) 46%,rgba(0,0,0,0.7) 49%,rgba(0,0,0,0.66) 52%,rgba(0,0,0,0) 100%);
background: linear-gradient(45deg, rgba(0,0,0,0) 2%,rgba(0,0,0,0.67) 45%,rgba(0,0,0,0.69) 46%,rgba(0,0,0,0.7) 49%,rgba(0,0,0,0.66) 52%,rgba(0,0,0,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#00000000',GradientType=1 );
}
#maskwatch .night .glass{
}
#maskwatch .first_rotary{
position: relative;
z-index: 20;
opacity: 1;
}
#maskwatch .second_rotary{
position: relative;
top: 137px;
left: 137px;
z-index: 10;
opacity: 1;
}
#maskwatch .hours_capsule{
position: absolute;
clip: rect(0px,250px,500px,0px);
width: 230px;
height: 230px;
border-radius: 100%;
-webkit-transition: all 1.5s ease;
-moz-transition: all 1.5s ease;
-ms-transition: all 1.5s ease;
-o-transition: all 1.5s ease;
transition: all 1.5s ease;
-webkit-transform: rotate(-15deg);
-moz-transform: rotate(-15deg);
-ms-transform: rotate(-15deg);
-o-transform: rotate(-15deg);
transform: rotate(-15deg);
}
#maskwatch .day .hours_capsule{
border: 135px solid #f5f5f5;
}
#maskwatch .night .hours_capsule{
border: 135px solid #242424;
}
#maskwatch .hours_capsule.fill{
-webkit-transform: rotate(-165deg);
-moz-transform: rotate(-165deg);
-ms-transform: rotate(-165deg);
-o-transform: rotate(-165deg);
transform: rotate(-165deg);
}
#maskwatch .minutes_capsule{
position: absolute;
clip: rect(0px,113px,226px,0px);
width: 226px;
height: 226px;
border-radius: 100%;
-webkit-transition: all 1.5s ease;
-moz-transition: all 1.5s ease;
-ms-transition: all 1.5s ease;
-o-transition: all 1.5s ease;
transition: all 1.5s ease;
-webkit-transform: rotate(-15deg);
-moz-transform: rotate(-15deg);
-ms-transform: rotate(-15deg);
-o-transform: rotate(-15deg);
transform: rotate(-15deg);
}
#maskwatch .day .minutes_capsule{
background-color: #f5f5f5;
}
#maskwatch .night .minutes_capsule{
background-color: #242424;
}
#maskwatch .minutes_capsule.fill{
-webkit-transform: rotate(-165deg);
-moz-transform: rotate(-165deg);
-ms-transform: rotate(-165deg);
-o-transform: rotate(-165deg);
transform: rotate(-165deg);
}
#maskwatch .hours{
position: absolute;
z-index: 1;
width: 500px;
height: 500px;
}
#maskwatch .hours label{
position: absolute;
top: 50%;
left: 50%;
display: block;
margin: -30px 0 0 -30px;
width: 60px;
height: 60px;
color: #fff;
text-align: center;
text-shadow: 0 1px 0 #444;
font-weight: bold;
font-size: 60px;
}
#maskwatch .night .hours label{
text-shadow: 0 0 5px white, 0 0 2px white, 0 0 20px white;
}
#maskwatch .hours label:nth-child(1){
-webkit-transform: rotate(0deg) translate(-5px, -200px);
-moz-transform: rotate(0deg) translate(-5px, -200px);
-ms-transform: rotate(0deg) translate(-5px, -200px);
-o-transform: rotate(0deg) translate(-5px, -200px);
transform: rotate(0deg) translate(-5px, -200px);
}
#maskwatch .hours label:nth-child(2){
-webkit-transform: rotate(30deg) translate(0px, -200px);
-moz-transform: rotate(30deg) translate(0px, -200px);
-ms-transform: rotate(30deg) translate(0px, -200px);
-o-transform: rotate(30deg) translate(0px, -200px);
transform: rotate(30deg) translate(0px, -200px);
}
#maskwatch .hours label:nth-child(3){
-webkit-transform: rotate(60deg) translate(0px, -200px);
-moz-transform: rotate(60deg) translate(0px, -200px);
-ms-transform: rotate(60deg) translate(0px, -200px);
-o-transform: rotate(60deg) translate(0px, -200px);
transform: rotate(60deg) translate(0px, -200px);
}
#maskwatch .hours label:nth-child(4){
-webkit-transform: rotate(90deg) translate(0px, -200px);
-moz-transform: rotate(90deg) translate(0px, -200px);
-ms-transform: rotate(90deg) translate(0px, -200px);
-o-transform: rotate(90deg) translate(0px, -200px);
transform: rotate(90deg) translate(0px, -200px);
}
#maskwatch .hours label:nth-child(5){
-webkit-transform: rotate(120deg) translate(0px, -200px);
-moz-transform: rotate(120deg) translate(0px, -200px);
-ms-transform: rotate(120deg) translate(0px, -200px);
-o-transform: rotate(120deg) translate(0px, -200px);
transform: rotate(120deg) translate(0px, -200px);
}
#maskwatch .hours label:nth-child(6){
-webkit-transform: rotate(150deg) translate(0px, -200px);
-moz-transform: rotate(150deg) translate(0px, -200px);
-ms-transform: rotate(150deg) translate(0px, -200px);
-o-transform: rotate(150deg) translate(0px, -200px);
transform: rotate(150deg) translate(0px, -200px);
}
#maskwatch .hours label:nth-child(7){
-webkit-transform: rotate(180deg) translate(0px, -200px);
-moz-transform: rotate(180deg) translate(0px, -200px);
-ms-transform: rotate(180deg) translate(0px, -200px);
-o-transform: rotate(180deg) translate(0px, -200px);
transform: rotate(180deg) translate(0px, -200px);
}
#maskwatch .hours label:nth-child(8){
-webkit-transform: rotate(210deg) translate(0px, -200px);
-moz-transform: rotate(210deg) translate(0px, -200px);
-ms-transform: rotate(210deg) translate(0px, -200px);
-o-transform: rotate(210deg) translate(0px, -200px);
transform: rotate(210deg) translate(0px, -200px);
}
#maskwatch .hours label:nth-child(9){
-webkit-transform: rotate(240deg) translate(0px, -200px);
-moz-transform: rotate(240deg) translate(0px, -200px);
-ms-transform: rotate(240deg) translate(0px, -200px);
-o-transform: rotate(240deg) translate(0px, -200px);
transform: rotate(240deg) translate(0px, -200px);
}
#maskwatch .hours label:nth-child(10){
-webkit-transform: rotate(270deg) translate(0px, -200px);
-moz-transform: rotate(270deg) translate(0px, -200px);
-ms-transform: rotate(270deg) translate(0px, -200px);
-o-transform: rotate(270deg) translate(0px, -200px);
transform: rotate(270deg) translate(0px, -200px);
}
#maskwatch .hours label:nth-child(11){
-webkit-transform: rotate(300deg) translate(0px, -200px);
-moz-transform: rotate(300deg) translate(0px, -200px);
-ms-transform: rotate(300deg) translate(0px, -200px);
-o-transform: rotate(300deg) translate(0px, -200px);
transform: rotate(300deg) translate(0px, -200px);
}
#maskwatch .hours label:nth-child(12){
-webkit-transform: rotate(330deg) translate(0px, -200px);
-moz-transform: rotate(330deg) translate(0px, -200px);
-ms-transform: rotate(330deg) translate(0px, -200px);
-o-transform: rotate(330deg) translate(0px, -200px);
transform: rotate(330deg) translate(0px, -200px);
}
#maskwatch .minutes{
position: absolute;
z-index: 1;
width: 500px;
height: 500px;
}
#maskwatch .minutes label{
position: absolute;
top: 50%;
left: 50%;
display: block;
margin: -11px 0 0 -11px;
width: 22px;
height: 22px;
color: #fff;
text-align: center;
text-shadow: 0 1px 0 #000;
font-size: 22px;
}
#maskwatch .night .minutes label{
text-shadow: 0 0 5px white, 0 0 2px white, 0 0 20px white;
}
#maskwatch .minutes label:nth-child(1){
-webkit-transform: rotate(0deg) translate(0px, -90px);
-moz-transform: rotate(0deg) translate(0px, -90px);
-ms-transform: rotate(0deg) translate(0px, -90px);
-o-transform: rotate(0deg) translate(0px, -90px);
transform: rotate(0deg) translate(0px, -90px);
}
#maskwatch .minutes label:nth-child(2){
-webkit-transform: rotate(30deg) translate(0px, -90px);
-moz-transform: rotate(30deg) translate(0px, -90px);
-ms-transform: rotate(30deg) translate(0px, -90px);
-o-transform: rotate(30deg) translate(0px, -90px);
transform: rotate(30deg) translate(0px, -90px);
}
#maskwatch .minutes label:nth-child(3){
-webkit-transform: rotate(60deg) translate(0px, -90px);
-moz-transform: rotate(60deg) translate(0px, -90px);
-ms-transform: rotate(60deg) translate(0px, -90px);
-o-transform: rotate(60deg) translate(0px, -90px);
transform: rotate(60deg) translate(0px, -90px);
}
#maskwatch .minutes label:nth-child(4){
-webkit-transform: rotate(90deg) translate(0px, -90px);
-moz-transform: rotate(90deg) translate(0px, -90px);
-ms-transform: rotate(90deg) translate(0px, -90px);
-o-transform: rotate(90deg) translate(0px, -90px);
transform: rotate(90deg) translate(0px, -90px);
}
#maskwatch .minutes label:nth-child(5){
-webkit-transform: rotate(120deg) translate(0px, -90px);
-moz-transform: rotate(120deg) translate(0px, -90px);
-ms-transform: rotate(120deg) translate(0px, -90px);
-o-transform: rotate(120deg) translate(0px, -90px);
transform: rotate(120deg) translate(0px, -90px);
}
#maskwatch .minutes label:nth-child(6){
-webkit-transform: rotate(150deg) translate(0px, -90px);
-moz-transform: rotate(150deg) translate(0px, -90px);
-ms-transform: rotate(150deg) translate(0px, -90px);
-o-transform: rotate(150deg) translate(0px, -90px);
transform: rotate(150deg) translate(0px, -90px);
}
#maskwatch .minutes label:nth-child(7){
-webkit-transform: rotate(180deg) translate(0px, -90px);
-moz-transform: rotate(180deg) translate(0px, -90px);
-ms-transform: rotate(180deg) translate(0px, -90px);
-o-transform: rotate(180deg) translate(0px, -90px);
transform: rotate(180deg) translate(0px, -90px);
}
#maskwatch .minutes label:nth-child(8){
-webkit-transform: rotate(210deg) translate(0px, -90px);
-moz-transform: rotate(210deg) translate(0px, -90px);
-ms-transform: rotate(210deg) translate(0px, -90px);
-o-transform: rotate(210deg) translate(0px, -90px);
transform: rotate(210deg) translate(0px, -90px);
}
#maskwatch .minutes label:nth-child(9){
-webkit-transform: rotate(240deg) translate(0px, -90px);
-moz-transform: rotate(240deg) translate(0px, -90px);
-ms-transform: rotate(240deg) translate(0px, -90px);
-o-transform: rotate(240deg) translate(0px, -90px);
transform: rotate(240deg) translate(0px, -90px);
}
#maskwatch .minutes label:nth-child(10){
-webkit-transform: rotate(270deg) translate(0px, -90px);
-moz-transform: rotate(270deg) translate(0px, -90px);
-ms-transform: rotate(270deg) translate(0px, -90px);
-o-transform: rotate(270deg) translate(0px, -90px);
transform: rotate(270deg) translate(0px, -90px);
}
#maskwatch .minutes label:nth-child(11){
-webkit-transform: rotate(300deg) translate(0px, -90px);
-moz-transform: rotate(300deg) translate(0px, -90px);
-ms-transform: rotate(300deg) translate(0px, -90px);
-o-transform: rotate(300deg) translate(0px, -90px);
transform: rotate(300deg) translate(0px, -90px);
}
#maskwatch .minutes label:nth-child(12){
-webkit-transform: rotate(330deg) translate(0px, -90px);
-moz-transform: rotate(330deg) translate(0px, -90px);
-ms-transform: rotate(330deg) translate(0px, -90px);
-o-transform: rotate(330deg) translate(0px, -90px);
transform: rotate(330deg) translate(0px, -90px);
}
#maskwatch .lines{
position: absolute;
top: 50%;
left: 50%;
z-index: 1;
margin: -250px 0 0 -250px;
width: 500px;
height: 500px;
}
#maskwatch .lines hr{
position: absolute;
top: 50%;
margin-top: -1px;
width: 100%;
height: 0;
}
#maskwatch .day .lines hr{
border-top: 1px solid #3C3D3F;
border-bottom: 1px solid #666769;
}
#maskwatch .night .lines hr{
border-top: 1px solid #101010;
border-bottom: 1px solid #101010;
}
#maskwatch .lines hr:nth-child(1){
-webkit-transform: rotate(-75deg);
-moz-transform: rotate(-75deg);
-ms-transform: rotate(-75deg);
-o-transform: rotate(-75deg);
transform: rotate(-75deg);
}
#maskwatch .lines hr:nth-child(2){
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
}
#maskwatch .lines hr:nth-child(3){
-webkit-transform: rotate(-15deg);
-moz-transform: rotate(-15deg);
-ms-transform: rotate(-15deg);
-o-transform: rotate(-15deg);
transform: rotate(-15deg);
}
#maskwatch .lines hr:nth-child(4){
-webkit-transform: rotate(15deg);
-moz-transform: rotate(15deg);
-ms-transform: rotate(15deg);
-o-transform: rotate(15deg);
transform: rotate(15deg);
}
#maskwatch .lines hr:nth-child(5){
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
#maskwatch .lines hr:nth-child(6){
-webkit-transform: rotate(75deg);
-moz-transform: rotate(75deg);
-ms-transform: rotate(75deg);
-o-transform: rotate(75deg);
transform: rotate(75deg);
}
#maskwatch .lines hr:nth-child(7){
-webkit-transform: rotate(105deg);
-moz-transform: rotate(105deg);
-ms-transform: rotate(105deg);
-o-transform: rotate(105deg);
transform: rotate(105deg);
}
#maskwatch .lines hr:nth-child(8){
-webkit-transform: rotate(135deg);
-moz-transform: rotate(135deg);
-ms-transform: rotate(135deg);
-o-transform: rotate(135deg);
transform: rotate(135deg);
}
#maskwatch .lines hr:nth-child(9){
-webkit-transform: rotate(165deg);
-moz-transform: rotate(165deg);
-ms-transform: rotate(165deg);
-o-transform: rotate(165deg);
transform: rotate(165deg);
}
#maskwatch .top_strap{
position: absolute;
left: 50%;
z-index: 1;
display: block;
margin: 0 0 0 -140px;
width: 260px;
height: 270px;
border-radius: 15% 15% 40% 80% / 30% 40% 0% 0;
-webkit-transform: perspective(460px) scaleZ(1) rotateX(35deg);
-moz-transform: perspective(460px) scaleZ(1) rotateX(35deg);
-ms-transform: perspective(460px) scaleZ(1) rotateX(35deg);
-o-transform: perspective(460px) scaleZ(1) rotateX(35deg);
transform: perspective(460px) scaleZ(1) rotateX(35deg);
}
#maskwatch .day .top_strap{
background: #ffffff;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjIwJSIgc3RvcC1jb2xvcj0iI2YwZjBmMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQzJSIgc3RvcC1jb2xvcj0iI2ZkZmRmZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMGYwZjAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #ffffff 0%, #f0f0f0 20%, #fdfdfd 43%, #f0f0f0 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(20%,#f0f0f0), color-stop(43%,#fdfdfd), color-stop(100%,#f0f0f0));
background: -webkit-linear-gradient(top, #ffffff 0%,#f0f0f0 20%,#fdfdfd 43%,#f0f0f0 100%);
background: -o-linear-gradient(top, #ffffff 0%,#f0f0f0 20%,#fdfdfd 43%,#f0f0f0 100%);
background: -ms-linear-gradient(top, #ffffff 0%,#f0f0f0 20%,#fdfdfd 43%,#f0f0f0 100%);
background: linear-gradient(to bottom, #ffffff 0%,#f0f0f0 20%,#fdfdfd 43%,#f0f0f0 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f0f0f0',GradientType=0 );
}
#maskwatch .night .top_strap{
background: rgb(24,24,24);
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzE4MTgxOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjM0JSIgc3RvcC1jb2xvcj0iIzE2MTYxNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjYzJSIgc3RvcC1jb2xvcj0iIzI0MjQyNCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxYTFhMWEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, rgba(24,24,24,1) 0%, rgba(22,22,22,1) 34%, rgba(36,36,36,1) 63%, rgba(26,26,26,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(24,24,24,1)), color-stop(34%,rgba(22,22,22,1)), color-stop(63%,rgba(36,36,36,1)), color-stop(100%,rgba(26,26,26,1)));
background: -webkit-linear-gradient(top, rgba(24,24,24,1) 0%,rgba(22,22,22,1) 34%,rgba(36,36,36,1) 63%,rgba(26,26,26,1) 100%);
background: -o-linear-gradient(top, rgba(24,24,24,1) 0%,rgba(22,22,22,1) 34%,rgba(36,36,36,1) 63%,rgba(26,26,26,1) 100%);
background: -ms-linear-gradient(top, rgba(24,24,24,1) 0%,rgba(22,22,22,1) 34%,rgba(36,36,36,1) 63%,rgba(26,26,26,1) 100%);
background: linear-gradient(to bottom, rgba(24,24,24,1) 0%,rgba(22,22,22,1) 34%,rgba(36,36,36,1) 63%,rgba(26,26,26,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#181818', endColorstr='#1a1a1a',GradientType=0 );
}
#maskwatch .strap_line_left{
position: absolute;
left: 8px;
width: 50px;
height: 255px;
border-width: 1px;
border-style: solid;
border-radius: 50px 0 0 2px;
}
#maskwatch .day .strap_line_left{
border-color: transparent transparent transparent #e3e3e3;
}
#maskwatch .night .strap_line_left{
border-color: transparent transparent transparent #000;
}
#maskwatch .day .strap_line_left.white{
left: 7px;
border-color: transparent transparent transparent #f5f5f5;
}
#maskwatch .night .strap_line_left.white{
left: 7px;
border-color: transparent transparent transparent #1c1c1c;
}
#maskwatch .strap_line_right{
position: absolute;
right: 7px;
width: 50px;
height: 255px;
border-width: 1px;
border-style: solid;
border-radius: 2px 50px 0 0;
}
#maskwatch .day .strap_line_right{
border-color: transparent #e3e3e3 transparent transparent;
}
#maskwatch .night .strap_line_right{
border-color: transparent #000 transparent transparent;
}
#maskwatch .day .strap_line_right.white{
right: 6px;
border-color: transparent #f5f5f5 transparent transparent;
}
#maskwatch .night .strap_line_right.white{
right: 12px;
border-color: transparent #1c1c1c transparent transparent;
}
#maskwatch .bottom_strap{
position: absolute;
top: 710px;
left: 50%;
z-index: 1;
display: block;
margin: 0 0 0 -140px;
width: 260px;
height: 270px;
border-radius: 0 0px 30px 30px;
-webkit-transform: perspective(460px) scaleZ(-1) rotateX(35deg);
-moz-transform: perspective(460px) scaleZ(-1) rotateX(35deg);
-ms-transform: perspective(460px) scaleZ(-1) rotateX(35deg);
-o-transform: perspective(460px) scaleZ(-1) rotateX(35deg);
transform: perspective(460px) scaleZ(-1) rotateX(35deg);
}
#maskwatch .day .bottom_strap{
background: #e3e3e3;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2UzZTNlMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMwJSIgc3RvcC1jb2xvcj0iI2ZkZmRmZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlZGVkZWQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #e3e3e3 0%, #fdfdfd 30%, #ededed 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e3e3e3), color-stop(30%,#fdfdfd), color-stop(100%,#ededed));
background: -webkit-linear-gradient(top, #e3e3e3 0%,#fdfdfd 30%,#ededed 100%);
background: -o-linear-gradient(top, #e3e3e3 0%,#fdfdfd 30%,#ededed 100%);
background: -ms-linear-gradient(top, #e3e3e3 0%,#fdfdfd 30%,#ededed 100%);
background: linear-gradient(to bottom, #e3e3e3 0%,#fdfdfd 30%,#ededed 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e3e3e3', endColorstr='#ededed',GradientType=0 );
}
#maskwatch .night .bottom_strap{
background: rgb(14,14,14);
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzBlMGUwZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQ0JSIgc3RvcC1jb2xvcj0iIzI4MjgyOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjU0JSIgc3RvcC1jb2xvcj0iIzE5MTkxOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxNjE2MTYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, rgba(14,14,14,1) 0%, rgba(40,40,40,1) 44%, rgba(25,25,25,1) 54%, rgba(22,22,22,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(14,14,14,1)), color-stop(44%,rgba(40,40,40,1)), color-stop(54%,rgba(25,25,25,1)), color-stop(100%,rgba(22,22,22,1)));
background: -webkit-linear-gradient(top, rgba(14,14,14,1) 0%,rgba(40,40,40,1) 44%,rgba(25,25,25,1) 54%,rgba(22,22,22,1) 100%);
background: -o-linear-gradient(top, rgba(14,14,14,1) 0%,rgba(40,40,40,1) 44%,rgba(25,25,25,1) 54%,rgba(22,22,22,1) 100%);
background: -ms-linear-gradient(top, rgba(14,14,14,1) 0%,rgba(40,40,40,1) 44%,rgba(25,25,25,1) 54%,rgba(22,22,22,1) 100%);
background: linear-gradient(to bottom, rgba(14,14,14,1) 0%,rgba(40,40,40,1) 44%,rgba(25,25,25,1) 54%,rgba(22,22,22,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0e0e0e', endColorstr='#161616',GradientType=0 );
}
#maskwatch .bottom_strap .strap_line_left{
position: absolute;
top: 10px;
left: 8px;
width: 50px;
height: 255px;
border-width: 1px;
border-style: solid;
border-radius: 0px 0px 0px 20px;
}
#maskwatch .day .bottom_strap .strap_line_left{
border-color: transparent transparent transparent #e3e3e3;
}
#maskwatch .night .bottom_strap .strap_line_left{
border-color: transparent transparent transparent #000;
}
#maskwatch .day .bottom_strap .strap_line_left.white{
left: 7px;
border-color: transparent transparent transparent #f5f5f5;
}
#maskwatch .night .bottom_strap .strap_line_left.white{
left: 7px;
border-color: transparent transparent transparent #1c1c1c;
}
#maskwatch .bottom_strap .strap_line_right{
position: absolute;
top: 10px;
right: 8px;
width: 50px;
height: 255px;
border-width: 1px;
border-style: solid;
border-radius: 0px 0px 20px 0;
}
#maskwatch .day .bottom_strap .strap_line_right{
border-color: transparent #e3e3e3 transparent transparent;
}
#maskwatch .night .bottom_strap .strap_line_right{
border-color: transparent #000 transparent transparent;
}
#maskwatch .day .bottom_strap .strap_line_right.white{
right: 7px;
border-color: transparent #f5f5f5 transparent transparent;
}
#maskwatch .night .bottom_strap .strap_line_right.white{
right: 7px;
border-color: transparent #1c1c1c transparent transparent;
}
#maskwatch .switch{
position: absolute;
top: 230px;
right: -64px;
width: 25px;
height: 50px;
border-radius: 0px 5px 5px 0;
}
#maskwatch .day .switch{
background: #f3f3f3;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YzZjNmMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjI1JSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2YzZjNmMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijc1JSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmM2YzZjMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #f3f3f3 0%, #ffffff 25%, #f3f3f3 50%, #ffffff 75%, #f3f3f3 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f3f3f3), color-stop(25%,#ffffff), color-stop(50%,#f3f3f3), color-stop(75%,#ffffff), color-stop(100%,#f3f3f3));
background: -webkit-linear-gradient(top, #f3f3f3 0%,#ffffff 25%,#f3f3f3 50%,#ffffff 75%,#f3f3f3 100%);
background: -o-linear-gradient(top, #f3f3f3 0%,#ffffff 25%,#f3f3f3 50%,#ffffff 75%,#f3f3f3 100%);
background: -ms-linear-gradient(top, #f3f3f3 0%,#ffffff 25%,#f3f3f3 50%,#ffffff 75%,#f3f3f3 100%);
background: linear-gradient(to bottom, #f3f3f3 0%,#ffffff 25%,#f3f3f3 50%,#ffffff 75%,#f3f3f3 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3f3f3', endColorstr='#f3f3f3',GradientType=0 );
}
#maskwatch .night .switch{
background: rgb(43,43,43);
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzJiMmIyYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjI1JSIgc3RvcC1jb2xvcj0iIzM1MzUzNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQ1JSIgc3RvcC1jb2xvcj0iIzJiMmIyYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY3JSIgc3RvcC1jb2xvcj0iIzM1MzUzNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxYTFhMWEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, rgba(43,43,43,1) 0%, rgba(53,53,53,1) 25%, rgba(43,43,43,1) 45%, rgba(53,53,53,1) 67%, rgba(26,26,26,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(43,43,43,1)), color-stop(25%,rgba(53,53,53,1)), color-stop(45%,rgba(43,43,43,1)), color-stop(67%,rgba(53,53,53,1)), color-stop(100%,rgba(26,26,26,1)));
background: -webkit-linear-gradient(top, rgba(43,43,43,1) 0%,rgba(53,53,53,1) 25%,rgba(43,43,43,1) 45%,rgba(53,53,53,1) 67%,rgba(26,26,26,1) 100%);
background: -o-linear-gradient(top, rgba(43,43,43,1) 0%,rgba(53,53,53,1) 25%,rgba(43,43,43,1) 45%,rgba(53,53,53,1) 67%,rgba(26,26,26,1) 100%);
background: -ms-linear-gradient(top, rgba(43,43,43,1) 0%,rgba(53,53,53,1) 25%,rgba(43,43,43,1) 45%,rgba(53,53,53,1) 67%,rgba(26,26,26,1) 100%);
background: linear-gradient(to bottom, rgba(43,43,43,1) 0%,rgba(53,53,53,1) 25%,rgba(43,43,43,1) 45%,rgba(53,53,53,1) 67%,rgba(26,26,26,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b2b2b', endColorstr='#1a1a1a',GradientType=0 );
}
$(function() {
var gmt = 99;
$('.change li:nth-child(1)').addClass('selected');
$('.change li').click(function(){
gmt = $(this).attr('role');
$('.change li').removeClass('selected');
$(this).addClass('selected');
});
setInterval( function() {
var rotate_angle = -15;
var rotate_angle2 = -165;
change_hour = (formatHour()*30)+rotate_angle;
change_hour2= (formatHour()*30)+rotate_angle2;
var rotate_hour = "rotate("+change_hour+"deg)";
var rotate_hour2 = "rotate("+change_hour2+"deg)";
$('.hours_capsule').css({ "transform": rotate_hour });
$('.hours_capsule.fill').css({ "transform": rotate_hour2 });
change_minute = (formatMinute()*30)+rotate_angle;
change_minute2= (formatMinute()*30)+rotate_angle2;
var rotate_minute = "rotate("+change_minute+"deg)";
var rotate_minute2 = "rotate("+change_minute2+"deg)";
$('.minutes_capsule').css({ "transform": rotate_minute });
$('.minutes_capsule.fill').css({ "transform": rotate_minute2 });
}, 1000 );
function changeTimeZone(offset) {
d = new Date();
utc = d.getTime() + (d.getTimezoneOffset() * 60000);
nd = new Date(utc + (3600000*offset)).getHours();
return nd.toLocaleString();
}
function formatHour(){
if(gmt==99)
var hours = new Date().getHours();
else
var hours = changeTimeZone(gmt);
changeDayLight(hours);
var hour = hours;
if (hour >= 12) {
hour = hours-12;
}
return hour;
}
function formatM(s){
return Math.floor(s/5);
}
function formatMinute(){
return formatM(new Date().getMinutes());
}
function changeDayLight(hours){
if(hours<7 || hours>=19) {
$('#maskwatch').css('background-color','#000');
$('.container').removeClass('day').addClass('night');
$('.day_icon').hide();
$('.night_icon').fadeIn(300);
}
else {
$('#maskwatch').css('background-color','transparent');
$('.container').removeClass('night').addClass('day');
$('.night_icon').hide();
$('.day_icon').fadeIn(300);
}
}
});
Also see: Tab Triggers