allume
Version:
A cross-platform package bootloader for javascript.
268 lines (240 loc) • 5.17 kB
CSS
/* Thank You! http://codepen.io/addyosmani/pen/avxmvN */
.fakeButtons {
height: 10px;
width: 10px;
border-radius: 50%;
border: 1px solid #000;
position: relative;
top: 6px;
left: 6px;
background-color: #ff3b47;
border-color: #9d252b;
display: inline-block;
}
.fakeMinimize {
left: 11px;
background-color: #ffc100;
border-color: #9d802c;
}
.fakeZoom {
left: 16px;
background-color: #00d742;
border-color: #049931;
}
.fakeMenu {
width: 550px;
box-sizing: border-box;
height: 25px;
background-color: #d2d2d2;
margin: 0 auto;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
}
.fakeBrowser,
.fakeScreen {
background-color: #151515;
box-sizing: border-box;
width: 550px;
height: 300px;
margin: 0 auto;
padding: 20px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
.fakeBrowser {
background-color: #c3c3c3;
padding: 0px;
text-align: left;
font-size: 1.25em;
font-family: monospace;
white-space: normal;
overflow: hidden;
}
.fakeAddressBar {
background-color: #e2e0e0;
height: 30px;
padding: 6px;
}
.fakeAddressBar > div {
height: 100%;
background-color: white;
border-radius: 20px;
line-height: 30px;
padding-left: 14px;
}
.fakeDevTools {
position: relative;
background-color: #e8e8e8;
height: 100px;
bottom: 0px;
width: 100%;
top: 180px;
}
.fakeDevTools > div {
font-size: 10px;
color: rgba(0,0,0,0.4);
background-color: rgba(0,0,0,0.05);
padding: 6px;
}
.fakeDevTools > p {
padding: 6px;
margin: 0px;
}
.fakeScreen > p {
position: relative;
/*left: 50%;*/
/*left: 20px;
margin-left: -8.5em;*/
text-align: left;
font-size: 1.25em;
font-family: monospace;
white-space: normal;
overflow: hidden;
width: 0;
margin: 0px;
}
.fakeScreen span {
color: #fff;
font-weight: bold;
}
.line1 {
/*color: #9CD9F0;*/
color:#ffffff;
-webkit-animation: type .5s 1s steps(20, end) forwards;
-moz-animation: type .5s 1s steps(20, end) forwards;
-o-animation: type .5s 1s steps(20, end) forwards;
animation: type .5s 1s steps(20, end) forwards;
}
.cursor1 {
-webkit-animation: blink 1s 2s 2 forwards;
-moz-animation: blink 1s 2s 2 forwards;
-o-animation: blink 1s 2s 2 forwards;
animation: blink 1s 2s 2 forwards;
}
.line2 {
color: #90afe0;
-webkit-animation: type .5s 4.25s steps(20, end) forwards;
-moz-animation: type .5s 4.25s steps(20, end) forwards;
-o-animation: type .5s 4.25s steps(20, end) forwards;
animation: type .5s 4.25s steps(20, end) forwards;
}
.cursor2 {
-webkit-animation: blink 1s 5.25s 2 forwards;
-moz-animation: blink 1s 5.25s 2 forwards;
-o-animation: blink 1s 5.25s 2 forwards;
animation: blink 1s 5.25s 2 forwards;
}
.line3 {
color: #1b84f7;
-webkit-animation: type .5s 7.5s steps(20, end) forwards;
-moz-animation: type .5s 7.5s steps(20, end) forwards;
-o-animation: type .5s 7.5s steps(20, end) forwards;
animation: type .5s 7.5s steps(20, end) forwards;
}
.cursor3 {
-webkit-animation: blink 1s 8.5s 2 forwards;
-moz-animation: blink 1s 8.5s 2 forwards;
-o-animation: blink 1s 8.5s 2 forwards;
animation: blink 1s 8.5s 2 forwards;
}
.line4 {
color: #fff;
-webkit-animation: type .5s 10.75s steps(20, end) forwards;
-moz-animation: type .5s 10.75s steps(20, end) forwards;
-o-animation: type .5s 10.75s steps(20, end) forwards;
animation: type .5s 10.75s steps(20, end) forwards;
}
.cursor4 {
-webkit-animation: blink 1s 11.5s infinite;
-moz-animation: blink 1s 8.5s infinite;
-o-animation: blink 1s 8.5s infinite;
animation: blink 1s 8.5s infinite;
}
@-webkit-keyframes blink {
0% {
opacity: 0;
}
40% {
opacity: 0;
}
50% {
opacity: 1;
}
90% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@-moz-keyframes blink {
0% {
opacity: 0;
}
40% {
opacity: 0;
}
50% {
opacity: 1;
}
90% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@-o-keyframes blink {
0% {
opacity: 0;
}
40% {
opacity: 0;
}
50% {
opacity: 1;
}
90% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes blink {
0% {
opacity: 0;
}
40% {
opacity: 0;
}
50% {
opacity: 1;
}
90% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@-webkit-keyframes type {
to {
width: 100%;
}
}
@-moz-keyframes type {
to {
width: 100%;
}
}
@-o-keyframes type {
to {
width: 100%;
}
}
@keyframes type {
to {
width: 100%;
}
}