15 changed files with 230 additions and 227 deletions
-
16src/App.vue
-
2src/components/BlobSize.vue
-
14src/components/Error.vue
-
52src/components/Layout.vue
-
20src/components/List.vue
-
28src/components/ListHeader.vue
-
30src/components/ListItem.vue
-
46src/components/LoadableText.vue
-
18src/components/Paginator.vue
-
2src/components/TagSize.vue
-
2src/components/ToolbarButton.vue
-
28src/views/Blob.vue
-
55src/views/Repo.vue
-
44src/views/Repos.vue
-
100src/views/Tag.vue
@ -1,24 +1,24 @@ |
|||
<template> |
|||
<router-view/> |
|||
<router-view/> |
|||
</template> |
|||
|
|||
<style> |
|||
*, *::before, *::after { |
|||
box-sizing: border-box; |
|||
box-sizing: border-box; |
|||
} |
|||
html, body { |
|||
padding: 0; |
|||
margin: 0; |
|||
padding: 0; |
|||
margin: 0; |
|||
} |
|||
html { |
|||
font-size: 16px; |
|||
font-size: 16px; |
|||
} |
|||
body { |
|||
font-size: 1rem; |
|||
font-size: 1rem; |
|||
|
|||
font-family: 'Source Sans Pro'; |
|||
font-family: 'Source Sans Pro'; |
|||
} |
|||
pre, code, kbd, samp { |
|||
font-family: 'Source Code Pro'; |
|||
font-family: 'Source Code Pro'; |
|||
} |
|||
</style> |
@ -1,17 +1,17 @@ |
|||
<template> |
|||
<table> |
|||
<thead> |
|||
<slot name="header" /> |
|||
</thead> |
|||
<tbody> |
|||
<slot /> |
|||
</tbody> |
|||
</table> |
|||
<table> |
|||
<thead> |
|||
<slot name="header" /> |
|||
</thead> |
|||
<tbody> |
|||
<slot /> |
|||
</tbody> |
|||
</table> |
|||
</template> |
|||
|
|||
<style scoped> |
|||
table { |
|||
min-width: 28rem; |
|||
border-spacing: 0; |
|||
min-width: 28rem; |
|||
border-spacing: 0; |
|||
} |
|||
</style> |
@ -1,23 +1,23 @@ |
|||
<template> |
|||
<tr> |
|||
<th class="col title"><slot name="title" /></th> |
|||
<th class="col detail" v-if="$slots.detail"><slot name="detail" /></th> |
|||
<th class="col date" v-if="$slots.date"><slot name="date" /></th> |
|||
<th class="col size" v-if="$slots.size"><slot name="size" /></th> |
|||
<th class="col buttons" v-if="$slots.buttons"><slot name="buttons" /></th> |
|||
</tr> |
|||
<tr> |
|||
<th class="col title"><slot name="title" /></th> |
|||
<th class="col detail" v-if="$slots.detail"><slot name="detail" /></th> |
|||
<th class="col date" v-if="$slots.date"><slot name="date" /></th> |
|||
<th class="col size" v-if="$slots.size"><slot name="size" /></th> |
|||
<th class="col buttons" v-if="$slots.buttons"><slot name="buttons" /></th> |
|||
</tr> |
|||
</template> |
|||
|
|||
<style scoped> |
|||
th { |
|||
padding: 0.5rem; |
|||
white-space: nowrap; |
|||
font-size: 0.8em; |
|||
text-align: left; |
|||
border-bottom: 1px solid #eee; |
|||
text-align: right; |
|||
padding: 0.5rem; |
|||
white-space: nowrap; |
|||
font-size: 0.8em; |
|||
text-align: left; |
|||
border-bottom: 1px solid #eee; |
|||
text-align: right; |
|||
} |
|||
.title { |
|||
text-align: left; |
|||
text-align: left; |
|||
} |
|||
</style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue