changed admin theme
This commit is contained in:
@@ -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: {}
|
||||
@@ -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) {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* @file
|
||||
* figlimal behaviors.
|
||||
*/
|
||||
(function (Drupal) {
|
||||
|
||||
'use strict';
|
||||
|
||||
Drupal.behaviors.figlimal = {
|
||||
attach: function (context, settings) {
|
||||
|
||||
console.log('It works!');
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
} (Drupal));
|
||||
Reference in New Issue
Block a user