Print utility classes #6190

Closed
gellmaster opened this Issue Dec 9, 2012 · 5 comments

Comments

Projects
None yet
4 participants

Congrats on the 2.2.2 release and thanks to everyone that contributes.

Now that print css is included, what are your thoughts on adding responsive print utility classes? Easy enough to add to our individual projects but it may round out the printing features in bootstrap.

Maybe something like

.visible-print {
    display: none !important;
}

@media print {
    .visible-print {
        display: inherit !important;
    }

    .hidden-print {
        display: none !important;
    }
}
Owner

mdo commented Dec 10, 2012

Submit a pull request to 3.0.0-wip and we'll add it :).

Was afraid you'd say that. There's a first time for everything I guess. Apologies in advance if I don't get it right the first time.

@mdo mdo added a commit that referenced this issue Feb 6, 2013

@mdo mdo Fixes #6190: Add print utility classes 0fe9148
Owner

mdo commented Feb 6, 2013

@gellmaster No worries—I've gone ahead and added this to #6346. Thanks for the suggestion!

mdo closed this Feb 6, 2013

Welcome addition, but I haven't found it in 2.3 docs

@kasperp kasperp referenced this issue in configit/bootstrap Feb 8, 2013

@kasperp kasperp Merge remote-tracking branch 'upstream/master' into v2.3.0
* upstream/master: (162 commits)
  add 2.3 changelog section
  remove prevent default on focus
  only fire hidden once backdrop has been removed
  if no callback, don't try to call callback ya goof
  Fixes #6823: add some docs notes about tooltips in input groups
  unit tests
  dont remove title attribute part 2
  Update link to changelog
  clean up styles
  Fixes #6808: mention IE lame-itude in docs for invalid inputs
  Fixes #6190: Add print utility classes
  screwed up a merge and an old version number crept in
  don't hide if already hidden ya n00b
  clear interval in cycle + rebuild
  update jquery to 1.9
  derp, fix broke css and recompile
  restore comma between selectors
  Fixes #6794: incorrect docs mention of th element
  fix typo
  Add changelog file to repo instead of relying on the wiki
  ...

Conflicts:
	docs/assets/css/bootstrap-responsive.css
	docs/assets/css/bootstrap.css
	docs/assets/js/bootstrap-tooltip.js
	docs/assets/js/bootstrap.js
	docs/assets/js/bootstrap.min.js
	docs/javascript.html
	docs/templates/pages/javascript.mustache
	js/bootstrap-tooltip.js
7d668d0

@stempler stempler pushed a commit to stempler/bootstrap that referenced this issue Apr 11, 2014

@mdo mdo (less) Fixes #6190: Add print utility classes 591eb4d

@stempler stempler pushed a commit to stempler/bootstrap that referenced this issue Nov 4, 2014

@mdo mdo (less) Fixes #6190: Add print utility classes b7ebac2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment