logo

Լրացուցիչ Բլոկների Տեսակներ (EBT) - Դասավորության Կառուցողի նոր փորձառություն❗

Լրացուցիչ Բլոկների Տեսակներ (EBT) - ձևավորված, կարգավորելի բլոկների տեսակներ՝ սլայդշոուներ, ներդիրներ, քարտեր, բացվող ցանկեր և շատ ուրիշներ։ Ներառված կարգավորումներ՝ ֆոնի, DOM տուփի, JavaScript փլագինների համար։ Փորձեք դասավորությունների կառուցման ապագան արդեն այսօր։

EBT մոդուլների ցուցադրական տարբերակներ Ներբեռնել EBT մոդուլները

❗Լրացուցիչ Պարբերությունների Տեսակներ (EPT) - Պարբերությունների նոր փորձառություն

Լրացուցիչ պարբերության տեսակներ (EPT) - անալոգիական պարբերության վրա հիմնված մոդուլների հավաքակազմ։

EPT մոդուլների ցուցադրական տարբերակներ Ներբեռնել EPT մոդուլները

Scroll

Classy թեմաների CSS ընտրիչներ

19/06/2025, by Ivan

Menu

Նշեք բոլոր CSS դասերի ընտրիչները, որոնք առկա են Drupal 8 Classy թեմայում:

ֆորմատ՝

.foo { }
.foo-bar { }

ֆայլի անունը.html.twig / ֆայլի անունը.css

Twig — Կան CSS ընտրիչներ Classy թեմայում՝

LAYOUT

Body

.user-logged-in { }
.path-frontpage { }
.path-[root_path] { }
.node--type-[node_type] { }
.db-offline { }
.visually-hidden { }
.focusable { }
.skip-link { }

ֆայլ՝ html.html.twig

Page

.layout-container { }
.layout-content { }
.layout-sidebar-first { }
.layout-sidebar-second { }

ֆայլ՝ page.html.twig

Region

.region { }
.region-[region] { }

ֆայլ՝ region.html.twig

Book export

.section-[i] { }

ֆայլ՝ layout/book-export-html.html.twig

Maintenance page

.layout-container { }
.name-and-slogan { }
.site-name { }
.site-slogan { }
.layout-sidebar-first { }
.layout-sidebar-second { }

ֆայլ՝ layout/maintenance-page.html.twig

BLOCK

Basic

.block { }
.block-[configuration.provider] { }
.block-[plugin_id] { }

ֆայլ՝ block/block.html.twig

Search form

.block { }
.block-search { }
.container-inline { }

ֆայլ՝ block/block--search-form-block.html.twig

Menu

.block { }
.block-menu { }
.navigation { }
.menu--[derivative_plugin_id] { }
.visually-hidden { }

ֆայլ՝ block/block--system-menu-block.html.twig

Tabs

.tabs { }

ֆայլ՝ block/block--local-tasks-block.html.twig

Local actions

.action-links { }

ֆայլ՝ block/block--local-actions-block.html.twig

Branding

.site-logo { }
.site-name { }
.site-slogan { }

ֆայլ՝ block/block--system-branding-block.html.twig

CONTENT

Page title

.page-title { }

ֆայլ՝ 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 { }

ֆայլ՝ content/node.html.twig

.node__links { }

ֆայլ՝ content/links--node.html.twig

Taxonomy term

.taxonomy-term { }
.vocabulary-[term.bundle] { }
.content { }

ֆայլ՝ content/taxonomy-term.html.twig

Search result

.search-result__title { }
.search-result__snippet-info { }
.search-result__snippet { }
.search-result__info { }

ֆայլ՝ content/search-result.html.twig

Comment

.comment { }
.js-comment { }
.[status] { }
.by-anonymous { }
.by-[commented_entity.EntityTypeId]-author { }
.hidden { }
.comment__meta { }
.comment__submitted { }
.parent { }
.visually-hidden { }
.content { }

ֆայլ՝ content/comment.html.twig

Aggregator item

.aggregator-item { }
.feed-item-title { }

ֆայլ՝ content/aggregator-item.html.twig

Mark

.marker { }

ֆայլ՝ content/mark.html.twig

Book node export

