f1ee2937cd
New icon, theme, and fuzzy time. Add moment.js
121 lines
2.2 KiB
Plaintext
121 lines
2.2 KiB
Plaintext
@import "Declarations";
|
|
|
|
// Data Table Mixin
|
|
.tableData {
|
|
border: solid 1px @TableDataBorderColour;
|
|
border-collapse: collapse;
|
|
|
|
& > tbody > tr > td {
|
|
border: solid 1px @TableDataBorderColour;
|
|
background-color: @white;
|
|
}
|
|
|
|
& > tbody > tr:nth-child(odd) > td {
|
|
background-color: @TableDataRowBackgroundColor;
|
|
}
|
|
|
|
& > thead > tr > th, & > tbody > tr > th {
|
|
background-color: @TableDataBorderColour;
|
|
border: solid 1px @TableDataBorderColour;
|
|
}
|
|
|
|
& > tbody > tr:hover > td {
|
|
background-color: @TableDataBorderColour;
|
|
}
|
|
|
|
& > tfoot > tr > th, & > tfoot > tr > td {
|
|
background-color: @TableDataBorderColour;
|
|
}
|
|
}
|
|
|
|
.tableDataDark
|
|
{
|
|
border: solid 1px @TableDataDarkBorderColour;
|
|
border-collapse: collapse;
|
|
|
|
td
|
|
{
|
|
border: solid 1px @TableDataDarkBorderColour;
|
|
background-color: @white;
|
|
}
|
|
|
|
th
|
|
{
|
|
background-color: @TableDataDarkBorderColour;
|
|
border: solid 1px @TableDataDarkBorderColour;
|
|
}
|
|
}
|
|
|
|
.tableDataContainer
|
|
{
|
|
background-color: @white;
|
|
}
|
|
|
|
.tableDataVertical
|
|
{
|
|
border: solid 1px @TableDataBorderColour;
|
|
border-collapse: collapse;
|
|
|
|
&>tbody > tr:nth-child(odd)
|
|
{
|
|
background-color: @TableDataBorderColour;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
&>tbody > tr > th.name
|
|
{
|
|
width: 170px;
|
|
text-align: right;
|
|
}
|
|
|
|
table.sub
|
|
{
|
|
&>tbody
|
|
{
|
|
&>tr:not(:first-child)
|
|
{
|
|
&>th, &>td
|
|
{
|
|
border-top: 1px dashed #aaa;
|
|
}
|
|
}
|
|
|
|
&>tr
|
|
{
|
|
&>th
|
|
{
|
|
font-weight: normal;
|
|
text-align: right;
|
|
}
|
|
|
|
&>th.name
|
|
{
|
|
text-align: right;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.icon16
|
|
{
|
|
display: inline-block;
|
|
height: 16px;
|
|
width: 16px;
|
|
margin-left: 2px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.subtleUntilHover
|
|
{
|
|
-moz-opacity: 0.3;
|
|
opacity: 0.3;
|
|
|
|
&:hover
|
|
{
|
|
-moz-opacity: 1;
|
|
opacity: 1;
|
|
}
|
|
}
|