This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.break { | |
-ms-word-break: break-all; | |
word-break: break-all; | |
word-break: break-word; | |
-webkit-hyphens: auto; | |
-moz-hyphens: auto; | |
hyphens: auto; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.ir { | |
text-indent: 100%; | |
white-space: nowrap; | |
overflow: hidden; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media print { | |
* { | |
background: none !important; | |
color: black !important; | |
box-shadow: none !important; | |
text-shadow: none !important; | |
/* Images, vectors and such */ | |
filter: Gray(); /* IE4-8: depreciated */ | |
filter: url('desaturate.svg#grayscale'); /* SVG version for IE10, Firefox, Safari 5 and Opera */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media | |
only screen and (-webkit-min-device-pixel-ratio: 2), | |
only screen and ( min--moz-device-pixel-ratio: 2), /* Looks like a bug, so may want to add: */ | |
only screen and ( -moz-min-device-pixel-ratio: 2), | |
only screen and ( -o-min-device-pixel-ratio: 2/1), | |
only screen and ( min-device-pixel-ratio: 2), | |
only screen and ( min-resolution: 192dpi), | |
only screen and ( min-resolution: 2dppx) { | |
/* Your retina specific stuff here */ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Empty Elements */ | |
.debug div:empty, .debug span:empty,.debug li:empty,.debug p:empty,.debug td:empty,.debug th:empty { | |
padding: 20px; | |
border: 5px dotted yellow !important; | |
} | |
/* Empty Attributes */ | |
.debug *[alt=""], .debug *[title=""], .debug *[class=""], .debug *[id=""], .debug a[href=""] { | |
border: 5px solid yellow !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Force secure mode access for Miva Merchant admin.mvc: | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} /mm5/admin.mvc | |
RewriteCond %{SERVER_PORT} !443 | |
RewriteRule (.*) https://www.walleyedirect.com/mm5/admin.mvc [R] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lt IE 7 ]> <html class="ie6"> <![endif]--> | |
<!--[if IE 7 ]> <html class="ie7"> <![endif]--> | |
<!--[if IE 8 ]> <html class="ie8"> <![endif]--> | |
<!--[if (gte IE 9)|!(IE)]><!--> <html> <!--<![endif]--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JavaScript Document// Example: | |
// var b = new BrowserInfo(); | |
// alert(b.version); | |
function BrowserInfo(){ | |
this.name = navigator.appName; | |
this.codename = navigator.appCodeName; | |
this.version = navigator.appVersion.substring(0, 4); | |
this.platform = navigator.platform; | |
this.javaEnabled = navigator.javaEnabled(); | |
this.screenWidth = screen.width; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if IE]> | |
<link rel="stylesheet" type="text/css" href="all-ie-only.css" /> | |
<![endif]--> | |
<!--[if !IE]> | |
<link rel="stylesheet" type="text/css" href="not-ie.css" /> | |
<![endif]--> | |
<!--[if IE 7]> | |
<link rel="stylesheet" type="text/css" href="ie7.css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.params = function(){ | |
var params = {}, | |
href = window.location.href, | |
param_array = ( href.indexOf('?') > -1 ) ? window.location.href.split('?')[1].split('&') : []; | |
for(var i in param_array){ | |
x = param_array[i].split('='); | |
params[x[0]] = x[1]; | |
} |