KNACSS/less/_04-tables.less

39 lines
570 B
Text
Raw Normal View History

2013-09-12 11:59:14 +02:00
/* ----------------------------- */
/* ==tables */
/* ----------------------------- */
table,
.table {
2014-05-03 11:22:45 +02:00
width: 100%;
2013-09-12 11:59:14 +02:00
max-width : 100%;
table-layout: fixed;
border-collapse: collapse;
vertical-align: top;
2014-05-03 11:22:45 +02:00
border: 1px solid #ccc;
2013-09-12 11:59:14 +02:00
}
2014-05-07 10:45:47 +02:00
2013-09-12 11:59:14 +02:00
.table {
display: table;
}
2014-05-07 10:45:47 +02:00
2013-09-12 11:59:14 +02:00
table#recaptcha_table,
table.table-auto {
table-layout:auto;
}
2014-05-07 10:45:47 +02:00
2013-09-12 11:59:14 +02:00
caption {
2014-05-03 11:22:45 +02:00
padding: @small-value;
2013-09-12 11:59:14 +02:00
color: #555;
font-style: italic;
2013-09-12 11:59:14 +02:00
}
2014-05-07 10:45:47 +02:00
2014-05-03 11:22:45 +02:00
td,
th {
2014-05-03 14:03:41 +02:00
padding: 0.3em 0.8em;
2014-05-03 11:22:45 +02:00
border: 1px #aaa dotted;
vertical-align: top;
min-width: @medium-value;
cursor: default;
2013-09-12 11:59:14 +02:00
text-align: left;
2014-05-07 10:45:47 +02:00
}