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
--------------- core/components/migx/elements/tv/input/migx.php --------------- | |
index 11a9c2d..53370a5 100644 | |
@@ -133,6 +133,7 @@ $lang = $this->xpdo->lexicon->fetch(); | |
$lang['mig_add'] = !empty($properties['btntext'])?$properties['btntext']:$lang['mig_add']; | |
$modx->smarty->assign('i18n', $lang); | |
$this->xpdo->smarty->assign('properties', $properties); | |
+$this->xpdo->smarty->assign('resource', is_object($this->xpdo->resource) ? $this->xpdo->resource->toArray() : array()); | |
$this->xpdo->smarty->assign('pathconfigs', $this->xpdo->toJSON($pathconfigs)); | |
$this->xpdo->smarty->assign('columns', $this->xpdo->toJSON($cols)); | |
$this->xpdo->smarty->assign('fields', $this->xpdo->toJSON($fields)); |
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
/* | |
* Normalize.css converted to Stylus | |
* http://github.com/necolas/normalize.css | |
*/ | |
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section | |
display: block | |
audio, canvas, video | |
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
/** | |
* centering inline level items | |
*/ | |
div {text-align: center;} | |
a {display: inline-table; background: hotpink; height: 5em; margin: 1em; width: 10em; padding: .5em; border-radius: 1em;} | |
span {display: table-cell; height: 5em; vertical-align: middle;} |
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
#!/bin/bash | |
## v1.0.6 | |
## this script will gernerate css stats | |
### example output | |
# CSS STATS | |
# ---------- | |
# Floats: 132 |
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
* { | |
margin: 0; | |
padding: 0; | |
} | |
body: { | |
margin: 0; | |
padding: 0; | |
} | |
div { | |
border: 2px solid; |
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
* { | |
margin: 0px; | |
padding: 0px; | |
} | |
body { | |
background-color:#888; | |
vertical-align:top; | |
} | |
div#header, | |
div#content, |
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
/* Icons getting cut off*/ | |
span.event-type | |
{ | |
color: #6c6c6c; | |
} | |
.event_heading{ | |
color: #ffffff; | |
background-color: #464646; | |
margin: 15px -26px 0 -24px; |
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
/** | |
* Any chance to get the result displayed as in | |
* http://dabblet.com/gist/5235311 without using | |
* javascript or having to move the subnav out of .nav? | |
*/ | |
* { margin: 0; padding: 0; } | |
li { list-style: none; } | |
.nav > li { width: 20%; float: left; color: white; min-height: 6ex; } | |
.nav > li > ul { /* this is supposed to be 100% wide */position: absolute; left: 0; right: 0; top: 6ex } |
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
/** | |
* Vertical centering with Flexbox + margin fallback | |
* Lea Verou & David Storey | |
*/ | |
html, body { height: 100%; } | |
body { | |
width: 100%; /* needed for FF */ | |
margin: 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
'use strict'; | |
/******************************************************************************************************* | |
* | |
* FOLDER STRUCTURE | |
* | |
* dev // files in root just move to ./prod/ and *.html files will look for grunt-includes directives | |
* ├── HTMLincludes // HTML snippets included by grunt-includes | |
* │ └── windows.html | |
* ├── fonts // files will simply be moved to ./prod/fonts/ |
OlderNewer