Created
October 25, 2015 23:18
-
-
Save mortendk/b40efcaa3cde161dbdf8 to your computer and use it in GitHub Desktop.
classy css selectors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Document all css class selectors that are in the classy theme. | |
<code> | |
.foo { } | |
.foo-bar { } | |
</code> | |
where it is filename.html.twig / filename.css | |
<h3>Available css selectors in the Classy theme:</h3> | |
<h4>Body</h4> | |
<code> | |
.user-logged-in { ... } | |
.path-frontpage { ... } | |
.path-[root_path] {... } | |
.node--type-[node_type] { ...} | |
.db-offline { ... } | |
</code> | |
file: html.html.twig | |
<h4>page</h4> | |
<code> | |
.layout-container { } | |
.layout-content { } | |
.layout-sidebar-first { } | |
.layout-sidebar-second { } | |
</code> | |
file: page.html.twig | |
<h4>Region</h4> | |
<code> | |
.region { } | |
.region-[region] { } | |
</code> | |
file: region.html.twig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment