我有一个drupal模块,该模块使用不需要的样式表。
这是它的位置:
modules/contrib/private_message/css/private_message_notification_block.css
https://www.drupal.org/project/private_message
如何使用Drupal 8忽略样式表?
更新
这是我的文件bootstrap_barrio_subtheme_front_office.info.yml
这是正确的位置吗?
name: Bootstrap Barrio Subtheme Front Office
type: theme
description: 'Basic structure for a Bootstrap Barrio SubTheme.'
version: VERSION
core: 8.x
base theme: bootstrap_barrio
libraries:
- bootstrap_barrio_subtheme_front_office/bootstrap
- bootstrap_barrio_subtheme_front_office/fontawesome
- bootstrap_barrio_subtheme_front_office/global-styling
libraries-override:
private_message/notification_block:
css:
component:
css/private_message_notification_block.css: false
regions:
navigation_collapsible_first: 'Navigation (Collapsible first)'
navigation_menu_first: 'Navigation (Menu first)'
navigation_notification_first: 'Navigation (Notification first)'
navigation_logo: 'Navigation (Logo)'
navigation_notification_second: 'Navigation (Notification second)'
navigation_menu_second: 'Navigation (Menu second)'
navigation_collapsible_second: 'Navigation (Collapsible second)'
breadcrumb: 'Breadcrumb'
header: 'Top Bar'
sidebar_first: 'Primary'
highlighted: 'Highlighted'
help: 'Help'
content: 'Content'
sidebar_second: 'Secondary'
footer_top: 'Footer top'
footer_first: 'Footer first'
footer_second: 'Footer second'
footer_third: 'Footer third'
footer_bottom: 'Footer bottom'