KNACSS/sass/components/tables.scss

49 lines
651 B
SCSS
Raw Normal View History

2014-05-04 15:48:00 +02:00
/* ----------------------------- */
2016-05-20 08:58:56 +02:00
/* ==Tables */
2014-05-04 15:48:00 +02:00
/* ----------------------------- */
table,
2017-07-31 11:45:22 +02:00
.table {
2015-07-01 13:47:48 +02:00
width: 100%;
2015-11-19 04:33:55 +01:00
max-width: 100%;
2015-07-01 13:47:48 +02:00
table-layout: fixed;
border-collapse: collapse;
vertical-align: top;
2016-09-21 13:02:45 +02:00
margin-bottom: $medium-value;
2014-05-04 15:48:00 +02:00
}
2014-05-07 11:12:14 +02:00
2017-07-31 11:45:22 +02:00
.table {
2015-07-01 13:47:48 +02:00
display: table;
2014-05-04 15:48:00 +02:00
}
2014-05-07 11:12:14 +02:00
#recaptcha_table,
2017-07-31 11:45:22 +02:00
.table-auto {
table-layout: auto;
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 {
2015-07-01 13:47:48 +02:00
vertical-align: top;
min-width: $medium-value;
cursor: default;
2014-05-07 11:12:14 +02:00
}
2017-07-31 11:41:30 +02:00
/* deco */
table,
2017-07-31 11:45:22 +02:00
.table {
2017-07-31 11:41:30 +02:00
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;
}