KNACSS/sass/components/tables.scss
2017-07-31 11:45:22 +02:00

48 lines
651 B
SCSS

/* ----------------------------- */
/* ==Tables */
/* ----------------------------- */
table,
.table {
width: 100%;
max-width: 100%;
table-layout: fixed;
border-collapse: collapse;
vertical-align: top;
margin-bottom: $medium-value;
}
.table {
display: table;
}
#recaptcha_table,
.table-auto {
table-layout: auto;
}
td,
th {
vertical-align: top;
min-width: $medium-value;
cursor: default;
}
/* deco */
table,
.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;
}