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

48 lines
719 B
SCSS

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