Search Knowledge Base by Keyword
How to change the look and feel of the grid controls
To change the look and feel of the grid controls;
- Open Designer Interface,
- Go to the ‘Stylesheet’ module.
- Add a new stylesheet.
- Choose grid control stylesheet from ‘Style Template’ for changing the look and feel of the grid controls.
- Save the stylesheet by clicking on the “Save” button.
Example:
.table > thead > tr, .table > tbody > tr, .table > tfoot > tr {
-webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}
table {
display: table;
border-collapse: separate;
border-color: grey;
width: 100%;
max-width: 100%;
margin-bottom: 2rem;
background-color: var(--colorPrimaryOpacity);
}
.table > thead > tr > th {
font-weight: 400;
color: #757575 !important;
vertical-align: bottom;
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
th {
background: var(--colorPrimaryOpacity);
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
text-align: left;
padding: 1.6rem;
vertical-align: top;
border-top: 0;
-webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}
table.dataTable tbody tr.highlight {
background-color: #fff !important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
text-align: left;
padding: 1.6rem;
vertical-align: top;
border-top: 0;
-webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.editor-datetime-table {
width: 90%
}
.radio-with-icon input[type="radio"]:checked ~ label:before, .radio-with-icon input[type="checkbox"]:checked ~ label:before {
content: '\2714';
text-indent: .4em;
color: #fff;
text-align: center
}
.panel-primary > .panel-heading {
color: #6a6c6f;
background-color: #dee1e6;
border-color: #34495e;
}
.panel-primary {
border-color: #34495e;
}
.panel-primary-2 > .panel-heading {
color: #6a6c6f;
background-color: rgba(155, 89, 182, 0.1);
border: 1px solid rgb(155, 89, 182);
}
.panel-primary-2 {
color: #6a6c6f;
border-color: rgb(155, 89, 182);
}
.panel-warning-2 > .panel-heading {
color: #6a6c6f;
background-color: rgba(230, 126, 34, 0.1);
border: 1px solid rgb(230, 126, 34)
}
.panel-warning-2 {
color: #6a6c6f;
border-color: rgb(230, 126, 34)
}
.panel-info > .panel-heading {
color: #6a6c6f;
background: rgba(52, 152, 219, 0.1);
border: 1px solid rgb(52, 152, 219);
}
.panel-warning > .panel-heading {
color: #6a6c6f;
border: 1px solid rgb(255, 182, 6);
background-color: rgba(255, 182, 6, 0.1);
}
.panel-success > .panel-heading {
background-color: rgba(98, 203, 49, 0.1);
border: 1px solid rgb(98, 203, 49);
color: #6a6c6f;
}
.panel-danger > .panel-heading {
color: #6a6c6f;
background-color: rgba(231, 76, 60, 0.1);
border: 1px solid rgb(231, 76, 60);
}