.section-[depth] { }
.book-heading { }

ֆայլ՝ content/book-node-export-html.html.twig

EDIT CONTENT

Node edit form

.layout-node-form { }
.clearfix { }
.layout-region { }
.layout-region-node-main { }
.layout-region-node-secondary { }
.layout-region-node-footer { }

ֆայլ՝ content-edit/node-edit-form.html.twig

Node add list

.node-type-list { }

ֆայլ՝ content-edit/node-add-list.html.twig

Text format wrapper

.js-text-format-wrapper { }
.text-format-wrapper { }
.js-form-item { }
.form-item { }
.description { }

ֆայլ՝ content-edit/text-format-wrapper.html.twig

File form widget

.js-form-managed-file { }
.form-managed-file { }

ֆայլ՝ content-edit/file-managed-file.html.twig

Image field widget

.image-preview { }
.image-widget-data { }

ֆայլ՝ content-edit/image-widget.html.twig

Filter caption

.caption { }
.caption-[tag] { }

ֆայլ՝ content-edit/filter-caption.html.twig

Filter guidelines

.filter-guidelines-item { }
.filter-guidelines-[format.id] { }
.label { }

ֆայլ՝ content-edit/filter-guidelines.html.twig

Filter tips

.compose-tips { }
.filter-type { }
.filter-[name] { }
.tips { }
.filter-[item.id] { }

ֆայլ՝ content-edit/filter-tips.html.twig

DATASET

Item list

.item-list--[context.list_style] { }
.item-list__[context.list_style] { }
.item-list { }

ֆայլ՝ dataset/item-list.html.twig

Search results item list

.search-results { }
.[context.plugin]-results { }

ֆայլ՝ dataset/item-list--search-results.html.twig

Table

.is-active { }
.odd { }
.even { }
.empty { }
.message { }

ֆայլ՝ dataset/table.html.twig

List of forums and containers

.[forum.zebra] { }
.container { }
.forum-list__forum { }
.indented { }
.forum__icon { }
.forum-status-[forum.icon_class] { }
.visually-hidden { }
.forum__name { }
.forum__description { }
.forum__topics { }
.forum__posts { }
.forum__last-reply { }

ֆայլ՝ dataset/forum-list.html.twig

Forum

.forum { }

ֆայլ՝ dataset/forums.html.twig

Status icon for the forum post

.forum__icon { }
.forum__topic-status--[icon_status] { }
.visually-hidden { }

ֆայլ՝ dataset/forum-icon.html.twig

Aggregator feed

.aggregator-feed { }

ֆայլ՝ dataset/aggregator-feed.html.twig

FIELD

Basic

.field { }
.field--name-[field_name] { }
.field--type-[field_type] { }
.field--label-[label_display] { }
.field__label { }
.visually-hidden { }
.field__items { }
.field__item { }

ֆայլ՝ field/field.html.twig

Node title field

.field { }
.field--name-[field_name] { }
.field--type-[field_type] { }
.field--label-[label_display] { }

ֆայլ՝ field/field--node--title.html.twig

Node created field

.field { }
.field--name-[field_name] { }
.field--type-[field_type] { }
.field--label-[label_display] { }

ֆայլ՝ field/field--node--created.html.twig

Node user field

.field { }
.field--name-[field_name] { }
.field--type-[field_type] { }
.field--label-[label_display] { }

ֆայլ՝ field/field--node--uid.html.twig

Text field

.clearfix { }
.text-formatted { }

ֆայլ՝ field/field--text.html.twig

Image field

.image-style-[style_name] { }

ֆայլ՝ field/image.html.twig

Date/time element

.datetime { }

ֆայլ՝ field/time.html.twig

.link-item { }
.link-title { }
.link-url { }

ֆայլ՝ field/link-formatter-link-separate.html.twig

Comment field

.field { }
.field--name-[field_name] { }
.field--type-[field_type] { }
.field--label-[label_display] { }
.comment-wrapper { }
.title { }
.visually-hidden { }
.comment-form__title { }

ֆայլ՝ field/field--comment.html.twig

FORM

Container to wrap child elements

.js-form-wrapper { }
.form-wrapper { }

ֆայլ՝ form/container.html.twig

