ftp-manager/app/assets/stylesheets/organisms/_tables.scss

47 lines
722 B
SCSS
Raw Permalink Normal View History

2016-09-11 20:31:38 -05:00
table {
2016-10-14 22:21:12 -05:00
// border-collapse: collapse;
border-spacing: 0;
2016-09-11 20:31:38 -05:00
width: 100%;
}
2016-10-14 22:21:12 -05:00
th,
td {
2016-09-11 20:31:38 -05:00
text-align: left;
2016-10-14 22:21:12 -05:00
padding: 10px;
2016-09-11 20:31:38 -05:00
}
2016-10-14 22:21:12 -05:00
thead {
th {
background-color: #888;
border: 1px solid #888;
color: #f5f5f5;
}
th:first-of-type { border-radius: 5px 0 0 0; }
th:last-of-type { border-radius: 0 5px 0 0; }
}
tbody {
tr:nth-of-type(odd) {
td {
background-color: #f5f5f5;
}
}
td:first-of-type { border-left: 1px solid #888;}
td:last-of-type { border-right: 1px solid #888;}
tr:last-of-type {
td {
border-bottom: 1px solid #888;
&:first-of-type {
border-radius: 0 0 0 5px;
}
&:last-of-type {
border-radius: 0 0 5px 0;
}
}
}
2016-09-11 20:31:38 -05:00
}