silk-gui
Version:
GUI for developers and Node OS
270 lines (252 loc) • 6.89 kB
CSS
.loader {
position: absolute;
top: 0px;
left: 0px;
background-color: white;
width: 100%;
height: 100%;
z-index: 600;
background-color: #026873;
background-size: 13px 13px, 29px 29px, 37px 37px, 53px 53px;
background-image: -webkit-linear-gradient(0, rgba(255, 255, 255, .07) 50%, transparent 50%), -webkit-linear-gradient(0, rgba(255, 255, 255, .13) 50%, transparent 50%), -webkit-linear-gradient(0, transparent 50%, rgba(255, 255, 255, .17) 50%), -webkit-linear-gradient(0, transparent 50%, rgba(255, 255, 255, .19) 50%);
background-image: -moz-linear-gradient(0, rgba(255, 255, 255, .07) 50%, transparent 50%), -moz-linear-gradient(0, rgba(255, 255, 255, .13) 50%, transparent 50%), -moz-linear-gradient(0, transparent 50%, rgba(255, 255, 255, .17) 50%), -moz-linear-gradient(0, transparent 50%, rgba(255, 255, 255, .19) 50%);
background-image: linear-gradient(90deg, rgba(255, 255, 255, .07) 50%, transparent 50%), linear-gradient(90deg, rgba(255, 255, 255, .13) 50%, transparent 50%), linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, .17) 50%), linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, .19) 50%);
color: rgba(255, 255, 255, 0.5);
letter-spacing: 5px;
}
.loader h1 {
text-align: center;
width: 100%;
font-size: 50px;
font-family: arial;
position: absolute;
top: 50%;
margin-top: -25px;
-webkit-perspective: 200px;
}
.loader h1 span {
display: inline-block;
-webkit-animation: 3s flip;
-webkit-animation-iteration-count: infinite;
}
span:nth-child(1) {
-webkit-animation-delay: .5s ;
}
span:nth-child(2) {
-webkit-animation-delay: .7s ;
}
span:nth-child(3) {
-webkit-animation-delay: .9s ;
}
span:nth-child(4) {
-webkit-animation-delay: 1.1s ;
}
@-webkit-keyframes flip {
0% {
-webkit-transform: rotateX(0deg)
}
50% {
-webkit-transform: rotateX(0deg)
}
100% {
-webkit-transform: rotateX(360deg);
transform: rotateX(360deg);
}
}
/* Task Bar */
#taskBar {
-webkit-user-select: none;
z-index: 500;
position: fixed;
bottom: 0px;
left: 0px;
width: 100%;
height: 50px;
background-color: rgba(255, 255, 255, 0.15);
opacity: 1;
transition: .3s opacity;
border-top: 3px solid #FFF;
box-sizing: border-box;
}
#taskBar *{
-webkit-user-select: none;
}
#taskBar .app {
display: inline-block;
height: 50px;
padding: 0px;
width: 50px;
transition: .17s background-color;
margin: 0px;
border-top: 3px solid transparent;
cursor: pointer;
}
#taskBar .app:hover {
background-color: rgba(255, 255, 255, 0.3);
}
#taskBar .app img {
height: 40px;
margin-top: 2px;
margin-left: 5px;
}
/* Windows */
#taskBar .app.running {
border-top: 4px solid rgb(255, 255, 255);
}
/* Desktop */
#desktop {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
/* background-image: url(http://upload.wikimedia.org/wikipedia/commons/2/2f/Yosemite_Falls_from_trail,_Yosemite_NP,_CA,_US_-_Diliff.jpg);*/
background-color: #026873;
background-size: 13px 13px, 29px 29px, 37px 37px, 53px 53px;
background-image: -webkit-linear-gradient(0, rgba(255, 255, 255, .07) 50%, transparent 50%), -webkit-linear-gradient(0, rgba(255, 255, 255, .13) 50%, transparent 50%), -webkit-linear-gradient(0, transparent 50%, rgba(255, 255, 255, .17) 50%), -webkit-linear-gradient(0, transparent 50%, rgba(255, 255, 255, .19) 50%);
background-image: -moz-linear-gradient(0, rgba(255, 255, 255, .07) 50%, transparent 50%), -moz-linear-gradient(0, rgba(255, 255, 255, .13) 50%, transparent 50%), -moz-linear-gradient(0, transparent 50%, rgba(255, 255, 255, .17) 50%), -moz-linear-gradient(0, transparent 50%, rgba(255, 255, 255, .19) 50%);
background-image: linear-gradient(90deg, rgba(255, 255, 255, .07) 50%, transparent 50%), linear-gradient(90deg, rgba(255, 255, 255, .13) 50%, transparent 50%), linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, .17) 50%), linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, .19) 50%);
/*
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
*/
}
.window *{
-webkit-user-select: none;
}
#clock {
position: absolute;
right: 0px;
bottom: 0px;
height: 50px;
font-size: 16px;
color: rgb(255, 255, 255);
padding-right: 13px;
padding-top: 17px;
box-sizing: border-box;
cursor: default;
}
#appNotifications {
position: fixed;
left: 50%;
top: 50%;
margin-top: -125px;
margin-left: -125px;
height: 250px;
width: 250px;
z-index: 300;
background-color: rgb(255, 255, 255);
box-shadow: 0px 0px 20px rgb(136, 136, 136);
padding: 10px;
box-sizing: border-box;
overflow: scroll;
display: none;
}
#appNotifications .content li {
color: rgb(0, 0, 255);
text-decoration: underline;
cursor: pointer;
}
/* Menu */
#menu {
position: absolute;
bottom: 0px;
width: 100%;
background-color: rgba(255, 255, 255, 0.8);
height: auto;
color: #3A3939;
display: block;
z-index: 201;
box-sizing: border-box;
padding: 0px;
-webkit-user-select: one;
opacity: 1;
margin-bottom: 50px;
}
#menu h1 {
font-weight: 300;
text-align: left;
font-size: 26px;
cursor: default;
background-color: #459FE0;
color: white;
width: 100%;
padding: 10px;
padding-left: 50px;
margin-top: 0px;
box-sizing: border-box;
}
#menu h1 img {
height: 26px;
position: absolute;
right: 0px;
top: 0px;
cursor: pointer;
padding: 12px;
background-color: #1E5C88;
-webkit-transition: .2s background-color;
}
#menu h1 img:hover {
background-color: #B01717;
}
#menu ul {
padding-left: 0px;
}
#menu li {
display: inline-block;
list-style: none;
vertical-align: middle;
width: 175px;
cursor: pointer;
box-sizing: border-box;
color: #3A3939;
margin-bottom:5px;
transition: .3s all;
padding: 3px;
}
#menu li img {
vertical-align: middle;
height: 30px;
margin-right: 5px;
transition: .3s all;
}
#menu li:hover {
box-shadow: 0px 3px 0px #459FE0;
}
#taskBar .app.menu {
border-top: 0px;
background-color: #459FE0;
vertical-align: top;
padding-top: 3px;
margin-right: -4px;
}
#taskBar .app.menu:hover{
background-color: #1E5C88;
}
/* tooltips */
/* remove arrow */
.hint--top:before {
border-color: transparent;
}
.hint:after, [data-hint]:after {
background: #FFF;
color: #808080;
box-shadow: 0px 0px 9px #808080;
border: 1px solid #808080;
}
.hint--top:hover:after, .hint--top:hover:before, .hint--top:focus:after, .hint--top:focus:before{
-webkit-transform: translateY(-8px) translateX(-50%);
-moz-transform: translateY(-8px) translateX(-50%);
transform: translateY(-8px) translateX(-50%);
margin-left: 0px;
}
.hint:hover:before, .hint:hover:after, [data-hint]:hover:before, [data-hint]:hover:after{
-webkit-transition: .3s opacity;
-moz-transition: .3s opacity;
transition: .3s opacity;
-webkit-transition-delay: 300ms;
-moz-transition-delay: 300ms;
transition-delay: 300ms;
}