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
displays = block inline-block inline table | |
derps = me myMom myDad smurffy | |
generatePlaceholder(display, displays) | |
generatePlaceholder(derp, derps) | |
body | |
@extend $block | |
@extend $smurffy |
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
properties = margin padding | |
proportions = mini small normal medium large | |
directions = top left bottom right | |
$smallmargintop = 1.3em | |
for property in properties | |
for proportion, i in proportions |
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
<?php | |
/** | |
* @package Mantaray Theme | |
* @author Sean Goresht http://seangoresht.com | |
* @copyright Copyright (2014) Sean Goresht | |
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL | |
*/ | |
// load config | |
require_once(dirname(__FILE__) . "/config.php"); |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<framework xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" NamespaceSchemaLocation = "schemas/frameworkDescriptionVersion1.1.3.xsd" name = "Custom_codecept" invoke = "$ProjectFileDir$\vendor\bin\codecept.bat" alias = "cc" enabled = "true" version = "2"> | |
<command> | |
<name>help</name> | |
<help> | |
<![CDATA[The <info>help</info> command displays help for a given command:<br/> <br/> <info>php bin\codecept help list</info><br/> <br/> You can also output the help in other formats by using the <comment>--format</comment> option:<br/> <br/> <info>php bin\codecept help --format=xml list</info><br/> <br/> To display the list of available commands, please use the <info>list</info> command.]]></help> | |
<params>command_name[=null]</params> | |
<optionsBefore> | |
<option name = "--help" shortcut = "-h"> | |
<help><![CDATA[Display this help message.]]></help> |
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
class Validator | |
constructor: (@$form, @$isTabbed) -> | |
checkStrength: (password) -> | |
characters = 0 | |
capitalletters = 0 | |
loweletters = 0 | |
number = 0 | |
special = 0 | |
total = 0 |
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
class MapToolbar | |
constructor: (@toggled, @mapToolbar, @toolbarToggle, @mapToolbarIcon, @mapToolbarContent, @searchButton) -> | |
# Variables | |
@mapToolbar = $(".mapToolbar") | |
@toolbarToggle = @mapToolbar.find(".show-toolbar") | |
@mapToolbarIcon = @toolbarToggle.find("i") | |
@mapToolbarContent = @mapToolbar.find(".toolbar-content") | |
@searchButton = @mapToolbar.find(".show-search") | |
search: -> | |
@searchButton.on "click", -> |
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
<input type = "search" placeholder = "Search..." required x-webkit-speech name="filter_search" results = "10" autosave = "unique-auto-save-name"/> |
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
/** | |
* CSS3 Windows 8 Window | |
*/ | |
.window { | |
padding: 0.2em; | |
border: 1px solid blue; | |
} | |
.window .app-icon, .window .program-status { | |
display: inline-block; |
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
.label, .badge { | |
font-size: 0.9em; | |
font-weight: bold; | |
line-height: 1.4; | |
color: #fff; | |
vertical-align: baseline; | |
white-space: nowrap; | |
text-shadow: 0 -1px 0 rgba(0,0,0,0.25); | |
background-color: #999; | |
} |
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
@em: 1em; | |
@multiplierLarge: 2.3; | |
@multiplier: 2; | |
.headingsX(@index) when (@index > 0) { | |
(~"h@{index}") { | |
font-size: ((@em * @multiplierLarge) - ((@index * ((@em * @multiplierLarge) / 6 )))) + (@em * @multiplier); | |
} | |
.headingsX(@index - 1); | |
} |