From cab2eca394a865e043a236b3f8839f6f101b3614 Mon Sep 17 00:00:00 2001 From: Lotte Hofstede Date: Tue, 22 Aug 2017 09:42:49 +0200 Subject: [PATCH] 44112: Upgrade to bootstrap 4 beta --- package.json | 2 +- src/app/app.component.scss | 5 +-- .../collection-page.component.scss | 2 +- .../community-page.component.scss | 2 +- ...ty-page-sub-collection-list.component.scss | 2 +- src/app/core/footer/footer.component.scss | 5 ++- src/app/header/header.component.html | 8 ++--- src/app/header/header.component.scss | 2 +- .../home/home-news/home-news.component.scss | 5 +-- src/app/home/home.component.scss | 2 +- .../metadata-field-wrapper.component.scss | 2 +- .../metadata-uri-values.component.scss | 2 +- .../metadata-values.component.scss | 2 +- .../full-file-section.component.scss | 3 +- .../full/full-item-page.component.html | 2 +- .../full/full-item-page.component.scss | 2 +- .../item-page/simple/item-page.component.html | 2 +- .../item-page/simple/item-page.component.scss | 2 +- .../collection-list-element.component.scss | 2 +- .../community-list-element.component.scss | 2 +- .../item-list-element.component.scss | 2 +- .../object-list-element.component.scss | 5 ++- .../object-list/object-list.component.scss | 2 +- .../pagenotfound/pagenotfound.component.scss | 2 +- .../comcol-page-content.component.scss | 2 +- .../comcol-page-header.component.scss | 2 +- .../comcol-page-logo.component.scss | 2 +- src/app/thumbnail/thumbnail.component.scss | 2 +- src/styles/_main.scss | 4 +++ src/styles/_mixins.scss | 13 +------ src/styles/variables.scss | 34 ++++++++++++------- yarn.lock | 17 ++-------- 32 files changed, 65 insertions(+), 78 deletions(-) create mode 100644 src/styles/_main.scss diff --git a/package.json b/package.json index aed1b0a8b6..5cd7128062 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "@ngx-translate/core": "7.1.0", "@ngx-translate/http-loader": "0.1.0", "body-parser": "1.17.2", - "bootstrap": "4.0.0-alpha.6", + "bootstrap": "v4.0.0-beta", "cerialize": "0.1.15", "compression": "1.7.0", "cookie-parser": "1.4.3", diff --git a/src/app/app.component.scss b/src/app/app.component.scss index a000423c34..90bdcff1a1 100644 --- a/src/app/app.component.scss +++ b/src/app/app.component.scss @@ -1,7 +1,4 @@ -@import '../styles/variables.scss'; -@import '../../node_modules/bootstrap/scss/bootstrap.scss'; -@import "../../node_modules/font-awesome/scss/font-awesome.scss"; - +@import '../styles/main.scss'; html { position: relative; min-height: 100%; diff --git a/src/app/collection-page/collection-page.component.scss b/src/app/collection-page/collection-page.component.scss index da97dd7a62..fbada7f1da 100644 --- a/src/app/collection-page/collection-page.component.scss +++ b/src/app/collection-page/collection-page.component.scss @@ -1 +1 @@ -@import '../../styles/variables.scss'; +@import '../../styles/main.scss'; diff --git a/src/app/community-page/community-page.component.scss b/src/app/community-page/community-page.component.scss index da97dd7a62..fbada7f1da 100644 --- a/src/app/community-page/community-page.component.scss +++ b/src/app/community-page/community-page.component.scss @@ -1 +1 @@ -@import '../../styles/variables.scss'; +@import '../../styles/main.scss'; diff --git a/src/app/community-page/sub-collection-list/community-page-sub-collection-list.component.scss b/src/app/community-page/sub-collection-list/community-page-sub-collection-list.component.scss index 50be6f5ad0..77e1dbcabd 100644 --- a/src/app/community-page/sub-collection-list/community-page-sub-collection-list.component.scss +++ b/src/app/community-page/sub-collection-list/community-page-sub-collection-list.component.scss @@ -1 +1 @@ -@import '../../../styles/variables.scss'; +@import '../../../styles/main.scss'; diff --git a/src/app/core/footer/footer.component.scss b/src/app/core/footer/footer.component.scss index 3cf9757d7f..a7ba21b96f 100644 --- a/src/app/core/footer/footer.component.scss +++ b/src/app/core/footer/footer.component.scss @@ -1,6 +1,5 @@ -@import '../../../styles/variables.scss'; -@import '../../../../node_modules/bootstrap/scss/_variables.scss'; -$footer-bg: $gray-lighter; +@import '../../../styles/main.scss'; +$footer-bg: $gray-100; $footer-border: 1px solid darken($footer-bg, 10%); $footer-padding: $spacer * 1.5; diff --git a/src/app/header/header.component.html b/src/app/header/header.component.html index 0d8362698a..0cdb443b8a 100644 --- a/src/app/header/header.component.html +++ b/src/app/header/header.component.html @@ -1,11 +1,11 @@
-