Gisle Aune
3 years ago
16 changed files with 3578 additions and 14740 deletions
-
18178package-lock.json
-
2package.json
-
2src/app.html
-
14src/lib/components/colors.sass
-
13src/lib/components/frontpage/ItemLink.svelte
-
7src/lib/components/frontpage/RequirementLink.svelte
-
13src/lib/components/frontpage/SprintLink.svelte
-
14src/lib/components/layout/Entry.svelte
-
6src/lib/components/layout/EntryAmounts.svelte
-
9src/lib/components/layout/EntryBgIcon.svelte
-
36src/lib/components/layout/EntryButton.svelte
-
6src/lib/components/layout/EntryName.svelte
-
4src/lib/components/layout/EntryProgress.svelte
-
4src/lib/components/layout/Icon.svelte
-
3src/lib/models/sprint.ts
-
7src/routes/indexdata.json.ts
18178
package-lock.json
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,14 @@ |
|||
$color-entry0: hsl(240, 5%, 7%) |
|||
$color-entry1: hsl(240, 5%, 14%) |
|||
$color-entry2: hsl(240, 5%, 21%) |
|||
$color-entry3: hsl(240, 5%, 28%) |
|||
$color-entry4: hsl(240, 5%, 35%) |
|||
$color-entry5: hsl(240, 5%, 42%) |
|||
$color-entry6: hsl(240, 5%, 49%) |
|||
$color-entry7: hsl(240, 5%, 56%) |
|||
$color-entry8: hsl(240, 5%, 63%) |
|||
$color-entry9: hsl(240, 5%, 70%) |
|||
$color-entry10: hsl(240, 5%, 77%) |
|||
$color-entry11: hsl(240, 5%, 84%) |
|||
$color-entry12: hsl(240, 5%, 91%) |
|||
$color-entry13: hsl(240, 5%, 98%) |
@ -0,0 +1,36 @@ |
|||
<div class="button-wrapper"> |
|||
<div class="button-row"> |
|||
<div class="button" on:click> |
|||
<slot></slot> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<style lang="scss"> |
|||
@import "../colors.sass"; |
|||
|
|||
div.button { |
|||
color: $color-entry4; |
|||
font-size: 1.5em; |
|||
margin: 0 0.1ch; |
|||
padding: 0; |
|||
transition: 250ms; |
|||
|
|||
&:hover { |
|||
color: $color-entry10; |
|||
} |
|||
} |
|||
|
|||
div.button-row { |
|||
display: flex; |
|||
flex-direction: row-reverse; |
|||
} |
|||
|
|||
div.button-wrapper { |
|||
position: relative; |
|||
top: 0.05em; |
|||
height: 0; |
|||
margin-left: auto; |
|||
background: none; |
|||
} |
|||
</style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue