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/seven/css/components/taxonomy-term.css b/core/themes/seven/css/components/taxonomy-term.css new file mode 100644 index 0000000..23b95d4 --- /dev/null +++ b/core/themes/seven/css/components/taxonomy-term.css @@ -0,0 +1,14 @@ +/** + * @file + * Visual styles for taxonomy term admin page. + */ + +.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/themes/seven/seven.info.yml b/core/themes/seven/seven.info.yml index 9452d5a..c6c8d40 100644 --- a/core/themes/seven/seven.info.yml +++ b/core/themes/seven/seven.info.yml @@ -43,6 +43,8 @@ libraries-extend: - seven/seven.jquery.ui tour/tour-styling: - seven/tour-styling + taxonomy/drupal.taxonomy: + - seven/seven.taxonomy-term quickedit_stylesheets: - css/components/quickedit.css regions: diff --git a/core/themes/seven/seven.libraries.yml b/core/themes/seven/seven.libraries.yml index a5b6d8a..db0d8d3 100644 --- a/core/themes/seven/seven.libraries.yml +++ b/core/themes/seven/seven.libraries.yml @@ -98,3 +98,8 @@ tour-styling: css: theme: css/components/tour.theme.css: {} + +seven.taxonomy-term: + css: + component: + css/components/taxonomy-term.css: {}