KNACSS/sass/_04-tables.scss

39 lines
638 B
SCSS
Raw Normal View History

2014-05-04 15:48:00 +02:00
/* ----------------------------- */
/* ==tables */
/* ----------------------------- */
table,
.#{$kna-namespace}table {
2014-05-04 15:48:00 +02:00
width: 100%;
max-width : 100%;
table-layout: fixed;
border-collapse: collapse;
vertical-align: top;
border: 1px solid #ccc;
}
2014-05-07 11:12:14 +02:00
.#{$kna-namespace}table {
2014-05-04 15:48:00 +02:00
display: table;
}
2014-05-07 11:12:14 +02:00
table##{$kna-namespace}recaptcha_table,
table.#{$kna-namespace}table-auto {
2014-05-04 15:48:00 +02:00
table-layout:auto;
}
2014-05-07 11:12:14 +02:00
2014-05-04 15:48:00 +02:00
caption {
padding: $small-value;
color: #555;
font-style: italic;
2014-05-04 15:48:00 +02:00
}
2014-05-07 11:12:14 +02:00
2014-05-04 15:48:00 +02:00
td,
th {
padding: 0.3em 0.8em;
border: 1px #aaa dotted;
vertical-align: top;
min-width: $medium-value;
cursor: default;
text-align: left;
2014-05-07 11:12:14 +02:00
}