Skip to content
Snippets Groups Projects
Commit 92590778 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire: Committed by Reiter, Christoph
Browse files

Add styles.js

parent fedaba38
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ import './vpu-data-table-view.js'; ...@@ -3,6 +3,7 @@ import './vpu-data-table-view.js';
import {i18n} from './i18n'; import {i18n} from './i18n';
import {html, css, LitElement} from 'lit-element'; import {html, css, LitElement} from 'lit-element';
import * as commonUtils from 'vpu-common/utils'; import * as commonUtils from 'vpu-common/utils';
import * as commonStyles from 'vpu-common/styles';
class DataTableViewDemo extends LitElement { class DataTableViewDemo extends LitElement {
constructor() { constructor() {
...@@ -105,7 +106,7 @@ class DataTableViewDemo extends LitElement { ...@@ -105,7 +106,7 @@ class DataTableViewDemo extends LitElement {
static get styles() { static get styles() {
// language=css // language=css
return css` return css`
${commonUtils.getThemeCSS()} ${commonStyles.getThemeCSS()}
`; `;
} }
......
...@@ -8,6 +8,7 @@ import de from '../assets/datatables/i18n/German'; ...@@ -8,6 +8,7 @@ import de from '../assets/datatables/i18n/German';
import en from '../assets/datatables/i18n/English'; import en from '../assets/datatables/i18n/English';
import * as commonUtils from 'vpu-common/utils'; import * as commonUtils from 'vpu-common/utils';
import * as commonStyles from 'vpu-common/styles';
dt(window, $); dt(window, $);
resp(window, $); resp(window, $);
...@@ -111,8 +112,8 @@ class DataTableView extends LitElement { ...@@ -111,8 +112,8 @@ class DataTableView extends LitElement {
static get styles() { static get styles() {
// language=css // language=css
return css` return css`
${commonUtils.getThemeCSS()} ${commonStyles.getThemeCSS()}
${commonUtils.getGeneralCSS()} ${commonStyles.getGeneralCSS()}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { .dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
color: var(--vpu-muted-text); color: var(--vpu-muted-text);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment