CSS-selectors van het Classy-thema
Documenteer alle CSS-class selectors die aanwezig zijn in het Classy-thema van Drupal 8 RC 2
formaat:
.foo { }
.foo-bar { }
bestandsnaam.html.twig / bestandsnaam.css
Twig - Beschikbare CSS-selectors in het Classy-thema:
LAYOUT
Body
.user-logged-in { }
.path-frontpage { }
.path-[root_path] { }
.node--type-[node_type] { }
.db-offline { }
.visually-hidden { }
.focusable { }
.skip-link { }
bestand: html.html.twig
Page
.layout-container { }
.layout-content { }
.layout-sidebar-first { }
.layout-sidebar-second { }
bestand: page.html.twig
Region
.region { }
.region-[region] { }
bestand: region.html.twig
Book export
.section-[i] { }
bestand: layout/book-export-html.html.twig
Maintenance page
.layout-container { }
.name-and-slogan { }
.site-name { }
.site-slogan { }
.layout-sidebar-first { }
.layout-sidebar-second { }
bestand: layout/maintenance-page.html.twig
BLOCK
Basis
.block { }
.block-[configuration.provider] { }
.block-[plugin_id] { }
bestand: block/block.html.twig
Zoekformulier
.block { }
.block-search { }
.container-inline{ }
bestand: block/block--search-form-block.html.twig
Menu
.block { }
.block-menu { }
.navigation { }
.menu--[derivative_plugin_id] { }
.visually-hidden { }
bestand: block/block--system-menu-block.html.twig
Tabs
.tabs { }
bestand: block/block--local-tasks-block.html.twig
Lokale acties
.action-links { }
bestand: block/block--local-actions-block.html.twig
Branding
.site-logo { }
.site-name { }
.site-slogan { }
bestand: block/block--system-branding-block.html.twig
CONTENT
Paginatitel
.page-title { }
bestand: content/page-title.html.twig
Node
.node { }
.node--type-[node.bundle] { }
.node--promoted { }
.node--sticky { }
.node--unpublished { }
.node--view-mode-[view_mode] { }
.node__meta { }
.node__submitted { }
.node__content { }
bestand: content/node.html.twig
Node-links
.node__links { }
bestand: content/links--node.html.twig
Taxonomy term
.taxonomy-term { }
.vocabulary-[term.bundle] { }
.content { }
bestand: content/taxonomy-term.html.twig
Zoekresultaat
.search-result__title { }
.search-result__snippet-info { }
.search-result__snippet { }
.search-result__info { }
bestand: content/search-result.html.twig
Reactie
.comment { }
.js-comment { }
.[status] { }
.by-anonymous { }
.by-[commented_entity.EntityTypeId]-author { }
.hidden { }
.comment__meta { }
.comment__submitted { }
.parent { }
.visually-hidden { }
.content { }
bestand: content/comment.html.twig
Aggregator item
.aggregator-item { }
.feed-item-title { }
bestand: content/aggregator-item.html.twig
Mark
.marker { }
bestand: content/mark.html.twig
Book node export
.section-[depth] { }
.book-heading { }
bestand: content/book-node-export-html.html.twig