pondasee 1.0.rc.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/LICENSE +2 -0
  2. data/README.mkdn +2 -0
  3. data/VERSION +1 -0
  4. data/lib/pondasee.rb +1 -0
  5. data/stylesheets/_pondasee.scss +12 -0
  6. data/stylesheets/pondasee/_mixins.scss +63 -0
  7. data/stylesheets/pondasee/_settings.scss +3 -0
  8. data/stylesheets/pondasee/_variable.scss +97 -0
  9. data/stylesheets/pondasee/base.scss +24 -0
  10. data/stylesheets/pondasee/font-awesome.scss +295 -0
  11. data/stylesheets/pondasee/forms.scss +345 -0
  12. data/stylesheets/pondasee/grid.scss +37 -0
  13. data/stylesheets/pondasee/images.scss +168 -0
  14. data/stylesheets/pondasee/media-queries.scss +56 -0
  15. data/stylesheets/pondasee/mixins/_basic-buttons.scss +158 -0
  16. data/stylesheets/pondasee/mixins/_fonts.scss +31 -0
  17. data/stylesheets/pondasee/mixins/_helper.scss +56 -0
  18. data/stylesheets/pondasee/mixins/_simple-responsive-grid.scss +66 -0
  19. data/stylesheets/pondasee/mixins/_zurb-button.scss +105 -0
  20. data/stylesheets/pondasee/reset.scss +72 -0
  21. data/stylesheets/pondasee/table.scss +40 -0
  22. data/stylesheets/pondasee/typography.scss +217 -0
  23. data/stylesheets/pondasee/utilities.scss +181 -0
  24. data/templates/project/config.rb +46 -0
  25. data/templates/project/fonts/fontawesome-webfont.eot +0 -0
  26. data/templates/project/fonts/fontawesome-webfont.svg +255 -0
  27. data/templates/project/fonts/fontawesome-webfont.ttf +0 -0
  28. data/templates/project/fonts/fontawesome-webfont.woff +0 -0
  29. data/templates/project/humans.txt +42 -0
  30. data/templates/project/img/button.png +0 -0
  31. data/templates/project/img/overlay-button.png +0 -0
  32. data/templates/project/img/select_arrow.gif +0 -0
  33. data/templates/project/index.html +67 -0
  34. data/templates/project/js/methods.js +3 -0
  35. data/templates/project/js/plugins.js +21 -0
  36. data/templates/project/js/vendor/jquery-1.7.2.min.js +4 -0
  37. data/templates/project/js/vendor/modernizr-2.5.3.min.js +4 -0
  38. data/templates/project/js/vendor/nwmatcher-1.2.5-min.js +7 -0
  39. data/templates/project/js/vendor/selectivizr-min.js +5 -0
  40. data/templates/project/manifest.rb +52 -0
  41. data/templates/project/sass/partials/_base.scss +5 -0
  42. data/templates/project/sass/partials/_font-awesome.scss +5 -0
  43. data/templates/project/sass/partials/_forms.scss +5 -0
  44. data/templates/project/sass/partials/_grid.scss +6 -0
  45. data/templates/project/sass/partials/_ie.scss +7 -0
  46. data/templates/project/sass/partials/_images.scss +5 -0
  47. data/templates/project/sass/partials/_main.scss +12 -0
  48. data/templates/project/sass/partials/_media-queries.scss +6 -0
  49. data/templates/project/sass/partials/_mixins.scss +7 -0
  50. data/templates/project/sass/partials/_plugins.scss +4 -0
  51. data/templates/project/sass/partials/_reset.scss +5 -0
  52. data/templates/project/sass/partials/_table.scss +5 -0
  53. data/templates/project/sass/partials/_typography.scss +5 -0
  54. data/templates/project/sass/partials/_utilities.scss +5 -0
  55. data/templates/project/sass/partials/main/_footer.scss +10 -0
  56. data/templates/project/sass/partials/main/_header.scss +10 -0
  57. data/templates/project/sass/partials/main/_menus.scss +12 -0
  58. data/templates/project/sass/skins/default.scss +11 -0
  59. data/templates/project/sass/style.scss +120 -0
  60. data/templates/project/skins/default.css +3 -0
  61. data/templates/project/style.css +0 -0
  62. metadata +137 -0
