The use of content-box in your CSS is causing design breaks. This switches all content-box box-sizing to border-box, which solves the issue.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Snugug’s picture

Here's the patch

Snugug’s picture

Title: Change from Content Box to Border Box » Update CSS
FileSize
5.25 KB

Scratch that last patch, it's actually a slightly different issue. If you're on a frontend that has *{box-sizing: border-box;}, the content-box in #coffee-q is breaking the design. This patch does the following:

  • Applies border-box to all coffee related elements making it work across all themes, overall box sizing notwithstanding
  • Adds a slight opacity transition to the showing of Coffee, more closely mimicking Alfred
  • Adds Compass powered Sass file (sass/coffee.scss and config.rb) to assist in cross-browser compatibility with CSS (previously just had -moz and -webkit, missing -o and -ms)
heylookalive’s picture

Status: Active » Closed (fixed)

Thanks for your efforts! :) I've committed the CSS changes but have chosen not to bring in SASS (I recently removed LESS) as I don't feel it's necessary considering the size of the CSS file for the module.

http://drupalcode.org/project/coffee.git/commit/098b360
Thanks!

heylookalive’s picture

Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 098b360 on 7.x-2.x, 8.x-1.x authored by Snugug, committed by heylookalive:
    Issue #1908552 by snugug - Improvements to CSS.