Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Add upstream updates
Browse files Browse the repository at this point in the history
  • Loading branch information
GilOliveira committed Apr 1, 2024
1 parent 51928b9 commit 5f13cf9
Show file tree
Hide file tree
Showing 2,102 changed files with 18,256 additions and 13,663 deletions.
63 changes: 40 additions & 23 deletions biodatapt.info.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,53 @@
name: BioData.pt
description: BioData.pt theme generated from BioData.pt
core_version_requirement: ~10.1

# These dependencies will not allow the installation of Vartheme BS5 at all if varbase_components is not activated.
# As the Gin admin theme had issue with installation in profiles.
# A bit harsh, so we'll continue to just rely on the composer requirement for now.
# dependencies:
# - varbase_components:varbase_components

engine: twig
type: theme
'base theme': false
base theme: false
starterkit: true
screenshot: screenshot.png
'alt text': 'Screenshot of BioData.pt, Varbase front-end theme.'
alt text: 'Screenshot of the BioData.pt front-end theme.'

regions:
top_bar: 'Top bar'
navbar_branding: 'Navbar branding'
navigation: 'Navigation (Desktop and Collapse)'
top_bar: Top bar
navbar_branding: Navbar branding
navigation: Navigation (Desktop and Collapse)
highlighted: Highlighted
content_above: 'Content above'
primary_sidebar: 'Primary sidebar'
content_above: Content above
primary_sidebar: Primary sidebar
content: Content
secondary_sidebar: 'Secondary sidebar'
content_below: 'Content below'
footer_top: 'Footer top'
footer_bottom: 'Footer bottom'
secondary_sidebar: Secondary sidebar
content_below: Content below
footer_top: Footer top
footer_bottom: Footer bottom

libraries:
- biodatapt/framework
- vartheme_bs5/framework

libraries-override:
content_moderation/content_moderation: biodatapt/content_moderation
ckeditor_stylesheets:
- css/base/bootstrap.base.css
- css/base/biodatapt.base.css
- css/layout/edge2edge.layout.css
- css/layout/equal-height.layout.css
- css/layout/print.layout.css
content_moderation/content_moderation: vartheme_bs5/content_moderation
varbase_components/popper-script: vartheme_bs5/popper-script
varbase_components/bs-base-component-script: vartheme_bs5/bs-base-component-script
# varbase_components/bs-alert-script: vartheme_bs5/bs-alert-script
# varbase_components/bs-button-script: vartheme_bs5/bs-button-script
# varbase_components/bs-carousel-script: vartheme_bs5/bs-carousel-script
# varbase_components/bs-collapse-script: vartheme_bs5/bs-collapse-script
# varbase_components/bs-dropdown-script: vartheme_bs5/bs-dropdown-script
varbase_components/bs-modal-script: vartheme_bs5/bs-modal-script
varbase_components/bs-offcanvas-script: vartheme_bs5/bs-offcanvas-script
varbase_components/bs-popover-script: vartheme_bs5/bs-popover-script
varbase_components/bs-scrollspy-script: vartheme_bs5/bs-scrollspy-script
varbase_components/bs-tab-script: vartheme_bs5/bs-tab-script
varbase_components/bs-toast-script: vartheme_bs5/bs-toast-script
varbase_components/bs-tooltip-script: vartheme_bs5/bs-tooltip-script

ckeditor_stylesheets: false
ckeditor5-stylesheets: false
enforce_prop_schemas: false
version: 1.0.0
project: biodatapt
datestamp: 1695931082
generator: 'biodatapt:3.0.0-beta4'
171 changes: 158 additions & 13 deletions biodatapt.libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,53 +4,198 @@ framework:
- biodatapt/bootstrap-scripts
- biodatapt/global-styles
- biodatapt/global-scripts
- biodatapt/bootstrap-icons
bootstrap-styles:
css:
base:
css/base/bootstrap.base.css: { }
css/base/bootstrap.base.css: {}
bootstrap-scripts:
dependencies:
- varbase_components/bs-base-component-script
# - varbase_components/bs-alert-script
# - varbase_components/bs-button-script
# - varbase_components/bs-carousel-script
# - varbase_components/bs-collapse-script
# - varbase_components/bs-dropdown-script
- varbase_components/bs-modal-script
- varbase_components/bs-offcanvas-script
- varbase_components/bs-popover-script
- varbase_components/bs-scrollspy-script
- varbase_components/bs-tab-script
- varbase_components/bs-toast-script
- varbase_components/bs-tooltip-script
- content_moderation/content_moderation

# Popperjs core.
popper-script:
js:
js/popperjs/popper.js: {}

# Bootstrap base component script.
bs-base-component-script:
dependencies:
- core/drupalSettings
- core/drupal
- core/drupal.ajax
- core/jquery
- core/once
- varbase_components/popper-script
js:
js/bootstrap/util/index.js: {}
js/bootstrap/dom/data.js: {}
js/bootstrap/dom/event-handler.js: {}
js/bootstrap/dom/manipulator.js: {}
js/bootstrap/dom/selector-engine.js: {}
js/bootstrap/util/config.js: {}
js/bootstrap/util/component-functions.js: {}
js/bootstrap/util/backdrop.js: {}
js/bootstrap/util/focustrap.js: {}
js/bootstrap/util/scrollbar.js: {}
js/bootstrap/util/swipe.js: {}
js/bootstrap/util/sanitizer.js: {}
js/bootstrap/util/template-factory.js: {}
js/bootstrap/base-component.js: {}

