gravityframework 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/gravityframework/src/index.html +1 -21
- data/lib/gravityframework/src/public/stylesheets/css/style.css +1 -1
- data/lib/gravityframework/src/public/stylesheets/sass/lib/helpers/_forms.sass +1 -0
- data/lib/gravityframework/src/rakefile +0 -13
- data/lib/gravityframework/src/views/all_styles.slim +23 -17
- data/lib/gravityframework/src/views/index.slim +3 -1
- data/lib/gravityframework/version.rb +1 -1
- metadata +7 -7
@@ -1,21 +1 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html class='no-js' lang='en'>
|
3
|
-
<head>
|
4
|
-
<meta charset='utf-8' />
|
5
|
-
<title>Project Title</title>
|
6
|
-
<meta content='' name='description' />
|
7
|
-
<meta content='' name='author' />
|
8
|
-
<script src='http://html5shim.googlecode.com/svn/trunk/html5.js'></script>
|
9
|
-
<!-- Mobile Specific Meta Tags -->
|
10
|
-
<meta content='width=device-width; initial-scale=1.0; maximum-scale=1.0;' name='viewport' />
|
11
|
-
<!-- CSS -->
|
12
|
-
<link href='public/stylesheets/css/style.css' rel='stylesheet' type='text/css' />
|
13
|
-
</head>
|
14
|
-
<body>
|
15
|
-
<div id="container"><h1>Gravity Framework</h1></div>
|
16
|
-
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'></script>
|
17
|
-
<script src='http://ajax.cdnjs.com/ajax/libs/underscore.js/1.1.6/underscore-min.js'></script>
|
18
|
-
<script src='http://ajax.cdnjs.com/ajax/libs/backbone.js/0.3.3/backbone-min.js'></script>
|
19
|
-
<script src='javascripts/application.js'></script>
|
20
|
-
</body>
|
21
|
-
</html>
|
1
|
+
<!DOCTYPE html><html class="no-js" lang="en"><head><meta charset="utf-8"><title>Project Title</title><meta name="description"><meta name="author"><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><!-- Mobile Specific Meta Tags --><meta content="width=(device-width; initial-scale=1.0;)maximum-scale=1.0;" name="viewport"><!-- CSS --><link href="public/stylesheets/css/style.css" rel="stylesheet" type="text/css"></head><body><div id="container"><h1>Gravityframework</h1><p>Gravity is a framework for building better websites.</p><p>Get started by running "rake sass" at the terminal to start watching the sass files</p></div><script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script><script src="http://ajax.cdnjs.com/ajax/libs/underscore.js/1.1.6/underscore-min.js"></script><script src="http://ajax.cdnjs.com/ajax/libs/backbone.js/0.3.3/backbone-min.js"></script><script src="public/javascripts/application.js"></script></body></html>
|
@@ -1 +1 @@
|
|
1
|
-
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;width:100%}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}ins{background-color:#ff9;color:#000;text-decoration:none}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}textarea{overflow:auto}.ie6 legend,.ie7 legend{margin-left:-7px}input[wtype="radio"]{vertical-align:text-bottom}input[type="checkbox"]{vertical-align:bottom}.ie7 input[type="checkbox"]{vertical-align:baseline}.ie6 input{vertical-align:text-bottom}label,input[type="button"],input[type="submit"],input[type="image"],button{cursor:pointer}button,input,select,textarea{margin:0}body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea{line-height:20px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:gray;font-size:14px}h1,h2,h3,h4,h5{margin-bottom:20px;color:#333;font-weight:900}h1{font-size:30px;line-height:40px}h2{font-size:25px;line-height:20px}h3{font-size:20px;line-height:20px}h4{font-size:15px;line-height:20px}h5{font-size:10px;line-height:20px}p{margin-bottom:20px}ul,ol{margin-bottom:20px}li{margin-bottom:5px;margin-left:14px}ul li ul{margin-left:20px;margin-top:10px;margin-bottom:10px}dl{margin-bottom:20px}dl dt{font-weight:bold;margin-bottom:10px}dl dd{margin-bottom:10px}abbr,acronym{border-bottom:1px dotted #000}address{font-style:italic}del{color:#000}a{color:#08b5fb;text-decoration:none;-moz-transition:all 0.5s ease-in-out;-o-transition:all 0.5s ease-in-out;-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out;cursor:pointer}a:hover{text-decoration:none}blockquote{display:block;font-weight:bold;border-left:4px solid #eee;padding-left:strong;font-weight:bold}em,dfn{font-style:italic}dfn{font-weight:bold}pre,code{margin:10px 0;white-space:pre}pre,code,tt{font:12px Monaco,Andale Mono,Courier New,monospace;line-height:1.5;padding:0 3px 2px;background:#fee9cc}tt{display:block}q{font-style:italic;font-weight:bold;font-family:"Georgia",Times New Roman,Times,sans-serif}cite{display:block;font-weight:bold}img{margin-bottom:10px}figcaption{display:block;font-weight:bold;font-style:italic}.span-1{float:left;width:60px;margin-right:0;margin-right:20px}.span-1:last-child{margin-right:0}.span-2{float:left;width:140px;margin-right:20px}.span-2:last-child{margin-right:0}.span-3{float:left;width:220px;margin-right:20px}.span-3:last-child{margin-right:0}.span-4{float:left;width:300px;margin-right:20px}.span-4:last-child{margin-right:0}.span-5{float:left;width:380px;margin-right:20px}.span-5:last-child{margin-right:0}.span-6{float:left;width:460px;margin-right:20px}.span-6:last-child{margin-right:0}.span-7{float:left;width:540px;margin-right:20px}.span-7:last-child{margin-right:0}.span-8{float:left;width:620px;margin-right:20px}.span-8:last-child{margin-right:0}.span-9{float:left;width:700px;margin-right:20px}.span-9:last-child{margin-right:0}.span-10{float:left;width:780px;margin-right:20px}.span-10:last-child{margin-right:0}.span-11{float:left;width:860px;margin-right:20px}.span-11:last-child{margin-right:0}.span-12{float:left;width:940px;margin-right:20px}.span-12:last-child{margin-right:0}.last{margin-right:0 !important}table{margin-bottom:10px;width:100%}th{font-weight:bold;text-align:left;border-bottom:4px solid #666}th,td{padding:10px}tr:nth-child(even){background-color:#f5f5f5}tfoot{font-style:italic}caption{background:#ffc}.wrap{width:940px;margin:0 auto}.clear{clear:both}.center{text-align:center}.uppercase{text-transform:uppercase}.titlecase{text-transform:capitalize}.invisible{visibility:hidden}::-moz-focus-inner{border:0;padding:0}input[type="search"]::-webkit-search-decoration{display:none}form{margin-bottom:20px}fieldset{margin-bottom:20px}input[type="text"]:focus,input[type="password"]:focus,input[type="email"]:focus,input[type="tel"]:focus,textarea:focus{border:1px solid #aaa;color:#444}textarea{min-height:100px;resize:none;overflow:auto;width:100%}label,legend{display:block;font-weight:bold;font-size:13px}select{width:100%}input[type="checkbox"]{display:inline}label span,legend span{font-weight:normal;font-size:13px;color:#444}input,button,select,textarea{vertical-align:middle}input[type="radio"],input[type="checkbox"]{position:relative;vertical-align:top;top:3px;top:0 \0;*top:-3px;margin-right:5px}@media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 1024px){input[type="radio"],input[type="checkbox"]{vertical-align:baseline;top:2px}}@media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 480px){input[type="radio"],input[type="checkbox"]{vertical-align:baseline;top:0}}@media (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 480px){input[type="radio"],input[type="checkbox"]{vertical-align:baseline;top:0}}textarea,select,input[type="date"],input[type="datetime"],input[type="datetime-local"],input[type="email"],input[type="month"],input[type="number"],input[type="password"],input[type="search"],input[type="tel"],input[type="text"],input[type="time"],input[type="url"],input[type="week"]{-webkit-appearance:none;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-moz-background-clip:padding;-webkit-background-clip:padding;background-clip:padding-box;border:1px solid #ccc;border-color:#ccc #ccc #ccc;color:#000;padding:5px;outline:none;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;font:12px "Helvetica Neue",Helvetica,Arial,sans-serif;margin:0 0 20px 0;width:100%;display:block;background:#fafafa;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#fff));background:-moz-linear-gradient(top, #fafafa, #fff);*padding-top:2px;*padding-bottom:1px;*height:auto}::-webkit-input-placeholder{color:#000}input:-moz-placeholder,textarea:-moz-placeholder{color:#000}:invalid{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}@media (-webkit-min-device-pixel-ratio: 0){select[size],select[multiple]{background-image:none;padding:0}::-webkit-validation-bubble-message{box-shadow:rgba(0,0,0,0.5) 0 0 5px;background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #666), color-stop(1, #000));border:#ccc;color:#fff;font:"Helvetica Neue",Helvetica,Arial,sans-serif;padding:15px 15px 17px;text-shadow:#000 0 0 1px}::-webkit-validation-bubble-top-outer-arrow,::-webkit-validation-bubble-top-inner-arrow{display:none}}optgroup{color:#000;font-style:normal;font-weight:normal}button[type=submit],input[type='submit']{padding:7px 12px;text-align:center;font-weight:bold;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;background:#111;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#111), to(#333));background:-moz-linear-gradient(top, #111, #333);border:0;color:#fff}.button{border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;background:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#e6e6e6), to(#ccc));background:-moz-linear-gradient(top, #e6e6e6, #ccc);cursor:pointer;font-weight:bold;color:#333;display:inline-block;border:1px solid #bfbfbf;text-align:center;padding:4px 12px;margin:0 10px 20px 0;min-width:80px}.button:hover{background:#d9d9d9;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#d9d9d9), to(#e6e6e6));background:-moz-linear-gradient(top, #d9d9d9, #e6e6e6)}.button.main{border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;background:#17b8fb;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#17b8fb), to(#049cdb));background:-moz-linear-gradient(top, #17b8fb, #049cdb);cursor:pointer;font-weight:bold;color:#fff;display:inline-block;border:1px solid #048ac2;text-align:center;padding:4px 12px;margin:0 10px 20px 0;min-width:80px}.button.main:hover{background:#04aef4;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#04aef4), to(#17b8fb));background:-moz-linear-gradient(top, #04aef4, #17b8fb)}.button.delete{border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;background:#c83025;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#c83025), to(#9d261d));background:-moz-linear-gradient(top, #c83025, #9d261d);cursor:pointer;font-weight:bold;color:#fff;display:inline-block;border:1px solid #872119;text-align:center;padding:4px 12px;margin:0 10px 20px 0;min-width:80px}.button.delete:hover{background:#b32b21;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#b32b21), to(#c83025));background:-moz-linear-gradient(top, #b32b21, #c83025)}.pagination li{display:block;float:left;padding:5px 8px;border:1px solid #ccc;margin:0 2px 0;list-style:none;cursor:pointer}.pagination li:hover{background:#f5f5f5}@media only screen and (min-width: 768px) and (max-width: 959px){#container{width:748px}.col-1{float:left;width:44px;margin-right:0;margin-right:20px}.col-1:last-child{margin-right:0}.col-2{float:left;width:108px;margin-right:20px}.col-2:last-child{margin-right:0}.col-3{float:left;width:172px;margin-right:20px}.col-3:last-child{margin-right:0}.col-4{float:left;width:236px;margin-right:20px}.col-4:last-child{margin-right:0}.col-5{float:left;width:300px;margin-right:20px}.col-5:last-child{margin-right:0}.col-6{float:left;width:364px;margin-right:20px}.col-6:last-child{margin-right:0}.col-7{float:left;width:428px;margin-right:20px}.col-7:last-child{margin-right:0}.col-8{float:left;width:492px;margin-right:20px}.col-8:last-child{margin-right:0}.col-9{float:left;width:556px;margin-right:20px}.col-9:last-child{margin-right:0}.col-10{float:left;width:620px;margin-right:20px}.col-10:last-child{margin-right:0}.col-11{float:left;width:684px;margin-right:20px}.col-11:last-child{margin-right:0}.col-12{float:left;width:748px;margin-right:20px}.col-12:last-child{margin-right:0}}@media only screen and (max-width: 767px){#container{width:300px}.col-1{width:280px;margin:0 10px}.col-2{width:280px;margin:0 10px}.col-3{width:280px;margin:0 10px}.col-4{width:280px;margin:0 10px}.col-5{width:280px;margin:0 10px}.col-6{width:280px;margin:0 10px}.col-7{width:280px;margin:0 10px}.col-8{width:280px;margin:0 10px}.col-9{width:280px;margin:0 10px}.col-10{width:280px;margin:0 10px}.col-11{width:280px;margin:0 10px}.col-12{width:280px;margin:0 10px}}@media only screen and (min-width: 480px) and (max-width: 767px){#container{width:480px}.col-1{width:460px;margin:0 10px}.col-2{width:460px;margin:0 10px}.col-3{width:460px;margin:0 10px}.col-4{width:460px;margin:0 10px}.col-5{width:460px;margin:0 10px}.col-6{width:460px;margin:0 10px}.col-7{width:460px;margin:0 10px}.col-8{width:460px;margin:0 10px}.col-9{width:460px;margin:0 10px}.col-10{width:460px;margin:0 10px}.col-11{width:460px;margin:0 10px}.col-12{width:460px;margin:0 10px}}.error{padding:5px 20px;background:#ccc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#ccc), to(#e6e6e6));background:-moz-linear-gradient(top, #ccc, #e6e6e6);border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px}.success{color:#fff;background:#62bc62;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#62bc62), to(#a9dba9));background:-moz-linear-gradient(top, #62bc62, #a9dba9)}#container{width:940px;margin:0 auto;padding:20px 0;overflow:hidden}body{background:#fff}section{margin-bottom:20px;overflow:hidden}h1,h2,h3,h4,h5,h6,p,li a{text-shadow:1px 1px 1px #fff}footer p{text-align:center}@media only screen and (min-width: 768px) and (max-width: 959px){#container{width:748px}.col-1{float:left;width:44px;margin-right:0;margin-right:20px}.col-1:last-child{margin-right:0}.col-2{float:left;width:108px;margin-right:20px}.col-2:last-child{margin-right:0}.col-3{float:left;width:172px;margin-right:20px}.col-3:last-child{margin-right:0}.col-4{float:left;width:236px;margin-right:20px}.col-4:last-child{margin-right:0}.col-5{float:left;width:300px;margin-right:20px}.col-5:last-child{margin-right:0}.col-6{float:left;width:364px;margin-right:20px}.col-6:last-child{margin-right:0}.col-7{float:left;width:428px;margin-right:20px}.col-7:last-child{margin-right:0}.col-8{float:left;width:492px;margin-right:20px}.col-8:last-child{margin-right:0}.col-9{float:left;width:556px;margin-right:20px}.col-9:last-child{margin-right:0}.col-10{float:left;width:620px;margin-right:20px}.col-10:last-child{margin-right:0}.col-11{float:left;width:684px;margin-right:20px}.col-11:last-child{margin-right:0}.col-12{float:left;width:748px;margin-right:20px}.col-12:last-child{margin-right:0}}@media only screen and (max-width: 767px){#container{width:300px}.col-1{width:280px;margin:0 10px}.col-2{width:280px;margin:0 10px}.col-3{width:280px;margin:0 10px}.col-4{width:280px;margin:0 10px}.col-5{width:280px;margin:0 10px}.col-6{width:280px;margin:0 10px}.col-7{width:280px;margin:0 10px}.col-8{width:280px;margin:0 10px}.col-9{width:280px;margin:0 10px}.col-10{width:280px;margin:0 10px}.col-11{width:280px;margin:0 10px}.col-12{width:280px;margin:0 10px}}@media only screen and (min-width: 480px) and (max-width: 767px){#container{width:480px}.col-1{width:460px;margin:0 10px}.col-2{width:460px;margin:0 10px}.col-3{width:460px;margin:0 10px}.col-4{width:460px;margin:0 10px}.col-5{width:460px;margin:0 10px}.col-6{width:460px;margin:0 10px}.col-7{width:460px;margin:0 10px}.col-8{width:460px;margin:0 10px}.col-9{width:460px;margin:0 10px}.col-10{width:460px;margin:0 10px}.col-11{width:460px;margin:0 10px}.col-12{width:460px;margin:0 10px}}
|
1
|
+
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;width:100%}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}ins{background-color:#ff9;color:#000;text-decoration:none}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}textarea{overflow:auto}.ie6 legend,.ie7 legend{margin-left:-7px}input[wtype="radio"]{vertical-align:text-bottom}input[type="checkbox"]{vertical-align:bottom}.ie7 input[type="checkbox"]{vertical-align:baseline}.ie6 input{vertical-align:text-bottom}label,input[type="button"],input[type="submit"],input[type="image"],button{cursor:pointer}button,input,select,textarea{margin:0}body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea{line-height:20px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:gray;font-size:14px}h1,h2,h3,h4,h5{margin-bottom:20px;color:#333;font-weight:900}h1{font-size:30px;line-height:40px}h2{font-size:25px;line-height:20px}h3{font-size:20px;line-height:20px}h4{font-size:15px;line-height:20px}h5{font-size:10px;line-height:20px}p{margin-bottom:20px}ul,ol{margin-bottom:20px}li{margin-bottom:5px;margin-left:14px}ul li ul{margin-left:20px;margin-top:10px;margin-bottom:10px}dl{margin-bottom:20px}dl dt{font-weight:bold;margin-bottom:10px}dl dd{margin-bottom:10px}abbr,acronym{border-bottom:1px dotted #000}address{font-style:italic}del{color:#000}a{color:#08b5fb;text-decoration:none;-moz-transition:all 0.5s ease-in-out;-o-transition:all 0.5s ease-in-out;-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out;cursor:pointer}a:hover{text-decoration:none}blockquote{display:block;font-weight:bold;border-left:4px solid #eee;padding-left:strong;font-weight:bold}em,dfn{font-style:italic}dfn{font-weight:bold}pre,code{margin:10px 0;white-space:pre}pre,code,tt{font:12px Monaco,Andale Mono,Courier New,monospace;line-height:1.5;padding:0 3px 2px;background:#fee9cc}tt{display:block}q{font-style:italic;font-weight:bold;font-family:"Georgia",Times New Roman,Times,sans-serif}cite{display:block;font-weight:bold}img{margin-bottom:10px}figcaption{display:block;font-weight:bold;font-style:italic}.span-1{float:left;width:60px;margin-right:0;margin-right:20px}.span-1:last-child{margin-right:0}.span-2{float:left;width:140px;margin-right:20px}.span-2:last-child{margin-right:0}.span-3{float:left;width:220px;margin-right:20px}.span-3:last-child{margin-right:0}.span-4{float:left;width:300px;margin-right:20px}.span-4:last-child{margin-right:0}.span-5{float:left;width:380px;margin-right:20px}.span-5:last-child{margin-right:0}.span-6{float:left;width:460px;margin-right:20px}.span-6:last-child{margin-right:0}.span-7{float:left;width:540px;margin-right:20px}.span-7:last-child{margin-right:0}.span-8{float:left;width:620px;margin-right:20px}.span-8:last-child{margin-right:0}.span-9{float:left;width:700px;margin-right:20px}.span-9:last-child{margin-right:0}.span-10{float:left;width:780px;margin-right:20px}.span-10:last-child{margin-right:0}.span-11{float:left;width:860px;margin-right:20px}.span-11:last-child{margin-right:0}.span-12{float:left;width:940px;margin-right:20px}.span-12:last-child{margin-right:0}.last{margin-right:0 !important}table{margin-bottom:10px;width:100%}th{font-weight:bold;text-align:left;border-bottom:4px solid #666}th,td{padding:10px}tr:nth-child(even){background-color:#f5f5f5}tfoot{font-style:italic}caption{background:#ffc}.wrap{width:940px;margin:0 auto}.clear{clear:both}.center{text-align:center}.uppercase{text-transform:uppercase}.titlecase{text-transform:capitalize}.invisible{visibility:hidden}::-moz-focus-inner{border:0;padding:0}input[type="search"]::-webkit-search-decoration{display:none}form{margin-bottom:20px}fieldset{margin-bottom:20px}input[type="text"]:focus,input[type="password"]:focus,input[type="email"]:focus,input[type="tel"]:focus,textarea:focus{border:1px solid #aaa;color:#444}textarea{min-height:100px;resize:none;overflow:auto;width:100%}label,legend{display:block;font-weight:bold;font-size:13px}select{width:100%}input[type="checkbox"]{display:inline}label span,legend span{font-weight:normal;font-size:13px;color:#444}input,button,select,textarea{vertical-align:middle;margin-bottom:20px}input[type="radio"],input[type="checkbox"]{position:relative;vertical-align:top;top:3px;top:0 \0;*top:-3px;margin-right:5px}@media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 1024px){input[type="radio"],input[type="checkbox"]{vertical-align:baseline;top:2px}}@media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 480px){input[type="radio"],input[type="checkbox"]{vertical-align:baseline;top:0}}@media (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 480px){input[type="radio"],input[type="checkbox"]{vertical-align:baseline;top:0}}textarea,select,input[type="date"],input[type="datetime"],input[type="datetime-local"],input[type="email"],input[type="month"],input[type="number"],input[type="password"],input[type="search"],input[type="tel"],input[type="text"],input[type="time"],input[type="url"],input[type="week"]{-webkit-appearance:none;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-moz-background-clip:padding;-webkit-background-clip:padding;background-clip:padding-box;border:1px solid #ccc;border-color:#ccc #ccc #ccc;color:#000;padding:5px;outline:none;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;font:12px "Helvetica Neue",Helvetica,Arial,sans-serif;margin:0 0 20px 0;width:100%;display:block;background:#fafafa;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#fff));background:-moz-linear-gradient(top, #fafafa, #fff);*padding-top:2px;*padding-bottom:1px;*height:auto}::-webkit-input-placeholder{color:#000}input:-moz-placeholder,textarea:-moz-placeholder{color:#000}:invalid{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}@media (-webkit-min-device-pixel-ratio: 0){select[size],select[multiple]{background-image:none;padding:0}::-webkit-validation-bubble-message{box-shadow:rgba(0,0,0,0.5) 0 0 5px;background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #666), color-stop(1, #000));border:#ccc;color:#fff;font:"Helvetica Neue",Helvetica,Arial,sans-serif;padding:15px 15px 17px;text-shadow:#000 0 0 1px}::-webkit-validation-bubble-top-outer-arrow,::-webkit-validation-bubble-top-inner-arrow{display:none}}optgroup{color:#000;font-style:normal;font-weight:normal}button[type=submit],input[type='submit']{padding:7px 12px;text-align:center;font-weight:bold;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;background:#111;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#111), to(#333));background:-moz-linear-gradient(top, #111, #333);border:0;color:#fff}.button{border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;background:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#e6e6e6), to(#ccc));background:-moz-linear-gradient(top, #e6e6e6, #ccc);cursor:pointer;font-weight:bold;color:#333;display:inline-block;border:1px solid #bfbfbf;text-align:center;padding:4px 12px;margin:0 10px 20px 0;min-width:80px}.button:hover{background:#d9d9d9;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#d9d9d9), to(#e6e6e6));background:-moz-linear-gradient(top, #d9d9d9, #e6e6e6)}.button.main{border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;background:#17b8fb;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#17b8fb), to(#049cdb));background:-moz-linear-gradient(top, #17b8fb, #049cdb);cursor:pointer;font-weight:bold;color:#fff;display:inline-block;border:1px solid #048ac2;text-align:center;padding:4px 12px;margin:0 10px 20px 0;min-width:80px}.button.main:hover{background:#04aef4;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#04aef4), to(#17b8fb));background:-moz-linear-gradient(top, #04aef4, #17b8fb)}.button.delete{border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;background:#c83025;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#c83025), to(#9d261d));background:-moz-linear-gradient(top, #c83025, #9d261d);cursor:pointer;font-weight:bold;color:#fff;display:inline-block;border:1px solid #872119;text-align:center;padding:4px 12px;margin:0 10px 20px 0;min-width:80px}.button.delete:hover{background:#b32b21;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#b32b21), to(#c83025));background:-moz-linear-gradient(top, #b32b21, #c83025)}.pagination li{display:block;float:left;padding:5px 8px;border:1px solid #ccc;margin:0 2px 0;list-style:none;cursor:pointer}.pagination li:hover{background:#f5f5f5}@media only screen and (min-width: 768px) and (max-width: 959px){#container{width:748px}.col-1{float:left;width:44px;margin-right:0;margin-right:20px}.col-1:last-child{margin-right:0}.col-2{float:left;width:108px;margin-right:20px}.col-2:last-child{margin-right:0}.col-3{float:left;width:172px;margin-right:20px}.col-3:last-child{margin-right:0}.col-4{float:left;width:236px;margin-right:20px}.col-4:last-child{margin-right:0}.col-5{float:left;width:300px;margin-right:20px}.col-5:last-child{margin-right:0}.col-6{float:left;width:364px;margin-right:20px}.col-6:last-child{margin-right:0}.col-7{float:left;width:428px;margin-right:20px}.col-7:last-child{margin-right:0}.col-8{float:left;width:492px;margin-right:20px}.col-8:last-child{margin-right:0}.col-9{float:left;width:556px;margin-right:20px}.col-9:last-child{margin-right:0}.col-10{float:left;width:620px;margin-right:20px}.col-10:last-child{margin-right:0}.col-11{float:left;width:684px;margin-right:20px}.col-11:last-child{margin-right:0}.col-12{float:left;width:748px;margin-right:20px}.col-12:last-child{margin-right:0}}@media only screen and (max-width: 767px){#container{width:300px}.col-1{width:280px;margin:0 10px}.col-2{width:280px;margin:0 10px}.col-3{width:280px;margin:0 10px}.col-4{width:280px;margin:0 10px}.col-5{width:280px;margin:0 10px}.col-6{width:280px;margin:0 10px}.col-7{width:280px;margin:0 10px}.col-8{width:280px;margin:0 10px}.col-9{width:280px;margin:0 10px}.col-10{width:280px;margin:0 10px}.col-11{width:280px;margin:0 10px}.col-12{width:280px;margin:0 10px}}@media only screen and (min-width: 480px) and (max-width: 767px){#container{width:480px}.col-1{width:460px;margin:0 10px}.col-2{width:460px;margin:0 10px}.col-3{width:460px;margin:0 10px}.col-4{width:460px;margin:0 10px}.col-5{width:460px;margin:0 10px}.col-6{width:460px;margin:0 10px}.col-7{width:460px;margin:0 10px}.col-8{width:460px;margin:0 10px}.col-9{width:460px;margin:0 10px}.col-10{width:460px;margin:0 10px}.col-11{width:460px;margin:0 10px}.col-12{width:460px;margin:0 10px}}.error{padding:5px 20px;background:#ccc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#ccc), to(#e6e6e6));background:-moz-linear-gradient(top, #ccc, #e6e6e6);border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px}.success{color:#fff;background:#62bc62;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to');background:-webkit-gradient(linear, left top, left bottom, from(#62bc62), to(#a9dba9));background:-moz-linear-gradient(top, #62bc62, #a9dba9)}#container{width:940px;margin:0 auto;padding:20px 0;overflow:hidden}body{background:#fff}section{margin-bottom:20px;overflow:hidden}h1,h2,h3,h4,h5,h6,p,li a{text-shadow:1px 1px 1px #fff}footer p{text-align:center}@media only screen and (min-width: 768px) and (max-width: 959px){#container{width:748px}.col-1{float:left;width:44px;margin-right:0;margin-right:20px}.col-1:last-child{margin-right:0}.col-2{float:left;width:108px;margin-right:20px}.col-2:last-child{margin-right:0}.col-3{float:left;width:172px;margin-right:20px}.col-3:last-child{margin-right:0}.col-4{float:left;width:236px;margin-right:20px}.col-4:last-child{margin-right:0}.col-5{float:left;width:300px;margin-right:20px}.col-5:last-child{margin-right:0}.col-6{float:left;width:364px;margin-right:20px}.col-6:last-child{margin-right:0}.col-7{float:left;width:428px;margin-right:20px}.col-7:last-child{margin-right:0}.col-8{float:left;width:492px;margin-right:20px}.col-8:last-child{margin-right:0}.col-9{float:left;width:556px;margin-right:20px}.col-9:last-child{margin-right:0}.col-10{float:left;width:620px;margin-right:20px}.col-10:last-child{margin-right:0}.col-11{float:left;width:684px;margin-right:20px}.col-11:last-child{margin-right:0}.col-12{float:left;width:748px;margin-right:20px}.col-12:last-child{margin-right:0}}@media only screen and (max-width: 767px){#container{width:300px}.col-1{width:280px;margin:0 10px}.col-2{width:280px;margin:0 10px}.col-3{width:280px;margin:0 10px}.col-4{width:280px;margin:0 10px}.col-5{width:280px;margin:0 10px}.col-6{width:280px;margin:0 10px}.col-7{width:280px;margin:0 10px}.col-8{width:280px;margin:0 10px}.col-9{width:280px;margin:0 10px}.col-10{width:280px;margin:0 10px}.col-11{width:280px;margin:0 10px}.col-12{width:280px;margin:0 10px}}@media only screen and (min-width: 480px) and (max-width: 767px){#container{width:480px}.col-1{width:460px;margin:0 10px}.col-2{width:460px;margin:0 10px}.col-3{width:460px;margin:0 10px}.col-4{width:460px;margin:0 10px}.col-5{width:460px;margin:0 10px}.col-6{width:460px;margin:0 10px}.col-7{width:460px;margin:0 10px}.col-8{width:460px;margin:0 10px}.col-9{width:460px;margin:0 10px}.col-10{width:460px;margin:0 10px}.col-11{width:460px;margin:0 10px}.col-12{width:460px;margin:0 10px}}
|
@@ -10,16 +10,3 @@ require 'fileutils'
|
|
10
10
|
system "sass --watch public/stylesheets/scss:public/stylesheets/css --style compressed"
|
11
11
|
end
|
12
12
|
|
13
|
-
desc "Compile a specific slim template"
|
14
|
-
task :render
|
15
|
-
end
|
16
|
-
|
17
|
-
desc "Watch coffeescript files for changes"
|
18
|
-
task :coffeescript
|
19
|
-
end
|
20
|
-
|
21
|
-
desc "Compress all javascripts using sprockets"
|
22
|
-
task :compile-js
|
23
|
-
end
|
24
|
-
|
25
|
-
|
@@ -28,8 +28,7 @@ html class="no-js" lang="en"
|
|
28
28
|
h3 Paragraph Styles
|
29
29
|
p Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes
|
30
30
|
blockquote A blockquote element or quote in here
|
31
|
-
|
32
|
-
|
31
|
+
|
33
32
|
h1 Lists
|
34
33
|
|
35
34
|
.span-4
|
@@ -48,10 +47,10 @@ html class="no-js" lang="en"
|
|
48
47
|
|
49
48
|
.span-4.last
|
50
49
|
h2 Definition Lists
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
50
|
+
dl
|
51
|
+
dt Title
|
52
|
+
dd Some definition
|
53
|
+
dd Another item
|
55
54
|
|
56
55
|
section
|
57
56
|
h1 Pagination
|
@@ -63,24 +62,31 @@ html class="no-js" lang="en"
|
|
63
62
|
li 3
|
64
63
|
li 4
|
65
64
|
li next
|
66
|
-
|
67
|
-
section
|
68
|
-
h1 Error Messages
|
69
|
-
p Simple error message helpers for application design
|
70
|
-
|
71
|
-
.error.success
|
72
|
-
Success you completed some action
|
73
|
-
|
65
|
+
|
74
66
|
section
|
75
67
|
h1 Forms
|
76
68
|
p Here are the default gravity forms
|
77
69
|
|
78
70
|
form
|
79
|
-
|
80
|
-
input
|
71
|
+
label Standard input
|
72
|
+
input placeholder="Placeholder text"
|
81
73
|
|
82
74
|
label Submit input
|
83
|
-
input type="
|
75
|
+
input.button type="submit"
|
76
|
+
|
77
|
+
label Email input
|
78
|
+
input type="email" placeholder="Enter your email..."
|
79
|
+
|
80
|
+
section
|
81
|
+
label Checkbox
|
82
|
+
input type="checkbox"
|
83
|
+
label Checkbox
|
84
|
+
input type="checkbox"
|
85
|
+
|
86
|
+
label Radio buttons
|
87
|
+
input type="radio"
|
88
|
+
|
89
|
+
textarea
|
84
90
|
|
85
91
|
|
86
92
|
section
|
@@ -15,7 +15,9 @@ html class="no-js" lang="en"
|
|
15
15
|
|
16
16
|
body
|
17
17
|
#container
|
18
|
-
|
18
|
+
h1 Gravityframework
|
19
|
+
p Gravity is a framework for building better websites.
|
20
|
+
p Get started by running "rake sass" at the terminal to start watching the sass files
|
19
21
|
|
20
22
|
script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"
|
21
23
|
script src="http://ajax.cdnjs.com/ajax/libs/underscore.js/1.1.6/underscore-min.js"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gravityframework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-08-26 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|
16
|
-
requirement: &
|
16
|
+
requirement: &25125864 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *25125864
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
requirement: &
|
27
|
+
requirement: &25125612 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *25125612
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: sprockets
|
38
|
-
requirement: &
|
38
|
+
requirement: &25125360 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *25125360
|
47
47
|
description: Gravity is a CSS framework by Owain Lewis
|
48
48
|
email:
|
49
49
|
- owain@owainlewis.com
|