Refactor code structure for improved readability and maintainability
This commit is contained in:
		| @ -0,0 +1,112 @@ | ||||
| /* | ||||
| Product Name: dhtmlxSuite  | ||||
| Version: 5.2.0  | ||||
| Edition: Professional  | ||||
| License: content of this file is covered by DHTMLX Commercial or Enterprise license. Usage without proper license is prohibited. To obtain it contact sales@dhtmlx.com | ||||
| Copyright UAB Dinamenta http://www.dhtmlx.com | ||||
| */ | ||||
|  | ||||
| /* | ||||
| 	skin detected: dhx_skyblue | ||||
| 	include extra file: skins/dhx_skyblue.less | ||||
| */ | ||||
|  | ||||
| .dhxeditor_dhx_skyblue { | ||||
| 	position: relative; | ||||
| } | ||||
| .dhxeditor_dhx_skyblue iframe.dhxeditor_mainiframe { | ||||
| 	position: absolute; | ||||
| 	overflow: hidden; | ||||
| 	top: 0px; | ||||
| 	left: 0px; | ||||
| 	width: 100%; | ||||
| 	height: 100%; | ||||
| } | ||||
| .dhxeditor_dhx_skyblue div.dhx_cell_editor div.dhx_cell_stb { | ||||
| 	position: relative; | ||||
| 	height: 30px; | ||||
| 	padding: 0px 5px; | ||||
| 	border-bottom: 1px solid #a4bed4; | ||||
| 	background-color: #e2efff; | ||||
| 	background: linear-gradient(#e2efff,#d3e7ff); | ||||
| 	background: -webkit-linear-gradient(#e2efff,#d3e7ff); | ||||
| 	filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#e2efff,endColorStr=#d3e7ff) progid:DXImageTransform.Microsoft.Alpha(opacity=100); | ||||
| } | ||||
| .dhxeditor_dhx_skyblue div.dhx_cell_editor div.dhx_cell_stb div.dhx_cell_stb_button { | ||||
| 	float: left; | ||||
| 	position: relative; | ||||
| 	width: 18px; | ||||
| 	height: 18px; | ||||
| 	font-size: 2px; | ||||
| 	margin-left: 5px; | ||||
| 	margin-top: 7px; | ||||
| 	cursor: pointer; | ||||
| 	background-image: url("../imgs/dhxeditor_skyblue/buttons.gif"); | ||||
| 	opacity: 1; | ||||
| 	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100); | ||||
| } | ||||
| .dhxeditor_dhx_skyblue div.dhx_cell_editor div.dhx_cell_stb div.dhx_cell_stb_button.btn_bold { | ||||
| 	margin-left: 5px; | ||||
| 	background-position: 0px 0px; | ||||
| } | ||||
| .dhxeditor_dhx_skyblue div.dhx_cell_editor div.dhx_cell_stb div.dhx_cell_stb_button.btn_italic { | ||||
| 	background-position: -18px 0px; | ||||
| } | ||||
| .dhxeditor_dhx_skyblue div.dhx_cell_editor div.dhx_cell_stb div.dhx_cell_stb_button.btn_underline { | ||||
| 	background-position: -36px 0px; | ||||
| } | ||||
| .dhxeditor_dhx_skyblue div.dhx_cell_editor div.dhx_cell_stb div.dhx_cell_stb_button.btn_clearformat { | ||||
| 	background-position: -54px 0px; | ||||
| } | ||||
| .dhxeditor_dhx_skyblue div.dhx_cell_editor { | ||||
| 	position: absolute; | ||||
| 	background-color: white; | ||||
| 	margin: 0px; | ||||
| 	padding: 0px; | ||||
| 	overflow: hidden; | ||||
| 	cursor: default; | ||||
| 	z-index: 0; | ||||
| } | ||||
| .dhxeditor_dhx_skyblue div.dhx_cell_editor div.dhx_cell_cont_editor { | ||||
| 	position: absolute; | ||||
| 	overflow: hidden; | ||||
| } | ||||
| .dhxeditor_dhx_skyblue div.dhx_cell_editor div.dhx_cell_toolbar_def { | ||||
| 	position: relative; | ||||
| 	overflow: hidden; | ||||
| } | ||||
| .dhxeditor_dhx_skyblue div.dhx_cell_editor div.dhx_cell_toolbar_def div.dhx_toolbar_dhx_skyblue { | ||||
| 	border-top-width: 0px; | ||||
| 	border-left-width: 0px; | ||||
| 	border-right-width: 0px; | ||||
| } | ||||
| div.dhxform_item_template div.dhx_cell_editor div.dhx_cell_toolbar_def div.dhx_toolbar_dhx_skyblue { | ||||
| 	border-left-width: 1px; | ||||
| 	border-right-width: 1px; | ||||
| 	border-top-width: 1px; | ||||
| } | ||||
| .dhxwins_vp_dhx_skyblue div.dhx_cell_cont_wins div.dhxeditor_dhx_skyblue div.dhx_cell_editor div.dhx_cell_stb, | ||||
| .dhxwins_vp_dhx_skyblue div.dhx_cell_cont_wins div.dhxeditor_dhx_skyblue div.dhx_cell_editor div.dhx_cell_toolbar_def div.dhx_toolbar_dhx_skyblue { | ||||
| 	border-left: 1px solid #a4bed4; | ||||
| 	border-right: 1px solid #a4bed4; | ||||
| 	border-top: 1px solid #a4bed4; | ||||
| } | ||||
| .dhxwins_vp_dhx_skyblue div.dhx_cell_cont_wins div.dhxeditor_dhx_skyblue div.dhx_cell_editor div.dhx_cell_cont_editor { | ||||
| 	border-left: 1px solid #a4bed4; | ||||
| 	border-right: 1px solid #a4bed4; | ||||
| 	border-bottom: 1px solid #a4bed4; | ||||
| } | ||||
| .dhxwins_vp_dhx_skyblue div.dhx_cell_cont_wins div.dhxeditor_dhx_skyblue div.dhx_cell_editor div.dhx_cell_toolbar_def { | ||||
| 	padding: 0px; | ||||
| } | ||||
| .dhxeditor_skin_detect { | ||||
| 	position: absolute; | ||||
| 	left: 0px; | ||||
| 	top: -100px; | ||||
| 	margin: 0; | ||||
| 	padding: 0; | ||||
| 	border: 0px solid white; | ||||
| 	width: 10px; | ||||
| 	height: 10px; | ||||
| 	overflow: hidden; | ||||
| } | ||||
| @ -0,0 +1,99 @@ | ||||
| /* | ||||
| Product Name: dhtmlxSuite  | ||||
| Version: 5.2.0  | ||||
| Edition: Professional  | ||||
| License: content of this file is covered by DHTMLX Commercial or Enterprise license. Usage without proper license is prohibited. To obtain it contact sales@dhtmlx.com | ||||
| Copyright UAB Dinamenta http://www.dhtmlx.com | ||||
| */ | ||||
|  | ||||
| /* | ||||
| 	skin detected: dhx_terrace | ||||
| 	include extra file: skins/dhx_terrace.less | ||||
| */ | ||||
|  | ||||
| .dhxeditor_dhx_terrace { | ||||
| 	position: relative; | ||||
| } | ||||
| .dhxeditor_dhx_terrace iframe.dhxeditor_mainiframe { | ||||
| 	position: absolute; | ||||
| 	overflow: hidden; | ||||
| 	top: 0px; | ||||
| 	left: 0px; | ||||
| 	width: 100%; | ||||
| 	height: 100%; | ||||
| } | ||||
| .dhxeditor_dhx_terrace div.dhx_cell_editor div.dhx_cell_stb { | ||||
| 	position: relative; | ||||
| 	height: 34px; | ||||
| 	background-color: #f5f5f5; | ||||
| 	padding: 0px 5px; | ||||
| 	border-bottom: 1px solid #cccccc; | ||||
| } | ||||
| .dhxeditor_dhx_terrace div.dhx_cell_editor div.dhx_cell_stb div.dhx_cell_stb_button { | ||||
| 	float: left; | ||||
| 	position: relative; | ||||
| 	width: 18px; | ||||
| 	height: 18px; | ||||
| 	font-size: 2px; | ||||
| 	margin-left: 7px; | ||||
| 	margin-top: 9px; | ||||
| 	cursor: pointer; | ||||
| 	background-image: url("../imgs/dhxeditor_terrace/buttons.gif"); | ||||
| } | ||||
| .dhxeditor_dhx_terrace div.dhx_cell_editor div.dhx_cell_stb div.dhx_cell_stb_button.btn_bold { | ||||
| 	margin-left: 12px; | ||||
| 	background-position: 0px 0px; | ||||
| } | ||||
| .dhxeditor_dhx_terrace div.dhx_cell_editor div.dhx_cell_stb div.dhx_cell_stb_button.btn_italic { | ||||
| 	background-position: -18px 0px; | ||||
| } | ||||
| .dhxeditor_dhx_terrace div.dhx_cell_editor div.dhx_cell_stb div.dhx_cell_stb_button.btn_underline { | ||||
| 	background-position: -36px 0px; | ||||
| } | ||||
| .dhxeditor_dhx_terrace div.dhx_cell_editor div.dhx_cell_stb div.dhx_cell_stb_button.btn_clearformat { | ||||
| 	background-position: -54px 0px; | ||||
| } | ||||
| .dhxeditor_dhx_terrace div.dhx_cell_editor { | ||||
| 	position: absolute; | ||||
| 	background-color: white; | ||||
| 	margin: 0px; | ||||
| 	padding: 0px; | ||||
| 	overflow: hidden; | ||||
| 	cursor: default; | ||||
| 	z-index: 0; | ||||
| } | ||||
| .dhxeditor_dhx_terrace div.dhx_cell_editor div.dhx_cell_cont_editor { | ||||
| 	position: absolute; | ||||
| 	overflow: hidden; | ||||
| } | ||||
| .dhxeditor_dhx_terrace div.dhx_cell_editor div.dhx_cell_toolbar_def { | ||||
| 	position: relative; | ||||
| 	overflow: hidden; | ||||
| 	padding: 5px; | ||||
| 	border-bottom: 1px solid #cccccc; | ||||
| } | ||||
| .dhxwins_vp_dhx_terrace div.dhx_cell_cont_wins .dhxeditor_dhx_terrace div.dhx_cell_editor div.dhx_cell_stb { | ||||
| 	border-left: 1px solid #cccccc; | ||||
| 	border-right: 1px solid #cccccc; | ||||
| 	border-top: 1px solid #cccccc; | ||||
| } | ||||
| .dhxwins_vp_dhx_terrace div.dhx_cell_cont_wins .dhxeditor_dhx_terrace div.dhx_cell_editor div.dhx_cell_cont_editor { | ||||
| 	border-left: 1px solid #cccccc; | ||||
| 	border-right: 1px solid #cccccc; | ||||
| 	border-bottom: 1px solid #cccccc; | ||||
| } | ||||
| .dhxwins_vp_dhx_terrace div.dhx_cell_cont_wins .dhxeditor_dhx_terrace div.dhx_cell_editor div.dhx_cell_toolbar_def { | ||||
| 	padding: 0px; | ||||
| 	border-top: 1px solid #cccccc; | ||||
| } | ||||
| .dhxeditor_skin_detect { | ||||
| 	position: absolute; | ||||
| 	left: 0px; | ||||
| 	top: -100px; | ||||
| 	margin: 0; | ||||
| 	padding: 0; | ||||
| 	border: 0px solid white; | ||||
| 	width: 30px; | ||||
| 	height: 10px; | ||||
| 	overflow: hidden; | ||||
| } | ||||
| @ -0,0 +1,94 @@ | ||||
| /* | ||||
| Product Name: dhtmlxSuite  | ||||
| Version: 5.2.0  | ||||
| Edition: Professional  | ||||
| License: content of this file is covered by DHTMLX Commercial or Enterprise license. Usage without proper license is prohibited. To obtain it contact sales@dhtmlx.com | ||||
| Copyright UAB Dinamenta http://www.dhtmlx.com | ||||
| */ | ||||
|  | ||||
| /* | ||||
| 	skin detected: dhx_web | ||||
| 	include extra file: skins/dhx_web.less | ||||
| */ | ||||
|  | ||||
| .dhxeditor_dhx_web { | ||||
| 	position: relative; | ||||
| } | ||||
| .dhxeditor_dhx_web iframe.dhxeditor_mainiframe { | ||||
| 	position: absolute; | ||||
| 	overflow: hidden; | ||||
| 	top: 0px; | ||||
| 	left: 0px; | ||||
| 	width: 100%; | ||||
| 	height: 100%; | ||||
| } | ||||
| .dhxeditor_dhx_web div.dhx_cell_editor div.dhx_cell_stb { | ||||
| 	position: relative; | ||||
| 	height: 32px; | ||||
| 	background-color: #3da0e3; | ||||
| } | ||||
| .dhxeditor_dhx_web div.dhx_cell_editor div.dhx_cell_stb div.dhx_cell_stb_button { | ||||
| 	float: left; | ||||
| 	position: relative; | ||||
| 	width: 18px; | ||||
| 	height: 18px; | ||||
| 	font-size: 2px; | ||||
| 	margin-left: 5px; | ||||
| 	margin-top: 7px; | ||||
| 	cursor: pointer; | ||||
| 	background-image: url("../imgs/dhxeditor_web/buttons.gif"); | ||||
| } | ||||
| .dhxeditor_dhx_web div.dhx_cell_editor div.dhx_cell_stb div.dhx_cell_stb_button.btn_bold { | ||||
| 	margin-left: 12px; | ||||
| 	background-position: 0px 0px; | ||||
| } | ||||
| .dhxeditor_dhx_web div.dhx_cell_editor div.dhx_cell_stb div.dhx_cell_stb_button.btn_italic { | ||||
| 	background-position: -18px 0px; | ||||
| } | ||||
| .dhxeditor_dhx_web div.dhx_cell_editor div.dhx_cell_stb div.dhx_cell_stb_button.btn_underline { | ||||
| 	background-position: -36px 0px; | ||||
| } | ||||
| .dhxeditor_dhx_web div.dhx_cell_editor div.dhx_cell_stb div.dhx_cell_stb_button.btn_clearformat { | ||||
| 	background-position: -54px 0px; | ||||
| } | ||||
| .dhxeditor_dhx_web div.dhx_cell_editor { | ||||
| 	position: absolute; | ||||
| 	background-color: white; | ||||
| 	margin: 0px; | ||||
| 	padding: 0px; | ||||
| 	overflow: hidden; | ||||
| 	cursor: default; | ||||
| 	z-index: 0; | ||||
| } | ||||
| .dhxeditor_dhx_web div.dhx_cell_editor div.dhx_cell_cont_editor { | ||||
| 	position: absolute; | ||||
| 	overflow: hidden; | ||||
| } | ||||
| .dhxeditor_dhx_web div.dhx_cell_editor div.dhx_cell_toolbar_def { | ||||
| 	position: relative; | ||||
| 	overflow: hidden; | ||||
| } | ||||
| .dhxwins_vp_dhx_web div.dhx_cell_cont_wins .dhxeditor_dhx_web div.dhx_cell_editor div.dhx_cell_cont_editor { | ||||
| 	border-left: 1px solid #c7c7c7; | ||||
| 	border-right: 1px solid #c7c7c7; | ||||
| 	border-bottom: 1px solid #c7c7c7; | ||||
| } | ||||
| .dhxwins_vp_dhx_web div.dhx_cell_cont_wins .dhxeditor_dhx_web div.dhx_cell_editor div.dhx_cell_toolbar_def { | ||||
| 	padding: 0px; | ||||
| } | ||||
| div.dhx_popup_dhx_web div.dhx_popup_area tr.dhxnode td.dhx_popup_td div.dhxeditor_dhx_web div.dhx_cell_editor div.dhx_cell_cont_editor { | ||||
| 	border-left: 1px solid #c7c7c7; | ||||
| 	border-right: 1px solid #c7c7c7; | ||||
| 	border-bottom: 1px solid #c7c7c7; | ||||
| } | ||||
| .dhxeditor_skin_detect { | ||||
| 	position: absolute; | ||||
| 	left: 0px; | ||||
| 	top: -100px; | ||||
| 	margin: 0; | ||||
| 	padding: 0; | ||||
| 	border: 0px solid white; | ||||
| 	width: 20px; | ||||
| 	height: 10px; | ||||
| 	overflow: hidden; | ||||
| } | ||||
| @ -0,0 +1,134 @@ | ||||
| /* | ||||
| Product Name: dhtmlxSuite  | ||||
| Version: 5.2.0  | ||||
| Edition: Professional  | ||||
| License: content of this file is covered by DHTMLX Commercial or Enterprise license. Usage without proper license is prohibited. To obtain it contact sales@dhtmlx.com | ||||
| Copyright UAB Dinamenta http://www.dhtmlx.com | ||||
| */ | ||||
|  | ||||
| /* | ||||
| 	skin detected: material | ||||
| 	include extra file: skins/material.less | ||||
| */ | ||||
|  | ||||
| @keyframes dhx_loader_rotate { | ||||
| 	100% { | ||||
| 		transform: rotate(360deg); | ||||
| 	} | ||||
| } | ||||
| @keyframes dhx_loader_dash { | ||||
| 	0% { | ||||
| 		stroke-dasharray: 1, 200; | ||||
| 		stroke-dashoffset: 0; | ||||
| 	} | ||||
| 	50% { | ||||
| 		stroke-dasharray: 89, 200; | ||||
| 		stroke-dashoffset: -35px; | ||||
| 	} | ||||
| 	100% { | ||||
| 		stroke-dasharray: 89, 200; | ||||
| 		stroke-dashoffset: -124px; | ||||
| 	} | ||||
| } | ||||
| .dhxeditor_material { | ||||
| 	position: relative; | ||||
| } | ||||
| .dhxeditor_material iframe.dhxeditor_mainiframe { | ||||
| 	position: absolute; | ||||
| 	overflow: hidden; | ||||
| 	font: inherit; | ||||
| 	top: 0px; | ||||
| 	left: 0px; | ||||
| 	width: 100%; | ||||
| 	height: 100%; | ||||
| } | ||||
| .dhxeditor_material div.dhx_cell_editor { | ||||
| 	position: absolute; | ||||
| 	background-color: white; | ||||
| 	margin: 0px; | ||||
| 	padding: 0px; | ||||
| 	overflow: hidden; | ||||
| 	cursor: default; | ||||
| 	z-index: 0; | ||||
| } | ||||
| .dhxeditor_material div.dhx_cell_editor div.dhx_cell_cont_editor { | ||||
| 	position: absolute; | ||||
| 	overflow: hidden; | ||||
| } | ||||
| .dhxeditor_material div.dhx_cell_editor div.dhx_cell_stb { | ||||
| 	position: relative; | ||||
| 	height: 32px; | ||||
| 	line-height: 32px; | ||||
| 	padding: 0px 5px; | ||||
| 	margin: 7px; | ||||
| 	border: 1px solid #dfdfdf; | ||||
| 	background-color: #fafafa; | ||||
| 	overflow: hidden; | ||||
| } | ||||
| .dhxeditor_material div.dhx_cell_editor div.dhx_cell_stb.dhx_cell_stb_shadow { | ||||
| 	border-width: 0px; | ||||
| 	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); | ||||
| } | ||||
| .dhxeditor_material div.dhx_cell_editor div.dhx_cell_stb a { | ||||
| 	position: relative; | ||||
| 	float: left; | ||||
| 	padding: 0px 8px; | ||||
| 	border-style: solid; | ||||
| 	border-color: #fafafa; | ||||
| 	border-width: 0px 1px 0px 1px; | ||||
| } | ||||
| .dhxeditor_material div.dhx_cell_editor div.dhx_cell_stb a div.dhx_cell_stb_button { | ||||
| 	position: relative; | ||||
| 	float: left; | ||||
| 	width: 18px; | ||||
| 	height: 32px; | ||||
| 	line-height: 32px; | ||||
| 	font-size: 1px; | ||||
| 	cursor: pointer; | ||||
| 	background-image: url("../imgs/dhxeditor_material/buttons.png"); | ||||
| 	background-position: 0px 7px; | ||||
| 	background-repeat: no-repeat; | ||||
| } | ||||
| .dhxeditor_material div.dhx_cell_editor div.dhx_cell_stb a div.dhx_cell_stb_button.btn_italic { | ||||
| 	background-position: -18px 7px; | ||||
| } | ||||
| .dhxeditor_material div.dhx_cell_editor div.dhx_cell_stb a div.dhx_cell_stb_button.btn_underline { | ||||
| 	background-position: -36px 7px; | ||||
| } | ||||
| .dhxeditor_material div.dhx_cell_editor div.dhx_cell_stb a div.dhx_cell_stb_button.btn_clearformat { | ||||
| 	background-position: -54px 7px; | ||||
| } | ||||
| .dhxeditor_material div.dhx_cell_editor div.dhx_cell_stb a:hover { | ||||
| 	background-color: #ebebeb; | ||||
| 	border-color: #ebebeb; | ||||
| } | ||||
| .dhxeditor_material div.dhx_cell_editor div.dhx_cell_toolbar_def { | ||||
| 	position: relative; | ||||
| 	overflow: hidden; | ||||
| 	padding: 7px; | ||||
| } | ||||
| .dhxeditor_material div.dhx_cell_editor div.dhx_cell_toolbar_def div.dhx_toolbar_material { | ||||
| 	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); | ||||
| } | ||||
| .dhxeditor_material.stb_height_detect { | ||||
| 	position: absolute; | ||||
| 	left: 0px; | ||||
| 	top: -100px; | ||||
| 	margin: 0; | ||||
| 	padding: 0; | ||||
| 	border: 0px solid white; | ||||
| 	width: 50px; | ||||
| 	height: 1px; | ||||
| 	overflow: hidden; | ||||
| } | ||||
| .dhxeditor_skin_detect { | ||||
| 	position: absolute; | ||||
| 	left: 0px; | ||||
| 	top: -100px; | ||||
| 	margin: 0; | ||||
| 	padding: 0; | ||||
| 	border: 0px solid white; | ||||
| 	width: 40px; | ||||
| 	height: 10px; | ||||
| 	overflow: hidden; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user