84 lines
1.4 KiB
CSS
84 lines
1.4 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html, body {
|
|
padding: 1Opx 10px;
|
|
margin: 0;
|
|
font-family: 'Droid Sans', 'Ubuntu Sans', sans-serif;
|
|
background: url('../img/background.png') no-repeat;
|
|
background-size: contain;
|
|
background-position: center;
|
|
background-color: rgb(34, 107, 160);
|
|
}
|
|
|
|
body, ul.apps-list {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
ul.apps-list {
|
|
display: block;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: row;
|
|
list-style: none;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
align-content: center;
|
|
}
|
|
|
|
li.app-item {
|
|
background-color: red;
|
|
margin: 5px;
|
|
border-radius: 5px;
|
|
background-color: rgba(0,0,0,0.4);
|
|
box-shadow: 5px 5px 30px -2px rgba(0,0,0,0.5);
|
|
cursor: pointer;
|
|
padding: 10px 5px;
|
|
text-align: center;
|
|
margin-top: 5px;
|
|
transition: 150ms linear;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
li.app-item::after {
|
|
content: ' ';
|
|
display: block;
|
|
border-radius: 50%;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
width: 150%;
|
|
height: 125%;
|
|
position: absolute;
|
|
left: -50%;
|
|
top: -75%;
|
|
}
|
|
|
|
li.app-item:hover {
|
|
background-color: rgba(0,0,0,0.6);
|
|
}
|
|
|
|
li.app-item > .app-icon {
|
|
width: 70%;
|
|
height: auto;
|
|
}
|
|
|
|
li.app-item > .app-label {
|
|
display: block;
|
|
text-align: center;
|
|
color: white;
|
|
}
|
|
|
|
li.app-item.loading {
|
|
-webkit-animation: 1s pulse infinite;
|
|
}
|
|
|
|
@-webkit-keyframes pulse {
|
|
0% { transform: scale(1); }
|
|
50% { transform: scale(1.1); }
|
|
100% { transform: scale(1); }
|
|
}
|