June 08, 2011

SF State Drupal Theme and CSS cleanup


Below are a list of recent theme patches submitted to SF State Drupal:
  1. Skip navigation link added to theme
  2. Webtemplate stylesheet conflicts removed from sfsu.info (defaults.css and system.css)
  3. Redundant styles from custom.css removed
With the default Drupal styles removed, the nav menu items, tables, and lists should now appear as intended by the SF State Web Template Program.

Big up to Nat Supakit from the SF State Drupal team for pushing these patches through.

Webtemplate CSS patch


I also submitted a patch for a layout bug in the global.css. The Web Team needs to approve it, but in the meantime, this is the local stylesheet override I'm using:

#main .brief {float:none;overflow:hidden;}

To replicate the bug:
  1. Create a page where the main column has more content than the nav or sidebar.
  2. Apply the .brief class to the last div element within the #main div.
What should happen is that the float will cause the main column to extend past the nav and sidebar columns.

My proposed fix is to get rid of the float and add an overflow:

-- #main .brief {width:100%; float:left; padding-top:10px; border-top:1px dotted #ddcc77;}

++ #main .brief {width:100%; overflow:hidden; padding-top:10px; border-top:1px dotted #ddcc77;}

May 23, 2011

D7 theme project: Accessibility + Starter Theme links

Drupal theming resources collected for the SF State D7 Theme working group:

May 17, 2011

Working group - CKeditor config

Updated: 6/13/11

Questions:

  1. Which Block formatting options should be available via CKEditor?
  2. How should WYSIWYG buttons be grouped?
  3. How should button setting be configured for different roles/groups? (i.e. Drupal Basic vs. Drupal Full)

Tasks completed:

Nat (supakit) has setup a sandbox for CKEditor and D7 Theme development:
https://wcmdemo.sfsu.edu/d7demo/

…as well as an SVN repo:
https://svn.sfsu.edu/drupal_campus/svn/branches/d7campus/d7demo/

Chris (cclark) has provided a customized CKEditor configuration that displays webtemplate styles in the editing area and paragraph and div formatting dropdowns.

Some discussion has already started--check the comments below for details.





Summary:

Decide which buttons should be available to Editors, Publishers, and Admins in the CKEditor as well as adding the template styles into the styles drop down for CKEditor.

Disqus for Passing the Word