changed admin theme

This commit is contained in:
2023-11-27 16:52:33 +01:00
parent 1b58580cb0
commit 42ae47b87f
19 changed files with 589 additions and 32 deletions
@@ -0,0 +1,8 @@
div.view-id-content.view-display-id-page_2 td.views-field.views-field-title h2{
margin:0;
}
div.view-id-content.view-display-id-page_2 td.views-field.views-field-field-commentaire{
width: 400px;
}
@@ -0,0 +1,21 @@
name: figlimal
type: theme
base theme: adminimal_theme
description: A flexible theme with a responsive, mobile-first layout.
package: Custom
core: 8.x
core_version_requirement: ^8 || ^9 || ^10
libraries:
- figlimal/global
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
@@ -0,0 +1,7 @@
# Main theme library.
global:
js:
js/figlimal.js: {}
css:
theme:
css/styles.css: {}
+27
View File
@@ -0,0 +1,27 @@
<?php
/**
* @file
* Functions to support theming in the figlimal theme.
*/
/**
* Implements hook_preprocess_HOOK() for html.html.twig.
*/
function figlimal_preprocess_html(&$variables) {
}
/**
* Implements hook_preprocess_HOOK() for page.html.twig.
*/
function figlimal_preprocess_page(&$variables) {
}
/**
* Implements hook_preprocess_HOOK() for node.html.twig.
*/
function figlimal_preprocess_node(&$variables) {
}
+17
View File
@@ -0,0 +1,17 @@
/**
* @file
* figlimal behaviors.
*/
(function (Drupal) {
'use strict';
Drupal.behaviors.figlimal = {
attach: function (context, settings) {
console.log('It works!');
}
};
} (Drupal));