suppression de styles de tableaux alternate et striped

This commit is contained in:
raphaelgoettter 2015-08-27 10:39:56 +02:00
parent cfaab2e8e2
commit 9f080f6071
3 changed files with 44 additions and 103 deletions

View file

@ -3,6 +3,7 @@
- ajout des classes `.pull` et `.push` pour les offsets des grilles - ajout des classes `.pull` et `.push` pour les offsets des grilles
- corrections de la doc Print et Commencer - corrections de la doc Print et Commencer
- corrections de nommages reliquats : `.flexitem-double` -> `.flex-item-double` - corrections de nommages reliquats : `.flexitem-double` -> `.flex-item-double`
- suppression des styles graphiques pour tableaux alternate et striped
# changelog v4.3.3 (6 août 2015) # changelog v4.3.3 (6 août 2015)

View file

@ -1,8 +1,8 @@
/* ----------------------------- */ /* ----------------------------- */
/* ==minor stylings */ /* ==minor stylings */
/* ----------------------------- */ /* ----------------------------- */
/* styling elements */ /* styling elements */
code, code,
kbd, kbd,
mark { mark {
@ -75,12 +75,20 @@ q {
} }
q, q,
.@{kna-namespace}q { .@ {
kna-namespace
}
q {
quotes: "“\00a0" "\00a0”"; quotes: "“\00a0" "\00a0”";
} }
q:lang(fr), q:lang(fr),
.@{kna-namespace}q:lang(fr) { .@ {
kna-namespace
}
q:lang(fr) {
quotes: "«\00a0" "\00a0»"; quotes: "«\00a0" "\00a0»";
} }
@ -94,10 +102,14 @@ hr {
color: #ccc; color: #ccc;
background-color: #ccc; background-color: #ccc;
} }
/* tables */ /* tables */
table, table,
.@{kna-namespace}table { .@ {
kna-namespace
}
table {
border: 1px solid #ccc; border: 1px solid #ccc;
} }
@ -113,46 +125,3 @@ th {
border: 1px #aaa dotted; border: 1px #aaa dotted;
text-align: left; text-align: left;
} }
/* alternate tables */
.@{kna-namespace}table-alternate {
border: 0;
}
.@{kna-namespace}table-alternate tbody {
border: 1px solid #ccc;
}
.@{kna-namespace}table-alternate thead tr > * + * {
border-left: 0;
}
.@{kna-namespace}table-alternate tbody tr > * + * {
border-left: 1px solid #ccc;
}
/* alternate-vert tables */
.@{kna-namespace}table-alternate-v {
border: 0;
border-right: 1px solid #ccc;
}
.@{kna-namespace}table-alternate-v tr > :first-child {
border-bottom: 0;
}
.@{kna-namespace}table-alternate-v tr > * + * {
border-top: 1px solid #ccc;
}
/* striped tables */
.@{kna-namespace}table-striped tbody tr:nth-child(odd) {
background: #eee;
background: rgba(0, 0, 0, .05);
}
/* striped-vert tables */
.@{kna-namespace}table-striped-v tr > :first-child {
background: #eee;
background: rgba(0, 0, 0, .05);
}

View file

@ -1,9 +1,11 @@
/* ----------------------------- */ /* ----------------------------- */
/* ==minor stylings */ /* ==minor stylings */
/* ----------------------------- */ /* ----------------------------- */
/* styling elements */ /* styling elements */
code, kbd, mark {
code,
kbd,
mark {
border-radius: 2px; border-radius: 2px;
} }
@ -73,12 +75,20 @@ q {
} }
q, q,
.#{$kna-namespace}q { .# {
$kna-namespace
}
q {
quotes: "“\00a0" "\00a0”"; quotes: "“\00a0" "\00a0”";
} }
q:lang(fr), q:lang(fr),
.#{$kna-namespace}q:lang(fr) { .# {
$kna-namespace
}
q:lang(fr) {
quotes: "«\00a0" "\00a0»"; quotes: "«\00a0" "\00a0»";
} }
@ -92,10 +102,14 @@ hr {
color: #ccc; color: #ccc;
background-color: #ccc; background-color: #ccc;
} }
/* tables */ /* tables */
table, table,
.#{$kna-namespace}table { .# {
$kna-namespace
}
table {
border: 1px solid #ccc; border: 1px solid #ccc;
} }
@ -111,46 +125,3 @@ th {
border: 1px #aaa dotted; border: 1px #aaa dotted;
text-align: left; text-align: left;
} }
/* alternate tables */
.#{$kna-namespace}table-alternate {
border: 0;
}
.#{$kna-namespace}table-alternate tbody {
border: 1px solid #ccc;
}
.#{$kna-namespace}table-alternate thead tr > * + * {
border-left: 0;
}
.#{$kna-namespace}table-alternate tbody tr > * + * {
border-left: 1px solid #ccc;
}
/* alternate-vert tables */
.#{$kna-namespace}table-alternate-v {
border: 0;
border-right: 1px solid #ccc;
}
.#{$kna-namespace}table-alternate-v tr > :first-child {
border-bottom: 0;
}
.#{$kna-namespace}table-alternate-v tr > * + * {
border-top: 1px solid #ccc;
}
/* striped tables */
.#{$kna-namespace}table-striped tbody tr:nth-child(odd) {
background: #eee;
background: rgba(0, 0, 0, .05);
}
/* striped-vert tables */
.#{$kna-namespace}table-striped-v tr > :first-child {
background: #eee;
background: rgba(0, 0, 0, .05);
}