Ajout police Sawaasdee, rename js to src

This commit is contained in:
2015-10-16 15:12:49 +02:00
parent 39399a5c08
commit 2d8f9bd903
40 changed files with 97 additions and 34 deletions

View File

@ -1,3 +1,10 @@
@font-face {
font-family: 'sawasdeeregular';
src: url('../fonts/sawasdee-webfont.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
* {
box-sizing: border-box;
}
@ -5,7 +12,7 @@
html, body {
padding: 0;
margin: 0;
font-family: 'Droid Sans', 'Ubuntu Sans', sans-serif;
font-family: 'sawasdeeregular';
background-size: contain;
background-position: center;
background-color: rgb(34, 107, 160);
@ -15,11 +22,21 @@ html, body {
overflow-x: hidden;
}
/* Common */
.alert.alert-default {
border-radius: 4px;
border: 1px solid #ddd;
}
.app-icon {
background-position: center center;
background-size: contain;
background-repeat: no-repeat;
transition: background-image 250ms ease-in-out;
}
.full-width {
width: 100%;
}
@ -28,14 +45,17 @@ html, body {
.launcher {
display: flex;
width: 100%;
height: 100%;
flex-direction: column;
background: url('../img/background.png');
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
transition: background-image 250ms ease-in-out;
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
}
.launcher .main {
@ -48,7 +68,7 @@ html, body {
justify-content: center;
align-items: center;
display: flex;
width: 50px;
width: 60px;
}
.launcher .nav a.goback {
@ -56,6 +76,7 @@ html, body {
color: white;
font-size: 60px;
text-shadow: 1px 1px #444;
font-family: sans-serif;
}
.launcher .nav a.goback:hover {
@ -79,7 +100,7 @@ html, body {
.launcher ul.apps-list {
margin: 0;
padding: 0;
padding: 0 20%;
display: flex;
flex-direction: row;
list-style: none;
@ -91,7 +112,7 @@ html, body {
}
.launcher .nav ~ ul.apps-list {
margin-left: -50px;
margin-left: -60px;
}
.launcher li.app-item {
@ -127,8 +148,9 @@ html, body {
}
.launcher li.app-item > .app-icon {
width: 70%;
height: auto;
width: 90px;
height: 90px;
margin: auto;
}
.launcher li.app-item > .app-label {
@ -237,7 +259,7 @@ html, body {
.edit .desktop-app > .app-icon {
height: 20px;
width: auto;
width: 20px;
display: inline-block;
vertical-align: middle;
margin-right: 10px;
@ -268,7 +290,10 @@ html, body {
.edit .profile-tree .tree-item .app-icon {
height: 25px;
width: 25px;
margin-right: 5px;
display: inline-block;
vertical-align: middle;
}
.edit .app-item-edit {