Unverified Commit 4b3db9da authored by Davide Vernassa's avatar Davide Vernassa Committed by GitHub
Browse files

[KNOWAGE-7079] Changed Olap table CSS

parent 097a8b6f
......@@ -29,7 +29,7 @@
</div>
</div>
<!-- SELECT TOAST CONFIRM -------------------------------------->
<!-- SELECT TOAST CONFIRM -->
<div v-if="mode === 'From Cell' || mode === 'From Member'" id="custom-toast" :style="olapDescriptor.style.customToastContainer">
<div id="custom-toast-content" :style="olapDescriptor.style.customToastContent">
<div class="p-d-flex p-flex-column">
......@@ -42,7 +42,7 @@
</div>
</div>
<!-- SIDEBAR -------------------------------------->
<!-- SIDEBAR -->
<div v-if="olapSidebarVisible" id="olap-backdrop" @click="olapSidebarVisible = false" />
<OlapSidebar
v-if="olapSidebarVisible"
......@@ -83,7 +83,7 @@
<Button icon="pi pi-times" class="kn-button--secondary" @click="closeWhatifInput" />
</div>
<!-- DIALOGS ------------------------------------------->
<!-- DIALOGS -->
<OlapCustomViewSaveDialog :visible="customViewSaveDialogVisible" :sbiExecutionId="id" @close="customViewSaveDialogVisible = false"></OlapCustomViewSaveDialog>
<OlapSortingDialog :visible="sortingDialogVisible" :olap="olap" @save="onSortingSelect"></OlapSortingDialog>
<OlapMDXQueryDialog :visible="mdxQueryDialogVisible" :mdxQuery="olap?.MDXWITHOUTCF" @close="mdxQueryDialogVisible = false"></OlapMDXQueryDialog>
......@@ -1063,6 +1063,7 @@ export default defineComponent({
background-repeat: no-repeat;
height: 0.8rem;
width: 0.8rem;
float: left;
}
.drill-down {
......@@ -1071,6 +1072,7 @@ export default defineComponent({
background-repeat: no-repeat;
height: 0.8rem;
width: 0.8rem;
float: left;
}
.drill-up-replace {
......@@ -1079,6 +1081,7 @@ export default defineComponent({
background-repeat: no-repeat;
height: 0.8rem;
width: 0.8rem;
float: left;
}
.sort-basic {
......@@ -1087,6 +1090,7 @@ export default defineComponent({
background-repeat: no-repeat;
height: 0.8rem;
width: 0.8rem;
float: left;
}
.sort-asc {
......@@ -1095,6 +1099,7 @@ export default defineComponent({
background-repeat: no-repeat;
height: 0.8rem;
width: 0.8rem;
float: left;
}
.sort-desc {
......@@ -1103,6 +1108,7 @@ export default defineComponent({
background-repeat: no-repeat;
height: 0.8rem;
width: 0.8rem;
float: left;
}
.cell-cross-navigation {
......@@ -1111,6 +1117,7 @@ export default defineComponent({
background-repeat: no-repeat;
height: 0.8rem;
width: 0.8rem;
float: left;
}
.drillthrough {
......@@ -1119,6 +1126,7 @@ export default defineComponent({
background-repeat: no-repeat;
height: 0.8rem;
width: 0.8rem;
float: left;
}
.kn-olap-table {
......@@ -1130,46 +1138,49 @@ export default defineComponent({
table-layout: fixed;
color: rgba(0, 0, 0, 0.54);
font-size: 12px;
border-collapse: collapse;
thead {
border-bottom: 1px solid #ccc;
overflow: auto;
th {
position: relative !important;
border-right: 1px solid #ccc;
border-left: 1px solid #ccc;
padding: 5px;
background: #f5f5f5;
white-space: nowrap;
text-align: left;
}
td {
border-top-width: 1px !important;
border-right-width: 1px !important;
text-align: right;
vertical-align: middle;
border-bottom: 1px solid #3b678c;
border-right: 1px solid #3b678c;
max-height: 43px !important;
}
}
tbody {
th {
border-right: 1px solid #ccc;
padding-right: 5px;
}
td[measurename] {
text-align: right;
}
}
tr {
&:nth-child(even) {
background-color: #eceff1;
table {
border-collapse: collapse;
thead {
border-bottom: 1px solid #ccc;
overflow: auto;
th {
position: relative !important;
border-right: 1px solid #ccc;
border-left: 1px solid #ccc;
padding: 5px;
background: #f5f5f5;
white-space: nowrap;
text-align: left;
}
td {
border-top-width: 1px !important;
border-right-width: 1px !important;
text-align: right;
vertical-align: middle;
border-bottom: 1px solid #3b678c;
border-right: 1px solid #3b678c;
max-height: 43px !important;
}
}
tbody {
th {
border-right: 1px solid #ccc;
padding-right: 5px;
}
td[measurename] {
text-align: right;
}
}
&:nth-child(odd) {
background-color: white;
tr {
&:nth-child(even) {
background-color: #eceff1;
}
&:nth-child(odd) {
background-color: white;
}
}
}
}
#whatif-input {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment