great little module/block feature, but would you consider to strip out all styles from logintoboggan? as they may not exactly fit the look and feel' of the style of the ach individual site theme and styles haard coded in to module is difficult to alter them without breaking the module -and the site subsequently

if some -minimal styles needs to be used -like input- different than leaving it the theme css would it be better to handle the block style with a style.css within the module

Comments

hunmonk’s picture

i'm not opposed to this. please feel free to submit a patch for it!

ica’s picture

hunmonk,
thanks for your reply maybe i forgot to mention that unfortunately and regretfully i dont have PHP skills :( ..

If I had I would just do and post a patch strait away, so my post above is just a request to you and/or to the community -ones whom with PHP skills

hunmonk’s picture

Version: 4.7.x-1.x-dev » 7.x-1.x-dev

@ica: if you can point out to me precisely what needs to be changed in the module, then i'll have a look at it. i'm not a themer... :)

ica’s picture

Title: Possible to strip out the styles? » module block does not 'obey' the theme

problem is logintoboggan block centered style by default

meanwhile, I think i found a solution to alter it on theme style.css
by adding #toboggan-container and styling it to fit the rest of the theme
i.e maybe you can put this on the module's Read Me doc

#toboggan-container {
	text-align: left;

#toboggan-container a {
	text-align: left;
	font: bold 1.2em Arial, Helvetica, sans-serif;
	color: #35332f;
	text-decoration: none;}
ica’s picture

Title: module block does not 'obey' the theme » tip: to style logintoboggan.module block

maybe i should change the title of the post to make it easy to find to people who wants to use this css hack.. :)

hunmonk’s picture

Assigned: Unassigned » hunmonk
Status: Active » Fixed

i've decided to add a logintoboggan.css file to the module to enable greater theming control over the collapsible login block. the available classes should be fairly evident upon examination of the .css file. fixed in 4.7 and HEAD.

ica’s picture

Thank for doing that. IMHO all module/bloack hardcoded styles should be put in a module .css to keep the integrity of the module and overall site style and to go with the general idea of separeting to core from the style in Drupal or in any decent CMS/CMFW

and thanks for the code, I belive your module deserves to be default login integrated to the core Drupal

regards

hunmonk’s picture

and thanks for the code, I belive your module deserves to be default login integrated to the core Drupal

i agree :)

Anonymous’s picture

Status: Fixed » Closed (fixed)