mirror of https://github.com/Lissy93/dashy.git
New colors and curves
This commit is contained in:
parent
b138df8157
commit
df2b5632f9
|
@ -1,11 +1,14 @@
|
|||
<template>
|
||||
<section>
|
||||
<label for="filter-tiles">Search</label>
|
||||
<input
|
||||
id="filter-tiles"
|
||||
v-model="input"
|
||||
placeholder="Start typing to filter tiles..."
|
||||
v-on:input="userIsTypingSomething" />
|
||||
<form>
|
||||
<label for="filter-tiles">Search</label>
|
||||
<input
|
||||
id="filter-tiles"
|
||||
v-model="input"
|
||||
placeholder="Start typing to filter tiles..."
|
||||
v-on:input="userIsTypingSomething" />
|
||||
</form>
|
||||
<div class="space-filler"></div>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
|
@ -30,37 +33,53 @@ export default {
|
|||
section {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0.25em;
|
||||
border-radius: 5px;
|
||||
border: 1px solid transparent;
|
||||
|
||||
border: 1px solid #30556469;
|
||||
-webkit-box-shadow: 1px 1px 2px #130f23;
|
||||
box-shadow: 1px 1px 2px #130f23;
|
||||
align-items: stretch;
|
||||
background: linear-gradient(0deg, rgba(47,50,58,1) 0%, rgba(40,42,50,1) 100%);
|
||||
}
|
||||
label {
|
||||
display: inline;
|
||||
background: -webkit-gradient(linear, right bottom, left top, from(#9F86FF), color-stop(#1CA8DD), to(#007AE1));
|
||||
background: linear-gradient(to left top, #9F86FF, #1CA8DD, #007AE1);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
form {
|
||||
border-radius: 0 0 20px 0;
|
||||
padding: 0 0.2em 0.2em 0;
|
||||
background: #282a32;
|
||||
label {
|
||||
display: inline;
|
||||
background: -webkit-gradient(linear, right bottom, left top, from(#9F86FF), color-stop(#1CA8DD), to(#007AE1));
|
||||
background: linear-gradient(to left top, #9F86FF, #1CA8DD, #007AE1);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
margin: 0.5em;
|
||||
display: inline;
|
||||
}
|
||||
input {
|
||||
display: inline-block;
|
||||
width: 200px;
|
||||
padding: 0.5em;
|
||||
margin: 0.5em;
|
||||
display: inline;
|
||||
outline: none;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
background: #607d8b33;
|
||||
box-shadow: 1px 1px 2px #232323;
|
||||
color: #1CA8DD;
|
||||
font-family: 'Comfortaa', cursive;
|
||||
&:focus {
|
||||
background: #607d8b4a;
|
||||
}
|
||||
}
|
||||
}
|
||||
input {
|
||||
display: inline-block;
|
||||
width: 200px;
|
||||
padding: 0.5em;
|
||||
margin: 0.5em;
|
||||
outline: none;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background: #607d8b33;
|
||||
box-shadow: 1px 1px 2px #232323;
|
||||
color: #1CA8DD;
|
||||
font-family: 'Comfortaa', cursive;
|
||||
&:focus {
|
||||
background: #607d8b4a;
|
||||
.space-filler {
|
||||
flex: 1;
|
||||
border-radius: 20px 0 0;
|
||||
background: #2f323a;
|
||||
}
|
||||
@media screen and (max-width: 600px) {
|
||||
form {
|
||||
flex: 1;
|
||||
border-radius: 0;
|
||||
text-align: center;
|
||||
padding: 0.25em 0;
|
||||
}
|
||||
.space-filler {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<template>
|
||||
<div class="footer">
|
||||
<footer>
|
||||
Developed by <a :href="authorUrl">{{authorName}}</a>.
|
||||
Licensed under <a :href="licenseUrl">{{license}}</a>
|
||||
{{ showCopyright? '©': '' }} {{date}}.
|
||||
Get the <a :href="repoUrl">Source Code</a>.
|
||||
</div>
|
||||
</footer>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@ -25,11 +25,17 @@ export default {
|
|||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style scoped lang="scss">
|
||||
|
||||
.footer, .footer a {
|
||||
color: #5e6474;
|
||||
footer {
|
||||
padding: 0.5rem;
|
||||
text-align: center;
|
||||
color: #5e6474;
|
||||
}
|
||||
.footer a:hover {
|
||||
|
||||
footer a{
|
||||
color: #5e6474;
|
||||
&:hover {
|
||||
color: #9F86FF;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
|
@ -9,7 +9,7 @@ html {
|
|||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background:#2F323A;
|
||||
background: #282a32;
|
||||
font-family: 'Comfortaa', cursive;
|
||||
}
|
||||
|
||||
|
|
|
@ -5,9 +5,10 @@
|
|||
<h1>{{title}}</h1>
|
||||
<span class="subtitle">{{subtitle}}</span>
|
||||
</div>
|
||||
<FilterTile @user-is-searchin="searching" class="filter-container" />
|
||||
<Nav class="nav" />
|
||||
</section>
|
||||
<FilterTile @user-is-searchin="searching" class="filter-container" />
|
||||
|
||||
<div class="item-group-container">
|
||||
<ItemGroup
|
||||
v-for="item in items"
|
||||
|
@ -59,22 +60,21 @@ export default {
|
|||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
.home {
|
||||
background: #2F323A;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
section.top-section {
|
||||
margin: 0;
|
||||
padding: 0.5em;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
background: #1f222a7a;
|
||||
background: #282a32;
|
||||
align-items: center;
|
||||
align-content: flex-start;
|
||||
@media screen and (max-width: 600px) {
|
||||
flex-direction: column;
|
||||
.nav {
|
||||
order: -1;
|
||||
}
|
||||
.filter-container {
|
||||
order: 1;
|
||||
}
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -94,6 +94,10 @@ section.top-section {
|
|||
font-style: italic;
|
||||
text-shadow: 1px 1px 2px #130f23;
|
||||
}
|
||||
@media screen and (max-width: 600px) {
|
||||
text-align: center;
|
||||
padding: 0.25em 0;
|
||||
}
|
||||
}
|
||||
|
||||
.item-group-container {
|
||||
|
|
Loading…
Reference in New Issue