Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/Sidebar/Sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ class Sidebar

public function register(): void
{
if (! function_exists('get_field')) {
return;
}
add_action('acf/include_fields', [$this, 'addAcfFields']);
add_action('wp_nav_menu_objects', [$this, 'addIconsToMenuItems'], 10, 2);
add_action('render_block_core/navigation-link', [$this, 'addIconsToBlockMenuItems'], 10, 2);
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.footer {
h2 {
@extend .h3;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
.navbar {
box-shadow:
0px 4px 16px rgba( 17, 17, 26, 0.03 ),
0px 8px 32px rgba( 17, 17, 26, 0.03 );
font-family: 'FedraSans', $font-family-sans-serif;

.navbar-menu-list > .menu-item {
position: relative;
display: flex;
height: $navbar-height-desktop;
align-items: center;
justify-content: center;

&::before {
position: absolute;
bottom: 0;
left: 5%;
width: 90%;
height: 2px;
background-color: theme-color( 'primary' );
content: '';
transform: scaleX( 0 );
transition: all 0.4s cubic-bezier( 0.22, 1, 0.36, 1 ); // EaseOutQuint
visibility: hidden;
}

@include hover-focus-active() {
&::before {
transform: scaleX( 1 );
visibility: visible;
}
}

a {
display: flex;
height: 100%;
align-items: center;
justify-content: center;
border-bottom: 1px solid gray( 'concrete' );
color: $black;

@include hover-focus-active() {
text-decoration: none;
}
}
}

.menu-item-has-children {
&::after {
font-weight: 400;
}
}

.sub-menu {
padding: 1rem;

.menu-item a {
justify-content: flex-start;
padding: 0.85rem 0.5rem;
transition: 0.1s ease all;

&::before {
@include fontawesome( '\f054' );
margin-right: 1rem;
color: theme-color( 'primary' );
font-size: $small-font-size;
transition: transform 0.1s ease;
}

&:hover {
border-color: theme-color( 'primary' );

&::before {
transform: translateX( 4px );
}
}

&:focus {
border-color: theme-color( 'primary' );
color: theme-color( 'primary' );
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.denhaag-sidenav,
.sidebar {
font-family: 'FedraSans', $font-family-sans-serif;
}
18 changes: 18 additions & 0 deletions htdocs/wp-content/themes/gorinchem/assets/scss/editor.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*--------------------------------------------------------------
Settings
--------------------------------------------------------------*/
@import 'settings/colors';
@import 'settings/bootstrap';
@import 'settings/variables';

/*--------------------------------------------------------------
Parent theme
--------------------------------------------------------------*/
@import '../../../owc-formulieren/assets/scss/editor';
@import 'settings/root';
@import 'settings/typography';

/*--------------------------------------------------------------
Elements
--------------------------------------------------------------*/
@import 'elements/headings';
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
h1 {
color: theme-color( 'primary' );
font-weight: 500;
}

h2,
h3,
h4,
h5,
h6 {
color: theme-color( 'secondary' );
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
@import './colors';

/*--------------------------------------------------------------
Fonts
--------------------------------------------------------------*/
$font-size-base: 1rem;
$font-family-sans-serif:
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Source Sans Pro,
'Helvetica Neue',
Arial,
sans-serif,
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol';
$font-family-base: 'Open Sans', $font-family-sans-serif;
$font-weight-base: 400;
$line-height-base: 1.7;
$enable-responsive-font-sizes: true;

$small-font-size: $font-size-base * 0.9;
$xs-small-font-size: $small-font-size * 0.9;

$lead-font-weight: 400;
$lead-font-size: $font-size-base * 1.1;

/*--------------------------------------------------------------
Colors
--------------------------------------------------------------*/
$body-bg: #f3f5f9;
$body-color: #2b2b2b;
$danger: #e0001e;
$succes: #009a3e;
$text-muted: #687078;
$yiq-contrasted-threshold: 125;

/*--------------------------------------------------------------
Paragraph
--------------------------------------------------------------*/
$paragraph-margin-bottom: 1.25rem;

/*--------------------------------------------------------------
Headings
--------------------------------------------------------------*/
$h1-font-size: $font-size-base * 2.6 !default;
$h2-font-size: $font-size-base * 1.7 !default;
$h3-font-size: $font-size-base * 1.35 !default;
$h4-font-size: $font-size-base * 1.15 !default;
$h5-font-size: $font-size-base * 1 !default;
$h6-font-size: $font-size-base !default;
$headings-font-family: 'FedraSans', $font-family-sans-serif;
$headings-margin-bottom: 1rem;
$headings-font-weight: 500;

/*--------------------------------------------------------------
Border radius
--------------------------------------------------------------*/
$border-radius: 0;
$border-radius-lg: 0;

/*--------------------------------------------------------------
Buttons
--------------------------------------------------------------*/
$btn-padding-y: 0.75rem;
$btn-padding-x: 1.4rem;
$btn-border-width: 0;
$btn-border-radius: 0;
$btn-font-weight: 700;

/*--------------------------------------------------------------
Components
--------------------------------------------------------------*/
$box-shadow:
0px 4px 16px rgba( 17, 17, 26, 0.05 ),
0px 8px 32px rgba( 17, 17, 26, 0.05 );

/*--------------------------------------------------------------
Forms
--------------------------------------------------------------*/
$input-padding-y: 0.5rem;
$input-padding-x: 0.7rem;
$input-bg: #fff;
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*--------------------------------------------------------------
Custom colors
--------------------------------------------------------------*/

$theme-colors: (
primary: #e61014,
secondary: #3a0056,
);
12 changes: 12 additions & 0 deletions htdocs/wp-content/themes/gorinchem/assets/scss/settings/_root.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
:root {
--color-palette-primary: #{theme-color( 'primary' )};
--color-palette-secondary: #{theme-color( 'secondary' )};
--color-palette-white: #fff;
--color-palette-black: #000;
--layout-content-size: 800px;
--layout-wide-size: #{map-get( $container-max-widths, 'xl' )};
}

.zaak-process-steps {
--zaak-process-steps-color-success: #{theme-color( 'primary' )} !important;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@import url( 'https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap' );

@font-face {
font-display: swap;
font-family: 'FedraSans';
font-style: normal;
font-weight: 400;
src: url( '../fonts/FedraSans-Book.woff2' ) format( 'woff2' );
}

@font-face {
font-display: swap;
font-family: 'FedraSans';
font-style: normal;
font-weight: 500;
src: url( '../fonts/FedraSans-Medium.woff2' ) format( 'woff2' );
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$navbar-height: 80px;
$navbar-height-desktop: 80px;
$navbar-shadow: $box-shadow;
$mijn-zaken-footer-bg-color: transparent;
$mijn-zaken-footer-color: $body-color;
25 changes: 25 additions & 0 deletions htdocs/wp-content/themes/gorinchem/assets/scss/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*--------------------------------------------------------------
Settings
--------------------------------------------------------------*/
@import 'settings/colors';
@import 'settings/bootstrap';
@import 'settings/variables';

/*--------------------------------------------------------------
Parent theme
--------------------------------------------------------------*/
@import '../../../owc-formulieren/assets/scss/style';
@import 'settings/root';
@import 'settings/typography';

/*--------------------------------------------------------------
Components
--------------------------------------------------------------*/
@import 'components/footer';
@import 'components/navbar';
@import 'components/sidebar';

/*--------------------------------------------------------------
Elements
--------------------------------------------------------------*/
@import 'elements/headings';
10 changes: 10 additions & 0 deletions htdocs/wp-content/themes/gorinchem/config/home.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

return [
'digid_is_active' => true,
'digid_provider' => 'owc-signicat-openid',
'eherkenning_is_active' => true,
'eherkenning_provider' => 'owc-signicat-openid',
'eidas_is_active' => true,
'eidas_provider' => 'owc-signicat-openid',
];
7 changes: 7 additions & 0 deletions htdocs/wp-content/themes/gorinchem/functions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

declare(strict_types=1);

defined('ABSPATH') || exit;

add_filter('gform_enable_legacy_markup', '__return_true');
Binary file not shown.
Loading