Compare commits

..

No commits in common. "67efa25485324254166cad304475d356899600f5" and "d7da5b5492de2e8e5d4280cf42f60e8e9b7c996d" have entirely different histories.

15 changed files with 2113 additions and 296 deletions

View file

@ -208,9 +208,6 @@
"drupal/ds": { "drupal/ds": {
"Parent theme template inheritance bug": "https://www.drupal.org/files/issues/2021-02-22/2895316-12.patch" "Parent theme template inheritance bug": "https://www.drupal.org/files/issues/2021-02-22/2895316-12.patch"
}, },
"drupal/fitvids": {
"Missing FitVids.js library causes error in file_get_contents": "https://www.drupal.org/files/issues/2025-06-27/fitvids-issue-3501317-comment-15991650-missing-fitbitjs-lib-patch-for-v210.patch"
},
"drupal/unique_content_field_validation": { "drupal/unique_content_field_validation": {
"Overriden title field" : "https://www.drupal.org/files/issues/2023-01-05/unique-validation-title-override.patch" "Overriden title field" : "https://www.drupal.org/files/issues/2023-01-05/unique-validation-title-override.patch"
} }

4
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "be38033ac028629147a18715fe656601", "content-hash": "90e491a31bd6246e3104f4f0898a743a",
"packages": [ "packages": [
{ {
"name": "abraham/twitteroauth", "name": "abraham/twitteroauth",
@ -8614,7 +8614,7 @@
"extra": { "extra": {
"drupal": { "drupal": {
"version": "4.0.24", "version": "4.0.24",
"datestamp": "1750262254", "datestamp": "1750261053",
"security-coverage": { "security-coverage": {
"status": "covered", "status": "covered",
"message": "Covered by Drupal's security advisory policy" "message": "Covered by Drupal's security advisory policy"

View file

@ -98,7 +98,6 @@ display:
type: full type: full
options: options:
offset: 0 offset: 0
pagination_heading_level: h4
items_per_page: 20 items_per_page: 20
total_pages: null total_pages: null
id: 0 id: 0
@ -116,6 +115,7 @@ display:
offset: false offset: false
offset_label: Offset offset_label: Offset
quantity: 9 quantity: 9
pagination_heading_level: h4
exposed_form: exposed_form:
type: basic type: basic
options: options:
@ -225,10 +225,7 @@ display:
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- url.query_args - url.query_args
- 'user.node_grants:view' tags: { }
tags:
- 'config:search_api.index.content'
- 'search_api_list:content'
page_1: page_1:
id: page_1 id: page_1
display_title: Page display_title: Page
@ -243,7 +240,6 @@ display:
title: Search title: Search
description: 'Search site content' description: 'Search site content'
weight: -41 weight: -41
enabled: false
expanded: false expanded: false
menu_name: main menu_name: main
parent: '' parent: ''
@ -255,7 +251,4 @@ display:
- 'languages:language_interface' - 'languages:language_interface'
- url - url
- url.query_args - url.query_args
- 'user.node_grants:view' tags: { }
tags:
- 'config:search_api.index.content'
- 'search_api_list:content'

File diff suppressed because it is too large Load diff

View file

@ -4,16 +4,18 @@
* ../../node_modules/bulma/sass/components * ../../node_modules/bulma/sass/components
*/ */
@use "variables" as local; @use "variables" as *;
@use "../../node_modules/bulma/sass/utilities/mixins" as *; @use "../../node_modules/bulma/sass/utilities/mixins" as *;
@use "../../node_modules/bulma/sass/utilities/initial-variables" as *; @use "../../node_modules/bulma/sass/utilities/initial-variables" as *;
// Make menu items slightly less far apart so we never entirely lose 'Community' /**
// on mid-size screens. See https://gitlab.com/drutopia/octavia/issues/52 * Make menu items slightly less far apart so we never entirely lose
* 'Community' on mid-size screens.
* See https://gitlab.com/drutopia/octavia/issues/52
*/
.navbar-item, .navbar-link { .navbar-item, .navbar-link {
padding-left: .75rem; padding-left: .75rem;
padding-right: .75rem; padding-right: .75rem;
padding-top: 1.5rem;
@include from($widescreen) { @include from($widescreen) {
padding-left: 1rem; padding-left: 1rem;
padding-right: 1rem; padding-right: 1rem;
@ -26,33 +28,21 @@
} }
#navbar-menu { #navbar-menu {
a:hover {
background-color: local.$yellow !important;
}
display: flex; display: flex;
// More modern Bulma has is-flex-wrap-wrap as a class for this. // More modern Bulma has is-flex-wrap-wrap as a class for this.
flex-wrap: wrap; flex-wrap: wrap;
@include until($desktop) { @include until($tablet) {
display: table; width: 100%;
// width: 100%; justify-content: space-around;
// justify-content: space-around;
// Do not show the down arrow when it is already expanded.
.navbar-link::after {
display: none !important;
}
} }
@include from($desktop) { @include from($desktop) {
flex-wrap: nowrap; flex-wrap: nowrap;
margin-right: -1rem; margin-right: -1rem;
// Stay open as long as we are hovering; Bulma should be handling this but :shrug:
.navbar-dropdown:hover {
display: block;
}
} }
} }
// Featured images on article pages. /* Featured images on article pages */
.featured-image figure.image { .featured-image figure.image {
width: 100vw; width: 100vw;
position: relative; position: relative;
@ -141,7 +131,7 @@
*/ */
.footer .views-field { .footer .views-field {
.field-content { .field-content {
background-color: rgba(local.$offwhite, 0.9); background-color: rgba($offwhite, 0.9);
padding: 0.2em; padding: 0.2em;
border-radius: 0.3em; border-radius: 0.3em;
} }
@ -157,14 +147,14 @@
} }
.page-title .title > span { .page-title .title > span {
background-color: rgba(local.$offwhite, 0.66); background-color: rgba($offwhite, 0.66);
padding: 0.4em 0.3em 0.3em 0.3em; padding: 0.4em 0.3em 0.3em 0.3em;
border-radius: 0.4em; border-radius: 0.4em;
line-height: 1.8; line-height: 1.8;
} }
.block--footer_menus { .block--footer_menus {
background-color: rgba(local.$offwhite, 0.9); background-color: rgba($offwhite, 0.9);
padding: 0.2em; padding: 0.2em;
border-radius: 0.3em; border-radius: 0.3em;
} }

View file

@ -1,4 +1,7 @@
// Styles for contributor-added content on the site, such as embedded media. /**
* Styles related to contributor-added content on the site, such as embedded
* media.
*/
iframe { iframe {
width: 100%; width: 100%;
@ -7,8 +10,3 @@ iframe {
height: revert-layer; height: revert-layer;
} }
} }
// Header tabs section is only shown to content editors for the Edit etc tabs.
.header-tabs {
padding: 0;
}

View file

@ -26,15 +26,11 @@
.geo-logo-name { .geo-logo-name {
display: flex !important; display: flex !important;
padding-bottom: 0 !important; // Or else .column's padding takes precedence.
overflow: hidden; overflow: hidden;
width: 100%; width: 100%;
.logo, .sitename { .logo, .sitename {
display: table-cell; display: table-cell;
} }
.sitename {
padding-top: 0.125rem; // 2px, better vertically-center "Organizing" in green stripe
}
.logo a { .logo a {
display: block; display: block;
} }
@ -56,7 +52,6 @@
.slogan { .slogan {
box-shadow: 0 2px 0 0 whitesmoke; box-shadow: 0 2px 0 0 whitesmoke;
margin-top: -1rem;
margin-bottom: 2px; // Needed to see the boxshadow when we have the featured image directly below. margin-bottom: 2px; // Needed to see the boxshadow when we have the featured image directly below.
padding-bottom: 4px; // Give just a little extra space at the bottom for the *appearance* of balance. padding-bottom: 4px; // Give just a little extra space at the bottom for the *appearance* of balance.
.title { .title {

View file

@ -5,25 +5,12 @@
@use "../../node_modules/bulma/sass/utilities/mixins"; @use "../../node_modules/bulma/sass/utilities/mixins";
@use "../../node_modules/bulma/sass/utilities/initial-variables" as *; @use "../../node_modules/bulma/sass/utilities/initial-variables" as *;
// Allow sitename to slide over the logo on tiny screens. // Center logo & sitename when they stack on tiny screens.
@include mixins.until(local.$mini) { @include mixins.until(local.$mini) {
.geo-logo-name .sitename { .sitename.column,
position: absolute; .logo.column {
left: calc(100vw - 14rem); width: 100%;
top: 0;
} }
// .logo.column {
// width: 100%;
// }
.navigation.column .hamburger {
position: absolute;
right: 0;
top: 0;
}
}
.search-bar {
padding-top: 1.75rem;
} }
.search-bar > .block, .search-bar > .block,

View file

@ -63,14 +63,3 @@
.page--content-item--gleaning .page-title { .page--content-item--gleaning .page-title {
background-color: $gleaning; background-color: $gleaning;
} }
:root {
--bulma-body-color: $geo-green;
--bulma-navbar-dropdown-background-color: white;
--bulma-navbar-dropdown-z: 999;
}
// Not figuring out the damn -l -h -s to make our primary color.
.button.is-primary {
background-color: $geo-green;
color: white;
}

View file

@ -22,7 +22,7 @@ $gleaning: $yellow;
// Update Bulma's global variables. // Update Bulma's global variables.
$primary: $geo-green; $primary: $geo-green;
$mini: 448px; $mini: 363px;
// Font family // Font family
$family-geo: "Ocan", "Ubuntu", "Arial Narrow", "Helvetica", "Arial", "Lucida", sans-serif !default; $family-geo: "Ocan", "Ubuntu", "Arial Narrow", "Helvetica", "Arial", "Lucida", sans-serif !default;

View file

@ -6,8 +6,6 @@
@forward "../../node_modules/bulma/sass/utilities" with ( @forward "../../node_modules/bulma/sass/utilities" with (
$background: white, $background: white,
$green: $geo-green,
$blue: $blue,
); );
@forward "fonts"; @forward "fonts";
@forward "../../node_modules/bulma/sass/base/_index"; @forward "../../node_modules/bulma/sass/base/_index";
@ -16,27 +14,19 @@
@forward "elements"; @forward "elements";
@forward "../../node_modules/bulma/sass/form/_index"; @forward "../../node_modules/bulma/sass/form/_index";
@forward "form"; @forward "form";
// $navbar-breakpoint: calc($mini/2); $navbar-breakpoint: calc($mini/2);
@forward "../../node_modules/bulma/sass/components/_index" with ( @forward "../../node_modules/bulma/sass/components/_index";
$navbar-dropdown-background-color: white,
);
@forward "components"; @forward "components";
@forward "../../node_modules/bulma/sass/grid/_index"; @forward "../../node_modules/bulma/sass/grid/_index";
@forward "grid"; @forward "grid";
@forward "../../node_modules/bulma/sass/layout/_index"; @forward "../../node_modules/bulma/sass/layout/_index";
@forward "layout"; @forward "layout";
// Import the themes so that all CSS variables have a value
@forward "../../node_modules/bulma/sass/themes";
// Stylesheets below will have access to all Bulma variables and mixins. // Stylesheets below will have access to all Bulma variables and mixins.
@forward "content"; @forward "content";
@forward "paint"; @forward "paint";
// Import the themes so that all CSS variables have a value (not) but avoid dark mode.
@use "../../node_modules/bulma/sass/themes/light";
@use "../../node_modules/bulma/sass/themes/setup";
:root {
@include light.light-theme;
@include setup.setup-theme;
}
// @forward '../../node_modules/bulma-extensions/bulma-timeline/dist/bulma-timeline'; // @forward '../../node_modules/bulma-extensions/bulma-timeline/dist/bulma-timeline';

View file

@ -14,7 +14,7 @@
* @ingroup themeable * @ingroup themeable
*/ */
#} #}
<div class="column is-narrow geo-logo-name"> <div class="column is-narrow geo-logo-name is-paddingless">
{% if site_logo %} {% if site_logo %}
<div class="logo"> <div class="logo">
<a href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home"> <a href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home">

View file

@ -57,6 +57,9 @@
]) ])
%} %}
{% endif %} {% endif %}
{% if item.url|render == '/search' %}
{% set item_classes = item_classes|merge(['is-hidden-desktop search-icon']) %}
{% endif %}
{% endif %} {% endif %}
{{ link( {{ link(
item.title, item.title,

View file

@ -19,7 +19,7 @@
{# We put everything in Bulma columns so must do navbar in header block, not here #} {# We put everything in Bulma columns so must do navbar in header block, not here #}
{% endblock navbar %} {% endblock navbar %}
{% block header %} {% block header %}
<div class="header columns is-mobile is-marginless"> <div class="header columns is-marginless">
{% block navbar_branding %} {% block navbar_branding %}
{{ page.navbar_branding }} {{ page.navbar_branding }}
{% endblock navbar_branding %} {% endblock navbar_branding %}

View file

@ -13,7 +13,8 @@
*/ */
#} #}
{% if content %} {% if content %}
<section{{ attributes.addClass(['section', 'header-tabs']) }}> {% set attributes = attributes.addClass(['section, is-paddingless']) %}
<section{{ attributes }}>
<div class="container"> <div class="container">
{{ content }} {{ content }}
</div> </div>