twig compress

Component type

module

Categories

Maintenance status

Development status

Downloads

101

Component created

Component changed

Adds the htmlcompress tag to twig.

  <body{{ attributes }}>
    {% htmlcompress %}
    {{ page_top }}
    {{ page }}
    {{ page_bottom }}
    {% endhtmlcompress %}
    <js-bottom-placeholder token="{{ placeholder_token|raw }}">
  </body>

Float Labels

Component type

module

Categories

Maintenance status

Development status

Downloads

165

Component created

Component changed

Applies configurable, JS-enhanced floating CSS labels to Drupal forms in a similar fashion as laid out here: http://jsfiddle.net/RyanWalters/z9ymd852/

There is a settings page where you can enter the form IDs you wish this to apply to, and that's generally all that's required (beyond styling customizations for your use case).

As seen in the screenshot:

EQCSS

Component type

module

Maintenance status

Development status

Downloads

131

Component created

Component changed

"Element queries are a new way of thinking about responsive web design where the responsive conditions apply to elements on the page instead of the width or height of the browser.

Unlike CSS @media queries, @element Queries are aware of more than just the width and height of the browser, you can write responsive conditions for a number of different situations like how many characters of text or child elements an element contains.

Collapsible list

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

This is a developer module.

'collapsible_list' exposes theme_collapsible_list, which will theme an array as a collapsible unordered (<ul>) or ordered (<ol>) list.

Only few list items are shown by default. The rest is hidden and a 'View all' button is provided after the last visible list item. When selected, all list items are shown, and the button changes its label to 'View less'.

mcdoolz_social

Component type

module

Categories

Maintenance status

Development status

Downloads

23

Component created

Component changed

The mcdoolz_social module was built because I needed a reuseable client useable solution.

This is my first draft at a super simple solution that I aim to expand on as time permits.

To use the module, enable it then go to the configuration page.

Copy and paste the url of your social network page into the field. Add a field if you need a field.

The system matches network name to font awesome icon and generates an anchor wrapped icon and label.

You can see in the screenshots and the code that I intend to support other iconpacks.

Panels Material Design Lite layouts

Component type

module

Categories

Maintenance status

Development status

Downloads

89

Component created

Component changed

This module adds new layouts based on Material Design Lite's grid system.

Currently the module only provides three layouts and you can only define the pane's width through adding your own MDL grid CSS classes to the pane.

TODO:

  • Make the pane's width customizable
  • Create a flexible layout

Path to Body Class

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Path to Body Class v0.1.0

Requirements:

  • Drulal 7.x
  • Pathauto

This module takes the Pathauto path of the given node, converts it into a string (replacing any slashes with dashes), and then inserts this as a class into the body element of the node.

This is useful when using CSS wildcards for styling sections of your site, but don't want to install and play with the Contex module.

Just install this module like any other, and then start the styling.

Theme by author

Component type

module

Categories

Maintenance status

Development status

Downloads

349

Component created

Component changed

Theme by author allows you to change the theme of a given entity based on its author.

It does not work only on nodes, but on any entity type, that implements DrupaluserEntityOwnerInterface. This module adds a new "theme" base field to the user entity. Upon visiting the canonical route (detail page) of an (EntityOwnerInterface) entity, the implementend theme negotiator will return the correct theme of the entity's author, if that user entity has a custom theme set.