playmo 0.0.6 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +2 -0
- data/Gemfile +1 -1
- data/README.md +9 -45
- data/TODO.md +65 -9
- data/bin/playmo +6 -0
- data/lib/generators/rails/controller_generator.rb +5 -0
- data/lib/generators/rails/layout_generator.rb +26 -0
- data/lib/generators/rails/scaffold_controller_generator.rb +13 -0
- data/lib/generators/rails/templates/controller.rb +11 -0
- data/lib/generators/rails/templates/layout.html.erb +46 -0
- data/lib/generators/rails/templates/layout.html.haml +26 -0
- data/lib/generators/rails/templates/layout.html.slim +26 -0
- data/lib/generators/rails/templates/scaffold_controller.rb +56 -0
- data/lib/playmo.rb +45 -7
- data/lib/playmo/answer.rb +18 -0
- data/lib/playmo/choice.rb +52 -0
- data/lib/playmo/cli.rb +25 -0
- data/lib/playmo/cookbook.rb +83 -0
- data/lib/playmo/event.rb +7 -0
- data/lib/playmo/options.rb +17 -0
- data/lib/playmo/question.rb +59 -0
- data/lib/playmo/recipe.rb +50 -0
- data/lib/playmo/recipes/_/sample_recipe.rb +46 -0
- data/lib/playmo/recipes/application_controller_recipe.rb +24 -0
- data/lib/playmo/recipes/application_helper_recipe.rb +18 -0
- data/lib/playmo/recipes/assets_recipe.rb +19 -0
- data/lib/playmo/recipes/can_can_recipe.rb +0 -0
- data/lib/playmo/recipes/capistrano_recipe.rb +25 -0
- data/lib/playmo/recipes/compass_recipe.rb +19 -0
- data/lib/playmo/recipes/congrats_recipe.rb +20 -0
- data/lib/playmo/recipes/devise_recipe.rb +172 -0
- data/lib/playmo/recipes/forms_recipe.rb +42 -0
- data/lib/playmo/recipes/git_recipe.rb +31 -0
- data/lib/playmo/recipes/home_controller_recipe.rb +86 -0
- data/lib/playmo/recipes/javascript_framework_recipe.rb +69 -0
- data/lib/playmo/recipes/layout_recipe.rb +21 -0
- data/lib/playmo/recipes/markup_recipe.rb +34 -0
- data/lib/playmo/recipes/rspec_recipe.rb +25 -0
- data/lib/playmo/recipes/rvm_recipe.rb +17 -0
- data/lib/playmo/recipes/setup_database_recipe.rb +21 -0
- data/lib/playmo/recipes/templates/application_controller_recipe/application_controller.rb +54 -0
- data/lib/playmo/recipes/templates/application_controller_recipe/internal_error.html.erb +5 -0
- data/lib/playmo/recipes/templates/application_controller_recipe/not_found.html.erb +5 -0
- data/lib/playmo/recipes/templates/application_helper_recipe/application_helper.rb +118 -0
- data/lib/playmo/recipes/templates/assets_recipe/images/bg.jpg +0 -0
- data/lib/playmo/recipes/templates/assets_recipe/images/input-bg.gif +0 -0
- data/lib/playmo/recipes/templates/assets_recipe/stylesheets/application.css.scss +29 -0
- data/lib/playmo/recipes/templates/assets_recipe/stylesheets/media.css.scss +0 -0
- data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_constants.css.scss +11 -0
- data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_forms.css.scss +134 -0
- data/{stylesheets/_playmo_rails.sass → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_html5-boilerplate.css.scss} +1 -1
- data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_layout.css.scss +264 -0
- data/{templates/project/playmo/playmo.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_overrides.css.scss} +14 -23
- data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_simple_form.css.scss +7 -0
- data/{stylesheets/playmo-rails/_fonts.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_fonts.css.scss} +5 -6
- data/{stylesheets/playmo-rails/_helpers.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_helpers.css.scss} +6 -1
- data/{stylesheets/playmo-rails/_media.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_media.css.scss} +10 -9
- data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_reset.css.scss +47 -0
- data/{stylesheets/playmo-rails/_styles.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_styles.css.scss} +24 -24
- data/lib/playmo/recipes/templates/capistrano_recipe/.gitkeep +0 -0
- data/lib/playmo/recipes/templates/devise_recipe/.gitkeep +0 -0
- data/lib/playmo/recipes/templates/forms_recipe/.gitkeep +0 -0
- data/lib/playmo/recipes/templates/home_controller_recipe/_sidebar.html.erb +3 -0
- data/lib/playmo/recipes/templates/layout_recipe/application.html.erb +40 -0
- data/lib/playmo/recipes/templates/rspec_recipe/.gitkeep +0 -0
- data/lib/playmo/recipes/templates/rvm_recipe/.gitkeep +0 -0
- data/lib/playmo/silent.rb +17 -0
- data/playmo.gemspec +6 -2
- data/spec/cookbook_spec.rb +23 -0
- data/spec/recipes/home_controller_recipe_spec.rb +13 -0
- data/spec/spec_helper.rb +16 -0
- data/spec/support/.gitkeep +0 -0
- metadata +144 -79
- data/lib/app/helpers/playmo_helper.rb +0 -54
- data/lib/generators/playmo/USAGE +0 -8
- data/lib/generators/playmo/install_generator.rb +0 -166
- data/lib/generators/playmo/templates/application.html.erb +0 -56
- data/lib/generators/playmo/templates/application_controller.rb +0 -9
- data/lib/generators/playmo/templates/application_helper.rb +0 -21
- data/lib/generators/playmo/templates/assets.yml +0 -32
- data/lib/generators/playmo/templates/deploy.rb +0 -50
- data/lib/generators/playmo/templates/jquery/jquery-1.5.2.min.js +0 -16
- data/lib/generators/playmo/templates/jquery/rails.js +0 -157
- data/lib/generators/playmo/templates/mootools/mootools-core-1.3.1.js +0 -485
- data/lib/generators/playmo/templates/mootools/mootools-more-1.3.1.1.js +0 -741
- data/lib/generators/playmo/templates/mootools/rails.js +0 -161
- data/lib/generators/playmo/templates/tasks/assets.rake +0 -10
- data/lib/generators/playmo/templates/tasks/sass.rake +0 -8
- data/stylesheets/playmo-rails/_handheld.scss +0 -8
- data/stylesheets/playmo-rails/_reset.scss +0 -56
- data/templates/project/boilerplate/css/handheld.scss +0 -7
- data/templates/project/boilerplate/css/style.scss +0 -141
- data/templates/project/boilerplate/files/apple-touch-icon.png +0 -0
- data/templates/project/boilerplate/files/crossdomain.xml +0 -25
- data/templates/project/boilerplate/files/favicon.ico +0 -0
- data/templates/project/boilerplate/files/robots.txt +0 -5
- data/templates/project/boilerplate/js/libs/dd_belatedpng.js +0 -13
- data/templates/project/boilerplate/js/libs/modernizr-1.7.min.js +0 -2
- data/templates/project/google/google.yml +0 -22
- data/templates/project/manifest.rb +0 -34
- data/templates/project/playmo/article.scss +0 -69
- data/templates/project/playmo/icons/outgoing.png +0 -0
- data/templates/project/rails/public/stylesheets/layout.scss +0 -20
- data/templates/project/rails/public/stylesheets/print.scss +0 -11
- data/templates/project/rails/public/stylesheets/screen.scss +0 -14
- data/templates/project/rails/public/stylesheets/wysiwyg.scss +0 -19
@@ -1,2 +0,0 @@
|
|
1
|
-
// Modernizr v1.7 www.modernizr.com
|
2
|
-
window.Modernizr=function(a,b,c){function G(){e.input=function(a){for(var b=0,c=a.length;b<c;b++)t[a[b]]=!!(a[b]in l);return t}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)l.setAttribute("type",f=a[d]),e=l.type!=="text",e&&(l.value=m,l.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&l.style.WebkitAppearance!==c?(g.appendChild(l),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(l,null).WebkitAppearance!=="textfield"&&l.offsetHeight!==0,g.removeChild(l)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=l.checkValidity&&l.checkValidity()===!1:/^color$/.test(f)?(g.appendChild(l),g.offsetWidth,e=l.value!=m,g.removeChild(l)):e=l.value!=m)),s[a[d]]=!!e;return s}("search tel url email datetime date month week time datetime-local number range color".split(" "))}function F(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+p.join(c+" ")+c).split(" ");return!!E(d,b)}function E(a,b){for(var d in a)if(k[a[d]]!==c&&(!b||b(a[d],j)))return!0}function D(a,b){return(""+a).indexOf(b)!==-1}function C(a,b){return typeof a===b}function B(a,b){return A(o.join(a+";")+(b||""))}function A(a){k.cssText=a}var d="1.7",e={},f=!0,g=b.documentElement,h=b.head||b.getElementsByTagName("head")[0],i="modernizr",j=b.createElement(i),k=j.style,l=b.createElement("input"),m=":)",n=Object.prototype.toString,o=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),p="Webkit Moz O ms Khtml".split(" "),q={svg:"http://www.w3.org/2000/svg"},r={},s={},t={},u=[],v,w=function(a){var c=b.createElement("style"),d=b.createElement("div"),e;c.textContent=a+"{#modernizr{height:3px}}",h.appendChild(c),d.id="modernizr",g.appendChild(d),e=d.offsetHeight===3,c.parentNode.removeChild(c),d.parentNode.removeChild(d);return!!e},x=function(){function d(d,e){e=e||b.createElement(a[d]||"div");var f=(d="on"+d)in e;f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=C(e[d],"function"),C(e[d],c)||(e[d]=c),e.removeAttribute(d))),e=null;return f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),y=({}).hasOwnProperty,z;C(y,c)||C(y.call,c)?z=function(a,b){return b in a&&C(a.constructor.prototype[b],c)}:z=function(a,b){return y.call(a,b)},r.flexbox=function(){function c(a,b,c,d){a.style.cssText=o.join(b+":"+c+";")+(d||"")}function a(a,b,c,d){b+=":",a.style.cssText=(b+o.join(c+";"+b)).slice(0,-b.length)+(d||"")}var d=b.createElement("div"),e=b.createElement("div");a(d,"display","box","width:42px;padding:0;"),c(e,"box-flex","1","width:10px;"),d.appendChild(e),g.appendChild(d);var f=e.offsetWidth===42;d.removeChild(e),g.removeChild(d);return f},r.canvas=function(){var a=b.createElement("canvas");return a.getContext&&a.getContext("2d")},r.canvastext=function(){return e.canvas&&C(b.createElement("canvas").getContext("2d").fillText,"function")},r.webgl=function(){return!!a.WebGLRenderingContext},r.touch=function(){return"ontouchstart"in a||w("@media ("+o.join("touch-enabled),(")+"modernizr)")},r.geolocation=function(){return!!navigator.geolocation},r.postmessage=function(){return!!a.postMessage},r.websqldatabase=function(){var b=!!a.openDatabase;return b},r.indexedDB=function(){for(var b=-1,c=p.length;++b<c;){var d=p[b].toLowerCase();if(a[d+"_indexedDB"]||a[d+"IndexedDB"])return!0}return!1},r.hashchange=function(){return x("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},r.history=function(){return !!(a.history&&history.pushState)},r.draganddrop=function(){return x("dragstart")&&x("drop")},r.websockets=function(){return"WebSocket"in a},r.rgba=function(){A("background-color:rgba(150,255,150,.5)");return D(k.backgroundColor,"rgba")},r.hsla=function(){A("background-color:hsla(120,40%,100%,.5)");return D(k.backgroundColor,"rgba")||D(k.backgroundColor,"hsla")},r.multiplebgs=function(){A("background:url(//:),url(//:),red url(//:)");return(new RegExp("(url\\s*\\(.*?){3}")).test(k.background)},r.backgroundsize=function(){return F("backgroundSize")},r.borderimage=function(){return F("borderImage")},r.borderradius=function(){return F("borderRadius","",function(a){return D(a,"orderRadius")})},r.boxshadow=function(){return F("boxShadow")},r.textshadow=function(){return b.createElement("div").style.textShadow===""},r.opacity=function(){B("opacity:.55");return/^0.55$/.test(k.opacity)},r.cssanimations=function(){return F("animationName")},r.csscolumns=function(){return F("columnCount")},r.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";A((a+o.join(b+a)+o.join(c+a)).slice(0,-a.length));return D(k.backgroundImage,"gradient")},r.cssreflections=function(){return F("boxReflect")},r.csstransforms=function(){return!!E(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])},r.csstransforms3d=function(){var a=!!E(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);a&&"webkitPerspective"in g.style&&(a=w("@media ("+o.join("transform-3d),(")+"modernizr)"));return a},r.csstransitions=function(){return F("transitionProperty")},r.fontface=function(){var a,c,d=h||g,e=b.createElement("style"),f=b.implementation||{hasFeature:function(){return!1}};e.type="text/css",d.insertBefore(e,d.firstChild),a=e.sheet||e.styleSheet;var i=f.hasFeature("CSS2","")?function(b){if(!a||!b)return!1;var c=!1;try{a.insertRule(b,0),c=/src/i.test(a.cssRules[0].cssText),a.deleteRule(a.cssRules.length-1)}catch(d){}return c}:function(b){if(!a||!b)return!1;a.cssText=b;return a.cssText.length!==0&&/src/i.test(a.cssText)&&a.cssText.replace(/\r+|\n+/g,"").indexOf(b.split(" ")[0])===0};c=i('@font-face { font-family: "font"; src: url(data:,); }'),d.removeChild(e);return c},r.video=function(){var a=b.createElement("video"),c=!!a.canPlayType;if(c){c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"');var d='video/mp4; codecs="avc1.42E01E';c.h264=a.canPlayType(d+'"')||a.canPlayType(d+', mp4a.40.2"'),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"')}return c},r.audio=function(){var a=b.createElement("audio"),c=!!a.canPlayType;c&&(c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"'),c.mp3=a.canPlayType("audio/mpeg;"),c.wav=a.canPlayType('audio/wav; codecs="1"'),c.m4a=a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;"));return c},r.localstorage=function(){try{return!!localStorage.getItem}catch(a){return!1}},r.sessionstorage=function(){try{return!!sessionStorage.getItem}catch(a){return!1}},r.webWorkers=function(){return!!a.Worker},r.applicationcache=function(){return!!a.applicationCache},r.svg=function(){return!!b.createElementNS&&!!b.createElementNS(q.svg,"svg").createSVGRect},r.inlinesvg=function(){var a=b.createElement("div");a.innerHTML="<svg/>";return(a.firstChild&&a.firstChild.namespaceURI)==q.svg},r.smil=function(){return!!b.createElementNS&&/SVG/.test(n.call(b.createElementNS(q.svg,"animate")))},r.svgclippaths=function(){return!!b.createElementNS&&/SVG/.test(n.call(b.createElementNS(q.svg,"clipPath")))};for(var H in r)z(r,H)&&(v=H.toLowerCase(),e[v]=r[H](),u.push((e[v]?"":"no-")+v));e.input||G(),e.crosswindowmessaging=e.postmessage,e.historymanagement=e.history,e.addTest=function(a,b){a=a.toLowerCase();if(!e[a]){b=!!b(),g.className+=" "+(b?"":"no-")+a,e[a]=b;return e}},A(""),j=l=null,f&&a.attachEvent&&function(){var a=b.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function p(a,b){var c=-1,d=a.length,e,f=[];while(++c<d)e=a[c],(b=e.media||b)!="screen"&&f.push(p(e.imports,b),e.cssText);return f.join("")}function o(a){var b=-1;while(++b<e)a.createElement(d[b])}var c="abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",d=c.split("|"),e=d.length,f=new RegExp("(^|\\s)("+c+")","gi"),g=new RegExp("<(/*)("+c+")","gi"),h=new RegExp("(^|[^\\n]*?\\s)("+c+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),i=b.createDocumentFragment(),j=b.documentElement,k=j.firstChild,l=b.createElement("body"),m=b.createElement("style"),n;o(b),o(i),k.insertBefore(m,k.firstChild),m.media="print",a.attachEvent("onbeforeprint",function(){var a=-1,c=p(b.styleSheets,"all"),k=[],o;n=n||b.body;while((o=h.exec(c))!=null)k.push((o[1]+o[2]+o[3]).replace(f,"$1.iepp_$2")+o[4]);m.styleSheet.cssText=k.join("\n");while(++a<e){var q=b.getElementsByTagName(d[a]),r=q.length,s=-1;while(++s<r)q[s].className.indexOf("iepp_")<0&&(q[s].className+=" iepp_"+d[a])}i.appendChild(n),j.appendChild(l),l.className=n.className,l.innerHTML=n.innerHTML.replace(g,"<$1font")}),a.attachEvent("onafterprint",function(){l.innerHTML="",j.removeChild(l),j.appendChild(n),m.styleSheet.cssText=""})}(a,b),e._enableHTML5=f,e._version=d,g.className=g.className.replace(/\bno-js\b/,"")+" js "+u.join(" ");return e}(this,this.document)
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# Html5BoilerplateHelper will first check your ENV and
|
2
|
-
# then this yml file for these values. If they are both
|
3
|
-
# empty, the google code block will not be used.
|
4
|
-
#
|
5
|
-
# e.g. ENV['GOOGLE_ACCOUNT_ID'] || yml[:google_account_id]
|
6
|
-
# e.g. ENV['GOOGLE_API_KEY'] || yml[:google_api_key]
|
7
|
-
#
|
8
|
-
defaults: &defaults
|
9
|
-
:google_account_id: ''
|
10
|
-
:google_api_key: ''
|
11
|
-
|
12
|
-
:development:
|
13
|
-
<<: *defaults
|
14
|
-
|
15
|
-
:test:
|
16
|
-
<<: *defaults
|
17
|
-
|
18
|
-
:staging:
|
19
|
-
<<: *defaults
|
20
|
-
|
21
|
-
:production:
|
22
|
-
<<: *defaults
|
@@ -1,34 +0,0 @@
|
|
1
|
-
description "Special kit that allows you create Rails 3 apps quick"
|
2
|
-
|
3
|
-
# rails stylesheets
|
4
|
-
stylesheet 'rails/public/stylesheets/layout.scss', :to => 'rails/layout.scss'
|
5
|
-
stylesheet 'rails/public/stylesheets/screen.scss', :to => 'rails/screen.scss', :media => 'screen, projection'
|
6
|
-
stylesheet 'rails/public/stylesheets/print.scss', :to => 'rails/print.scss', :media => 'print'
|
7
|
-
stylesheet 'rails/public/stylesheets/wysiwyg.scss', :to => 'rails/wysiwyg.scss'
|
8
|
-
|
9
|
-
# playmo additional styles and files
|
10
|
-
stylesheet 'playmo/playmo.scss'
|
11
|
-
stylesheet 'playmo/article.scss'
|
12
|
-
image 'playmo/icons/outgoing.png'
|
13
|
-
|
14
|
-
# boilerplate stuff
|
15
|
-
html 'boilerplate/files/crossdomain.xml', :to => 'crossdomain.xml'
|
16
|
-
html 'boilerplate/files/robots.txt', :to => 'robots.txt'
|
17
|
-
html 'boilerplate/files/apple-touch-icon.png', :to => 'apple-touch-icon.png'
|
18
|
-
html 'boilerplate/files/favicon.ico', :to => 'favicon.ico'
|
19
|
-
|
20
|
-
stylesheet 'boilerplate/css/style.scss', :media => 'all'
|
21
|
-
|
22
|
-
javascript 'boilerplate/js/libs/dd_belatedpng.js', :to => 'lib/dd_belatedpng.js'
|
23
|
-
javascript 'boilerplate/js/libs/modernizr-1.7.min.js', :to => 'lib/modernizr-1.7.min.js'
|
24
|
-
|
25
|
-
# google analytics config
|
26
|
-
file 'google/google.yml', :to => 'config/google.yml'
|
27
|
-
|
28
|
-
help %Q{
|
29
|
-
|
30
|
-
}
|
31
|
-
|
32
|
-
welcome_message %Q{
|
33
|
-
|
34
|
-
}
|
@@ -1,69 +0,0 @@
|
|
1
|
-
@charset "utf-8";
|
2
|
-
/*===============================================================================================
|
3
|
-
|
4
|
-
Title : Playmo CSS Framework (https://github.com/tanraya/playmo)
|
5
|
-
Name : content.css
|
6
|
-
|
7
|
-
Default styles for content zone.
|
8
|
-
Content zone is a container with the assigned class ".article"
|
9
|
-
|
10
|
-
Do not define styles for site content zone here! If you want to define some styles
|
11
|
-
for site content zone, add it in screen.css stylesheet.
|
12
|
-
|
13
|
-
ATTENTION! DO NOT ADD YOUR CUSTOM STYLES INTO THIS FILE!
|
14
|
-
|
15
|
-
===============================================================================================*/
|
16
|
-
|
17
|
-
/* Hyperlinks */
|
18
|
-
|
19
|
-
/* Outgoing links */
|
20
|
-
.article a[href^=http] {
|
21
|
-
background: url(./icons/outgoing.png) no-repeat right center;
|
22
|
-
padding-right: 13px;
|
23
|
-
}
|
24
|
-
|
25
|
-
/* Email links */
|
26
|
-
.article a[href^=mailto] {
|
27
|
-
|
28
|
-
}
|
29
|
-
|
30
|
-
/* Direct links to files */
|
31
|
-
.article a[href$=pdf], content a.pdf { }
|
32
|
-
.article a[href$=zip], content a.zip { }
|
33
|
-
.article a[href$=rar], content a.rar { }
|
34
|
-
.article a[href$=tar], content a.tar { }
|
35
|
-
.article a[href$=mp3], content a.mp3 { }
|
36
|
-
|
37
|
-
/* Protocols */
|
38
|
-
.article a[href^=skype], content a.skype { }
|
39
|
-
.article a[href^=aim], content a.aim { }
|
40
|
-
|
41
|
-
/* Lists */
|
42
|
-
.article ol,
|
43
|
-
.article ul,
|
44
|
-
.article dl {
|
45
|
-
padding: 0;
|
46
|
-
margin: 0 0 18px 30px;
|
47
|
-
}
|
48
|
-
|
49
|
-
.article ul { list-style: square; }
|
50
|
-
.article ol { list-style: decimal; }
|
51
|
-
|
52
|
-
.article dl {}
|
53
|
-
.article dt {}
|
54
|
-
.article dd { margin: 0 0 0 30px; }
|
55
|
-
|
56
|
-
/* Tables */
|
57
|
-
.article table {
|
58
|
-
border-top: 1px solid #ddd;
|
59
|
-
border-left: 1px solid #ddd;
|
60
|
-
border-right: 1px solid #ddd;
|
61
|
-
width: 100%;
|
62
|
-
margin: 0 0 18px 0;
|
63
|
-
}
|
64
|
-
|
65
|
-
.article caption { font-style: italic; padding: 3px; }
|
66
|
-
.article th, .article td { padding: 3px; }
|
67
|
-
.article th { background: #eee; }
|
68
|
-
.article td { border-bottom: 1px solid #ddd; }
|
69
|
-
|
Binary file
|
@@ -1,20 +0,0 @@
|
|
1
|
-
/*===============================================================================================
|
2
|
-
|
3
|
-
Title : Playmo CSS Framework (https://github.com/tanraya/playmo)
|
4
|
-
Name : layout.css
|
5
|
-
|
6
|
-
Styles for pages layout, custom CSS styles for layout containers positioning.
|
7
|
-
Make the separation for home, domestic and other pages by define id for the 'body' tag.
|
8
|
-
|
9
|
-
Like:
|
10
|
-
|
11
|
-
body#main-page {}, body#about-page {}, body#products-page {}
|
12
|
-
|
13
|
-
===============================================================================================*/
|
14
|
-
body { background: #ddd; }
|
15
|
-
div#container {
|
16
|
-
width: 700px;
|
17
|
-
margin: 20px auto;
|
18
|
-
padding: 30px;
|
19
|
-
background: #fff;
|
20
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*===============================================================================================
|
2
|
-
|
3
|
-
Title : Playmo CSS Framework (https://github.com/tanraya/playmo)
|
4
|
-
Name : print.css
|
5
|
-
|
6
|
-
A standard location for print page styles.
|
7
|
-
You can add your styles here.
|
8
|
-
|
9
|
-
===============================================================================================*/
|
10
|
-
|
11
|
-
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/*===============================================================================================
|
2
|
-
|
3
|
-
Title : Playmo CSS Framework (https://github.com/tanraya/playmo)
|
4
|
-
Name : screen.css
|
5
|
-
|
6
|
-
Styles for the site's content zone.
|
7
|
-
You can put your custom content styles here or override
|
8
|
-
styles defined by framework as well.
|
9
|
-
|
10
|
-
Do not define styles for site layout here! If you want to define some styles
|
11
|
-
for site layout, add it in layout.css stylesheet.
|
12
|
-
|
13
|
-
===============================================================================================*/
|
14
|
-
|
@@ -1,19 +0,0 @@
|
|
1
|
-
/*===============================================================================================
|
2
|
-
|
3
|
-
Title : Playmo CSS Framework (https://github.com/tanraya/playmo)
|
4
|
-
Name : wysiwyg.css
|
5
|
-
|
6
|
-
Styles for wysiwyg editor content zone. Include this file in your
|
7
|
-
wysiwyg editing area.
|
8
|
-
|
9
|
-
===============================================================================================*/
|
10
|
-
|
11
|
-
/* Include css framework base styles */
|
12
|
-
@import url(./defaults/playmo.css?) screen,\(\);
|
13
|
-
|
14
|
-
/* Include css framework content styles */
|
15
|
-
@import url(./defaults/article.css?) screen,\(\);
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|