Skip to content

Commit 104ecca

Browse files
committed
prettify tables
1 parent 6825c5d commit 104ecca

File tree

3 files changed

+24
-45
lines changed

3 files changed

+24
-45
lines changed

services/static-webserver/client/source/class/osparc/theme/ColorDark.js

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -122,28 +122,6 @@ qx.Theme.define("osparc.theme.ColorDark", {
122122
"tooltip": "flash_message_bg",
123123
"tooltip-text": "text",
124124

125-
// table
126-
"table-header": "background-main",
127-
"table-header-foreground": "c09",
128-
"table-header-border": "c07",
129-
"table-header-cell": "background-main",
130-
131-
// used in table code
132-
"table-focus-indicator": "background-main-5",
133-
"table-row-background-even": "background-main",
134-
"table-row-background-odd": "background-main",
135-
"table-row-background-focused": "background-main-1",
136-
"table-row-background-focused-selected": "background-main-2",
137-
"table-row-background-selected": "background-main-2",
138-
139-
// foreground
140-
"table-row-selected": "c12",
141-
"table-row": "c09",
142-
143-
// table grid color
144-
"table-row-line": "background-main",
145-
"table-column-line": "background-main",
146-
147125
// used in progressive code
148126
"progressive-table-header": "c08",
149127
"progressive-table-row-background-even": "background-main",

services/static-webserver/client/source/class/osparc/theme/ColorLight.js

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -124,28 +124,6 @@ qx.Theme.define("osparc.theme.ColorLight", {
124124
"tooltip-text": "text",
125125

126126

127-
// table
128-
"table-header": "background-main",
129-
"table-header-foreground": "c09",
130-
"table-header-border": "c07",
131-
"table-focus-indicator": "background-main-5",
132-
133-
// used in table code
134-
"table-header-cell": "background-main",
135-
"table-row-background-even": "background-main",
136-
"table-row-background-odd": "background-main",
137-
"table-row-background-focused": "background-main-1",
138-
"table-row-background-focused-selected": "background-main-2",
139-
"table-row-background-selected": "background-main-2",
140-
141-
// foreground
142-
"table-row-selected": "c12",
143-
"table-row": "c09",
144-
145-
// table grid color
146-
"table-row-line": "background-main",
147-
"table-column-line": "background-main",
148-
149127
// used in progressive code
150128
"progressive-table-header": "c08",
151129
"progressive-table-row-background-even": "background-main",

services/static-webserver/client/source/class/osparc/theme/mixin/Color.js

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,29 @@ qx.Theme.define("osparc.theme.mixin.Color", {
5454
"logger-warning-message": "warning-yellow",
5555
"logger-error-message": "failed-red",
5656

57-
"workbench-edge-selected": "busy-orange"
57+
"workbench-edge-selected": "busy-orange",
58+
59+
60+
// table
61+
"table-header": "transparent",
62+
"table-header-foreground": "text", // text color
63+
"table-header-border": "text", // header underline
64+
"table-header-cell": "transparent",
65+
66+
// used in table code
67+
"table-focus-indicator": "transparent",
68+
"table-row-background-even": "transparent",
69+
"table-row-background-odd": "transparent",
70+
"table-row-background-focused": "transparent",
71+
"table-row-background-focused-selected": "background-main-2",
72+
"table-row-background-selected": "background-main-2",
73+
74+
// foreground
75+
"table-row-selected": "text",
76+
"table-row": "text",
77+
78+
// table grid color
79+
"table-row-line": "transparent",
80+
"table-column-line": "transparent",
5881
}
5982
});

0 commit comments

Comments
 (0)