stylos
This commit is contained in:
@@ -176,7 +176,7 @@
|
|||||||
<asp:UpdatePanel ID="UPDatos" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UPDatos" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:GridView ID="GvDatos" runat="server" AutoGenerateColumns="True" EmptyDataText=""
|
<asp:GridView ID="GvDatos" runat="server" AutoGenerateColumns="True" EmptyDataText=""
|
||||||
CssClass="table table-striped table-advance table-hover Widthall GvDatos adssigscrollJS tr_order" data-cols="1" data-rows="2" GridLines="None">
|
CssClass="table table-striped table-advance table-hover Widthall GvDatos adssigrid-scroll adssigrid-order" data-cols="0" data-rows="1" GridLines="None">
|
||||||
|
|
||||||
<HeaderStyle CssClass="Titulos" />
|
<HeaderStyle CssClass="Titulos" />
|
||||||
<RowStyle CssClass="Texto" />
|
<RowStyle CssClass="Texto" />
|
||||||
|
|||||||
@@ -165,18 +165,18 @@ table.adssigscroll {
|
|||||||
background-color: inherit; /* Para que no se superponga con otros elementos */
|
background-color: inherit; /* Para que no se superponga con otros elementos */
|
||||||
z-index: 4; /* Asegura que esté sobre otros elementos */
|
z-index: 4; /* Asegura que esté sobre otros elementos */
|
||||||
}
|
}
|
||||||
.tr_order tr > th::after {
|
.adssigrid-order tr > th::after {
|
||||||
content: "\f0dc";
|
content: "\f0dc";
|
||||||
font:normal normal normal 14px / 1 FontAwesome;
|
font:normal normal normal 14px / 1 FontAwesome;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
color: #32A1CF;
|
color: #32A1CF;
|
||||||
}
|
}
|
||||||
.tr_order tr > th.asce::after {
|
.adssigrid-order tr > th.asce::after {
|
||||||
content: "\f0de";
|
content: "\f0de";
|
||||||
}
|
}
|
||||||
|
|
||||||
.tr_order tr > th.desc::after {
|
.adssigrid-order tr > th.desc::after {
|
||||||
content: "\f0dd";
|
content: "\f0dd";
|
||||||
}
|
}
|
||||||
/*END ScrollADS V2*/
|
/*END ScrollADS V2*/
|
||||||
@@ -353,7 +353,7 @@ table.adssigscroll {
|
|||||||
|
|
||||||
<div class="divContainerads">
|
<div class="divContainerads">
|
||||||
<asp:GridView ID="GvDatos" runat="server" ShowHeader="true" EmptyDataText="No hay registros." AutoGenerateColumns="True" ShowHeaderWhenEmpty="true"
|
<asp:GridView ID="GvDatos" runat="server" ShowHeader="true" EmptyDataText="No hay registros." AutoGenerateColumns="True" ShowHeaderWhenEmpty="true"
|
||||||
DataKeyNames="CvePS" CssClass="adssigscrollJS tr_order table table-striped table-advance table-hover " data-cols="2" data-rows="2" data-heightmenos="300" GridLines="None" >
|
DataKeyNames="CvePS" CssClass="adssigrid-scroll adssigrid-order table table-striped table-advance table-hover " data-cols="2" data-rows="2" data-heightmenos="300" GridLines="None" >
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Width="120px">
|
<asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Width="120px">
|
||||||
<HeaderTemplate>
|
<HeaderTemplate>
|
||||||
|
|||||||
@@ -3008,4 +3008,50 @@ div.mypaste * {
|
|||||||
|
|
||||||
table > tbody > tr.hidetrad {
|
table > tbody > tr.hidetrad {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*Begin ScrollADS V2*/
|
||||||
|
|
||||||
|
.divContainerads {
|
||||||
|
width: 100%;
|
||||||
|
max-height: calc(100vh - 260px);
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.adssigscroll {
|
||||||
|
min-width: 100%;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.adssigscroll tbody, table.adssigscroll thead {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.adssigscroll tr {
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.adssigscroll tr.stickyRow {
|
||||||
|
position: sticky;
|
||||||
|
top: 0; /* Se mantiene pegado en la parte superior */
|
||||||
|
background-color: inherit; /* Para que no se superponga con otros elementos */
|
||||||
|
z-index: 4; /* Asegura que esté sobre otros elementos */
|
||||||
|
}
|
||||||
|
|
||||||
|
.adssigrid-order tr > th::after {
|
||||||
|
content: "\f0dc";
|
||||||
|
font: normal normal normal 14px / 1 FontAwesome;
|
||||||
|
display: inline-block;
|
||||||
|
margin-left: 5px;
|
||||||
|
color: #32A1CF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.adssigrid-order tr > th.asce::after {
|
||||||
|
content: "\f0de";
|
||||||
|
}
|
||||||
|
|
||||||
|
.adssigrid-order tr > th.desc::after {
|
||||||
|
content: "\f0dd";
|
||||||
|
}
|
||||||
|
/*END ScrollADS V2*/
|
||||||
@@ -403,7 +403,7 @@ setswitch = function () {
|
|||||||
};
|
};
|
||||||
function adssigscrollJSLoad() {
|
function adssigscrollJSLoad() {
|
||||||
|
|
||||||
$('table.adssigscrollJS:not(.adssigscroll)').each(function () {
|
$('table.adssigrid-scroll:not(.adssigscroll)').each(function () {
|
||||||
try {
|
try {
|
||||||
let Tthis = $(this);
|
let Tthis = $(this);
|
||||||
let Tid = Tthis.attr('id');
|
let Tid = Tthis.attr('id');
|
||||||
@@ -474,14 +474,14 @@ table#${Tid}.adssigscroll tr:nth-child(${numberitem}) { top: ${top}px; }`;
|
|||||||
|
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
console.log("adssigscrollJS Error:" + err.message);
|
console.log("adssigrid-scroll Error:" + err.message);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
function LoadSortSticky() {
|
function LoadSortSticky() {
|
||||||
$('body').on('click', 'table.adssigscroll.tr_order tr:not(.tsorterblock) > th ', function (e) {
|
$('body').on('click', 'table.adssigscroll.adssigrid-order tr:not(.tsorterblock) > th ', function (e) {
|
||||||
var tthis = $(this);
|
var tthis = $(this);
|
||||||
if (tthis.closest('.NoClick').length == 0 && !($(e.target).is('a,input'))) {
|
if (tthis.closest('.NoClick').length == 0 && !($(e.target).is('a,input'))) {
|
||||||
|
|
||||||
|
|||||||
@@ -727,7 +727,7 @@ table.adssigscroll {
|
|||||||
z-index: 4; /* Asegura que esté sobre otros elementos */
|
z-index: 4; /* Asegura que esté sobre otros elementos */
|
||||||
}
|
}
|
||||||
|
|
||||||
.tr_order tr > th::after {
|
.adssigrid-order tr > th::after {
|
||||||
content: "\f0dc";
|
content: "\f0dc";
|
||||||
font: normal normal normal 14px / 1 FontAwesome;
|
font: normal normal normal 14px / 1 FontAwesome;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -735,11 +735,11 @@ table.adssigscroll {
|
|||||||
color: #32A1CF;
|
color: #32A1CF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tr_order tr > th.asce::after {
|
.adssigrid-order tr > th.asce::after {
|
||||||
content: "\f0de";
|
content: "\f0de";
|
||||||
}
|
}
|
||||||
|
|
||||||
.tr_order tr > th.desc::after {
|
.adssigrid-order tr > th.desc::after {
|
||||||
content: "\f0dd";
|
content: "\f0dd";
|
||||||
}
|
}
|
||||||
/*END ScrollADS V2*/
|
/*END ScrollADS V2*/
|
||||||
Reference in New Issue
Block a user