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
<style> | |
* { | |
box-sizing: border-box; | |
} | |
.application { | |
background: #131313; | |
color: #FFF; | |
font-family: monospace; | |
font-size: 11pt; |
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
// | |
// ESLint Rules for ES6 | |
// Based on Airbnb's Style Guide - https://github.com/airbnb/javascript | |
// | |
// requires 'eslint' npm package | |
// | |
{ | |
"env": { | |
"browser": true, |
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
// | |
// ESLint Rules | |
// Based on Airbnb's Style Guide - https://github.com/airbnb/javascript | |
// | |
// with added ES6 and JSX Rules for React.js | |
// | |
// requires 'eslint' and 'eslint-plugin-react' npm packages | |
// | |
{ |
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
/* Support: Internet Explorer 8+, Firefox 6+, iOS 4.2, Safari 5.1+ and Chrome 13+. */ | |
/* Needed for old IE support, but words are broken up letter-by-letter */ | |
-ms-word-break: break-all; | |
word-break: break-all; | |
/* Non standard for webkit */ | |
word-break: break-word; | |
/* Modern CSS3 Hyphenation with locale support */ |
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
/* | |
Counts elements and applies percentage width to | |
fit them in one row. | |
################################################## | |
# i.e: 4 elements = 25% width; # | |
# note: Many elements create long CSS output # | |
################################################## | |
*/ |
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 class="atomic switch" type="checkbox" name="atomic" checked> |
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 | |
# paste into functions.php in theme | |
add_action( 'admin_footer', 'categoryRadioButton' ); | |
function categoryRadioButton(){ | |
echo '<script type="text/javascript">'; | |
echo 'jQuery("#categorychecklist input, #categorychecklist-pop input, .cat-checklist input")'; | |
echo '.each(function(){this.type="radio"});</script>'; | |
} | |
?> |