mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
N°2847 - Tranform old itop datatable to jquery DataTable
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
@import "input/all";
|
||||
|
||||
@import "title";
|
||||
@import "datatable";
|
||||
@import "form";
|
||||
@import "fieldset";
|
||||
@import "field";
|
||||
|
||||
85
css/backoffice/components/_datatable.scss
Normal file
85
css/backoffice/components/_datatable.scss
Normal file
@@ -0,0 +1,85 @@
|
||||
.ibo-datatable {
|
||||
padding-bottom: 2em;
|
||||
padding-top: 2em;
|
||||
|
||||
thead tr th, tbody tr td {
|
||||
line-height: 30px;
|
||||
padding-right: 1em;
|
||||
padding-left: 1em;
|
||||
@extend %ibo-font-ral-nor-100;
|
||||
|
||||
a {
|
||||
color: $ibo-color-primary-600;
|
||||
}
|
||||
}
|
||||
|
||||
tbody tr:nth-child(odd) {
|
||||
background-color: $ibo-color-secondary-500;
|
||||
}
|
||||
}
|
||||
.dataTables_length
|
||||
{
|
||||
position: relative;
|
||||
float: right;
|
||||
padding-top: 0.755em;
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
.dataTables_info
|
||||
{
|
||||
position: relative;
|
||||
float: right;
|
||||
padding-top: 0.755em;
|
||||
padding-right: 2em;
|
||||
padding-left: 0em;
|
||||
}
|
||||
.select-info{
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
.pagination
|
||||
{
|
||||
left: 1.21%;
|
||||
right: 1.21%;
|
||||
top: 91.58%;
|
||||
bottom: 4.85%;
|
||||
.paginate_button {
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
}
|
||||
}
|
||||
.dataTables_paginate
|
||||
{
|
||||
/* position: relative;*/
|
||||
float: left;
|
||||
padding-top: 0.755em;
|
||||
padding-left: 2em;
|
||||
}
|
||||
.paginate_button {
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
}
|
||||
.paginate_button a{
|
||||
color: $ibo-color-grey-800;
|
||||
@extend %ibo-font-ral-nor-100;
|
||||
}
|
||||
.paginate_button a:hover {
|
||||
color: $ibo-color-blue-grey-200;
|
||||
}
|
||||
.paginate_button.active a {
|
||||
color: $ibo-color-grey-900;
|
||||
border: 2px solid var(--ibo-color-grey-300);
|
||||
background-color: $ibo-color-grey-200;
|
||||
}
|
||||
.ibo-datatable-toolbar {
|
||||
/*position: relative;*/
|
||||
height: 30px;
|
||||
}
|
||||
.ibo-criterion-area{
|
||||
font-size: $ibo-font-size-50 ;
|
||||
}
|
||||
.ibo-search-form{
|
||||
padding-top: $ibo-panel--spacing-top ;
|
||||
}
|
||||
.ibo-form-group{
|
||||
position: fixed;
|
||||
}
|
||||
@@ -79,4 +79,30 @@ $ibo-title--status-dot--border-radius: $ibo-border-radius-full !default;
|
||||
color: map-get($aColors, 'secondary-color');
|
||||
background-color: map-get($aColors, 'primary-color');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.ibo-title-for-dashlet {
|
||||
padding-top: 2em;
|
||||
}
|
||||
.ibo-title-for-dashlet--title {
|
||||
@extend %ibo-font-ral-nor-350;
|
||||
}
|
||||
|
||||
.ibo-title-for-dashlet--content{
|
||||
background-color: $ibo-color-white-100;
|
||||
border-radius: 5px;
|
||||
border: 1px solid ;
|
||||
border-color:$ibo-color-grey-400;
|
||||
padding-bottom:1em;
|
||||
}
|
||||
.ibo-title-separator{
|
||||
border-radius: 5px 5px 0px 0px;
|
||||
border-color:$ibo-color-blue-600;
|
||||
color:$ibo-color-blue-600;
|
||||
background-color:$ibo-color-blue-600;
|
||||
border: 3px solid ;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
Reference in New Issue
Block a user