# Bootstrap alert script.
bs-alert-script:
dependencies:
- varbase_components/bs-base-component-script
js:
js/bootstrap/alert.js: {}

# Bootstrap button script.
bs-button-script:
dependencies:
- varbase_components/bs-base-component-script
js:
js/bootstrap/button.js: {}

# Bootstrap carousel script.
bs-carousel-script:
dependencies:
- varbase_components/bs-base-component-script
js:
js/bootstrap/carousel.js: {}

# Bootstrap collapse script.
bs-collapse-script:
dependencies:
- varbase_components/bs-base-component-script
js:
js/bootstrap/collapse.js: {}

# Bootstrap dropdown script.
bs-dropdown-script:
dependencies:
- varbase_components/bs-base-component-script
js:
js/bootstrap/dropdown.js: {}

# Bootstrap modal script.
bs-modal-script:
dependencies:
- varbase_components/bs-base-component-script
js:
js/popperjs/popper.js: { }
js/bootstrap/bootstrap.min.js: { }
js/bootstrap/modal.js: {}

# Bootstrap offcanvas script.
bs-offcanvas-script:
dependencies:
- varbase_components/bs-base-component-script
js:
js/bootstrap/offcanvas.js: {}

# Bootstrap popover script.
bs-popover-script:
dependencies:
- varbase_components/bs-tooltip-script
js:
js/bootstrap/popover.js: {}

# Bootstrap scrollspy script.
bs-scrollspy-script:
dependencies:
- varbase_components/bs-base-component-script
js:
js/bootstrap/scrollspy.js: {}

# Bootstrap tab script.
bs-tab-script:
dependencies:
- varbase_components/bs-base-component-script
js:
js/bootstrap/tab.js: {}

# Bootstrap toast script.
bs-toast-script:
dependencies:
- varbase_components/bs-base-component-script
js:
js/bootstrap/toast.js: {}

# Bootstrap tooltip script.
bs-tooltip-script:
dependencies:
- varbase_components/bs-base-component-script
js:
js/bootstrap/tooltip.js: {}

# BioData.pt Theme global styles library.
global-styles:
css:
base:
css/base/biodatapt.base.css: { }
css/base/biodatapt.base.css: {}
layout:
css/layout/edge2edge.layout.css: { }
css/layout/equal-height.layout.css: { }
css/layout/print.layout.css:
css/layout/edge2edge.layout.css: {}
css/layout/equal-height.layout.css: {}
css/layout/print.layout.css: { media: print }
theme:
fonts/raleway/css/raleway.css: {}
fonts/roboto-slab/css/roboto-slab.css: {}
fonts/lato/css/lato.css: {}

# BioData.pt Theme global scripts library.
global-scripts:
js:
js/scripts.js: { }
js/scripts.js: {}
dependencies:
- core/jquery
- core/drupalSettings
- core/drupal
- core/drupal.ajax
- core/jquery
- core/once

framework-rtl:
dependencies:
- biodatapt/bootstrap-styles-rtl
- biodatapt/bootstrap-scripts
- biodatapt/global-styles-rtl
- biodatapt/global-scripts
- biodatapt/bootstrap-icons
- biodatapt/fontawesome

# Bootstrap 5 global RTL styles library.
bootstrap-styles-rtl:
css:
base:
css/base/bootstrap-rtl.base.css: { }
css/base/bootstrap-rtl.base.css: {}

# BioData.pt Theme global RTL styles library.
global-styles-rtl:
css:
base:
css/base/biodatapt-rtl.base.css: { }
css/base/biodatapt-rtl.base.css: {}
theme:
fonts/droid/arabic/kufi/css/droidarabickufi.css: { }
fonts/droid/arabic/kufi/css/droidarabickufi.css: {}

# BioData.pt Theme content moderation status theme.
content_moderation:
css:
theme:
css/theme/content-moderation.theme.css: { }
css/theme/content-moderation.theme.css: {}

# Bootstrap free icons.
bootstrap-icons:
css:
theme:
fonts/bootstrap-icons/font/bootstrap-icons.min.css: { minified: true }
4 changes: 2 additions & 2 deletions components/organisms/media-hero-slide/media-hero-slide.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Bootstrap v5.3.2 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Bootstrap v5.3.3 (https://getbootstrap.com/)
* Copyright 2011-2024 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/

Expand Down
4 changes: 2 additions & 2 deletions css/base/biodatapt-rtl.base.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Bootstrap v5.3.2 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Bootstrap v5.3.3 (https://getbootstrap.com/)
* Copyright 2011-2024 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/

Expand Down
15 changes: 12 additions & 3 deletions css/base/biodatapt.base.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@charset "UTF-8";

/*!
* Bootstrap v5.3.2 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Bootstrap v5.3.3 (https://getbootstrap.com/)
* Copyright 2011-2024 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/

Expand Down Expand Up @@ -74,7 +74,16 @@ body.user-logged-in .btn .hidden-anonymous {
display: inline-block !important;
}

h1, h2, h3, h4, h5, h6 {
a {
text-underline-offset: .25em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Roboto Slab", sans-serif;
}

Expand Down
4 changes: 2 additions & 2 deletions css/base/bootstrap-rtl.base.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Bootstrap v5.3.2 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Bootstrap v5.3.3 (https://getbootstrap.com/)
* Copyright 2011-2024 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/

Expand Down
Loading

0 comments on commit 5f13cf9

Please sign in to comment.