Top Banner
Adapting a Site Template Using Drupal Themes and SASS/LESS
13

Adapting a Site Template Using Drupal Themes and SASS/LESS.

Dec 26, 2015

Download

Documents

Morgan Willis
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Adapting a Site Template Using Drupal Themes and SASS/LESS.

Adapting a Site Template

Using Drupal Themes and SASS/LESS

Page 2: Adapting a Site Template Using Drupal Themes and SASS/LESS.

Responsive Design

• Screen size

• Reorder, show or hide

Page 3: Adapting a Site Template Using Drupal Themes and SASS/LESS.

Some Tools to Use• SASS

• What are pre-processors

• Mixins!

• Little example

• Semantic CSS Vs. Non-semantic

• Frameworks

• Bootstrap

• Zurb Foundation

• Zen Grids

Page 4: Adapting a Site Template Using Drupal Themes and SASS/LESS.

Remember!• Get a template

• Use same framework or similar

• Start locally

• Easy Vs not so easy

• Using classes

• Using Mixins

Page 5: Adapting a Site Template Using Drupal Themes and SASS/LESS.

What we use• Fences

• Block Class

• Node Class

• Views

• DS & Extras

• Field Groups

• Panels

• Views Responsive Grid

• Flexslider / Nivo Slider

• Title

• Blockify

• Extra Modules

Page 6: Adapting a Site Template Using Drupal Themes and SASS/LESS.

First Things First, Will It Look Nice?

• The Template search.

• What should I look for.

• My rationale.

• You are not alone.

Page 7: Adapting a Site Template Using Drupal Themes and SASS/LESS.

Try To M.I.S.S. This

• Keep it in the front end.

• Fix page.tpl.php only if needed (we want to avoid this)

• Why I’ve done it and where

Page 8: Adapting a Site Template Using Drupal Themes and SASS/LESS.

And The Force May Be With Us If…

• Start Top to bottom

• Attack one section - Feature at a time

• Convert to SASS / LESS when possible.

• Use variables as crazy (Theme Colors, Fonts)

Page 9: Adapting a Site Template Using Drupal Themes and SASS/LESS.

Plan Wisely• Design Content types

• What is in place.

• Manage Display (DS).

• Create Views (Global Text)..

• Panels.

• Existing Modules

• JQuery Scripts

Page 10: Adapting a Site Template Using Drupal Themes and SASS/LESS.

The Grid Is The Backbone

Design the Grid per device

• Adding grid clases

• Using Mixins

Page 11: Adapting a Site Template Using Drupal Themes and SASS/LESS.

Fill It Nicely

• Apply the “Prettiness”.

• Use SASS Changes and create mixins as desired

• Applying the javascripts.

• Remember, You Are Not Alone.

Page 12: Adapting a Site Template Using Drupal Themes and SASS/LESS.

Check progress

• Using Firebug to debug

• Mobile debugging

• Screen size vs remote debugging.

Page 13: Adapting a Site Template Using Drupal Themes and SASS/LESS.

What Am I Missing?Shoot your questions and comments!