diff --git a/invenio_theme/assets/bootstrap3/scss/invenio_theme/cover.scss b/invenio_theme/assets/bootstrap3/scss/invenio_theme/cover.scss index 42c56e26..c970f61d 100644 --- a/invenio_theme/assets/bootstrap3/scss/invenio_theme/cover.scss +++ b/invenio_theme/assets/bootstrap3/scss/invenio_theme/cover.scss @@ -47,10 +47,10 @@ body.cover-page { .panel-footer { padding-left: $cover-panel-padding; padding-right: $cover-panel-padding; - padding-top: $cover-panel-padding/2; - padding-bottom: $cover-panel-padding/2; - border-bottom-left-radius: $border-radius-large*2; - border-bottom-right-radius: $border-radius-large*2; + padding-top: calc($cover-panel-padding/2); + padding-bottom: calc($cover-panel-padding/2); + border-bottom-left-radius: calc($border-radius-large*2); + border-bottom-right-radius: calc($border-radius-large*2); background-color: $cover-panel-footer-bg; } .panel-container a.text-muted { diff --git a/invenio_theme/assets/bootstrap3/scss/invenio_theme/header.scss b/invenio_theme/assets/bootstrap3/scss/invenio_theme/header.scss index d80e2b6e..1f3434fc 100644 --- a/invenio_theme/assets/bootstrap3/scss/invenio_theme/header.scss +++ b/invenio_theme/assets/bootstrap3/scss/invenio_theme/header.scss @@ -7,7 +7,7 @@ */ header .alert { - margin-top: -$line-height-computed; + margin-top: calc(-1 * $line-height-computed); border-radius: 0px; } diff --git a/invenio_theme/assets/bootstrap3/scss/invenio_theme/styles.scss b/invenio_theme/assets/bootstrap3/scss/invenio_theme/styles.scss index 03693c41..7d81aac1 100644 --- a/invenio_theme/assets/bootstrap3/scss/invenio_theme/styles.scss +++ b/invenio_theme/assets/bootstrap3/scss/invenio_theme/styles.scss @@ -7,8 +7,8 @@ */ // Setting the path to fonts files. -$icon-font-path: "~bootstrap-sass/assets/fonts/bootstrap/"; -$fa-font-path: "~font-awesome/fonts"; +$icon-font-path: "~bootstrap-sass//assets//fonts//bootstrap//"; +$fa-font-path: "~font-awesome//fonts"; @import "~bootstrap-sass/assets/stylesheets/_bootstrap"; @import "~font-awesome/scss/font-awesome"; diff --git a/invenio_theme/assets/semantic-ui/scss/invenio_theme/header.scss b/invenio_theme/assets/semantic-ui/scss/invenio_theme/header.scss index d80e2b6e..1f3434fc 100644 --- a/invenio_theme/assets/semantic-ui/scss/invenio_theme/header.scss +++ b/invenio_theme/assets/semantic-ui/scss/invenio_theme/header.scss @@ -7,7 +7,7 @@ */ header .alert { - margin-top: -$line-height-computed; + margin-top: calc(-1 * $line-height-computed); border-radius: 0px; } diff --git a/invenio_theme/assets/semantic-ui/scss/invenio_theme/styles.scss b/invenio_theme/assets/semantic-ui/scss/invenio_theme/styles.scss index 03693c41..7d81aac1 100644 --- a/invenio_theme/assets/semantic-ui/scss/invenio_theme/styles.scss +++ b/invenio_theme/assets/semantic-ui/scss/invenio_theme/styles.scss @@ -7,8 +7,8 @@ */ // Setting the path to fonts files. -$icon-font-path: "~bootstrap-sass/assets/fonts/bootstrap/"; -$fa-font-path: "~font-awesome/fonts"; +$icon-font-path: "~bootstrap-sass//assets//fonts//bootstrap//"; +$fa-font-path: "~font-awesome//fonts"; @import "~bootstrap-sass/assets/stylesheets/_bootstrap"; @import "~font-awesome/scss/font-awesome"; diff --git a/invenio_theme/webpack.py b/invenio_theme/webpack.py index 1eeebd82..a6a0cd41 100644 --- a/invenio_theme/webpack.py +++ b/invenio_theme/webpack.py @@ -40,6 +40,7 @@ "moment": "~2.23.0", "select2": "~4.0.2", "admin-lte": "~2.4.8", + "tinymce": "^6.7.2" }, ), "semantic-ui": dict(