From fde268a26445085064ad10019dba10fa195113db Mon Sep 17 00:00:00 2001 From: Matthew Date: Mon, 9 Nov 2015 07:34:35 +1100 Subject: [PATCH] Base V2.6.3 - Updated grid reset helpers .no-col-tablet, .no-col-desktop, .no-col-hd, .no-col-print within _helpers.less/_helpers.scss - Added new reset helper for select boxes (.no-select) (thanks to Roland Toth for the suggestion #56) - Version bump on package.json and bower.json - Version bump on style.less/style.scss --- bower.json | 2 +- changelog.markdown | 8 ++++++++ dist/style.css | 15 +++++++++++---- package.json | 2 +- src/less/base/_helpers.less | 17 +++++++++++++---- src/less/style.less | 2 +- src/scss/base/_helpers.scss | 17 +++++++++++++---- src/scss/style.scss | 2 +- src/style.css | 15 +++++++++++---- 9 files changed, 60 insertions(+), 20 deletions(-) diff --git a/bower.json b/bower.json index 673d1f13..3ad8fcc9 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "base", - "version": "2.6.2", + "version": "2.6.3", "homepage": "http://matthewhartman.github.io/base/", "authors": [ "Matthew Hartman " diff --git a/changelog.markdown b/changelog.markdown index 4d748fd4..2e73d81f 100644 --- a/changelog.markdown +++ b/changelog.markdown @@ -1,6 +1,14 @@ # Base 2 Change Log +## [2.6.3] - 2015-11-09 +### Base V2.6.3 +- Updated grid reset helpers .no-col-tablet, .no-col-desktop, .no-col-hd, .no-col-print within _helpers.less/_helpers.scss +- Added new reset helper for select boxes (.no-select) +- Version bump on package.json and bower.json +- Version bump on style.less/style.scss + + ## [2.6.2] - 2015-11-08 ### Base V2.6.2 - Minor typo fix on _animations.less/_animations.scss diff --git a/dist/style.css b/dist/style.css index abace0f1..e6f6582e 100644 --- a/dist/style.css +++ b/dist/style.css @@ -1249,6 +1249,13 @@ input::-moz-focus-inner { top: 4px; left: 0; } +.no-select { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: default; +} .animate { -webkit-animation-duration: 1s; animation-duration: 1s; @@ -1293,7 +1300,7 @@ input::-moz-focus-inner { .text-justify-tablet { text-align: justify; } - .col-none-tablet { + .no-col-tablet { width: auto; float: none; } @@ -1336,7 +1343,7 @@ input::-moz-focus-inner { .text-justify-desktop { text-align: justify; } - .col-none-desktop { + .no-col-desktop { width: auto; float: none; } @@ -1379,7 +1386,7 @@ input::-moz-focus-inner { .text-justify-hd { text-align: justify; } - .col-none-hd { + .no-col-hd { width: auto; float: none; } @@ -1422,7 +1429,7 @@ input::-moz-focus-inner { .text-justify-print { text-align: justify; } - .col-none-print { + .no-col-print { width: auto; float: none; } diff --git a/package.json b/package.json index a9139b87..8226125a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "base", - "version": "2.6.2", + "version": "2.6.3", "homepage": "http://getbase.org/", "repository": { "type": "git", diff --git a/src/less/base/_helpers.less b/src/less/base/_helpers.less index 851d9162..bdfc43f0 100644 --- a/src/less/base/_helpers.less +++ b/src/less/base/_helpers.less @@ -140,6 +140,15 @@ } } +// Select Box Reset +.no-select { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: default; +} + // Animations .animate { .animate(1s); @@ -170,7 +179,7 @@ .text-justify-tablet { text-align: justify; } // Grid Resets - .col-none-tablet { + .no-col-tablet { width: auto; float: none; } @@ -198,7 +207,7 @@ .text-justify-desktop { text-align: justify; } // Grid Resets - .col-none-desktop { + .no-col-desktop { width: auto; float: none; } @@ -226,7 +235,7 @@ .text-justify-hd { text-align: justify; } // Grid Resets - .col-none-hd { + .no-col-hd { width: auto; float: none; } @@ -254,7 +263,7 @@ .text-justify-print { text-align: justify; } // Grid Resets - .col-none-print { + .no-col-print { width: auto; float: none; } diff --git a/src/less/style.less b/src/less/style.less index f730dcb9..81eef778 100644 --- a/src/less/style.less +++ b/src/less/style.less @@ -2,7 +2,7 @@ // Base Stylesheet - http://getbase.org // Author: Matthew Hartman - http://www.matthewhartman.com.au/ -// Version: 2.6.2 - Last Updated: November 08, 2015 +// Version: 2.6.3 - Last Updated: November 09, 2015 // ========================================================================== diff --git a/src/scss/base/_helpers.scss b/src/scss/base/_helpers.scss index c40f3b81..92934edf 100644 --- a/src/scss/base/_helpers.scss +++ b/src/scss/base/_helpers.scss @@ -140,6 +140,15 @@ } } +// Select Box Reset +.no-select { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: default; +} + // Animations .animate { @include animate(1s); @@ -170,7 +179,7 @@ .text-justify-tablet { text-align: justify; } // Grid Resets - .col-none-tablet { + .no-col-tablet { width: auto; float: none; } @@ -198,7 +207,7 @@ .text-justify-desktop { text-align: justify; } // Grid Resets - .col-none-desktop { + .no-col-desktop { width: auto; float: none; } @@ -226,7 +235,7 @@ .text-justify-hd { text-align: justify; } // Grid Resets - .col-none-hd { + .no-col-hd { width: auto; float: none; } @@ -254,7 +263,7 @@ .text-justify-print { text-align: justify; } // Grid Resets - .col-none-print { + .no-col-print { width: auto; float: none; } diff --git a/src/scss/style.scss b/src/scss/style.scss index c9e9eeca..f45e00c2 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -2,7 +2,7 @@ // Base Stylesheet - http://getbase.org // Author: Matthew Hartman - http://www.matthewhartman.com.au/ -// Version: 2.6.2 - Last Updated: November 08, 2015 +// Version: 2.6.3 - Last Updated: November 09, 2015 // ========================================================================== diff --git a/src/style.css b/src/style.css index abace0f1..e6f6582e 100644 --- a/src/style.css +++ b/src/style.css @@ -1249,6 +1249,13 @@ input::-moz-focus-inner { top: 4px; left: 0; } +.no-select { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: default; +} .animate { -webkit-animation-duration: 1s; animation-duration: 1s; @@ -1293,7 +1300,7 @@ input::-moz-focus-inner { .text-justify-tablet { text-align: justify; } - .col-none-tablet { + .no-col-tablet { width: auto; float: none; } @@ -1336,7 +1343,7 @@ input::-moz-focus-inner { .text-justify-desktop { text-align: justify; } - .col-none-desktop { + .no-col-desktop { width: auto; float: none; } @@ -1379,7 +1386,7 @@ input::-moz-focus-inner { .text-justify-hd { text-align: justify; } - .col-none-hd { + .no-col-hd { width: auto; float: none; } @@ -1422,7 +1429,7 @@ input::-moz-focus-inner { .text-justify-print { text-align: justify; } - .col-none-print { + .no-col-print { width: auto; float: none; }