forked from metin2/web
Added website Docker image, bumped PHP version, added mall authentication, added experimental patcher support, improved migrations, added teasers
This commit is contained in:
41
public/assets/patch/css/all.css
Normal file
41
public/assets/patch/css/all.css
Normal file
@ -0,0 +1,41 @@
|
||||
@charset "utf-8";
|
||||
/* CSS Document */
|
||||
html {
|
||||
background:#000 url(../img/accept-bg.jpg) no-repeat center 0;
|
||||
color:#C2C3CF;
|
||||
font-size:12px;
|
||||
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
margin:0 auto;
|
||||
width:605px;
|
||||
}
|
||||
|
||||
|
||||
#acceptWrapper {
|
||||
margin:0 auto;
|
||||
width:600px;
|
||||
}
|
||||
|
||||
#content {
|
||||
padding:20px 0 0 165px;
|
||||
width:395px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size:19px;
|
||||
color:#95bcd8;
|
||||
margin:0 0 15px 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin:0 0 20px 0;
|
||||
line-height:normal;
|
||||
}
|
||||
strong {
|
||||
color:#b9dbac;
|
||||
font-size:13px;
|
||||
font-weight:bold;
|
||||
}
|
||||
a {
|
||||
color:#b9dbac;
|
||||
font-size:12px;
|
||||
}
|
53
public/assets/patch/css/reset.css
Normal file
53
public/assets/patch/css/reset.css
Normal file
@ -0,0 +1,53 @@
|
||||
@charset "utf-8";
|
||||
/* CSS Document */
|
||||
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, font, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
font-size: 100%;
|
||||
vertical-align: baseline;
|
||||
background: transparent;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
}
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
blockquote:before, blockquote:after,
|
||||
q:before, q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
|
||||
/* remember to define focus styles! */
|
||||
:focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* remember to highlight inserts somehow! */
|
||||
ins {
|
||||
text-decoration: none;
|
||||
}
|
||||
del {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
/* tables still need 'cellspacing="0"' in the markup */
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
BIN
public/assets/patch/img/accept-bg.jpg
Normal file
BIN
public/assets/patch/img/accept-bg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
BIN
public/assets/patch/img/bg.png
Normal file
BIN
public/assets/patch/img/bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
BIN
public/assets/patch/img/bg_01_metin2.jpg
Normal file
BIN
public/assets/patch/img/bg_01_metin2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 103 KiB |
19
public/assets/patch/js/jquery-1.3.2.min.js
vendored
Normal file
19
public/assets/patch/js/jquery-1.3.2.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
113
public/assets/patch/js/jquery.pngFix.js
Normal file
113
public/assets/patch/js/jquery.pngFix.js
Normal file
@ -0,0 +1,113 @@
|
||||
/**
|
||||
* --------------------------------------------------------------------
|
||||
* jQuery-Plugin "pngFix"
|
||||
* Version: 1.2, 09.03.2009
|
||||
* by Andreas Eberhard, andreas.eberhard@gmail.com
|
||||
* http://jquery.andreaseberhard.de/
|
||||
*
|
||||
* Copyright (c) 2007 Andreas Eberhard
|
||||
* Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php)
|
||||
*
|
||||
* Changelog:
|
||||
* 09.03.2009 Version 1.2
|
||||
* - Update for jQuery 1.3.x, removed @ from selectors
|
||||
* 11.09.2007 Version 1.1
|
||||
* - removed noConflict
|
||||
* - added png-support for input type=image
|
||||
* - 01.08.2007 CSS background-image support extension added by Scott Jehl, scott@filamentgroup.com, http://www.filamentgroup.com
|
||||
* 31.05.2007 initial Version 1.0
|
||||
* --------------------------------------------------------------------
|
||||
* @example $(function(){$(document).pngFix();});
|
||||
* @desc Fixes all PNG's in the document on document.ready
|
||||
*
|
||||
* jQuery(function(){jQuery(document).pngFix();});
|
||||
* @desc Fixes all PNG's in the document on document.ready when using noConflict
|
||||
*
|
||||
* @example $(function(){$('div.examples').pngFix();});
|
||||
* @desc Fixes all PNG's within div with class examples
|
||||
*
|
||||
* @example $(function(){$('div.examples').pngFix( { blankgif:'ext.gif' } );});
|
||||
* @desc Fixes all PNG's within div with class examples, provides blank gif for input with png
|
||||
* --------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
(function($) {
|
||||
|
||||
jQuery.fn.pngFix = function(settings) {
|
||||
|
||||
// Settings
|
||||
settings = jQuery.extend({
|
||||
blankgif: 'blank.gif'
|
||||
}, settings);
|
||||
|
||||
var ie55 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 5.5") != -1);
|
||||
var ie6 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 6.0") != -1);
|
||||
|
||||
if (jQuery.browser.msie && (ie55 || ie6)) {
|
||||
|
||||
//fix images with png-source
|
||||
jQuery(this).find("img[src$=.png]").each(function() {
|
||||
|
||||
jQuery(this).attr('width',jQuery(this).width());
|
||||
jQuery(this).attr('height',jQuery(this).height());
|
||||
|
||||
var prevStyle = '';
|
||||
var strNewHTML = '';
|
||||
var imgId = (jQuery(this).attr('id')) ? 'id="' + jQuery(this).attr('id') + '" ' : '';
|
||||
var imgClass = (jQuery(this).attr('class')) ? 'class="' + jQuery(this).attr('class') + '" ' : '';
|
||||
var imgTitle = (jQuery(this).attr('title')) ? 'title="' + jQuery(this).attr('title') + '" ' : '';
|
||||
var imgAlt = (jQuery(this).attr('alt')) ? 'alt="' + jQuery(this).attr('alt') + '" ' : '';
|
||||
var imgAlign = (jQuery(this).attr('align')) ? 'float:' + jQuery(this).attr('align') + ';' : '';
|
||||
var imgHand = (jQuery(this).parent().attr('href')) ? 'cursor:hand;' : '';
|
||||
if (this.style.border) {
|
||||
prevStyle += 'border:'+this.style.border+';';
|
||||
this.style.border = '';
|
||||
}
|
||||
if (this.style.padding) {
|
||||
prevStyle += 'padding:'+this.style.padding+';';
|
||||
this.style.padding = '';
|
||||
}
|
||||
if (this.style.margin) {
|
||||
prevStyle += 'margin:'+this.style.margin+';';
|
||||
this.style.margin = '';
|
||||
}
|
||||
var imgStyle = (this.style.cssText);
|
||||
|
||||
strNewHTML += '<span '+imgId+imgClass+imgTitle+imgAlt;
|
||||
strNewHTML += 'style="position:relative;white-space:pre-line;display:inline-block;background:transparent;'+imgAlign+imgHand;
|
||||
strNewHTML += 'width:' + jQuery(this).width() + 'px;' + 'height:' + jQuery(this).height() + 'px;';
|
||||
strNewHTML += 'filter:progid:DXImageTransform.Microsoft.AlphaImageLoader' + '(src=\'' + jQuery(this).attr('src') + '\', sizingMethod=\'scale\');';
|
||||
strNewHTML += imgStyle+'"></span>';
|
||||
if (prevStyle != ''){
|
||||
strNewHTML = '<span style="position:relative;display:inline-block;'+prevStyle+imgHand+'width:' + jQuery(this).width() + 'px;' + 'height:' + jQuery(this).height() + 'px;'+'">' + strNewHTML + '</span>';
|
||||
}
|
||||
|
||||
jQuery(this).hide();
|
||||
jQuery(this).after(strNewHTML);
|
||||
|
||||
});
|
||||
|
||||
// fix css background pngs
|
||||
jQuery(this).find("*").each(function(){
|
||||
var bgIMG = jQuery(this).css('background-image');
|
||||
if(bgIMG.indexOf(".png")!=-1){
|
||||
var iebg = bgIMG.split('url("')[1].split('")')[0];
|
||||
jQuery(this).css('background-image', 'none');
|
||||
jQuery(this).get(0).runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + iebg + "',sizingMethod='scale')";
|
||||
}
|
||||
});
|
||||
|
||||
//fix input with png-source
|
||||
jQuery(this).find("input[src$=.png]").each(function() {
|
||||
var bgIMG = jQuery(this).attr('src');
|
||||
jQuery(this).get(0).runtimeStyle.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader' + '(src=\'' + bgIMG + '\', sizingMethod=\'scale\');';
|
||||
jQuery(this).attr('src', settings.blankgif)
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
return jQuery;
|
||||
|
||||
};
|
||||
|
||||
})(jQuery);
|
Reference in New Issue
Block a user