Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/
./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent
@charset "utf-8"; | |
/* CSS Document */ | |
/* Import open-sans google font | |
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic&subset=latin,greek,latin-ext); | |
*/ | |
/*- variable | |
----------------------------------------------------------------------*/ | |
:root{ |
function titleCase(str) { | |
var words = str.split(" "); | |
var newArray = []; | |
for(var i=0; i < words.length; i++){ | |
newArray.push(words[i].slice(0,1).toUpperCase() + words[i].slice(1).toLowerCase()); | |
} | |
return newArray.join(" "); | |
@mixin border-radius($radius) { | |
-webkit-border-radius: $radius; | |
-moz-border-radius: $radius; | |
-ms-border-radius: $radius; | |
border-radius: $radius; | |
} | |
@mixin animate-time($time){ | |
-webkit-animation-duration: $time; | |
-mos-animation-duration: $time; |
<?php | |
// Send a Tweet to your Twitter account. | |
tweetThis('my_user_name', 'my_password', 'my_tweet_message'); | |
?> |
::selection { | |
background: #eac06e; /* Safari */ | |
color: white; | |
} | |
::-moz-selection { | |
background: #eac06e; /* Firefox */ | |
color: white; | |
} |
http://devdocs.magento.com/guides/v2.1/frontend-dev-guide/bk-frontend-dev-guide.html
https://www.creare.co.uk/blog/magento/theming-in-magento-2-part-1
https://www.creare.co.uk/blog/magento/theming-in-magento-2-part-2
http://alanstorm.com/category/magento-2/
Please try running following command.
module.exports = function(grunt){ | |
grunt.initConfig({ | |
copy:{ | |
css:{ | |
files:[ | |
{ | |
cwd: 'folder/source/file', | |
src: '**/*.css', | |
dest: 'folder/target/', | |
expand: true |
// Defining colors =========================================== | |
$color-names : ''; | |
$light-colors : ''; | |
$dark-colors : ''; | |
@mixin define-theme-color( $color-name, $light-color, $dark-color ) { | |
@if ($color-names != "") and (index($color-names, $color-name) != false) { | |
@warn "Theme color $color-name is already defined"; |
add new field
db.getCollection('collectionname').update({},{$set:{fieldname:"value"}},false,true)
remove field
db.getCollection('collectionname').update({}, {$unset: {fieldname:1}}, false, true);