phonograph/sass/viewer.scss

39 lines
739 B
SCSS
Raw Normal View History

table.viewer {
border-collapse: collapse;
height: 1px; /* css hack to make percentage based cell heights work */
}
table.viewer > thead > tr > th {
border: solid 1px #ccc;
border-top: none;
font-family: "Funnel Sans";
background: #0001;
height: 100%; /* css hack to make percentage based cell heights work */
padding: 0 0.5rem;
text-align: left;
&:first-child {
border-left: none;
}
&.column-adder {
border: none;
background: none;
padding: 0;
}
}
table.viewer .padded-cell {
padding: 0.5rem;
}
table.viewer > tbody > tr > td {
border: solid 1px #ccc;
height: 100%; /* css hack to make percentage based cell heights work */
padding: 0;
&:first-child {
border-left: none;
}
}