Merge branch 'master' of http://git.dirt.kz/igor/Metadata_PHP
This commit is contained in:
@ -60,6 +60,10 @@ select
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input[type="text"], input[type="password"], textarea {
|
||||
background-color : #454555;
|
||||
}
|
||||
|
||||
/*Стили для таблицы которая исполняет роль окна*/
|
||||
.shadow {
|
||||
box-shadow: 0 0 10px rgba(255,255,255,0.7);
|
||||
|
||||
@ -56,7 +56,7 @@ class tcTab
|
||||
this.par.tbs[i].con.style.display='none'
|
||||
}
|
||||
this.div.style.background = g_rowColor2;
|
||||
this.div.style.borderBottom = '1px solid #ffffff'
|
||||
this.div.style.borderBottom = '1px solid var(--back-color)'
|
||||
//this.con.style.display='inline'
|
||||
this.con.style.display='block';
|
||||
this.sel=true
|
||||
|
||||
@ -5,13 +5,13 @@ function resizeDivTile(parent,minWidth)
|
||||
{
|
||||
if(typeof parent == 'string') parent=document.getElementById(parent);
|
||||
if(parent==null) return;
|
||||
var margin=2; //С права и слева по одному пикселю то получается два
|
||||
var dx=Math.floor(parent.offsetWidth/(minWidth+margin));
|
||||
let margin=2; //С права и слева по одному пикселю то получается два
|
||||
let dx=Math.floor(parent.offsetWidth/(minWidth+margin));
|
||||
|
||||
//console.log("parent.offsetWidth="+parent.offsetWidth+" minWidth="+minWidth+" margin="+margin+" dx="+dx);
|
||||
|
||||
var addW=0;
|
||||
for(var i=0;i<minWidth+margin+2;i++)
|
||||
let addW=0;
|
||||
for(let i=0;i<minWidth+margin+2;i++)
|
||||
{
|
||||
if(dx>=parent.offsetWidth/(minWidth+margin+i))
|
||||
{
|
||||
@ -21,7 +21,7 @@ function resizeDivTile(parent,minWidth)
|
||||
}
|
||||
}
|
||||
|
||||
for(var i = 0; i < parent.children.length; i++) {
|
||||
for(let i = 0; i < parent.children.length; i++) {
|
||||
//console.log(parent.children[i].tagName);
|
||||
if(parent.children[i].tagName.toUpperCase()=='DIV')
|
||||
{
|
||||
@ -1196,7 +1196,7 @@ class TWin
|
||||
str+='</table>';
|
||||
*/
|
||||
|
||||
let imgB='g_b.gif';
|
||||
let imgB='g_b.png';
|
||||
let imgX='x_w.png';
|
||||
if(g_textColor1=='#000000') { //Если тёмный стиль
|
||||
imgB = 'g_w.png';
|
||||
|
||||
Reference in New Issue
Block a user