From 048fe577c8750eb66663b6b8d76b6552f4053b10 Mon Sep 17 00:00:00 2001 From: Andrew Chernous Date: Tue, 16 Jun 2015 18:18:00 +0300 Subject: [PATCH] taxonomy-css-to-classy --- core/modules/taxonomy/css/taxonomy.theme.css | 10 ---------- core/modules/taxonomy/taxonomy.libraries.yml | 3 --- core/themes/classy/classy.libraries.yml | 5 +++++ core/themes/classy/classy.theme | 15 +++++++++++++++ core/themes/classy/css/taxonomy/taxonomy.theme.css | 10 ++++++++++ .../classy/templates/content/taxonomy-term.html.twig | 1 + 6 files changed, 31 insertions(+), 13 deletions(-) delete mode 100644 core/modules/taxonomy/css/taxonomy.theme.css create mode 100644 core/themes/classy/classy.theme create mode 100644 core/themes/classy/css/taxonomy/taxonomy.theme.css diff --git a/core/modules/taxonomy/css/taxonomy.theme.css b/core/modules/taxonomy/css/taxonomy.theme.css deleted file mode 100644 index 543666a..0000000 --- a/core/modules/taxonomy/css/taxonomy.theme.css +++ /dev/null @@ -1,10 +0,0 @@ - -.taxonomy-term-preview { - background-color: #eee; -} -.taxonomy-term-divider-top { - border-bottom: none; -} -.taxonomy-term-divider-bottom { - border-top: 1px dotted #ccc; -} diff --git a/core/modules/taxonomy/taxonomy.libraries.yml b/core/modules/taxonomy/taxonomy.libraries.yml index 3a7904f..1119cf1 100644 --- a/core/modules/taxonomy/taxonomy.libraries.yml +++ b/core/modules/taxonomy/taxonomy.libraries.yml @@ -2,9 +2,6 @@ drupal.taxonomy: version: VERSION js: taxonomy.js: {} - css: - component: - css/taxonomy.theme.css: {} dependencies: - core/jquery - core/drupal diff --git a/core/themes/classy/classy.libraries.yml b/core/themes/classy/classy.libraries.yml index 4603ff1..1fa0c6b 100644 --- a/core/themes/classy/classy.libraries.yml +++ b/core/themes/classy/classy.libraries.yml @@ -15,3 +15,8 @@ drupal.comment.threaded: css: theme: css/comment/comment.theme.css: {} + +drupal.taxonomy: + css: + component: + css/taxonomy/taxonomy.theme.css: {} diff --git a/core/themes/classy/classy.theme b/core/themes/classy/classy.theme new file mode 100644 index 0000000..809a343 --- /dev/null +++ b/core/themes/classy/classy.theme @@ -0,0 +1,15 @@ +