répartition des styles entre table et styling

This commit is contained in:
raphaelgoettter 2015-07-02 09:13:41 +02:00
parent 5fa49413b6
commit 58bc80183e
4 changed files with 40 additions and 22 deletions

View File

@ -9,30 +9,20 @@ table,
table-layout: fixed;
border-collapse: collapse;
vertical-align: top;
border: 1px solid #ccc;
}
.@{kna-namespace}table {
display: table;
}
table#@{kna-namespace}recaptcha_table,
#recaptcha_table,
table.@{kna-namespace}table-auto {
table-layout:auto;
}
caption {
padding: @small-value;
color: #555;
font-style: italic;
}
td,
th {
padding: 0.3em 0.8em;
border: 1px #aaa dotted;
vertical-align: top;
min-width: @medium-value;
cursor: default;
text-align: left;
}

View File

@ -95,6 +95,25 @@ hr {
background-color: #ccc;
}
/* tables */
table,
.@{kna-namespace}table {
border: 1px solid #ccc;
}
caption {
padding: @small-value;
color: #555;
font-style: italic;
}
td,
th {
padding: 0.3em 0.8em;
border: 1px #aaa dotted;
text-align: left;
}
/* alternate tables */
.@{kna-namespace}table-alternate {
border: 0;

View File

@ -9,30 +9,20 @@ table,
table-layout: fixed;
border-collapse: collapse;
vertical-align: top;
border: 1px solid #ccc;
}
.#{$kna-namespace}table {
display: table;
}
table##{$kna-namespace}recaptcha_table,
#recaptcha_table,
table.#{$kna-namespace}table-auto {
table-layout:auto;
}
caption {
padding: $small-value;
color: #555;
font-style: italic;
}
td,
th {
padding: 0.3em 0.8em;
border: 1px #aaa dotted;
vertical-align: top;
min-width: $medium-value;
cursor: default;
text-align: left;
}

View File

@ -93,6 +93,25 @@ hr {
background-color: #ccc;
}
/* tables */
table,
.#{$kna-namespace}table {
border: 1px solid #ccc;
}
caption {
padding: @small-value;
color: #555;
font-style: italic;
}
td,
th {
padding: 0.3em 0.8em;
border: 1px #aaa dotted;
text-align: left;
}
/* alternate tables */
.#{$kna-namespace}table-alternate {
border: 0;