Not so smooth. :-(
A Pen by Janne Leppänen on CodePen.
Not so smooth. :-(
A Pen by Janne Leppänen on CodePen.
| # all php files :: disallow direct access of file | |
| # between <?php and ?> | |
| defined('_JEXEC') or die; | |
| # index.php :: define variable with application | |
| # between <?php and ?> | |
| $app = JFactory::getApplication(); | |
| # index.php :: define variable with document | |
| # between <?php and ?> |
| /* Change Autocomplete styles in Chrome*/ | |
| /*https://css-tricks.com/snippets/css/change-autocomplete-styles-webkit-browsers/ */ | |
| input:-webkit-autofill, | |
| input:-webkit-autofill:hover, | |
| input:-webkit-autofill:focus | |
| textarea:-webkit-autofill, | |
| textarea:-webkit-autofill:hover | |
| textarea:-webkit-autofill:focus, | |
| select:-webkit-autofill, | |
| select:-webkit-autofill:hover, |
| This is a useful trick if you want to wrap two sibling elements in a containing element, for example to fix stupid float bugs in IE7. I had a bit of a time figuring out how to select the right elements (wrapping is easy enough with one element, or one element's children), so I thought I'd share for the Greater Good. | |
| From markup like this: | |
| <div class='form-container'> | |
| ... | |
| <div class='form-label'>Name (required)</div> | |
| <div class='form-field'><input type="text" name="you-name" value="" class="textbox" size="30" maxlength="200" /></div> | |
| <div class='form-label'>Email (required)</div> |
Designed for use with Chrome. hover them :)
A Pen by Felix Rilling on CodePen.
| <!-- Learn about this code on MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/repeating-linear-gradient --> | |
| ### =========================================================================== | |
| ### Security Enhanced & Highly Optimized .htaccess File for Joomla! | |
| ### automatically generated by Admin Tools 3.6.8 on 2016-01-15 22:02:05 GMT | |
| ### Auto-detected Apache version: 2.5 (best guess) | |
| ### =========================================================================== | |
| ### | |
| ### The contents of this file are based on the same author's work "Master | |
| ### .htaccess", published on http://snipt.net/nikosdion/the-master-htaccess | |
| ### | |
| ### Admin Tools is Free Software, distributed under the terms of the GNU |