cleaned old unused anymore themes
This commit is contained in:
@@ -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: { }
|
||||
@@ -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: { }
|
||||
@@ -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: { }
|
||||
@@ -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: { }
|
||||
@@ -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: { }
|
||||
@@ -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: { }
|
||||
@@ -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: { }
|
||||
-19
@@ -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: { }
|
||||
-19
@@ -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: { }
|
||||
@@ -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;
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 862 B |
@@ -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
|
||||
@@ -1,5 +0,0 @@
|
||||
global-styling:
|
||||
version: VERSION
|
||||
css:
|
||||
theme:
|
||||
css/matminimal.css: {}
|
||||
@@ -1,65 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Functions to support theming in the Seven theme.
|
||||
*/
|
||||
|
||||
use Drupal\Core\Form\FormStateInterface;
|
||||
|
||||
|
||||
/**
|
||||
* Implements hook_preprocess_HOOK() for HTML document templates.
|
||||
*/
|
||||
// function matminimal_preprocess_html(&$variables) {
|
||||
// // If on a node add or edit page, add a node-layout class.
|
||||
// $path_args = explode('/', \Drupal::request()->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';
|
||||
}
|
||||
@@ -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()
|
||||
*/
|
||||
#}
|
||||
|
||||
<div class="layout-node-form clearfix">
|
||||
<div class="layout-region layout-region-node-main">
|
||||
{{ form|without('advanced', 'footer', 'actions', 'group_internal') }}
|
||||
</div>
|
||||
<div class="layout-region layout-region-node-secondary">
|
||||
{{ form.group_internal }}
|
||||
{{ form.advanced }}
|
||||
{{ form.actions }}
|
||||
</div>
|
||||
<div class="layout-region layout-region-node-footer">
|
||||
<div class="layout-region-node-footer__content">
|
||||
{{ form.footer }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user