@@ -0,0 +1,158 @@
1
+ // Basic button Mixins
2
+ // Mixins to create a simple and basic buttons
3
+ // Author : Satrya - @msattt
4
+ // URL : http://tokokoo.com
5
+ //
6
+ // Usage:
7
+ //
8
+ // Basic button
9
+ // .btn {
10
+ // @include button( #fff, #333 );
11
+ // }
12
+ //
13
+ // Button with blue background color
14
+ // .blue {
15
+ // @include button-base( #2d48c0, #fff, true, dark );
16
+ // }
17
+ //
18
+ // Button with black background color
19
+ // .black {
20
+ // @include button-base( #333, #fff, true, dark );
21
+ // }
22
+ //
23
+ // Button with green background color
24
+ // .green {
25
+ // @include button-base( #0fdb30, #fff, true, dark );
26
+ // }
27
+ //
28
+ // Button with small size
29
+ // .small {
30
+ // @include button-size( 13px, 8px 18px );
31
+ // }
32
+ //
33
+ // Button with large size
34
+ // .large {
35
+ // @include button-size( 24px, 18px 35px );
36
+ // }
37
+ //
38
+ // in your HTML, you can call like this:
39
+ //
40
+ // <a class="btn" href="#">Button</a>
41
+ // <a class="btn blue" href="#">Button</a>
42
+ // <a class="btn black" href="#">Button</a>
43
+ // <a class="btn green" href="#">Button</a>
44
+ // <a class="btn black small" href="#">Button</a>
45
+ // <a class="btn green large" href="#">Button</a>
46
+ // =================================================================================
47
+ @import "compass/css3/user-interface";
48
+
49
+ $default-border : true !default;
50
+ $default-text-shadow: light !default;
51
+ $default-fsize : 16px !default;
52
+ $default-pad : 14px 24px !default;
53
+ $default-radius : 3px !default;
54
+ $default-display : "inline-block" !default;
55
+ $default-margin : 0 !default;
56
+
57
+ // Quick use
58
+ @mixin button(
59
+ $bg-color,
60
+ $color,
61
+ $border : $default-border,
62
+ $text-shad : $default-text-shadow,
63
+ $fsize : $default-fsize,
64
+ $pad : $default-pad,
65
+ $radius : $default-radius,
66
+ $display : $default-display,
67
+ $margin : $default-margin
68
+ ) {
69
+ @include button-base( $bg-color, $color, $border, $text-shad );
70
+ @include button-size( $fsize, $pad );
71
+ @include button-struture( $radius, $display, $margin );
72
+ }
73
+
74
+ // Button base
75
+ // Background color, text color, border, text shadow
76
+ @mixin button-base(
77
+ $bg-color,
78
+ $color,
79
+ $border : $default-border,
80
+ $text-shad : $default-text-shadow
81
+ ) {
82
+ $dark-color : darken($bg-color, 5%);
83
+ $border-color : darken($bg-color, 10%);
84
+ $text-shadow-color : darken($bg-color, 10%);
85
+
86
+ background: $bg-color;
87
+ @include background-image( linear-gradient( $bg-color, $dark-color) );
88
+ @if $border == true {
89
+ border: 1px solid $border-color;
90
+ }
91
+ color: $color;
92
+ @if $text-shad == light {
93
+ @include text-shadow( $white 0 1px 1px );
94
+ } @if $text-shad == dark {
95
+ @include text-shadow( $text-shadow-color 0 -1px 0 );
96
+ }
97
+
98
+ &:hover,
99
+ &:focus {
100
+ background: darken($bg-color, 5%);
101
+ color: $color;
102
+ }
103
+ &:visited {
104
+ color: $color;
105
+ }
106
+
107
+ }
108
+
109
+ // Button size
110
+ // Font size, padding
111
+ @mixin button-size(
112
+ $fsize : $default-fsize,
113
+ $pad : $default-pad
114
+ ) {
115
+ font-size: $fsize;
116
+ padding: $pad;
117
+ }
118
+
119
+ // Button structure
120
+ // border-radius, display, margin
121
+ @mixin button-struture(
122
+ $radius : $default-radius,
123
+ $display : $default-display,
124
+ $margin : $default-margin
125
+ ) {
126
+ @include border-radius( $radius );
127
+ @include box-shadow(
128
+ inset 0 1px 0 rgba($white, .2),
129
+ 0 1px 2px rgba($black, .05)
130
+ );
131
+ cursor: pointer;
132
+
133
+ @if $display == "inline-block" {
134
+ @include inline-block-ie7;
135
+ } @if $display == "inline" {
136
+ display: inline;
137
+ } @if $display == "block" {
138
+ display: block;
139
+ }
140
+
141
+ font-weight: normal;
142
+ line-height: 1;
143
+ margin: $margin;
144
+ position: relative;
145
+ text-decoration: none;
146
+ @include user-select( none );
147
+
148
+ &:hover,
149
+ &:focus {
150
+ text-decoration: none;
151
+ }
152
+
153
+ &:active {
154
+ @include single-box-shadow( rgba($black, .15), 0, 2px, 3px, 0, true );
155
+ outline: 0;
156
+ }
157
+
158
+ }
@@ -0,0 +1,31 @@
1
+ // Fonts & @font-face mixins
2
+ // Feel free to customize it!
3
+ // =================================================================================
4
+
5
+ // Font awesome
6
+ // ------------------
7
+ @include font-face (
8
+ 'FontAwesome',
9
+ font-files(
10
+ 'fontawesome-webfont.woff', woff,
11
+ 'fontawesome-webfont.ttf', truetype,
12
+ 'fontawesome-webfont.svg#FontAwesome', svg),
13
+ 'fontawesome-webfont.eot',
14
+ normal,
15
+ normal
16
+ );
17
+
18
+ // Font mixins
19
+ // ------------------
20
+ @mixin ff-text {
21
+ font-family: $arial; // Global font
22
+ }
23
+ @mixin ff-heading {
24
+ font-family: $arial; // Heading font
25
+ }
26
+ @mixin ff-decorative{
27
+ font-family: $cursive;
28
+ }
29
+ @mixin ff-mono{
30
+ font-family: $consolas;
31
+ }
@@ -0,0 +1,56 @@
1
+ // Helper Mixins
2
+ // Helper mixins with custom function
3
+ // Author : Satrya - @msattt
4
+ // URL : http://tokokoo.com
5
+ // =================================================================================
6
+
7
+ // Mixin for simpler inline-block
8
+ // ------------------
9
+ @mixin inline-block-ie7 {
10
+ display: inline-block;
11
+ *display: inline;
12
+ *zoom: 1;
13
+ }
14
+
15
+ // Mixin for selection markup
16
+ // ------------------
17
+ @mixin selection($background, $color, $element:false) {
18
+ @if($element) {
19
+ &::-moz-selection{ background:$background; color:$color; text-shadow:none; }
20
+ &::selection { background:$background; color:$color; text-shadow:none; }
21
+ } @else {
22
+ ::-moz-selection{ background:$background; color:$color; text-shadow:none; }
23
+ ::selection { background:$background; color:$color; text-shadow:none; }
24
+ }
25
+ }
26
+
27
+ // Mixin for reset list
28
+ // ------------------
29
+ @mixin reset-list {
30
+ list-style: none;
31
+ margin: 0;
32
+ padding: 0;
33
+ }
34
+
35
+ // Mixin for placeholder styling
36
+ // ------------------
37
+ @mixin placeHolder($color) {
38
+ &::-webkit-input-placeholder { color:$color; }
39
+ &:-moz-placeholder { color:$color; }
40
+ }
41
+
42
+ // Webkit-style focus
43
+ // ------------------
44
+ @mixin tab-focus {
45
+ outline: thin dotted #333;
46
+ outline: 5px auto -webkit-focus-ring-color;
47
+ outline-offset: -2px;
48
+ }
49
+
50
+ // Center-align a block level element
51
+ // ----------------------------------
52
+ @mixin center-block {
53
+ display: block;
54
+ margin-left: auto;
55
+ margin-right: auto;
56
+ }
@@ -0,0 +1,66 @@
1
+ // Simple responsive grid
2
+ // basic and simple responsive grid
3
+ // Author : Satrya - @msattt
4
+ // URL : http://tokokoo.com
5
+ //
6
+ // Based on http://framelessgrid.com/
7
+ // =================================================================================
8
+ @import "compass";
9
+
10
+ // Grid default variable
11
+ $totalColumns : 16 !default;
12
+ $columnWidth : 30px !default;
13
+ $gutterWidth : 30px !default;
14
+ $totalContainer : ( $totalColumns * ($columnWidth + $gutterWidth) - $gutterWidth );
15
+ $floatDirection : left;
16
+
17
+ // The micro clearfix http://nicolasgallagher.com/micro-clearfix-hack/
18
+ @mixin grid-clearfix {
19
+ *zoom:1;
20
+ &:before, &:after {
21
+ content: "";
22
+ display: table;
23
+ }
24
+ &:after {
25
+ clear: both;
26
+ }
27
+ }
28
+
29
+ // Grid Calculation for Percentages
30
+ @function col($n) {
31
+ @return percentage( ( $n * ($columnWidth + $gutterWidth) - $gutterWidth ) / $totalContainer );
32
+ }
33
+
34
+ @mixin container(
35
+ $margin: 0 auto
36
+ ) {
37
+ margin: $margin;
38
+ max-width: $totalContainer;
39
+ width: 100%;
40
+ @include grid-clearfix;
41
+ }
42
+
43
+ @mixin columnBase(
44
+ $side: $floatDirection
45
+ ) {
46
+ @include box-sizing(border-box);
47
+ @include float( $side );
48
+ margin-left: percentage( $gutterWidth / $totalContainer );
49
+ @include grid-clearfix;
50
+ &:first-child {
51
+ margin-left: 0;
52
+ }
53
+ }
54
+
55
+ // Use this mixins to set the width of n columns.
56
+ @mixin column($n) {
57
+ width: col($n);
58
+ }
59
+
60
+ @mixin prefix($n) {
61
+ margin-left: percentage( (($columnWidth + $gutterWidth) * $n ) / $totalContainer );
62
+ }
63
+
64
+ @mixin suffix($n) {
65
+ margin-right: percentage( (($columnWidth + $gutterWidth) * $n ) / $totalContainer );
66
+ }
@@ -0,0 +1,105 @@
1
+ // ZURB button Mixins
2
+ // Mixins for zurb button - http://www.zurb.com/article/266/super-awesome-buttons-with-css3-and-rgba
3
+ // Author : Satrya - @msattt
4
+ // URL : http://tokokoo.com
5
+ //
6
+ // Usage:
7
+ //
8
+ // .btn {
9
+ // @include zurb-button( $black, $white, 5px, 16px, 5px 15px 6px );
10
+ // }
11
+ //
12
+ // Or if you need some buttons with different size, you can do like this
13
+ // .btn {
14
+ // @include zurb-button-base( $black, $white, 5px );
15
+ // @include zurb-button-structure;
16
+ // }
17
+ //
18
+ // .btn.small {
19
+ // @include zurb-button-size( 14px, 3px 10px );
20
+ // }
21
+ // .btn.medium {
22
+ // @include zurb-button-size( 18px, 5px 15px );
23
+ // }
24
+ //
25
+ // in your HTML, you can call like this
26
+ // <p><a href="#" class="btn small">Button</a></p>
27
+ // <p><a href="#" class="btn medium">Button</a></p>
28
+ // =================================================================================
29
+ @import "compass/css3/user-interface";
30
+
31
+ $default-z-bgcolor : $blackLight !default;
32
+ $default-z-radius : 3px !default;
33
+ $default-z-fsize : 13px !default;
34
+ $default-z-pad : 5px 15px !default;
35
+ $default-z-color : $white !default;
36
+
37
+ @mixin zurb-button(
38
+ $bgcolor : $default-z-bgcolor,
39
+ $color : $default-z-color,
40
+ $radius : $default-z-radius,
41
+ $fsize : $default-z-fsize,
42
+ $pad : $default-z-pad,
43
+ $display : "inline-block"
44
+ ) {
45
+
46
+ @include zurb-button-base( $bgcolor, $color, $radius );
47
+ @include zurb-button-size( $fsize, $pad );
48
+ @include zurb-button-structure( $display );
49
+
50
+ }
51
+
52
+ @mixin zurb-button-base(
53
+ $bgcolor : $default-z-bgcolor,
54
+ $color : $default-z-color,
55
+ $radius : $default-z-radius
56
+ ) {
57
+
58
+ background: $bgcolor image-url('overlay-button.png') repeat-x;
59
+ @include border-radius( $radius );
60
+ @include single-box-shadow( rgba( $black, .2 ), 0, 1px, 2px, 0, false );
61
+ border-bottom: 1px solid rgba( $black, .25 );
62
+ color: $color;
63
+ @include text-shadow( 0 -1px 1px rgba( $black, .25 ) );
64
+ @include user-select( none );
65
+
66
+ &:hover {
67
+ background-color: darken( $bgcolor, 8% );
68
+ color: $color;
69
+ text-decoration: none;
70
+ }
71
+ &:visited {
72
+ color: $color;
73
+ }
74
+ &:active {
75
+ top: 1px;
76
+ }
77
+ }
78
+
79
+ @mixin zurb-button-size(
80
+ $fsize : $default-z-fsize,
81
+ $pad : $default-z-pad
82
+ ) {
83
+ font-size: $fsize;
84
+ padding: $pad;
85
+ }
86
+
87
+ @mixin zurb-button-structure( $display: "inline-block" ) {
88
+
89
+ border: none;
90
+ cursor: pointer;
91
+ font-weight: normal;
92
+ position: relative;
93
+ text-decoration: none;
94
+
95
+ @if $display == "inline-block" {
96
+ display: inline-block;
97
+ *display: inline;
98
+ *zoom: 1;
99
+ } @if $display == "inline" {
100
+ display: inline;
101
+ } @if $display == "block" {
102
+ display: block;
103
+ }
104
+
105
+ }
@@ -0,0 +1,72 @@
1
+ html, body, div, span, applet, object, iframe,
2
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
3
+ a, abbr, acronym, address, big, cite, code,
4
+ del, dfn, em, img, ins, kbd, q, s, samp,
5
+ small, strike, strong, sub, sup, tt, var,
6
+ b, u, i, center,
7
+ dl, dt, dd, ol, ul, li,
8
+ fieldset, form, label, legend,
9
+ table, caption, tbody, tfoot, thead, tr, th, td,
10
+ article, aside, canvas, details, embed,
11
+ figure, figcaption, footer, header, hgroup,
12
+ menu, nav, output, ruby, section, summary,
13
+ time, mark, audio, video {
14
+ margin: 0;
15
+ padding: 0;
16
+ border: 0;
17
+ font: inherit;
18
+ vertical-align: baseline;
19
+ }
20
+
21
+ article, aside, details, figcaption, figure, footer,
22
+ header, hgroup, nav, section, summary {
23
+ display: block;
24
+ }
25
+
26
+ audio, canvas, video {
27
+ @include inline-block;
28
+ }
29
+
30
+ audio:not([controls]),
31
+ [hidden] {
32
+ display: none;
33
+ }
34
+
35
+ a:focus {
36
+ @include tab-focus;
37
+ }
38
+
39
+ nav ul,
40
+ nav ol {
41
+ @include reset-list;
42
+ }
43
+
44
+ img {
45
+ border: 0;
46
+ max-width: 100%;
47
+ -ms-interpolation-mode: bicubic;
48
+ vertical-align: middle;
49
+ }
50
+
51
+ svg:not(:root) {
52
+ overflow: hidden;
53
+ }
54
+
55
+ button::-moz-focus-inner,
56
+ input::-moz-focus-inner {
57
+ border: 0;
58
+ padding: 0;
59
+ }
60
+
61
+ input[type="radio"] {
62
+ vertical-align: text-bottom;
63
+ }
64
+
65
+ input[type="checkbox"] {
66
+ vertical-align: text-bottom;
67
+ }
68
+
69
+ table {
70
+ border-collapse: collapse;
71
+ border-spacing: 0;
72
+ }
@@ -0,0 +1,40 @@
1
+ /* STANDARD TABLE
2
+ ----------------- */
3
+ table {
4
+ font-size: 12px;
5
+ max-width: 100%;
6
+ width: 100%;
7
+ }
8
+
9
+ table,
10
+ td {
11
+ border: 1px solid #e8e8e8;
12
+ border-collapse: collapse;
13
+ margin: rhythm() 0;
14
+ padding: 5px 10px;
15
+ }
16
+
17
+ th {
18
+ background-color: #e8e8e8;
19
+ border-right: 1px solid #e0e0e0;
20
+ color: #666;
21
+ margin: 5px 0 10px;
22
+ padding: 5px 10px;
23
+ text-transform: uppercase;
24
+ text-align: left;
25
+ }
26
+
27
+ table button,
28
+ table input {
29
+ *overflow: auto;
30
+ }
31
+
32
+ /* STRIPE TABLE
33
+ ----------------- */
34
+ table.striped {
35
+ tr {
36
+ &:nth-child(odd) {
37
+ background-color: #f9f9f9;
38
+ }
39
+ }
40
+ }