This file contains hidden or 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
/** | |
* Copyright 2012 by smhmic. All rights reserved. | |
* @author [email protected] | |
* @date 9/20/2012 | |
* | |
* This is a hacky little set of CSS styles for Gmail. | |
* The intention was to make 'Compact' view even more compact, especially in the sidebar, toolbar buttons, and message list areas. | |
* | |
* Gmail changes often, but hopefully these styles will continue to work for a wee while! | |
* It was tested using |
This file contains hidden or 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
<div class="flip-container"> | |
<div class="flipper"> | |
<div class="front"> | |
<div id="header" class="clearfix"> | |
<div id="logo"> | |
Flip Dialog | |
</div> | |
<div id="menu"> | |
<ul> |
This file contains hidden or 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
<ul> | |
<li><a href="#"> ✿ </a></li><!-- | |
--><li><a href="#"> Lorem </a></li><!-- | |
--><li><a href="#"> Ipsum </a></li><!-- | |
--><li><a href="#"> Consectetur adipisicing </a></li><!-- | |
--><li><a href="#"> Sit amet </a></li> | |
</ul> |
This file contains hidden or 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
<input type="checkbox" id="cb1" class="graphic" checked /> | |
<label for="cb1"><span class="flag"></span>Checkbox</label> |
This file contains hidden or 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
</br></br> | |
<div id="warp"> | |
Inspired CSS version of Push / Check | |
<div class="minimal push"> | |
<label class="check" > | |
<input class="push-btn" type="checkbox" name="push-btn" value="" checked="checked">PUSH | |
</label> | |
</div> | |
</br></br> | |
<div class="push"> |
This file contains hidden or 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
<div class="container"> | |
<div class="wrap"> | |
<div class="circle horizontal c1"> | |
<div class="wrap-electron"> | |
<div class="circle electron"></div> | |
</div> | |
</div> | |
<div class="circle vertical c1"> | |
<div class="wrap-electron"> | |
<div class="circle electron"></div> |
This file contains hidden or 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
<?php | |
/// script can run forever.. | |
set_time_limit(0); | |
/// tell the client the request has finished processing | |
header('Connection: close'); | |
@ob_end_clean(); #seems to complain a lot w/o the @ | |
/// continue running once client disconnects |
This file contains hidden or 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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
# Redirect secondary domains | |
RewriteRule .* - [E=PRIMARY_DOMAIN:________________] | |
RewriteCond %{HTTP_HOST}==%{ENV:PRIMARY_DOMAIN} !^(.+)==\1$ [NC] | |
RewriteCond %{REQUEST_URI} ^/?(.*)$ | |
RewriteRule .? http://%{ENV:PRIMARY_DOMAIN}/%1 [L,QSA] |
This file contains hidden or 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
ol { | |
counter-reset:li; /* Initiate a counter */ | |
margin-left:0; /* Remove the default left margin */ | |
padding-left:0; /* Remove the default left padding */ | |
} | |
ol > li { | |
position:relative; /* Create a positioning context */ | |
margin:0 0 6px 2em; /* Give each list item a left margin to make room for the numbers */ | |
padding:4px 8px; /* Add some spacing around the content */ | |
list-style:none; /* Disable the normal item numbering */ |
This file contains hidden or 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
function getParameterByName( name ){ | |
if( typeof getParameterByName.params == 'undefined' ) | |
getParameterByName.params = {}; | |
if( typeof getParameterByName.params[name] == 'undefined' ){ | |
name = name.replace( /[\[]/, "\\\[" ).replace( /[\]]/, "\\\]" ); | |
var regex = new RegExp( "[\\?&]" + name + "(?:=([^&#]*))?" ), | |
results = regex.exec( location.search ); | |
// if only key was given, assume value is 'true' | |
if( results === null ) | |
getParameterByName.params[name] = null; |
OlderNewer