Skip to content

Commit

Permalink
chore: format css files (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
yesudeep authored Jul 6, 2023
1 parent e9e4e4b commit e517a0f
Show file tree
Hide file tree
Showing 7 changed files with 120 additions and 125 deletions.
2 changes: 1 addition & 1 deletion report_table.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion report_table.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/layout_fixed.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ table.reportTable td {
}

.rectElem.animated {
font-family: Open Sans,Helvetica,Arial,sans-serif;
font-family: Open Sans, Helvetica, Arial, sans-serif;
margin: 4px;
overflow: hidden;
text-overflow: ellipsis;
Expand Down
57 changes: 30 additions & 27 deletions src/theme_contemporary.css
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
@font-face {
font-family: 'Noto Sans TC';
src: url('./fonts/noto-sans-tc-v10-latin_chinese-traditional-regular.woff2') format('woff2')
src: url('./fonts/noto-sans-tc-v10-latin_chinese-traditional-regular.woff2')
format('woff2');
}
@font-face {
font-family: 'Noto Sans SC';
src: url('./fonts/noto-sans-sc-v11-latin_chinese-simplified-regular.woff2') format('woff2')
src: url('./fonts/noto-sans-sc-v11-latin_chinese-simplified-regular.woff2')
format('woff2');
}

#tooltip {
position: absolute;
width: auto;
height: auto;
padding: 5px;
background-color: white;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
pointer-events: none;
font-family: sans-serif;
font-size: 12px;
z-index: 2;
position: absolute;
width: auto;
height: auto;
padding: 5px;
background-color: white;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
pointer-events: none;
font-family: sans-serif;
font-size: 12px;
z-index: 2;
}

.tooltipTable {
font-family: Open Sans,Helvetica,Arial,sans-serif;
font-family: Open Sans, Helvetica, Arial, sans-serif;
border: 0px;
border-collapse: collapse;
table-layout: auto;
Expand All @@ -37,30 +39,31 @@
}

.hidden {
display: none;
display: none;
}

.hover {
background-color: #ffffbb;
}

.reportTable {
font-family: Open Sans,Helvetica,Arial,Noto Sans SC,Noto Sans TC,sans-serif;
border: 1px solid #CCCCCC;
font-family: Open Sans, Helvetica, Arial, Noto Sans SC, Noto Sans TC,
sans-serif;
border: 1px solid #cccccc;
border-collapse: collapse;
border-spacing: 3px;
}

table.reportTable th {
border: 1px solid #CCCCCC;
border: 1px solid #cccccc;
border-bottom: 1px solid #000000 !important;
padding: 5px;
}

table.reportTable td {
vertical-align: super;
padding: 5px;
border: 1px solid #CCCCCC;
border: 1px solid #cccccc;
border-collapse: collapse;
}

Expand Down Expand Up @@ -106,7 +109,7 @@ table.reportTable td {
.subtotal {
font-style: italic;
font-weight: bold;
background: #D3D3D3;
background: #d3d3d3;
}

.total {
Expand All @@ -116,10 +119,10 @@ table.reportTable td {

.total.transposed {
border-top: 0px !important;
background: #D3D3D3;
background: #d3d3d3;
}

.rectElem.animated {
font-family: Open Sans,Helvetica,Arial,sans-serif;
font-family: Open Sans, Helvetica, Arial, sans-serif;
margin: 4px;
}
}
71 changes: 29 additions & 42 deletions src/theme_custom_template.css
Original file line number Diff line number Diff line change
@@ -1,119 +1,106 @@
#tooltip {
position: absolute;
width: auto;
height: auto;
padding: 5px;
background-color: white;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
pointer-events: none;
font-family: sans-serif;
font-size: 12px;
z-index: 2;

/* Add customization here */
position: absolute;
width: auto;
height: auto;
padding: 5px;
background-color: white;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
pointer-events: none;
font-family: sans-serif;
font-size: 12px;
z-index: 2;

/* Add customization here */
}

#tooltip.hidden {
display: none;
display: none;

/* Add customization here */

}

#tooltip p {
margin: 0;
font-family: sans-serif;
font-size: 12px;
line-height: 15px;

/* Add customization here */

margin: 0;
font-family: sans-serif;
font-size: 12px;
line-height: 15px;

/* Add customization here */
}

.reportTable {
font-family: Open Sans,Helvetica,Arial,sans-serif;
font-family: Open Sans, Helvetica, Arial, sans-serif;
font-size: 12px;
border: 1px solid #CCCCCC;
border: 1px solid #cccccc;
border-collapse: collapse;
border-spacing: 3px;

/* Add customization here */

}

.reportTable th {
color: #000000;
border: 1px solid #CCCCCC;
border-bottom: 1px solid #CCCCCC !important;
border: 1px solid #cccccc;
border-bottom: 1px solid #cccccc !important;
/* font-size: 10px; */
/* height: 25px; */
padding: 5px;

/* Add customization here */

}

.reportTable td {
color: #000000;
vertical-align: super;
padding: 5px;
/*background: #FFFFFF;*/
border: 1px solid #CCCCCC;
border: 1px solid #cccccc;
border-collapse: collapse;

/* Add customization here */

}

.left {
text-align: left;

/* Add customization here */

}

.right {
text-align: right !important;

/* Add customization here */

}

.indent {
padding-left: 15px !important;

/* Add customization here */

}

.subtotal {
font-style: italic;
font-weight: bold;
background: #D3D3D3;
background: #d3d3d3;

/* Add customization here */

}

.total {
border-top: 2px solid #000000 !important;
font-weight: bold !important;

/* Add customization here */

}

.total.transposed {
border-top: 0px !important;
background: #D3D3D3;
background: #d3d3d3;

/* Add customization here */

}
Loading

0 comments on commit e517a0f

Please sign in to comment.