Fieldset element and its children

.js-form-item { }
.form-item { }
.js-form-wrapper { }
.form-wrapper { }
.fieldset-legend { }
.js-form-required { }
.form-required { }
.fieldset-wrapper { }
.form-item--error-message { }
.field-prefix { }
.field-suffix { }
.description { }

ֆայլ՝ form/fieldset.html.twig

Form element

.js-form-item { }
.form-item { }
.js-form-type-[type] { }
.form-type-[type] { }
.js-form-item-[name] { }
.form-item-[name] { }
.form-no-label { }
.form-disabled { }
.form-item--error { }
.description { }
.visually-hidden { }
.field-prefix { }
.field-suffix { }
.form-item--error-message { }

ֆայլ՝ form/form-element.html.twig

Form element label

.option { }
.visually-hidden { }
.js-form-required { }
.form-required { }

ֆայլ՝ form/form-element-label.html.twig

Individual form element

.js-form-item { }
.form-item { }
.description { }
.clearfix { }

ֆայլ՝ form/field-multiple-value-form.html.twig

Textarea

.form-textarea { }
.resize-[resizable] { }
.required { }
.form-textarea-wrapper { }

ֆայլ՝ form/textarea.html.twig

Datetime form wrapper

.label { }
.js-form-required { }
.form-required { }
.form-item--error-message { }
.description { }

ֆայլ՝ form/datetime-wrapper.html.twig

Datetime

.container-inline { }

ֆայլ՝ form/datetime-form.html.twig

Checkboxes

.form-checkboxes { }

ֆայլ՝ form/checkboxes.html.twig

Radios

.form-radios { }

ֆայլ՝ form/radios.html.twig

Details

.details-wrapper { }
.form-item--error-message { }
.details-description { }

ֆայլ՝ form/details.html.twig

Dropbutton wrapper

.dropbutton-wrapper { }
.dropbutton-widget { }

ֆայլ՝ form/dropbutton-wrapper.html.twig

NAVIGATION

Administrative toolbar

.toolbar { }
.toolbar-bar { }
.visually-hidden { }
.toolbar-tab { }
.toolbar-lining { }
.clearfix { }
.toolbar-tray-name { }

ֆայլ՝ navigation/toolbar.html.twig

Menu

.menu { }
.menu-item { }
.menu-item--expanded { }
.menu-item--collapsed { }
.menu-item--active-trail { }

ֆայլ՝ navigation/menu.html.twig

Breadcrumb trail

.breadcrumb { }
.visually-hidden { }

ֆայլ՝ navigation/breadcrumb.html.twig

.[key] { }

ֆայլ՝ navigation/links.html.twig

Primary and secondary local tasks

.visually-hidden { }
.tabs { }
.primary { }
.secondary { }

ֆայլ՝ navigation/menu-local-tasks.html.twig

.is-active { }

ֆայլ՝ navigation/menu-local-task.html.twig

Book outlines within a block

.book-block-menu { }

ֆայլ՝ navigation/book-all-books-block.html.twig

Book tree

.menu { }
.menu-item { }
.menu-item--expanded { }
.menu-item--collapsed { }
.menu-item--active-trail { }

ֆայլ՝ navigation/book-tree.html.twig

Navigate books

.book-navigation { }
.visually-hidden { }
.book-pager { }
.book-pager__item { }
.book-pager__item--previous { }
.book-pager__item--center { }
.book-pager__item--next { }

ֆայլ՝ navigation/book-navigation.html.twig

Pager

.pager { }
.visually-hidden { }
.pager__items { }
.js-pager__items { }
.pager__item { }
.pager__item--first { }
.pager__item--previous { }
.pager__item--ellipsis { }
.is-active { }
.pager__item--next { }
.pager__item--last { }

ֆայլ՝ navigation/pager.html.twig

VIEWS

Main view template

.view { }
.view-[id] { }
.view-display-id-[display_id] { }
.js-view-dom-id-[dom_id] { }
.view-header { }
.view-filters { }
.attachment { }
.attachment-before { }
.view-content { }
.view-empty { }
.attachment-after { }
.view-footer { }
.feed-icons { }

ֆայլ՝ views/views-view.html.twig

Views exposed form

.form--inline { }
.clearfix { }

ֆայլ՝ views/views-exposed-form.html.twig

Views - View of unformatted rows

.views-row { }

ֆայլ՝ views/views-view-unformatted.html.twig

Display rows in a grid

.views-view-grid { }
.[options.alignment] { }
.cols-[options.columns] { }
.clearfix { }
.views-row { }
.views-col { }
.row-[loop.index] { }
.col-[loop.index] { }

ֆայլ՝ views/views-view-grid.html.twig

Views - View as a table

.views-table { }
.views-view-table { }
.cols-[header] { }
.responsive-enabled { }
.sticky-enabled { }
.views-field { }
.views-field-[fields[key]] { }
.views-field-[field] { }

ֆայլ՝ views/views-view-table.html.twig

Single views grouping

.view-grouping { }
.view-grouping-header { }
.view-grouping-content { }

ֆայլ՝ views/views-view-grouping.html.twig

List of summary lines

.item-list { }
.views-summary { }
.is-active { }

ֆայլ՝ views/views-view-summary.html.twig

.views-summary { }
.views-summary-unformatted { }
.is-active { }

ֆայլ՝ views/views-view-summary-unformatted.html.twig

Views mini pager

.pager { }
.pager__heading { }
.visually-hidden { }
.pager__items { }
.js-pager__items { }
.pager__item { }
.pager__item--previous { }
.is-active { }
.pager__item--next { }

ֆայլ՝ views/views-mini-pager.html.twig

USER

Forum post submission string

.submitted { }

ֆայլ՝ user/forum-submitted.html.twig

User data

.profile { }

ֆայլ՝ user/user.html.twig

Username

.username { }

ֆայլ՝ user/username.html.twig

MISCELLANEOUS

Status messages

.message { }
.messages--[type] { }
.visually-hidden { }
.messages__list { }
.messages__item { }

ֆայլ՝ misc/status-messages.html.twig

Progress bar

.progress { }
.progress__label { }
.progress__track { }
.progress__bar { }
.progress__percentage { }
.progress__description { }

ֆայլ՝ misc/progress-bar.html.twig

Empty spans with RDF attributes

.rdf-meta { }
.hidden { }

ֆայլ՝ misc/rdf-metadata.html.twig

CSS — CSS ընտրիչներ Classy թեմայում՝

Menu

ul.menu { }
[dir="rtl"] ul.menu { }
.menu-item--expanded { }
.menu-item--collapsed { }
[dir="rtl"] .menu-item--collapsed { }
.menu-item { }
ul.menu a.is-active { }

ֆայլ՝ components/menu.css

Item list

.item-list .title { }
.item-list ul { }
.item-list li { }
[dir="rtl"] .item-list li { }
.item-list--comma-list { }
.item-list--comma-list .item-list__comma-list { }
.item-list__comma-list li { }
[dir="rtl"] .item-list--comma-list .item-list__comma-list { }
[dir="rtl"] .item-list__comma-list li { }

ֆայլ՝ components/item-list.css

Breadcrumbs

.breadcrumb { }
.breadcrumb ol { }
[dir="rtl"] .breadcrumb ol { }
.breadcrumb li { }
.breadcrumb li:before { }
.breadcrumb li:first-child:before { }

ֆայլ՝ components/breadcrumb.css

Tabs

div.tabs { }
ul.tabs { }
.tabs > li { }
[dir="rtl"] .tabs > li { }
.tabs a { }
.tabs a.is-active { }
.tabs a:focus { }
.tabs a:hover { }

ֆայլ՝ components/tabs.css

.action-links { }
[dir="rtl"] .action-links { }
.action-links li { }
.action-links li:first-child { }
[dir="rtl"] .action-links li:first-child { }
.button-action { }
.button-action:before { }
[dir="rtl"] .button-action:before { }

ֆայլ՝ components/action-links.css

ul.inline { }
ul.links.inline { }
[dir="rtl"] ul.inline { }
[dir="rtl"] ul.links.inline { }
ul.inline li { }
ul.links a.is-active { }

ֆայլ՝ components/links.css

button.link { }
label button.link { }

ֆայլ՝ components/link.css

Nodes

.node--unpublished { }

