version 4.2.3

This commit is contained in:
raphaelgoettter 2015-07-02 09:31:17 +02:00
parent d824fc2047
commit e1fe703d3d
11 changed files with 71 additions and 35 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "KNACSS", "name": "KNACSS",
"version": "4.2.2", "version": "4.2.3",
"homepage": "http://www.knacss.com/", "homepage": "http://www.knacss.com/",
"authors": [ "authors": [
"Raphaël GOETTER, Alsacreations" "Raphaël GOETTER, Alsacreations"

View file

@ -1,6 +1,13 @@
# changelog v4.2.3 (2 juillet 2015)
- Passage à l'indentation via 2 espaces et non plus tabulations (+ `.editorconfig` à jour)
- Répartition des styles tabulaires entre les fichiers `tables` et `styling`
- pas de namespace sur les classes `.clear`, `.clearfix` et `.visually-hidden`
- ajout d'une classe `.bfc` (identique à `.mod`) et qui crée un contexte de formatage block
# changelog v4.2.2 (26 juin 2015) # changelog v4.2.2 (26 juin 2015)
- Ajout de !default aux variables SASS dans le fichier _00-config.scss - Ajout de !default aux variables SASS dans le fichier `_00-config.scss`
- Flex-container enhancement - Flex-container enhancement
- select element enhancement on webkit - select element enhancement on webkit
- correction largeurs des grilles pour IE - correction largeurs des grilles pour IE

View file

@ -1,5 +1,5 @@
/*! /*!
* www.KNACSS.com V4.2.2 (26 juin 2015) @author: Raphael Goetter, Alsacreations * www.KNACSS.com V4.2.3 (1er juillet 2015) @author: Raphael Goetter, Alsacreations
* Licence WTFPL http://www.wtfpl.net/ * Licence WTFPL http://www.wtfpl.net/
*/ */
/*! normalize.css v3.0.2 | MIT License | github.com/necolas/normalize.css */ /*! normalize.css v3.0.2 | MIT License | github.com/necolas/normalize.css */
@ -13,7 +13,7 @@ html {
/* 1 */ /* 1 */
-ms-text-size-adjust: 100%; -ms-text-size-adjust: 100%;
/* 2 */ /* 2 */
-webkit-text-size-adjust: 100% -webkit-text-size-adjust: 100%;
/* 2 */ /* 2 */
} }
/** /**
@ -55,7 +55,7 @@ progress,
video { video {
display: inline-block; display: inline-block;
/* 1 */ /* 1 */
vertical-align: baseline vertical-align: baseline;
/* 2 */ /* 2 */
} }
/** /**
@ -213,7 +213,7 @@ textarea {
/* 1 */ /* 1 */
font: inherit; font: inherit;
/* 2 */ /* 2 */
margin: 0 margin: 0;
/* 3 */ /* 3 */
} }
/** /**
@ -245,7 +245,7 @@ input[type="reset"],
input[type="submit"] { input[type="submit"] {
-webkit-appearance: button; -webkit-appearance: button;
/* 2 */ /* 2 */
cursor: pointer cursor: pointer;
/* 3 */ /* 3 */
} }
/** /**
@ -281,7 +281,7 @@ input[type="checkbox"],
input[type="radio"] { input[type="radio"] {
box-sizing: border-box; box-sizing: border-box;
/* 1 */ /* 1 */
padding: 0 padding: 0;
/* 2 */ /* 2 */
} }
/** /**
@ -328,7 +328,7 @@ fieldset {
legend { legend {
border: 0; border: 0;
/* 1 */ /* 1 */
padding: 0 padding: 0;
/* 2 */ /* 2 */
} }
/** /**
@ -571,7 +571,8 @@ table {
/* ==layout and modules */ /* ==layout and modules */
/* ----------------------------- */ /* ----------------------------- */
/* module, gains superpower "BFC" Block Formating Context */ /* module, gains superpower "BFC" Block Formating Context */
.mod { .mod,
.bfc {
overflow: hidden; overflow: hidden;
} }
/* blocks that needs to be placed under floats */ /* blocks that needs to be placed under floats */
@ -651,6 +652,7 @@ http://www.alsacreations.com/tuto/lire/1493-css3-flexbox-layout-module.html
*/ */
[class*="flex-container"], [class*="flex-container"],
.flex-container { .flex-container {
display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
@ -659,31 +661,39 @@ http://www.alsacreations.com/tuto/lire/1493-css3-flexbox-layout-module.html
flex-wrap: wrap; flex-wrap: wrap;
} }
.flex-container-h { .flex-container-h {
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row; -webkit-flex-direction: row;
-ms-flex-direction: row; -ms-flex-direction: row;
flex-direction: row; flex-direction: row;
} }
.flex-container-v { .flex-container-v {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column; -webkit-flex-direction: column;
-ms-flex-direction: column; -ms-flex-direction: column;
flex-direction: column; flex-direction: column;
} }
.flex-item-fluid { .flex-item-fluid {
-webkit-box-flex: 1;
-webkit-flex: 1; -webkit-flex: 1;
-ms-flex: 1; -ms-flex: 1;
flex: 1; flex: 1;
} }
.flex-item-first { .flex-item-first {
-webkit-box-ordinal-group: 0;
-webkit-order: -1; -webkit-order: -1;
-ms-flex-order: -1; -ms-flex-order: -1;
order: -1; order: -1;
} }
.flex-item-medium { .flex-item-medium {
-webkit-box-ordinal-group: 1;
-webkit-order: 0; -webkit-order: 0;
-ms-flex-order: 0; -ms-flex-order: 0;
order: 0; order: 0;
} }
.flex-item-last { .flex-item-last {
-webkit-box-ordinal-group: 2;
-webkit-order: 1; -webkit-order: 1;
-ms-flex-order: 1; -ms-flex-order: 1;
order: 1; order: 1;
@ -695,9 +705,12 @@ http://www.alsacreations.com/tuto/lire/1493-css3-flexbox-layout-module.html
/* ==Grids */ /* ==Grids */
/* ---------------------------------- */ /* ---------------------------------- */
[class*="grid-"] { [class*="grid-"] {
display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row; -webkit-flex-direction: row;
-ms-flex-direction: row; -ms-flex-direction: row;
flex-direction: row; flex-direction: row;
@ -707,6 +720,7 @@ http://www.alsacreations.com/tuto/lire/1493-css3-flexbox-layout-module.html
margin-left: -1em; margin-left: -1em;
} }
[class*="grid-"] > * { [class*="grid-"] > * {
-webkit-box-flex: 0;
-webkit-flex: 0 0 auto; -webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto; -ms-flex: 0 0 auto;
flex: 0 0 auto; flex: 0 0 auto;
@ -1011,28 +1025,19 @@ table,
table-layout: fixed; table-layout: fixed;
border-collapse: collapse; border-collapse: collapse;
vertical-align: top; vertical-align: top;
border: 1px solid #ccc;
} }
.table { .table {
display: table; display: table;
} }
table#recaptcha_table, #recaptcha_table,
table.table-auto { table.table-auto {
table-layout: auto; table-layout: auto;
} }
caption {
padding: 10px;
color: #555;
font-style: italic;
}
td, td,
th { th {
padding: 0.3em 0.8em;
border: 1px #aaa dotted;
vertical-align: top; vertical-align: top;
min-width: 20px; min-width: 20px;
cursor: default; cursor: default;
text-align: left;
} }
/* ----------------------------- */ /* ----------------------------- */
/* ==forms */ /* ==forms */
@ -1578,6 +1583,8 @@ s,m,l,n = small, medium, large, none
border: 0; border: 0;
} }
.flex-container { .flex-container {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column; -webkit-flex-direction: column;
-ms-flex-direction: column; -ms-flex-direction: column;
flex-direction: column; flex-direction: column;
@ -1716,11 +1723,11 @@ s,m,l,n = small, medium, large, none
page-break-inside: avoid; page-break-inside: avoid;
} }
/* page break before main headers /* page break before main headers
h1, h1,
.h1-like { .h1-like {
page-break-before: always; page-break-before: always;
} }
*/ */
/* no breaks after these elements */ /* no breaks after these elements */
h1, h1,
.h1-like, .h1-like,
@ -1874,6 +1881,22 @@ hr {
color: #ccc; color: #ccc;
background-color: #ccc; background-color: #ccc;
} }
/* tables */
table,
.table {
border: 1px solid #ccc;
}
caption {
padding: 10px;
color: #555;
font-style: italic;
}
td,
th {
padding: 0.3em 0.8em;
border: 1px #aaa dotted;
text-align: left;
}
/* alternate tables */ /* alternate tables */
.table-alternate { .table-alternate {
border: 0; border: 0;
@ -2067,3 +2090,9 @@ img.wp-smiley {
.gallery-caption { .gallery-caption {
display: block; display: block;
} }
/* ----------------------------- */
/* ==own stylesheet */
/* ----------------------------- */
/* Here should go your own CSS styles */
/* You can also link them with a LESS @import */
/* @import "my-styles.less"; */

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -19,7 +19,7 @@ gulp.task('css', function () {
.pipe(gulp.dest('./css/')) .pipe(gulp.dest('./css/'))
.pipe(rename('knacss.css')) .pipe(rename('knacss.css'))
.pipe(sourcemaps.init()) .pipe(sourcemaps.init())
.pipe(minifycss({keepBreaks:false,keepSpecialComments:0})) .pipe(minifycss())
.pipe(sourcemaps.write('.', {includeContent: false})) .pipe(sourcemaps.write('.', {includeContent: false}))
.pipe(gulp.dest('./css/')); .pipe(gulp.dest('./css/'));
}); });

View file

@ -1,5 +1,5 @@
/*! /*!
* www.KNACSS.com V4.2.2 (26 juin 2015) @author: Raphael Goetter, Alsacreations * www.KNACSS.com V4.2.3 (1er juillet 2015) @author: Raphael Goetter, Alsacreations
* Licence WTFPL http://www.wtfpl.net/ * Licence WTFPL http://www.wtfpl.net/
*/ */

View file

@ -2,7 +2,7 @@
/* ==Grids */ /* ==Grids */
/* ---------------------------------- */ /* ---------------------------------- */
// WARNING : KNACSS grids are flexbox based and only supported by IE10+ // WARNING : KNACSS grids are flexbox based and only supported by IE10+ and Android4.4+
// Tuto : http://www.alsacreations.com/tuto/lire/1659-une-grille-responsive-avec-flexbox-et-LESS.html // Tuto : http://www.alsacreations.com/tuto/lire/1659-une-grille-responsive-avec-flexbox-et-LESS.html
// Demo : http://codepen.io/raphaelgoetter/pen/zxBMLW // Demo : http://codepen.io/raphaelgoetter/pen/zxBMLW

View file

@ -1,6 +1,6 @@
{ {
"name": "knacss", "name": "knacss",
"version": "4.2.2", "version": "4.2.3",
"homepage": "http://www.knacss.com/", "homepage": "http://www.knacss.com/",
"bugs": "https://github.com/raphaelgoetter/KNACSS/issues", "bugs": "https://github.com/raphaelgoetter/KNACSS/issues",
"author": [ "author": [

View file

@ -1,5 +1,5 @@
/*! /*!
* www.KNACSS.com V4.2.2 (26 juin 2015) @author: Raphael Goetter, Alsacreations * www.KNACSS.com V4.2.3 (1er juillet 2015) @author: Raphael Goetter, Alsacreations
* Licence WTFPL http://www.wtfpl.net/ * Licence WTFPL http://www.wtfpl.net/
*/ */

View file

@ -2,7 +2,7 @@
/* ==Grids */ /* ==Grids */
/* ---------------------------------- */ /* ---------------------------------- */
// WARNING : KNACSS grids are flexbox based and only supported by IE10+ // WARNING : KNACSS grids are flexbox based and only supported by IE10+ and Android4.4+
// Tuto : http://www.alsacreations.com/tuto/lire/1659-une-grille-responsive-avec-flexbox-et-LESS.html // Tuto : http://www.alsacreations.com/tuto/lire/1659-une-grille-responsive-avec-flexbox-et-LESS.html
// Demo : http://codepen.io/raphaelgoetter/pen/ZYjwEB // Demo : http://codepen.io/raphaelgoetter/pen/ZYjwEB