diff --git a/composer.lock b/composer.lock index 89328be2..ab4b744d 100644 --- a/composer.lock +++ b/composer.lock @@ -2010,64 +2010,6 @@ "issues": "https://www.drupal.org/project/issues/admin_toolbar" } }, - { - "name": "drupal/adminimal_theme", - "version": "1.7.0", - "source": { - "type": "git", - "url": "https://git.drupalcode.org/project/adminimal_theme.git", - "reference": "8.x-1.7" - }, - "dist": { - "type": "zip", - "url": "https://ftp.drupal.org/files/projects/adminimal_theme-8.x-1.7.zip", - "reference": "8.x-1.7", - "shasum": "0fe020fecab6a1f6d877f2e622fb9f916ada52bb" - }, - "require": { - "drupal/core": "^9.3 || ^10", - "drupal/seven": "~1.0" - }, - "type": "drupal-theme", - "extra": { - "drupal": { - "version": "8.x-1.7", - "datestamp": "1691504486", - "security-coverage": { - "status": "covered", - "message": "Covered by Drupal's security advisory policy" - } - } - }, - "notification-url": "https://packages.drupal.org/8/downloads", - "license": [ - "GPL-2.0+" - ], - "authors": [ - { - "name": "ANDiTKO", - "homepage": "https://www.drupal.org/user/1428124" - }, - { - "name": "andrey.troeglazov", - "homepage": "https://www.drupal.org/user/3145389" - }, - { - "name": "realityloop", - "homepage": "https://www.drupal.org/user/139189" - }, - { - "name": "rjjakes", - "homepage": "https://www.drupal.org/user/3457245" - } - ], - "description": "Drupal administration theme with modern minimalist design.", - "homepage": "https://www.drupal.org/project/adminimal_theme", - "support": { - "source": "https://git.drupalcode.org/project/adminimal_theme", - "issues": "https://www.drupal.org/project/issues/adminimal_theme" - } - }, { "name": "drupal/advanced_text_formatter", "version": "3.0.0-rc2", @@ -10022,70 +9964,6 @@ "issues": "https://www.drupal.org/project/issues/session_limit" } }, - { - "name": "drupal/seven", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://git.drupalcode.org/project/seven.git", - "reference": "1.0.0" - }, - "dist": { - "type": "zip", - "url": "https://ftp.drupal.org/files/projects/seven-1.0.0.zip", - "reference": "1.0.0", - "shasum": "88e86926388c7e6cf66b0502d13a0470ce2399cd" - }, - "require": { - "drupal/core": "^9 || ^10" - }, - "type": "drupal-theme", - "extra": { - "drupal": { - "version": "1.0.0", - "datestamp": "1758908691", - "security-coverage": { - "status": "covered", - "message": "Covered by Drupal's security advisory policy" - } - } - }, - "notification-url": "https://packages.drupal.org/8/downloads", - "license": [ - "GPL-2.0-or-later" - ], - "authors": [ - { - "name": "avpaderno", - "homepage": "https://www.drupal.org/user/55077" - }, - { - "name": "bnjmnm", - "homepage": "https://www.drupal.org/user/2369194" - }, - { - "name": "krakenbite", - "homepage": "https://www.drupal.org/user/3805933" - }, - { - "name": "lauriii", - "homepage": "https://www.drupal.org/user/1078742" - }, - { - "name": "mcrittenden", - "homepage": "https://www.drupal.org/user/420631" - }, - { - "name": "mrfelton", - "homepage": "https://www.drupal.org/user/305669" - } - ], - "description": "The Seven theme from Drupal 8/9 moved to contrib", - "homepage": "https://www.drupal.org/project/seven", - "support": { - "source": "https://git.drupalcode.org/project/seven" - } - }, { "name": "drupal/simplenews", "version": "4.1.3", diff --git a/web/themes/custom/matminimal/config/optional/block.block.matminimal_breadcrumbs.yml b/web/themes/custom/matminimal/config/optional/block.block.matminimal_breadcrumbs.yml deleted file mode 100644 index 75690175..00000000 --- a/web/themes/custom/matminimal/config/optional/block.block.matminimal_breadcrumbs.yml +++ /dev/null @@ -1,19 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - system - theme: - - matminimal -id: matminimal_breadcrumbs -theme: matminimal -region: breadcrumb -weight: 0 -provider: null -plugin: system_breadcrumb_block -settings: - id: system_breadcrumb_block - label: Breadcrumbs - provider: system - label_display: '0' -visibility: { } diff --git a/web/themes/custom/matminimal/config/optional/block.block.matminimal_content.yml b/web/themes/custom/matminimal/config/optional/block.block.matminimal_content.yml deleted file mode 100644 index 60eb7a4b..00000000 --- a/web/themes/custom/matminimal/config/optional/block.block.matminimal_content.yml +++ /dev/null @@ -1,19 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - system - theme: - - matminimal -id: matminimal_content -theme: matminimal -region: content -weight: 0 -provider: null -plugin: system_main_block -settings: - id: system_main_block - label: 'Main page content' - provider: system - label_display: '0' -visibility: { } diff --git a/web/themes/custom/matminimal/config/optional/block.block.matminimal_help.yml b/web/themes/custom/matminimal/config/optional/block.block.matminimal_help.yml deleted file mode 100644 index a6369bbb..00000000 --- a/web/themes/custom/matminimal/config/optional/block.block.matminimal_help.yml +++ /dev/null @@ -1,19 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - help - theme: - - matminimal -id: matminimal_help -theme: matminimal -region: help -weight: 0 -provider: null -plugin: help_block -settings: - id: help_block - label: Help - provider: help - label_display: '0' -visibility: { } diff --git a/web/themes/custom/matminimal/config/optional/block.block.matminimal_local_actions.yml b/web/themes/custom/matminimal/config/optional/block.block.matminimal_local_actions.yml deleted file mode 100644 index 25e0d1cd..00000000 --- a/web/themes/custom/matminimal/config/optional/block.block.matminimal_local_actions.yml +++ /dev/null @@ -1,17 +0,0 @@ -langcode: en -status: true -dependencies: - theme: - - matminimal -id: matminimal_local_actions -theme: matminimal -region: content -weight: -10 -provider: null -plugin: local_actions_block -settings: - id: local_actions_block - label: 'Primary admin actions' - provider: core - label_display: '0' -visibility: { } diff --git a/web/themes/custom/matminimal/config/optional/block.block.matminimal_login.yml b/web/themes/custom/matminimal/config/optional/block.block.matminimal_login.yml deleted file mode 100644 index 128ddac3..00000000 --- a/web/themes/custom/matminimal/config/optional/block.block.matminimal_login.yml +++ /dev/null @@ -1,19 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - user - theme: - - matminimal -id: matminimal_login -theme: matminimal -region: content -weight: 10 -provider: null -plugin: user_login_block -settings: - id: user_login_block - label: 'User login' - provider: user - label_display: visible -visibility: { } diff --git a/web/themes/custom/matminimal/config/optional/block.block.matminimal_messages.yml b/web/themes/custom/matminimal/config/optional/block.block.matminimal_messages.yml deleted file mode 100644 index 576099c7..00000000 --- a/web/themes/custom/matminimal/config/optional/block.block.matminimal_messages.yml +++ /dev/null @@ -1,19 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - system - theme: - - matminimal -id: matminimal_messages -theme: matminimal -region: highlighted -weight: 0 -provider: null -plugin: system_messages_block -settings: - id: system_messages_block - label: 'Status messages' - provider: system - label_display: '0' -visibility: { } diff --git a/web/themes/custom/matminimal/config/optional/block.block.matminimal_page_title.yml b/web/themes/custom/matminimal/config/optional/block.block.matminimal_page_title.yml deleted file mode 100644 index 3e906088..00000000 --- a/web/themes/custom/matminimal/config/optional/block.block.matminimal_page_title.yml +++ /dev/null @@ -1,17 +0,0 @@ -langcode: en -status: true -dependencies: - theme: - - matminimal -id: matminimal_page_title -theme: matminimal -region: header -weight: -30 -provider: null -plugin: page_title_block -settings: - id: page_title_block - label: 'Page title' - provider: core - label_display: '0' -visibility: { } diff --git a/web/themes/custom/matminimal/config/optional/block.block.matminimal_primary_local_tasks.yml b/web/themes/custom/matminimal/config/optional/block.block.matminimal_primary_local_tasks.yml deleted file mode 100644 index e3fece1a..00000000 --- a/web/themes/custom/matminimal/config/optional/block.block.matminimal_primary_local_tasks.yml +++ /dev/null @@ -1,19 +0,0 @@ -langcode: en -status: true -dependencies: - theme: - - matminimal -id: matminimal_primary_local_tasks -theme: matminimal -region: header -weight: 0 -provider: null -plugin: local_tasks_block -settings: - id: local_tasks_block - label: 'Primary tabs' - provider: core - label_display: '0' - primary: true - secondary: false -visibility: { } diff --git a/web/themes/custom/matminimal/config/optional/block.block.matminimal_secondary_local_tasks.yml b/web/themes/custom/matminimal/config/optional/block.block.matminimal_secondary_local_tasks.yml deleted file mode 100644 index 814d58d1..00000000 --- a/web/themes/custom/matminimal/config/optional/block.block.matminimal_secondary_local_tasks.yml +++ /dev/null @@ -1,19 +0,0 @@ -langcode: en -status: true -dependencies: - theme: - - matminimal -id: matminimal_secondary_local_tasks -theme: matminimal -region: pre_content -weight: 0 -provider: null -plugin: local_tasks_block -settings: - id: local_tasks_block - label: 'Secondary tabs' - provider: core - label_display: '0' - primary: false - secondary: true -visibility: { } diff --git a/web/themes/custom/matminimal/css/matminimal.css b/web/themes/custom/matminimal/css/matminimal.css deleted file mode 100644 index 8ef73af3..00000000 --- a/web/themes/custom/matminimal/css/matminimal.css +++ /dev/null @@ -1,63 +0,0 @@ -.adminimal input.form-autocomplete, .adminimal input.form-text, .adminimal input.form-tel, .adminimal input.form-email, .adminimal input.form-url, .adminimal input.form-search, .adminimal input.form-number, .adminimal input.form-color, .adminimal input.form-file, .adminimal input.form-date, .adminimal input.form-time, .adminimal textarea.form-textarea{ - background-color: #fff; - border-radius: 3px; -} - -.adminimal select{ - background-color: #fff; - border-radius: 3px; -} - -.adminimal .button { - /* background-color: #2196F3; */ - border-radius: 5px; -} -/* .adminimal .button:hover, .adminimal .button:focus { - background-color: #2196F3; - border-color: #2196F3; -} - -.adminimal .button[data-drupal-selector="edit-submit-admin-nodes"]{ - background-color: #64DD17; -} - -.adminimal .button[data-drupal-selector="edit-reset"]{ - background-color: #FFC107; -} */ - - -.js td .dropbutton-multiple{ - border-radius: 3px; -} -.views-exposed-form{ - font-size: 0.9em; -} -.views-exposed-form input[type="text"]{ - max-width:10em; -} -.views-exposed-form input[type="text"].form-autocomplete{ - max-width:14em; -} -.views-exposed-form select.form-select{ - min-height: 0; - padding: 0.2em 0.4em 0.2em 0.5em; -} - -.field--widget-term-reference-tree fieldset.form-wrapper{ - display:block; -} -.term-reference-tree{ - display:block; -} -.term-reference-tree>ul, .term-reference-tree aside.term-reference-tree-track-list{ - display:inline-block; - vertical-align:top; -} -.term-reference-tree>ul{ - padding-right:1em; - min-width:45%; -} -.term-reference-tree aside.term-reference-tree-track-list{ - border-left:1px solid #aaa; - padding-left:1em; -} \ No newline at end of file diff --git a/web/themes/custom/matminimal/icon.png b/web/themes/custom/matminimal/icon.png deleted file mode 100644 index bf9d7ba7..00000000 Binary files a/web/themes/custom/matminimal/icon.png and /dev/null differ diff --git a/web/themes/custom/matminimal/matminimal.info.yml b/web/themes/custom/matminimal/matminimal.info.yml deleted file mode 100644 index cbb7433b..00000000 --- a/web/themes/custom/matminimal/matminimal.info.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Matminimal -type: theme -description: 'Adminimal based drupal administration theme with material design.' -core_version_requirement: ^8.8 || ^9.2 || ^10 || ^11 -base theme: adminimal_theme - -libraries: - - matminimal/global-styling - -regions: - header: 'Header' - pre_content: 'Pre-content' - breadcrumb: Breadcrumb - highlighted: Highlighted - help: Help - content: Content - page_top: 'Page top' - page_bottom: 'Page bottom' - sidebar_first: 'First sidebar' -regions_hidden: - - sidebar_first diff --git a/web/themes/custom/matminimal/matminimal.libraries.yml b/web/themes/custom/matminimal/matminimal.libraries.yml deleted file mode 100644 index 558b2e2a..00000000 --- a/web/themes/custom/matminimal/matminimal.libraries.yml +++ /dev/null @@ -1,5 +0,0 @@ -global-styling: - version: VERSION - css: - theme: - css/matminimal.css: {} diff --git a/web/themes/custom/matminimal/matminimal.theme b/web/themes/custom/matminimal/matminimal.theme deleted file mode 100644 index 5327250b..00000000 --- a/web/themes/custom/matminimal/matminimal.theme +++ /dev/null @@ -1,65 +0,0 @@ -getPathInfo()); -// if ($suggestions = theme_get_suggestions($path_args, 'page', '-')) { -// foreach ($suggestions as $suggestion) { -// // dsm($suggestion); -// preg_match('/taxonomy-manage-[^-]+-add$/', $suggestion, $matches); -// // ksm($matches); -// if ($suggestion === 'page--taxonomy-term-edit' || isset($matches)) { -// $variables['attributes']['class'][] = 'node-form-layout'; -// } -// } -// } -// } - -// function matminimal_form_alter(&$form, FormStateInterface $form_state, $form_id){ -// // dsm($form_id); -// // create a colomuned term form (not working yet) -// if(in_array($form_id, ['taxonomy_term_company_form', 'taxonomy_term_showroom_form'])){ -// // ksm($form); -// $form['#theme'] = ['term_edit_form']; -// $form['#attached']['library'][] = 'seven/node-form'; -// -// $form['advanced']['#type'] = 'container'; -// $form['meta']['#type'] = 'container'; -// $form['meta']['#access'] = TRUE; -// $form['meta']['changed']['#wrapper_attributes']['class'][] = 'container-inline'; -// $form['meta']['author']['#wrapper_attributes']['class'][] = 'container-inline'; -// -// $form['revision_information']['#type'] = 'container'; -// $form['revision_information']['#group'] = 'meta'; -// } -// } - -/** - * Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm. - * - * Changes vertical tabs to container. - */ -function matminimal_form_node_form_alter(&$form, FormStateInterface $form_state) { - $form['#theme'] = ['node_edit_form']; - $form['#attached']['library'][] = 'seven/node-form'; - - $form['advanced']['#type'] = 'container'; - $form['meta']['#type'] = 'container'; - $form['meta']['#access'] = TRUE; - $form['meta']['changed']['#wrapper_attributes']['class'][] = 'container-inline'; - $form['meta']['author']['#wrapper_attributes']['class'][] = 'container-inline'; - - $form['revision_information']['#type'] = 'container'; - $form['revision_information']['#group'] = 'meta'; -} diff --git a/web/themes/custom/matminimal/templates/form/node-edit-form.html.twig b/web/themes/custom/matminimal/templates/form/node-edit-form.html.twig deleted file mode 100644 index 0c9be199..00000000 --- a/web/themes/custom/matminimal/templates/form/node-edit-form.html.twig +++ /dev/null @@ -1,33 +0,0 @@ -{# -/** - * @file - * Theme override for a node edit form. - * - * Two column template for the node add/edit form. - * - * This template will be used when a node edit form specifies 'node_edit_form' - * as its #theme callback. Otherwise, by default, node add/edit forms will be - * themed by form.html.twig. - * - * Available variables: - * - form: The node add/edit form. - * - * @see seven_form_node_form_alter() - */ -#} - -
-
- {{ form|without('advanced', 'footer', 'actions', 'group_internal') }} -
-
- {{ form.group_internal }} - {{ form.advanced }} - {{ form.actions }} -
- -