diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-11-16 18:16:43 +0100 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2016-11-17 09:27:08 +0100 |
commit | 9a810ff89ca61c3cd93d39d5fe9bd80a3eeaa282 (patch) | |
tree | 54de57f63d74b75eccf5d8d0d2c67ad21bc651a2 /reporting/3rd_party/sass/components/_table.scss | |
parent | c6126c34037424f5a1cb7c859f27eab2e60653c3 (diff) |
Refactor reporting dir
- dockerization
- create util function for all the test projects
- create a common config files
- add unit tests
- pep8
JIRA: RELENG-162
Change-Id: Ib209be4233084100ff238a7aeb2843ccc24a6f1e
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'reporting/3rd_party/sass/components/_table.scss')
-rw-r--r-- | reporting/3rd_party/sass/components/_table.scss | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/reporting/3rd_party/sass/components/_table.scss b/reporting/3rd_party/sass/components/_table.scss new file mode 100644 index 0000000..d6e8728 --- /dev/null +++ b/reporting/3rd_party/sass/components/_table.scss @@ -0,0 +1,81 @@ +///
+/// Phantom by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Table */
+
+ .table-wrapper {
+ -webkit-overflow-scrolling: touch;
+ overflow-x: auto;
+ }
+
+ table {
+ margin: 0 0 _size(element-margin) 0;
+ width: 100%;
+
+ tbody {
+ tr {
+ border: solid _size(border-width) _palette(border);
+ border-left: 0;
+ border-right: 0;
+
+ &:nth-child(2n + 1) {
+ background-color: _palette(border-bg);
+ }
+ }
+ }
+
+ td {
+ padding: 0.75em 0.75em;
+ }
+
+ th {
+ color: _palette(fg-bold);
+ font-size: 0.9em;
+ font-weight: _font(weight-bold);
+ padding: 0 0.75em 0.75em 0.75em;
+ text-align: left;
+ }
+
+ thead {
+ border-bottom: solid (_size(border-width) * 2) _palette(border);
+ }
+
+ tfoot {
+ border-top: solid (_size(border-width) * 2) _palette(border);
+ }
+
+ &.alt {
+ border-collapse: separate;
+
+ tbody {
+ tr {
+ td {
+ border: solid _size(border-width) _palette(border);
+ border-left-width: 0;
+ border-top-width: 0;
+
+ &:first-child {
+ border-left-width: _size(border-width);
+ }
+ }
+
+ &:first-child {
+ td {
+ border-top-width: _size(border-width);
+ }
+ }
+ }
+ }
+
+ thead {
+ border-bottom: 0;
+ }
+
+ tfoot {
+ border-top: 0;
+ }
+ }
+ }
\ No newline at end of file |