From 05a5b2096bcfb6eb357119a3038cd30075cfe38f Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 15 Jul 2015 21:28:03 +1000 Subject: [PATCH] ** Base V2.3.4 ** - Added display helpers for _print.less/_print.scss - Version bump on package.json - Version bump on style.less/style.scss --- changelog.markdown | 7 +++++++ less/base/_print.less | 8 +++++++- less/style.less | 2 +- package.json | 2 +- scss/base/_print.scss | 8 +++++++- scss/style.scss | 2 +- style.css | 12 ++++++++++++ 7 files changed, 36 insertions(+), 5 deletions(-) diff --git a/changelog.markdown b/changelog.markdown index 91ef0953..c71a71b3 100644 --- a/changelog.markdown +++ b/changelog.markdown @@ -1,5 +1,12 @@ # Base 2 Change Log +## [2.3.4] - 2015-07-15 +### Base V2.3.4 +- Added display helpers for _print.less/_print.scss +- Version bump on package.json +- Version bump on style.less/style.scss + + ## [2.3.3] - 2015-07-13 ### Base V2.3.3 - Updated input[type=phone] to input[type=tel] in _forms.less/_forms.scss diff --git a/less/base/_print.less b/less/base/_print.less index 45b4ff82..fc4e9fab 100644 --- a/less/base/_print.less +++ b/less/base/_print.less @@ -26,4 +26,10 @@ img { page-break-inside: avoid; max-width: 100%;} // Typography p, h2, h3 { orphans: 3; widows: 3; } h2, h3 { page-break-after: avoid; } -abbr[title]:after { content: " (" attr(title) ")"; } \ No newline at end of file +abbr[title]:after { content: " (" attr(title) ")"; } + +// Display Types +.hide-print { display: none; } +.show-print { display: block; } +.show-print-inline-block { display: inline-block; } +.show-print-inline { display: inline; } \ No newline at end of file diff --git a/less/style.less b/less/style.less index 551a03a2..6ebdedec 100644 --- a/less/style.less +++ b/less/style.less @@ -2,7 +2,7 @@ // Base Stylesheet - http://getbase.org // Author: Matthew Hartman - http://www.matthewhartman.com.au/ -// Version: 2.3.3 - Last Updated: July 13, 2015 +// Version: 2.3.4 - Last Updated: July 15, 2015 // ========================================================================== diff --git a/package.json b/package.json index df7e00b1..f375eb40 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "base", - "version": "2.3.3", + "version": "2.3.4", "homepage": "http://getbase.org/", "repository": { "type": "git", diff --git a/scss/base/_print.scss b/scss/base/_print.scss index 45b4ff82..fc4e9fab 100644 --- a/scss/base/_print.scss +++ b/scss/base/_print.scss @@ -26,4 +26,10 @@ img { page-break-inside: avoid; max-width: 100%;} // Typography p, h2, h3 { orphans: 3; widows: 3; } h2, h3 { page-break-after: avoid; } -abbr[title]:after { content: " (" attr(title) ")"; } \ No newline at end of file +abbr[title]:after { content: " (" attr(title) ")"; } + +// Display Types +.hide-print { display: none; } +.show-print { display: block; } +.show-print-inline-block { display: inline-block; } +.show-print-inline { display: inline; } \ No newline at end of file diff --git a/scss/style.scss b/scss/style.scss index 144d5087..a4990c1f 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -2,7 +2,7 @@ // Base Stylesheet - http://getbase.org // Author: Matthew Hartman - http://www.matthewhartman.com.au/ -// Version: 2.3.3 - Last Updated: July 13, 2015 +// Version: 2.3.4 - Last Updated: July 15, 2015 // ========================================================================== diff --git a/style.css b/style.css index 0f80247c..b80049d4 100644 --- a/style.css +++ b/style.css @@ -1594,4 +1594,16 @@ input::-moz-focus-inner { abbr[title]:after { content: " (" attr(title) ")"; } + .hide-print { + display: none; + } + .show-print { + display: block; + } + .show-print-inline-block { + display: inline-block; + } + .show-print-inline { + display: inline; + } }