ֆայլ՝ components/node.css

Collapsible fieldsets

.collapse-processed > summary { }
.collapse-processed > summary:before { }
[dir="rtl"] .collapse-processed > summary:before { }
.collapse-processed:not([open]) > summary:before { }
[dir="rtl"] .collapse-processed:not([open]) > summary:before { }

ֆայլ՝ components/collapse-processed.css

Fields

.field__label { }
.field--label-inline .field__label { }
.field--label-inline .field__items { }
.field--label-inline .field__label { }
.field--label-inline > .field__item { }
.field--label-inline .field__items { }
[dir="rtl"] .field--label-inline .field__label { }
[dir="rtl"] .field--label-inline .field__items { }
.field--label-inline .field__label::after { }

ֆայլ՝ components/field.css

Inline forms

.form--inline .form-item { }
[dir="rtl"] .form--inline .form-item { }
.form--inline .form-item-separator { }
[dir="rtl"] .form--inline .form-item-separator { }
.form--inline .form-actions { }
[dir="rtl"] .form--inline .form-actions { }

ֆայլ՝ components/inline-form.css

Inline items

.container-inline label:after { }
.container-inline .label:after { }
.form-type-radios .container-inline label:after { }
.form-type-radios .container-inline .form-type-radio { }
.container-inline .form-actions { }
.container-inline.form-actions { }

ֆայլ՝ components/container-inline.css

Form components

form .field-multiple-table { }
form .field-multiple-table .field-multiple-drag { }
[dir="rtl"] form .field-multiple-table .field-multiple-drag { }
form .field-multiple-table .field-multiple-drag .tabledrag-handle { }
[dir="rtl"] form .field-multiple-table .field-multiple-drag .tabledrag-handle { }
form .field-add-more-submit { }
.form-item { }
.form-actions { }
tr.odd .form-item { }
tr.even .form-item { }
.form-composite > .fieldset-wrapper > .description { }
.form-item .description { }
label.option { }
.form-composite > legend { }
.label { }
.form-checkboxes .form-item { }
.form-radios .form-item { }
.form-type-radio .description { }
.form-type-checkbox .description { }
[dir="rtl"] .form-type-radio .description { }
[dir="rtl"] .form-type-checkbox .description { }
.marker { }
.form-required:after { }
abbr.tabledrag-changed { }
abbr.ajax-changed { }
.form-item input.error { }
.form-item textarea.error { }
.form-item select.error { }
.form-item--error-message:before { }

ֆայլ՝ components/form.css

Textarea

.form-textarea-wrapper textarea { }

ֆայլ՝ components/textarea.css

File module

.file { }
[dir="rtl"] .file { }
.file--general { }
.file--application-octet-stream { }
.file--package-x-generic { }
.file--x-office-spreadsheet { }
.file--x-office-document { }
.file--x-office-presentation { }
.file--text-x-script { }
.file--text-html { }
.file--text-plain { }
.file--application-pdf { }
.file--application-x-executable { }
.file--audio { }
.file--video { }
.file--text { }
.file--image { }

ֆայլ՝ components/file.css

Image upload widget

.image-preview { }
[dir="rtl"] .image-preview { }
.image-widget-data { }
[dir="rtl"] .image-widget-data { }
.image-widget-data .text-field { }

ֆայլ՝ components/image-widget.css

Collapsible details

details { }
details > .details-wrapper { }
summary { }

ֆայլ՝ components/details.css

Buttons

.button { }
.image-button { }
.button:first-child { }
.image-button:first-child { }

ֆայլ՝ components/button.css

Progress bar

.progress__track { }
.progress__bar { }
[dir="rtl"] .progress__bar { }

@-webkit-keyframes animate-stripes { }
@-ms-keyframes animate-stripes { }
@keyframes animate-stripes { }

ֆայլ՝ components/progress.css

System messages

.messages { }
[dir="rtl"] .messages { }
.messages + .messages { }
.messages__list { }
.messages__item + .messages__item { }
.messages--status { }
[dir="rtl"] .messages--status { }
.messages--warning { }
[dir="rtl"] .messages--warning { }
.messages--error { }
[dir="rtl"] .messages--error { }
.messages--error p.error { }

