pitaya-launcher/css/style.css

248 lines
4.0 KiB
CSS
Raw Normal View History

2015-08-20 18:41:51 +02:00
* {
box-sizing: border-box;
}
html, body {
padding: 0;
2015-08-20 18:41:51 +02:00
margin: 0;
font-family: 'Droid Sans', 'Ubuntu Sans', sans-serif;
background-size: contain;
background-position: center;
background-color: rgb(34, 107, 160);
width: 100%;
height: 100%;
color: white;
overflow-x: hidden;
2015-08-20 18:41:51 +02:00
}
2015-09-11 16:25:45 +02:00
.alert.alert-default {
border-radius: 4px;
border: 1px solid #ddd;
}
/* Launcher View */
.launcher {
display: flex;
2015-08-20 18:41:51 +02:00
width: 100%;
height: 100%;
flex-direction: column;
2015-09-11 16:25:45 +02:00
background: url('../img/background.png') no-repeat;
2015-10-10 14:33:24 +02:00
background-size: cover;
}
.launcher .category-header {
padding: 40px 50px 0;
font-size: 50px;
}
.launcher .category-header a.goback {
text-decoration: none;
color: white;
}
.launcher .category-header a.goback:hover {
-webkit-animation: 500ms pulse-large infinite;
}
.launcher .category-header > .category-label {
float: right;
2015-08-20 18:41:51 +02:00
}
.launcher .category-header .goback {
font-weight: normal;
}
.launcher ul.apps-list {
2015-08-20 18:41:51 +02:00
margin: 0;
padding: 0;
display: flex;
flex-direction: row;
list-style: none;
flex-wrap: wrap;
justify-content: center;
align-items: center;
align-content: center;
flex-grow: 1;
2015-08-20 18:41:51 +02:00
}
.launcher li.app-item {
2015-08-20 18:41:51 +02:00
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;
2015-09-18 12:13:24 +02:00
width: 125px;
height: 125px;
2015-08-20 18:41:51 +02:00
}
.launcher li.app-item::after {
2015-08-20 18:41:51 +02:00
content: ' ';
display: block;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.1);
width: 150%;
height: 125%;
position: absolute;
left: -50%;
top: -75%;
}
.launcher li.app-item:hover {
2015-08-20 18:41:51 +02:00
background-color: rgba(0,0,0,0.6);
}
.launcher li.app-item > .app-icon {
2015-08-20 18:41:51 +02:00
width: 70%;
height: auto;
}
.launcher li.app-item > .app-label {
2015-08-20 18:41:51 +02:00
display: block;
text-align: center;
color: white;
2015-09-18 12:13:24 +02:00
white-space: nowrap;
text-overflow: ellipsis;
max-width: 90%;
overflow: hidden;
margin: auto;
2015-08-20 18:41:51 +02:00
}
2015-08-28 14:20:07 +02:00
/* Edit View */
.edit {
display: flex;
width: 100%;
height: 100%;
flex-direction: column;
}
2015-09-18 12:13:24 +02:00
.edit .menu-bar {
padding: 5px 10px;
}
.edit .menu-bar button {
margin-right: 3px;
}
2015-09-11 16:25:45 +02:00
.edit .workspace {
display: flex;
flex-direction: row;
padding: 10px;
2015-09-17 17:29:59 +02:00
flex: 3;
2015-09-11 16:25:45 +02:00
}
.edit .left-menu {
display: flex;
flex-direction: column;
flex: 1;
2015-09-16 17:26:56 +02:00
overflow-y: auto;
2015-09-11 16:25:45 +02:00
}
.edit .item-form {
display: flex;
flex-direction: row;
2015-09-17 17:29:59 +02:00
flex: 2;
2015-09-11 16:25:45 +02:00
}
2015-09-18 12:13:24 +02:00
.edit .item-form > form {
width: 100%;
}
2015-09-11 16:25:45 +02:00
.edit .apps-list .icon-theme-selector > select {
width: 100%;
}
.edit .apps-list ul.desktop-apps {
2015-08-28 14:20:07 +02:00
list-style: none;
padding: 0;
2015-09-11 16:25:45 +02:00
height: 100%;
margin: 10px 0 0 0;
padding: 0 10px 0 0;
2015-08-28 14:20:07 +02:00
}
2015-09-11 16:25:45 +02:00
.edit .apps-list li.desktop-app {
2015-08-28 14:20:07 +02:00
}
2015-09-03 15:50:23 +02:00
.edit .desktop-app > .app-icon {
2015-09-11 16:25:45 +02:00
height: 35px;
width: 35px;
2015-08-28 14:20:07 +02:00
display: inline-block;
vertical-align: middle;
margin-right: 10px;
}
2015-09-11 16:25:45 +02:00
.edit .profile-tree {
flex: 3;
padding: 0 5px;
}
.edit .profile-tree ul {
list-style: none;
margin: 0;
}
.edit .profile-tree > .tree-item > ul {
padding: 0;
}
.edit .profile-tree .tree-item .alert {
padding: 5px;
margin-bottom: 2px;
}
.edit .profile-tree .tree-item .app-icon {
height: 25px;
margin-right: 5px;
}
.edit .app-item-edit {
flex: 1;
padding: 0 5px;
}
/* Animations */
.pulse {
2015-08-20 18:41:51 +02:00
-webkit-animation: 1s pulse infinite;
}
@-webkit-keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}
@-webkit-keyframes pulse-large {
0% { transform: scale(1); }
50% { transform: scale(1.5); }
100% { transform: scale(1); }
}
@-webkit-keyframes slide-in-left {
0% { transform: translateX(-100%); }
100% { transform: translateX(0%); }
}
@-webkit-keyframes slide-in-right {
0% { transform: translateX(100%); }
100% { transform: translateX(0%); }
}
@-webkit-keyframes slide-out-left {
0% { transform: translateX(0%); }
100% { transform: translateX(-100%); }
}
@-webkit-keyframes slide-out-right {
0% { transform: translateX(0%); }
100% { transform: translateX(100%); }
}