Skip to content
Snippets Groups Projects
Unverified Commit b17acb2b authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3111729 by bnjmnm, prabha1997, ravi.shankar, dww: Stable templates/CSS...

Issue #3111729 by bnjmnm, prabha1997, ravi.shankar, dww: Stable templates/CSS that differ only in comments or indentation should match core's version
parent f772f12e
No related branches found
No related tags found
No related merge requests found
Showing
with 36 additions and 51 deletions
......@@ -41,8 +41,8 @@
height: auto;
margin: 0;
padding: 0;
/* Use lighter drag icon against dark background. */
background-color: transparent;
/* Use lighter drag icon against dark background. */
background-image: url(../icons/bebebe/move.svg);
background-repeat: no-repeat;
background-position: center;
......
......@@ -12,7 +12,7 @@
* https://www.drupal.org/node/893530 and
* http://api.drupal.org/api/drupal/includes!theme.inc/function/theme_table/7#comment-5109.
* - header: Table header cells. Each cell contains the following properties:
* - tag: The HTML tag name to use; either TH or TD.
* - tag: The HTML tag name to use; either 'th' or 'td'.
* - attributes: HTML attributes to apply to the tag.
* - content: A localized string for the title of the column.
* - field: Field name (required for column sorting).
......
......@@ -9,7 +9,7 @@
*
* Each item in these variables (primary and secondary) can be individually
* themed in menu-local-task.html.twig.
*
* @ingroup themeable
*/
#}
......
......@@ -79,7 +79,7 @@
right: 0;
left: 0;
}
/* .toolbar-loading is required by toolbar JavaScript to pre-render markup
/* .toolbar-loading is required by Toolbar JavaScript to pre-render markup
* style to avoid extra reflow & flicker. */
@media (min-width: 61em) {
.toolbar-loading.toolbar-horizontal .toolbar .toolbar-bar .toolbar-tab:last-child .toolbar-tray {
......
......@@ -13,7 +13,7 @@
* @ingroup themeable
*/
#}
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<opml version="2.0">
<head>
<title>{{ title }}</title>
......
......@@ -17,7 +17,7 @@
* @ingroup themeable
*/
#}
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="{{ link }}"{{ namespaces }}>
<channel>
<title>{{ title }}</title>
......
{#
/**
* @file
* Default theme implementation for a four-column 25%-25%-25%-25% layout.
* Theme override for a four-column 25%-25%-25%-25% layout.
*
* Available variables:
* - content: The content for this layout.
* - attributes: HTML attributes for the layout <div>.
*
* @ingroup themeable
*/
#}
{%
......
{#
/**
* @file
* Default theme implementation for a three-column layout.
* Theme override for a three-column layout.
*
* Available variables:
* - content: The content for this layout.
* - attributes: HTML attributes for the layout <div>.
*
* @ingroup themeable
*/
#}
{% if content %}
......
{#
/**
* @file
* Default theme implementation to display a two-column layout.
* Theme override to display a two-column layout.
*
* Available variables:
* - content: The content for this layout.
* - attributes: HTML attributes for the layout <div>.
*
* @ingroup themeable
*/
#}
{% if content %}
......
{#
/**
* @file
* Theme override for a language negotiation configuration form.
*
* Available variables:
* - language_types: A list of language negotiation types. Each language type
* contains the following:
* - type: The machine name for the negotiation type.
* - title: The language negotiation type name.
* - description: A description for how the language negotiation type operates.
* - configurable: A radio element to toggle the table.
* - table: A draggable table for the language detection methods of this type.
* - children: Remaining form items for the group.
* - attributes: A list of HTML attributes for the wrapper element.
* - children: Remaining form items for all groups.
*
* @see template_preprocess_language_negotiation_configure_form()
*/
* @file
* Theme override for a language negotiation configuration form.
*
* Available variables:
* - language_types: A list of language negotiation types. Each language type
* contains the following:
* - type: The machine name for the negotiation type.
* - title: The language negotiation type name.
* - description: A description for how the language negotiation type
* operates.
* - configurable: A radio element to toggle the table.
* - table: A draggable table for the language detection methods of this type.
* - children: Remaining form items for the group.
* - attributes: A list of HTML attributes for the wrapper element.
* - children: Remaining form items for all groups.
*
* @see template_preprocess_language_negotiation_configure_form()
*/
#}
{% for language_type in language_types %}
{%
......
......@@ -8,7 +8,6 @@
* - text: The text shown on counter.
* - severity: The severity of the counter.
*
* @ingroup themable
*/
#}
{{ amount }} {{ text }}
......
......@@ -5,8 +5,8 @@
*
* This template will be used when a system config form specifies 'config_form'
* as its #theme callback. Otherwise, by default, system config forms will be
* themed by form.html.twig. This does not alter the appearance of a form at all,
* but is provided as a convenience for themers.
* themed by form.html.twig. This does not alter the appearance of a form at
* all, but is provided as a convenience for themers.
*
* Available variables:
* - form: The confirm form.
......
{#
/**
* @file
* Default theme implementation to present a list of available bundles.
* Theme override to present a list of available bundles.
*
* Available variables:
* - bundles: A list of bundles, each with the following properties:
......@@ -12,8 +12,6 @@
* available if the entity type uses bundle entities.
*
* @see template_preprocess_entity_add_list()
*
* @ingroup themeable
*/
#}
{% if bundles is not empty %}
......
......@@ -27,7 +27,7 @@
* - title: Comment title, linked to the comment.
* - attributes: HTML attributes for the containing element.
* The attributes.class may contain one or more of the following classes:
* - comment: The current template type; e.g., 'theming hook'.
* - comment: The current template type; for instance, 'theming hook'.
* - by-anonymous: Comment by an unregistered user.
* - by-{entity-type}-author: Comment by the author of the parent entity,
* eg. by-node-author.
......
{#
/**
* @file
* Default theme implementation for a missing media error.
* Theme override for a missing media error.
*
* Available variables
* - message: The message text.
......@@ -11,8 +11,6 @@
* is displayed from JavaScript.
*
* @see Drupal.theme.mediaEmbedPreviewError
*
* @ingroup themeable
*/
#}
<div{{ attributes }}>
......
{#
/**
* @file
* Default theme implementation to display an oEmbed resource in an iframe.
*
* @ingroup themeable
* Theme override to display an oEmbed resource in an iframe.
*/
#}
<!DOCTYPE html>
......
......@@ -8,8 +8,6 @@
* - content: Media content.
*
* @see template_preprocess_media()
*
* @ingroup themeable
*/
#}
<article{{ attributes }}>
......
{#
/**
* @file
* Theme override for page wrapper.
* Theme override for a page wrapper.
*
* For consistent wrapping to {{ page }} render in all themes. The
* "data-off-canvas-main-canvas" attribute is required by the off-canvas dialog.
......
......@@ -8,6 +8,7 @@
* Available variables:
* - forums: The forums to display (as processed by forum-list.html.twig).
* - topics: The topics to display.
* - topics_original: Original topics data before modification.
* - topics_pager: The topics pager.
* - forums_defined: A flag to indicate that the forums are configured.
*
......
{#
/**
* @file
* Default theme implementation to display the file entity as an audio tag.
* Theme override to display the file entity as an audio tag.
*
* Available variables:
* - attributes: An array of HTML attributes, intended to be added to the
......@@ -11,8 +11,6 @@
* - file: The full file object.
* - source_attributes: An array of HTML attributes for to be added to the
* source tag.
*
* @ingroup themeable
*/
#}
<audio {{ attributes }}>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment