From dbf76de2b6231c76eec617dfac89c8693620c387 Mon Sep 17 00:00:00 2001 From: Alex Mendes Date: Tue, 31 Oct 2017 03:50:22 +0000 Subject: [PATCH] Refactor presenters and fix styles --- assets/style/settings.scss | 1 + components/buttons/ProjectContrib.vue | 5 ++- components/cards/Project.vue | 10 +++-- components/navbars/Collection.vue | 10 ++--- components/presenters/LibcrowdsViewer.vue | 7 +--- layouts/bases/Collection.vue | 17 ++++++++- layouts/collection-fullscreen-dark.vue | 38 +++++++++++++++++++ .../_id/{ => _presenter.vue}/index.vue | 29 +++++++------- 8 files changed, 86 insertions(+), 31 deletions(-) create mode 100644 layouts/collection-fullscreen-dark.vue rename pages/collection/_short_name/projects/_id/{ => _presenter.vue}/index.vue (93%) diff --git a/assets/style/settings.scss b/assets/style/settings.scss index c167a591..45daaa40 100644 --- a/assets/style/settings.scss +++ b/assets/style/settings.scss @@ -50,6 +50,7 @@ $btn-border-radius-sm: 0px; /* Navbars */ $navbar-light-color: rgba($black, .7); $app-navbar-height: 50px; +$collection-navbar-height: 65px; $navbar-dark-color: $white; $navbar-dark-toggler-border-color: transparent; $sidebar-width: 250px; diff --git a/components/buttons/ProjectContrib.vue b/components/buttons/ProjectContrib.vue index 8957195c..0009a39a 100644 --- a/components/buttons/ProjectContrib.vue +++ b/components/buttons/ProjectContrib.vue @@ -1,10 +1,11 @@