Theming for responsive table

pull/1047/head
Cagatay Civici 2021-02-25 12:59:03 +03:00
parent 48ae20bef1
commit 7aece338f2
35 changed files with 111 additions and 2 deletions

View File

@ -2127,6 +2127,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(100, 181, 246, 0.16);
color: rgba(255, 255, 255, 0.87);

View File

@ -2127,6 +2127,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(129, 199, 132, 0.16);
color: rgba(255, 255, 255, 0.87);

View File

@ -2127,6 +2127,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(255, 213, 79, 0.16);
color: rgba(255, 255, 255, 0.87);

View File

@ -2127,6 +2127,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(186, 104, 200, 0.16);
color: rgba(255, 255, 255, 0.87);

View File

@ -2139,6 +2139,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #8dd0ff;
color: #151515;

View File

@ -2139,6 +2139,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #c298d8;
color: #151515;

View File

@ -2139,6 +2139,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #007bff;
color: #ffffff;

View File

@ -2139,6 +2139,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #883cae;
color: #ffffff;

View File

@ -2127,6 +2127,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #edebe9;
color: #323130;

View File

@ -2139,6 +2139,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 700;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #FFE082;
color: #212529;

View File

@ -2139,6 +2139,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 700;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #81D4FA;
color: #212529;

View File

@ -2139,6 +2139,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 700;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #C5E1A5;
color: #212529;

View File

@ -2139,6 +2139,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 700;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #F48FB1;
color: #212529;

View File

@ -2151,6 +2151,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 500;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(206, 147, 216, 0.16);
color: #CE93D8;

View File

@ -2151,6 +2151,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 500;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(159, 168, 218, 0.16);
color: #9FA8DA;

View File

@ -2151,6 +2151,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 500;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(103, 58, 183, 0.12);
color: #673AB7;

View File

@ -2151,6 +2151,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 500;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(63, 81, 181, 0.12);
color: #3F51B5;

View File

@ -2151,6 +2151,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 500;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(103, 58, 183, 0.16);
color: #673AB7;

View File

@ -2151,6 +2151,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 500;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(63, 81, 181, 0.16);
color: #3F51B5;

View File

@ -2151,6 +2151,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 500;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(103, 58, 183, 0.12);
color: #673AB7;

View File

@ -2151,6 +2151,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 500;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(63, 81, 181, 0.12);
color: #3F51B5;

View File

@ -2127,6 +2127,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 700;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #e02365;
color: #ffffff;

View File

@ -2139,6 +2139,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 700;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #007ad9;
color: #ffffff;

View File

@ -2139,6 +2139,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 700;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #41b883;
color: #ffffff;

View File

@ -2139,6 +2139,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 700;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #007ad9;
color: #ffffff;

View File

@ -2127,6 +2127,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 700;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #AFD3C8;
color: #385048;

View File

@ -2127,6 +2127,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #E3F2FD;
color: #495057;

View File

@ -2127,6 +2127,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #E8F5E9;
color: #495057;

View File

@ -2127,6 +2127,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #FFF3E0;
color: #495057;

View File

@ -2127,6 +2127,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: #F3E5F5;
color: #495057;

View File

@ -2127,6 +2127,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(100, 181, 246, 0.16);
color: rgba(255, 255, 255, 0.87);

View File

@ -2127,6 +2127,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(129, 199, 132, 0.16);
color: rgba(255, 255, 255, 0.87);

View File

@ -2127,6 +2127,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(255, 213, 79, 0.16);
color: rgba(255, 255, 255, 0.87);

View File

@ -2127,6 +2127,9 @@
.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {
margin-right: 0.5rem;
}
.p-datatable .p-datatable-tbody > tr > td > .p-column-title {
font-weight: 600;
}
.p-datatable .p-datatable-tbody > tr.p-highlight {
background: rgba(186, 104, 200, 0.16);
color: rgba(255, 255, 255, 0.87);

View File

@ -1580,8 +1580,12 @@ export default {
display: none !important;
}
.p-datatable[${this.attributeSelector}] .p-datatable-tbody > tr {
border-bottom: 1px solid var(--surface-d);
.p-datatable[${this.attributeSelector}] .p-datatable-tbody > tr > td {
display: flex;
width: 100%;
align-items: center;
justify-content: space-between;
border-width: 0 none;
}
.p-datatable[${this.attributeSelector}] .p-datatable-tbody > tr > td {
@ -1589,6 +1593,9 @@ export default {
width: 100%;
align-items: center;
justify-content: space-between;
}
.p-datatable[${this.attributeSelector}] .p-datatable-tbody > tr > td:not(:last-child) {
border: 0 none;
}