Skip to content

Instantly share code, notes, and snippets.

thamas /
Last active Aug 29, 2015
Make custom CSS classes work with Drupal WYSIWYG 7.x-2.2 and CKEditor 4.3.3

I use it to set img floats. To make it work

  1. be sure to define at least one inline element class (when you defined your image float classes), for examle Emphasize=span.emph
  2. add a "cache-buster" to the end of the path of you css file: /sites/all/themes/mytheme/css/style.css?v1 (the "chache-buster" is the "?v1" at the end of the path. More info:
thamas / Get back your Drupal install-profile
Last active Aug 29, 2015
Sometimes Drupal forgots about your install-profile. To fix:
View Get back your Drupal install-profile
drush vset install_profile 'profile-name'

This is not a straight translation of the lirycs but the English version of the song.

More info about the musical, The Attic:ás

Light years

There are days when I feel
I could leave this whole tangled World behind
I look for an answer
But another question is all I find


This is a translation of "Az álom leterít" – a song from the former Hungarian blues band, called "Stexas"*

Dream is hunting me

Headlight drills through the night.
Then it disappears in the fog
It was't here maybe.

Oh I can only see your eyes shine,
and a parting word of your mouth,

thamas / compass-bg-img-grad.scss
Last active Dec 17, 2015
Compass: background images and gradient
View compass-bg-img-grad.scss
@include background(
// image in the default images folder
image-url("logo.png") 0 0 no-repeat,
// base encoded transparent noise image, source:
thamas / compass-box-shadow-example.scss
Last active Dec 17, 2015
Compass: box-shadow example
View compass-box-shadow-example.scss
@include single-box-shadow(rgba(0, 0, 0, .75), 0, -2px, 8px, -1px, inset);
thamas / scss-mixin-img-link-inner-shadow.scss
Last active Dec 17, 2015
SCSS mixin to display inner shadow on hover an image link
View scss-mixin-img-link-inner-shadow.scss
thamas / compass-set-box-sizing-border-box.scss
Created May 19, 2013
Compass: set box-sizing to border-box for all html5 block level element
View compass-set-box-sizing-border-box.scss
View compass-font-face.scss
// Default font dir is <css_dir>/fonts Set fonts_dir in config.rb
// if you want to change. See:
// "Order of the includes matters, and it is: normal, bold, italic, bold+italic."
// See also:;
thamas /
Last active Dec 18, 2015
Create new Drupal install profile with Profiler Builder module and drush

drush distro mynewprofile_name --untar