Permalink
Browse files

[update] final skins selected

  • Loading branch information...
1 parent cdc4abf commit c653fa081f8253f7137e7c507108acbbe577e899 @Stanislav-Wolski Stanislav-Wolski committed Oct 11, 2011

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,185 +0,0 @@
-.dhtmlx_message_area{
- position:fixed;
- right:5px;
- width:250px;
- z-index:100;
-}
-
-.dhtmlx-info{
- color:#000080;
- border-radius:4px;
- min-width: 120px;
-
- padding:4px 4px 4px 20px;
- background-color:#FFFFCC;
- font-size:12px;
- font-family:Tahoma;
- z-index: 10000;
- margin:5px;
- border:1px solid #d3d3d3;
-
- -webkit-transition: all .5s ease;
- -moz-transition: all .5s ease;
- -o-transition: all .5s ease;
- transition: all .5s ease;
-}
-.dhtmlx-info.hidden{
- height:0px;
- padding:0px;
- border-width:0px;
- margin:0px;
- overflow:hidden;
-}
-
-.dhtmlx_modal_box{
- overflow:hidden;
- display: inline-block;
- min-width: 300px;
- width: 300px !important;
- text-align: center;
- position:fixed;
- background-color: #ebebf5;
- z-index:20000;
-
- -moz-box-shadow: 0px 0px 5px #AAAAAA;
- -webkit-box-shadow: 0px 0px 0px #AAAAAA;
- box-shadow: 0px 0px 5px #AAAAAA;
-
-}
-
-.dhtmlx_popup_title{
- font-size: 22px;
- line-height: 34px;
- font-family:helvetica;
-
-
-}
-.dhtmlx_popup_title, .dhtmlx_popup_button{
- -webkit-user-select: none;
- user-select: none;
- -moz-user-select:-moz-none;
-
- cursor:pointer;
-}
-
-
-.dhtmlx_popup_text{
- font-size: 24px;
- font-family: utsaah;
- color:#616161;
- min-height: 50px;
- padding: 10px !important;
- overflow:hidden;
-}
-
-.dhtmlx_popup_controls{
- font-family: Tahoma;
- font-weight:bold;
- padding: 10px !important;
-}
-
-.dhtmlx_popup_button{
-
- font-size: 14px;
- font-family: Tahoma;
- font-weight: bold;
- min-width: 120px;
- width: 120px;
- height: 30px;
- line-height:30px;
- display: inline-block;
- margin: 0 5px;
-
- border-radius: 4px;
-}
-
-div.dhx_modal_cover {
- background-color:#000;
- cursor:default;
- filter:alpha(opacity = 20);
- opacity: 0.2;
- position: fixed;
- z-index:19999;
- left: 0px;
- top: 0px;
- width: 100%;
- height: 100%;
- border: none;
- zoom: 1;
-}
-
-
-
-.dhtmlx_popup_button{
- color: #2e3947;
- text-shadow: 0 1px 0 #ffffff;
- border: 1px solid #a4bed4;
-
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAeCAIAAABi9+OQAAAAQElEQVR4nE3LMQ7AIAxD0R9TxP3PydalW8xAQJ0i2y/M95ONTOxrlCC7MigdMtz92LxdlKPc/3d7jPqDRgv1xgLuDiwEIl5MZQAAAABJRU5ErkJggg==);
-}
-
-.dhtmlx_popup_button:active, .dhtmlx_popup_button:focus{
- box-shadow: inset 0 0 2px #aaaaaa;
-
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAeCAIAAABi9+OQAAAARklEQVR4nE2LMQ6AIADEykUG3Nz9/yf4Ar8g7K4Oeg4KOFxyTVNyqUrbLoMwAgt4+dt0nT0+IP/cbD0ag0JAabm1xkvn0R7oABW07Ic3sQAAAABJRU5ErkJggg==);
-
-}
-
-.dhtmlx_popup_title{
- box-shadow:inset 0 0 2px #ffffff;
- display: block;
-}
-.dhtmlx-alert-error, .dhtmlx-confirm-error{
-
-}
-.dhtmlx-alert-error .dhtmlx_popup_title, .dhtmlx-confirm-error .dhtmlx_popup_title{
- color : white;
- border: 1px solid #ff0000;
-
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAsCAIAAAArRUU2AAAATklEQVR4nIWLuw2AMBBDjVuQiBT2oWbRDATrnB0KQOJoqPzRe3BrHI6dcBASYREKovtK6/6DsDOX+stN+3H1YX9ciRgnYq5EWYhS2dftBIuLT4JyIrPCAAAAAElFTkSuQmCC);
-}
-.dhtmlx-alert-error .dhtmlx_popup_controls, .dhtmlx-confirm-error .dhtmlx_popup_controls {
- border: 1px solid #ff0000;
- border-width: 0 1px 1px 1px;
-}
-.dhtmlx-alert-error .dhtmlx_popup_text, .dhtmlx-confirm-error .dhtmlx_popup_text{
- border: 1px solid #ff0000;
- border-width: 0 1px 0 1px;
-}
-
-
-.dhtmlx-alert-warning .dhtmlx_popup_title, .dhtmlx-confirm-warning .dhtmlx_popup_title{
- color : #000;
- border: 1px solid #d2b07f;
-
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAsCAIAAAArRUU2AAAASUlEQVR4nGP4d2MNE+Pba0wM//8xMfz/y8TwD0r//8fE8O8vGhuHHD61cPPQzP7/F0kdOh/KZuVmYuAQYGLgEGRi4BBg+i9rDwDadU/CBfIz5QAAAABJRU5ErkJggg==);
-}
-
-.dhtmlx-alert-warning .dhtmlx_popup_controls, .dhtmlx-confirm-warning .dhtmlx_popup_controls {
- border: 1px solid #d5d5d5;
- border-width: 0 1px 1px 1px;
-}
-.dhtmlx-alert-warning .dhtmlx_popup_text, .dhtmlx-confirm-warning .dhtmlx_popup_text{
- border: 1px solid #d5d5d5;
- border-width: 0 1px 0 1px;
-}
-
-
-
-.dhtmlx-alert .dhtmlx_popup_title, .dhtmlx-confirm .dhtmlx_popup_title{
- color : #000;
- border: 1px solid #a4bed4;
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAsCAIAAAArRUU2AAAARElEQVR4nH3MMQqAQBQD0dnZBTvvf80tBBEhNh9EFKuERwhz2z3OGDA0EwxI5aelvDq/hkn54+O210dtujjEYXN0XJdc1CE1MA5mcdsAAAAASUVORK5CYII=);
-}
-.dhtmlx-alert .dhtmlx_popup_controls, .dhtmlx-confirm .dhtmlx_popup_controls{
- border: 1px solid #d5d5d5;
- border-width: 0 1px 1px 1px;
-}
-.dhtmlx-alert .dhtmlx_popup_text, .dhtmlx-confirm .dhtmlx_popup_text{
- border: 1px solid #d5d5d5;
- border-width: 0 1px 0 1px;
-}
-
-
-
-
View
@@ -1,6 +1,7 @@
+if(!window.dhtmlx)
+ window.dhtmlx = {};
+
(function(){
- if(!window.dhtmlx)
- window.dhtmlx = {};
function modality(mode){
if(!modality.cover){
@@ -58,7 +59,7 @@
inner+='<div class="dhtmlx_popup_title">'+config.title+'</div>';
inner+='<div class="dhtmlx_popup_text"><span>'+config.text+'</span></div><div class="dhtmlx_popup_controls">';
if (ok)
- inner += button(config.ok || "Ok", true);
+ inner += button(config.ok || "OK", true);
if (cancel)
inner += button(config.cancel || "Cancel", false);
inner += '</div>';
@@ -67,7 +68,8 @@
box.onclick = function(e){
e = e ||event;
var source = e.target || e.srcElement;
- if (source.className == "dhtmlx_popup_button" || source.parentNode.className == "dhtmlx_popup_button"){
+ if (!source.className) source = source.parentNode;
+ if (source.className == "dhtmlx_popup_button"){
if (config.callback)
config.callback.call(window, source.getAttribute("result") == "true");
modality(false);
Oops, something went wrong.

0 comments on commit c653fa0

Please sign in to comment.