diff --git a/_assets/src/components/Listing.vue b/_assets/src/components/Listing.vue index 465cc1a5..bcf1b53f 100644 --- a/_assets/src/components/Listing.vue +++ b/_assets/src/components/Listing.vue @@ -1,5 +1,11 @@ @@ -104,7 +112,7 @@ export default { data: function () { return { loading: true, - error: '' + error: null } }, created () { @@ -178,6 +186,7 @@ export default { methods: { fetchData () { this.loading = true + this.error = null // Reset selected items and multiple selection. this.$store.commit('resetSelected') this.$store.commit('multiple', false) @@ -199,7 +208,7 @@ export default { .catch(error => { // TODO: 404, 403 and 500! console.log(error) - + this.error = error this.loading = false }) }, diff --git a/_assets/src/components/Sidebar.vue b/_assets/src/components/Sidebar.vue index 748aad6d..6895eef9 100644 --- a/_assets/src/components/Sidebar.vue +++ b/_assets/src/components/Sidebar.vue @@ -1,6 +1,6 @@ diff --git a/_assets/src/css/base.css b/_assets/src/css/base.css index 395cc1d6..c6929242 100644 --- a/_assets/src/css/base.css +++ b/_assets/src/css/base.css @@ -100,7 +100,6 @@ nav .action { padding: .5em; } -nav > .action:last-child, nav > div { border-top: 1px solid rgba(0, 0, 0, 0.05); } diff --git a/_assets/src/css/listing.css b/_assets/src/css/listing.css index b15c306f..29abfabb 100644 --- a/_assets/src/css/listing.css +++ b/_assets/src/css/listing.css @@ -59,10 +59,9 @@ vertical-align: bottom; } -#listing h2.message, .message { text-align: center; - font-size: 3em; + font-size: 2em; margin: 1em auto; display: block !important; width: 95%; @@ -71,8 +70,9 @@ } .message i { - font-size: inherit; - vertical-align: middle; + font-size: 2.5em; + margin-bottom: .2em; + display: block; } #listing.mosaic { @@ -246,4 +246,4 @@ right: 1em; left: 1em; } -} \ No newline at end of file +} diff --git a/_assets/src/css/styles.css b/_assets/src/css/styles.css index 4f188762..ed8be64e 100644 --- a/_assets/src/css/styles.css +++ b/_assets/src/css/styles.css @@ -396,15 +396,14 @@ fieldset h3, * FOOTER * * * * * * * * * * * * * * * * */ -footer { +.credits { font-size: 0.6em; - margin: 2em 0 2em; - text-align: center; - color: grey; + margin: 3em 2.5em; + color: #a5a5a5; } -footer a, -footer a:hover { +.credits a, +.credits a:hover { color: inherit; }