Мелоч

This commit is contained in:
2020-08-03 16:51:18 +06:00
parent 4df922252f
commit d079feb2e9
7 changed files with 15 additions and 17 deletions

View File

@ -1,11 +1,3 @@
/*Переменные для настройки цветов*/
:root{
--header-color: #505050;
/*--header-color: #fdfdfd;*/
--back-color: #3a3a3a;
/*--back-color: #ffffff;*/
}
*{ *{
box-sizing: border-box; box-sizing: border-box;
@ -21,7 +13,7 @@ html,body
padding: 0px; padding: 0px;
font-size: 14px; font-size: 14px;
font-family: Arial; font-family: Arial;
background-color: #3a3a3a; background-color: var(--back-color);
} }
input,textarea input,textarea
@ -68,14 +60,13 @@ select
text-align: center; text-align: center;
} }
/*Табличка исполняющая роль окна*/ /*Стили для таблицы которая исполняет роль окна*/
.shadow { .shadow {
box-shadow: 0 0 10px rgba(255,255,255,0.7); box-shadow: 0 0 10px rgba(255,255,255,0.7);
background-color: #3a3a3a; background-color: var(--back-color);
color: #ffffff; color: var(--main-font-color);
} }
/* Для полей состояжих из нескольких элементов (поле с кнопочкой допустим) */ /* Для полей состояжих из нескольких элементов (поле с кнопочкой допустим) */
table.DBMSSimple { table.DBMSSimple {
width: 100%; width: 100%;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 B

View File

Before

Width:  |  Height:  |  Size: 625 B

After

Width:  |  Height:  |  Size: 625 B

BIN
metadata/dbms/form/g_w.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 803 B

BIN
metadata/dbms/form/x_b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 598 B

After

Width:  |  Height:  |  Size: 598 B

View File

@ -1196,9 +1196,16 @@ class TWin
str+='</table>'; str+='</table>';
*/ */
var str=''; let imgB='g_b.gif';
str+='<table id="TWin_TBL_'+this.tWinId+'" class="shadow" bgcolor="#f1f1f1" border="0px" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%; border: 1px solid #000000;">'; let imgX='x_w.png';
str+=' <tr id="TWin_H0_'+this.tWinId+'" style="background: url(../resources/metadata/dbms/form/b_g.png) repeat-x;"><td></td><td><table cellspacing="0" cellpadding="0" style="width: 100%; height: 29px;"><tr><td id="TWin_Ca_'+this.tWinId+'" style="vertical-align: middle; cursor: move; font-weight: bold; white-space: nowrap;"></td><td style="width: 10px; vertical-align: middle;"><img src="../resources/metadata/dbms/form/b_x.png" id="TWin_CL_'+this.tWinId+'" style="cursor:pointer;padding-right: 5px;"></td></tr></table></td><td></td></tr>'; if(g_textColor1=='#000000') { //Если тёмный стиль
imgB = 'g_w.png';
imgX = 'x_b.png';
}
let str='';
str+='<table id="TWin_TBL_'+this.tWinId+'" class="shadow" border="0px" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%; border: 1px solid #000000;">';
str+=' <tr id="TWin_H0_'+this.tWinId+'" style="background: url(../resources/metadata/dbms/form/'+imgB+') repeat-x;"><td></td><td><table cellspacing="0" cellpadding="0" style="width: 100%; height: 29px;"><tr><td id="TWin_Ca_'+this.tWinId+'" style="vertical-align: middle; cursor: move; font-weight: bold; white-space: nowrap;"></td><td style="width: 10px; vertical-align: middle;"><img src="../resources/metadata/dbms/form/'+imgX+'" id="TWin_CL_'+this.tWinId+'" style="cursor:pointer;padding-right: 5px;"></td></tr></table></td><td></td></tr>';
str+=' <tr>'; str+=' <tr>';
str+=' <td style="width: 5px; height: 5px;'+(!this.dialog ? ' cursor:nw-resize;' : '')+'" id="TWin_TL_'+this.tWinId+'"><img src="../resources/metadata/dbms/form/5.gif" alt="" style="display: block;" border="0px" draggable="false"></td>'; str+=' <td style="width: 5px; height: 5px;'+(!this.dialog ? ' cursor:nw-resize;' : '')+'" id="TWin_TL_'+this.tWinId+'"><img src="../resources/metadata/dbms/form/5.gif" alt="" style="display: block;" border="0px" draggable="false"></td>';
str+=' <td style="vertical-align:top;height: 5px;'+(!this.dialog ? ' cursor:n-resize;' : '')+'" id="TWin_T_'+this.tWinId+'"></td>'; str+=' <td style="vertical-align:top;height: 5px;'+(!this.dialog ? ' cursor:n-resize;' : '')+'" id="TWin_T_'+this.tWinId+'"></td>';