ֆայլ՝ components/messages.css

Search results

.search-results { }

ֆայլ՝ components/search-results.css

.more-link { }
[dir="rtl"] .more-link { }

ֆայլ՝ components/more-link.css

Pager

.pager__items { }
.pager__item { }
.pager__item.is-active { }

ֆայլ՝ components/pager.css

Forum module

.forum__description { }
.forum__icon { }
[dir="rtl"] .forum__icon { }
.forum__title { }
.forum .indented { }
[dir="rtl"] .forum .indented { }
.forum__topic-status--new { }
.forum__topic-status--hot { }
.forum__topic-status--hot-new { }
.forum__topic-status--sticky { }
.forum__topic-status--closed { }

ֆայլ՝ components/forum.css

Indent threaded comments

.indented { }
[dir="rtl"] .indented { }

ֆայլ՝ components/indented.css

Exposed filters

.exposed-filters .filters { }
[dir="rtl"] .exposed-filters .filters { }
.exposed-filters .form-item { }
.exposed-filters .form-item label { }
[dir="rtl"] .exposed-filters .form-item label { }
.exposed-filters .form-select { }
.exposed-filters .current-filters { }
.exposed-filters .current-filters .placeholder { }
.exposed-filters .additional-filters { }
[dir="rtl"] .exposed-filters .additional-filters { }

ֆայլ՝ components/exposed-filters.css

Table sort indicator

th.is-active img { }
td.is-active { }

ֆայլ՝ components/tablesort.css

Table select

tr.selected td { }
td.checkbox { }
th.checkbox { }
[dir="rtl"] td.checkbox { }
[dir="rtl"] th.checkbox { }

ֆայլ՝ components/tableselect.css

Table drag

tr.drag { }
tr.drag-previous { }
body div.tabledrag-changed-warning { }

ֆայլ՝ components/tabledrag.css

Dropbuttons

.js .dropbutton-widget { }
.js .dropbutton-widget:hover { }
.dropbutton .dropbutton-action > * { }
.dropbutton .secondary-action { }
.dropbutton-multiple .dropbutton { }
[dir="rtl"] .dropbutton-multiple .dropbutton { }
.dropbutton-multiple .dropbutton .dropbutton-action > * { }
[dir="rtl"] .dropbutton-multiple .dropbutton .dropbutton-action > * { }

ֆայլ՝ components/dropbutton.css

Modal windows

.ui-dialog--narrow { }

ֆայլ՝ components/ui-dialog.css

Dialogs

.ui-dialog { }
.ui-dialog .ui-dialog-titlebar { }
.ui-dialog .ui-dialog-titlebar-close { }
.ui-dialog .ui-dialog-buttonpane { }
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { }
.ui-dialog .ui-dialog-buttonpane .ui-button-text-only .ui-button-text { }
.ui-dialog .ui-dialog-content .form-actions { }
.ui-dialog .ajax-progress-throbber { }
.ui-dialog .ajax-progress-throbber .throbber { }
.ui-dialog .ajax-progress-throbber .message { }

ֆայլ՝ components/dialog.css

User module

.password-strength__meter { }
.password-strength__indicator { }
.password-strength__indicator.is-weak { }
.password-strength__indicator.is-fair { }
.password-strength__indicator.is-good { }
.password-strength__indicator.is-strong { }
.password-confirm { }
.password-field { }
.password-strength { }
.password-confirm-match { }
.password-suggestions { }
.password-suggestions ul { }
.confirm-parent { }
.password-parent { }
[dir="rtl"] .confirm-parent { }
[dir="rtl"] .password-parent { }
.password-confirm .ok { }
.password-confirm .error { }

ֆայլ՝ components/user.css

Book module

.book-navigation .menu { }
.book-navigation .book-pager { }
.book-pager__item { }
.book-pager__item--previous { }
[dir="rtl"] .book-pager__item--previous { }
.book-pager__item--center { }
.book-pager__item--next { }
[dir="rtl"] .book-pager__item--next { }

ֆայլ՝ components/book-navigation.css

Icons

.icon-help { }
[dir="rtl"] .icon-help { }
.feed-icon { }

ֆայլ՝ components/icons.css

Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.