Bladeren bron

created matminimal custom admin theme based on adminimal

Bachir Soussi Chiadmi 5 jaren geleden
bovenliggende
commit
8dcd3c552a

+ 0 - 2
composer.json

@@ -20,13 +20,11 @@
         "composer/installers": "^1.2",
         "cweagans/composer-patches": "^1.6.5",
         "drupal-composer/drupal-scaffold": "^2.5",
-        "drupal/agnian_material_admin": "1.x-dev",
         "drupal/computed_field": "^2.0@beta",
         "drupal/config_split": "^1.4",
         "drupal/console": "^1.0.2",
         "drupal/core": "^8.6.0",
         "drupal/entity_clone": "^1.0",
-        "drupal/flexi": "1.x-dev",
         "drupal/migrate_plus": "4.x-dev",
         "drupal/migrate_tools": "4.x-dev",
         "drupal/select_translation": "1.x-dev",

+ 1 - 99
composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "1b3daf3240884b4153434016242f1772",
+    "content-hash": "2870a938f62d53a1a99aec9c27481936",
     "packages": [
         {
             "name": "alchemy/zippy",
@@ -1958,56 +1958,6 @@
                 "source": "http://cgit.drupalcode.org/advanced_text_formatter"
             }
         },
-        {
-            "name": "drupal/agnian_material_admin",
-            "version": "dev-1.x",
-            "source": {
-                "type": "git",
-                "url": "https://git.drupal.org/project/agnian_material_admin",
-                "reference": "0a3ea953011772fef296d33bfe1b5ae3c42b1238"
-            },
-            "require": {
-                "drupal/core": "~8.0"
-            },
-            "type": "drupal-theme",
-            "extra": {
-                "branch-alias": {
-                    "dev-1.x": "1.x-dev"
-                },
-                "drupal": {
-                    "version": "8.x-1.29+1-dev",
-                    "datestamp": "1548169680",
-                    "security-coverage": {
-                        "status": "not-covered",
-                        "message": "Project has not opted into security advisory coverage!"
-                    }
-                }
-            },
-            "notification-url": "https://packages.drupal.org/8/downloads",
-            "license": [
-                "GPL-2.0-or-later"
-            ],
-            "authors": [
-                {
-                    "name": "raffi",
-                    "homepage": "https://www.drupal.org/user/74748"
-                },
-                {
-                    "name": "saidatom",
-                    "homepage": "https://www.drupal.org/user/1846674"
-                },
-                {
-                    "name": "ysarkisyan",
-                    "homepage": "https://www.drupal.org/user/420671"
-                }
-            ],
-            "description": "Agnian material admin theme for Drupal.",
-            "homepage": "https://www.drupal.org/project/agnian_material_admin",
-            "support": {
-                "source": "http://cgit.drupalcode.org/agnian_material_admin"
-            },
-            "time": "2019-01-22T17:17:50+00:00"
-        },
         {
             "name": "drupal/audiofield",
             "version": "1.8.0",
@@ -4827,52 +4777,6 @@
             },
             "time": "2016-07-27T19:01:11+00:00"
         },
-        {
-            "name": "drupal/flexi",
-            "version": "dev-1.x",
-            "source": {
-                "type": "git",
-                "url": "https://git.drupal.org/project/flexi",
-                "reference": "1786c56c7dd2be20a4684d3a3df91eff13a3b928"
-            },
-            "require": {
-                "drupal/core": "~8.0"
-            },
-            "type": "drupal-theme",
-            "extra": {
-                "branch-alias": {
-                    "dev-1.x": "1.x-dev"
-                },
-                "drupal": {
-                    "version": "8.x-1.3+3-dev",
-                    "datestamp": "1549435680",
-                    "security-coverage": {
-                        "status": "not-covered",
-                        "message": "Project has not opted into security advisory coverage!"
-                    }
-                }
-            },
-            "notification-url": "https://packages.drupal.org/8/downloads",
-            "license": [
-                "GPL-2.0-or-later"
-            ],
-            "authors": [
-                {
-                    "name": "Girish-jerk",
-                    "homepage": "https://www.drupal.org/user/3406890"
-                },
-                {
-                    "name": "Sakthivel M",
-                    "homepage": "https://www.drupal.org/user/2947669"
-                }
-            ],
-            "description": "HTML5 based Responsive Drupal Base theme. Most flexible & user friendly theme for backend and frontend.",
-            "homepage": "https://www.drupal.org/project/flexi",
-            "support": {
-                "source": "http://cgit.drupalcode.org/flexi"
-            },
-            "time": "2019-02-06T06:48:14+00:00"
-        },
         {
             "name": "drupal/honeypot",
             "version": "1.29.0",
@@ -13202,9 +13106,7 @@
     "aliases": [],
     "minimum-stability": "dev",
     "stability-flags": {
-        "drupal/agnian_material_admin": 20,
         "drupal/computed_field": 10,
-        "drupal/flexi": 20,
         "drupal/migrate_plus": 20,
         "drupal/migrate_tools": 20,
         "drupal/select_translation": 20,

+ 43 - 0
web/themes/custom/matminimal/css/matminimal.css

@@ -0,0 +1,43 @@
+body{
+  /* background-color: red!important; */
+}
+
+details.seven-details{
+  background-color: #333;
+  color:#fff;
+  border-radius: 3px;
+}
+details.seven-details input,
+details.seven-details select{
+  color:#333;
+}
+details.seven-details summary,
+details.seven-details .seven-details__summary:hover,
+details.seven-details .seven-details__summary:focus,
+.seven-details[open] > .seven-details__summary{
+  color:#fff;
+  text-shadow: none;
+}
+
+.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{
+  border-radius: 3px;
+}
+.adminimal select{
+  border-radius: 3px;
+}
+
+.adminimal .button{
+  background-color: #0071b8;
+  border-radius: 5px;
+}

+ 8 - 0
web/themes/custom/matminimal/matminimal.info.yml

@@ -0,0 +1,8 @@
+name: Matminimal
+type: theme
+description: 'Adminimal based drupal administration theme with material design.'
+core: 8.x
+base theme: adminimal_theme
+
+libraries:
+  - matminimal/global-styling

+ 5 - 0
web/themes/custom/matminimal/matminimal.libraries.yml

@@ -0,0 +1,5 @@
+global-styling:
+  version: VERSION
+  css:
+    theme:
+      css/matminimal.css: {}