cimma 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/lib/cimma.rb +4 -0
  2. data/stylesheets/_cimma.scss +6 -0
  3. data/stylesheets/cimma/_baseline.scss +5 -0
  4. data/stylesheets/cimma/_util.scss +4 -0
  5. data/stylesheets/cimma/baseline/_core.scss +5 -0
  6. data/stylesheets/cimma/baseline/_forms.scss +2 -0
  7. data/stylesheets/cimma/baseline/_html5.scss +1 -0
  8. data/stylesheets/cimma/baseline/_lists.scss +1 -0
  9. data/stylesheets/cimma/baseline/_tables.scss +2 -0
  10. data/stylesheets/cimma/baseline/_typography.scss +4 -0
  11. data/stylesheets/cimma/baseline/forms/_core.scss +141 -0
  12. data/stylesheets/cimma/baseline/forms/_status-backgrounds.scss +20 -0
  13. data/stylesheets/cimma/baseline/html5/_core.scss +25 -0
  14. data/stylesheets/cimma/baseline/lists/_core.scss +11 -0
  15. data/stylesheets/cimma/baseline/tables/_adaptive.scss +83 -0
  16. data/stylesheets/cimma/baseline/tables/_core.scss +52 -0
  17. data/stylesheets/cimma/baseline/tables/_extra-wide.scss +9 -0
  18. data/stylesheets/cimma/baseline/typography/_annotations.scss +44 -0
  19. data/stylesheets/cimma/baseline/typography/_core.scss +51 -0
  20. data/stylesheets/cimma/baseline/typography/_headlines.scss +30 -0
  21. data/stylesheets/cimma/baseline/typography/_quotes.scss +17 -0
  22. data/stylesheets/cimma/misc/_effects.scss +32 -0
  23. data/stylesheets/cimma/widgets/_buttons.scss +196 -0
  24. data/stylesheets/cimma/widgets/_dialog-boxes.scss +129 -0
  25. data/stylesheets/cimma/widgets/_dialog-boxes2.scss +238 -0
  26. data/stylesheets/cimma/widgets/_dialog.scss +85 -0
  27. data/stylesheets/cimma/widgets/_font-awesome.scss +264 -0
  28. data/stylesheets/cimma/widgets/_test.scss +31 -0
  29. data/templates/dialog-boxes/example.scss +42 -0
  30. data/templates/dialog-boxes/example2.scss +29 -0
  31. data/templates/dialog-boxes/images/old/dialog-error.png +0 -0
  32. data/templates/dialog-boxes/images/old/dialog-info.png +0 -0
  33. data/templates/dialog-boxes/images/old/dialog-success.png +0 -0
  34. data/templates/dialog-boxes/images/old/dialog-validation.png +0 -0
  35. data/templates/dialog-boxes/images/old/dialog-warning.png +0 -0
  36. data/templates/dialog-boxes/images/spritemap - 1pt.svg +76 -0
  37. data/templates/dialog-boxes/images/spritemap.png +0 -0
  38. data/templates/dialog-boxes/images/spritemap.svg +73 -0
  39. data/templates/dialog-boxes/manifest.rb +7 -0
  40. data/templates/drop-menu/drop-menu.js +124 -0
  41. data/templates/drop-menu/manifest.rb +7 -0
  42. data/templates/forms/images/spritemap - Copy.svg +66 -0
  43. data/templates/forms/images/spritemap.svg +104 -0
  44. data/templates/forms/manifest.rb +7 -0
  45. data/templates/project/_cimma.scss +3 -0
  46. data/templates/project/_variables.scss +24 -0
  47. data/templates/project/manifest.rb +13 -0
  48. metadata +140 -0
@@ -0,0 +1,104 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ version="1.1"
13
+ id="svg2"
14
+ inkscape:version="0.48.2 r9819"
15
+ sodipodi:docname="spritemap.svg"
16
+ x="0px"
17
+ y="0px"
18
+ width="100px"
19
+ height="260px"
20
+ viewBox="0 0 100 240"
21
+ enable-background="new 0 0 100 260"
22
+ xml:space="preserve"><metadata
23
+ id="metadata18"><rdf:RDF><cc:Work
24
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
25
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
26
+ id="defs16" /><sodipodi:namedview
27
+ pagecolor="#ffffff"
28
+ bordercolor="#666666"
29
+ borderopacity="1"
30
+ objecttolerance="10"
31
+ gridtolerance="10"
32
+ guidetolerance="10"
33
+ inkscape:pageopacity="0"
34
+ inkscape:pageshadow="2"
35
+ inkscape:window-width="928"
36
+ inkscape:window-height="756"
37
+ id="namedview14"
38
+ showgrid="false"
39
+ inkscape:zoom="3.6307692"
40
+ inkscape:cx="77.984356"
41
+ inkscape:cy="39.002802"
42
+ inkscape:window-x="0"
43
+ inkscape:window-y="0"
44
+ inkscape:window-maximized="0"
45
+ inkscape:current-layer="svg2" />
46
+ <path
47
+ id="valid"
48
+ inkscape:connector-curvature="0"
49
+ fill="#FFFFFF"
50
+ stroke="#788703"
51
+ d="M84.234,97.768 c-0.103-0.144-0.699-0.727-1.324-1.292c-1.68-1.523-3.017-2.359-5.27-3.291l-0.412-0.164l0.769-0.82 c0.422-0.448,1.025-1.125,1.339-1.505l0.573-0.683l0.892,0.578c0.944,0.61,2.033,1.628,2.979,2.783l0.576,0.697l0.903-1.628 c2.467-4.405,5.324-8.157,7.511-9.844l0.778-0.6l0.823,0.823c0.453,0.455,1.229,1.134,1.727,1.508L97,85.017l-0.691,0.353 c-1.837,0.93-4.992,3.765-7.336,6.594c-1.09,1.319-3.179,4.184-3.93,5.391C84.571,98.106,84.503,98.141,84.234,97.768L84.234,97.768 L84.234,97.768L84.234,97.768z" />
52
+ <polygon
53
+ id="invalid"
54
+ fill="#FFFFFF"
55
+ stroke="#C41616"
56
+ points="85.144,170 79,176.145 81.856,179 88,172.856 94.146,179 97,176.145 90.854,170 97,163.856 94.146,161 88,167.145 81.856,161 79,163.856 " />
57
+ <g
58
+ id="optional"
59
+ transform="matrix(0.40442342,0,0,0.40442342,41.944703,478.23152)">
60
+ <path
61
+ id="path3146"
62
+ inkscape:connector-curvature="0"
63
+ d="M-15.307-1161.35c0-5.066,1.359-9.037,4.083-11.905 c2.721-2.866,6.232-4.303,10.54-4.303c2.818,0,5.363,0.671,7.622,2.024c2.264,1.345,3.995,3.224,5.177,5.633 c1.19,2.412,1.784,5.142,1.784,8.198c0,3.097-0.625,5.87-1.877,8.316c-1.247,2.439-3.017,4.292-5.309,5.55 c-2.294,1.257-4.767,1.882-7.418,1.882c-2.872,0-5.446-0.693-7.707-2.083c-2.269-1.39-3.979-3.288-5.143-5.688 C-14.722-1156.127-15.307-1158.667-15.307-1161.35z M-11.141-1161.286c0,3.679,0.988,6.579,2.968,8.697 c1.98,2.119,4.465,3.177,7.447,3.177c3.045,0,5.549-1.066,7.511-3.202c1.966-2.143,2.95-5.176,2.95-9.104 c0-2.488-0.418-4.657-1.262-6.51c-0.837-1.854-2.067-3.291-3.685-4.313c-1.62-1.023-3.435-1.531-5.455-1.531 c-2.86,0-5.32,0.982-7.385,2.942C-10.11-1169.162-11.141-1165.884-11.141-1161.286z" />
64
+ <path
65
+ id="path3148"
66
+ inkscape:connector-curvature="0"
67
+ d="M18.607-1137.995v-30.604h3.422v2.876c0.804-1.124,1.71-1.968,2.724-2.533 c1.017-0.559,2.246-0.843,3.69-0.843c1.893,0,3.554,0.49,5.001,1.458c1.442,0.973,2.533,2.345,3.272,4.113 c0.739,1.771,1.101,3.713,1.101,5.823c0,2.264-0.406,4.303-1.222,6.113c-0.807,1.813-1.985,3.203-3.538,4.165 c-1.553,0.968-3.175,1.449-4.885,1.449c-1.251,0-2.371-0.262-3.369-0.792c-0.988-0.526-1.809-1.193-2.446-2.001v10.771h-3.75 V-1137.995z M22.002-1157.411c0,2.846,0.577,4.95,1.731,6.313c1.154,1.361,2.55,2.038,4.187,2.038c1.669,0,3.096-0.7,4.279-2.112 c1.188-1.408,1.782-3.594,1.782-6.552c0-2.82-0.577-4.927-1.736-6.335c-1.161-1.399-2.548-2.103-4.158-2.103 c-1.601,0-3.006,0.749-4.243,2.243C22.62-1162.427,22.002-1160.259,22.002-1157.411z" />
68
+ <path
69
+ id="path3150"
70
+ inkscape:connector-curvature="0"
71
+ d="M50.544-1149.828l0.541,3.311c-1.053,0.222-1.997,0.336-2.828,0.336 c-1.364,0-2.422-0.216-3.168-0.647c-0.753-0.43-1.282-0.996-1.584-1.698c-0.304-0.703-0.459-2.179-0.459-4.426v-12.73h-2.753 v-2.917h2.753v-5.478l3.728-2.249v7.727h3.769v2.917h-3.769v12.937c0,1.07,0.068,1.754,0.196,2.063 c0.133,0.304,0.348,0.549,0.65,0.728c0.297,0.18,0.724,0.268,1.282,0.268C49.312-1149.683,49.865-1149.731,50.544-1149.828z" />
72
+ <path
73
+ id="path3152"
74
+ inkscape:connector-curvature="0"
75
+ d="M54.209-1172.703v-4.31h3.76v4.31H54.209z M54.209-1146.475v-22.125h3.76 v22.125H54.209z" />
76
+ <path
77
+ id="path3154"
78
+ inkscape:connector-curvature="0"
79
+ d="M62.294-1157.538c0-4.098,1.135-7.131,3.414-9.101 c1.912-1.64,4.226-2.457,6.964-2.457c3.035,0,5.525,0.997,7.459,2.988c1.932,1.991,2.898,4.744,2.898,8.261 c0,2.847-0.43,5.088-1.282,6.72c-0.862,1.629-2.098,2.898-3.733,3.8c-1.63,0.904-3.407,1.351-5.339,1.351 c-3.1,0-5.602-0.991-7.515-2.979C63.247-1150.941,62.294-1153.8,62.294-1157.538L62.294-1157.538z M66.148-1157.538 c0,2.834,0.618,4.955,1.854,6.364c1.239,1.409,2.794,2.114,4.67,2.114c1.857,0,3.405-0.709,4.639-2.125 c1.239-1.414,1.857-3.579,1.857-6.48c0-2.735-0.621-4.807-1.864-6.215c-1.241-1.408-2.787-2.118-4.631-2.118 c-1.879,0-3.434,0.701-4.672,2.103C66.766-1162.488,66.148-1160.37,66.148-1157.538z" />
80
+ <path
81
+ id="path3156"
82
+ inkscape:connector-curvature="0"
83
+ d="M87.436-1146.475v-22.125h3.381v3.145c1.623-2.43,3.975-3.645,7.046-3.645 c1.328,0,2.552,0.244,3.67,0.72c1.12,0.478,1.956,1.108,2.514,1.885c0.551,0.775,0.939,1.701,1.161,2.767 c0.14,0.695,0.215,1.909,0.215,3.647v13.602h-3.752v-13.457c0-1.526-0.145-2.671-0.435-3.429c-0.299-0.757-0.804-1.361-1.555-1.815 c-0.744-0.448-1.611-0.677-2.613-0.677c-1.591,0-2.973,0.507-4.134,1.52c-1.159,1.012-1.746,2.935-1.746,5.769v12.081H87.44v0.006 h-0.005V-1146.475L87.436-1146.475z" />
84
+ <path
85
+ id="path3158"
86
+ inkscape:connector-curvature="0"
87
+ d="M125.624-1149.204c-1.386,1.18-2.724,2.016-4.004,2.502 c-1.285,0.483-2.666,0.727-4.144,0.727c-2.424,0-4.293-0.592-5.602-1.78c-1.302-1.188-1.958-2.708-1.958-4.554 c0-1.081,0.249-2.072,0.741-2.964c0.493-0.895,1.14-1.615,1.937-2.16c0.802-0.541,1.7-0.948,2.704-1.227 c0.724-0.197,1.84-0.383,3.332-0.56c3.021-0.363,5.254-0.793,6.684-1.297c0.014-0.513,0.019-0.838,0.019-0.978 c0-1.526-0.35-2.603-1.058-3.232c-0.954-0.848-2.383-1.268-4.272-1.268c-1.768,0-3.067,0.309-3.907,0.924 c-0.843,0.618-1.463,1.713-1.864,3.283l-3.666-0.5c0.328-1.568,0.886-2.835,1.642-3.8c0.765-0.966,1.869-1.708,3.313-2.231 c1.446-0.522,3.115-0.781,5.02-0.781c1.891,0,3.426,0.221,4.602,0.665c1.19,0.444,2.06,1.005,2.613,1.678 c0.56,0.674,0.939,1.526,1.154,2.552c0.135,0.64,0.196,1.794,0.196,3.458v4.999c0,3.488,0.077,5.694,0.241,6.613 c0.159,0.926,0.478,1.81,0.949,2.655h-3.917C125.991-1147.253,125.74-1148.163,125.624-1149.204L125.624-1149.204z M125.315-1157.579c-1.362,0.555-3.4,1.029-6.121,1.415c-1.545,0.222-2.634,0.474-3.277,0.749c-0.635,0.28-1.13,0.689-1.478,1.219 c-0.348,0.534-0.519,1.129-0.519,1.781c0,1.001,0.374,1.834,1.132,2.499c0.758,0.667,1.867,1,3.32,1 c1.442,0,2.731-0.318,3.856-0.949c1.13-0.634,1.956-1.497,2.48-2.594c0.401-0.846,0.601-2.097,0.601-3.75v-1.374h0.005V-1157.579 L125.315-1157.579z" />
88
+ <path
89
+ id="path3160"
90
+ inkscape:connector-curvature="0"
91
+ d="M134.858-1146.475v-30.537h3.748v30.537H134.858z" />
92
+ </g>
93
+ <text
94
+ xml:space="preserve"
95
+ style="font-size:22.3519783px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
96
+ x="85.245438"
97
+ y="245.59323"
98
+ id="text2995"
99
+ sodipodi:linespacing="125%"><tspan
100
+ sodipodi:role="line"
101
+ id="tspan2997"
102
+ x="85.245438"
103
+ y="245.59323">!</tspan></text>
104
+ </svg>
@@ -0,0 +1,7 @@
1
+ # Make sure you list all the project template files here in the manifest.
2
+ #stylesheet 'screen.sass', :media => 'screen, projection'
3
+
4
+ image 'images/spritemap.svg', :to => 'cimma/forms/spritemap.svg'
5
+ #image 'images/spritemap.png', :to => 'cimma/dialog-boxes/spritemap.png'
6
+
7
+ #stylesheet 'example.scss', :to => 'cimma/examples/_dialog_boxes.scss'
@@ -0,0 +1,3 @@
1
+ @import "translucencss";
2
+ @import "cimma";
3
+ @import "gmedia";
@@ -0,0 +1,24 @@
1
+ // ====================================================================================================
2
+ // | General Color Settings
3
+ // ====================================================================================================
4
+
5
+ $background-color: white !default;
6
+ $foreground-color: black !default;
7
+
8
+ // ====================================================================================================
9
+ // | Widgets: Dialog Colors
10
+ // ====================================================================================================
11
+
12
+ $dialog-help: #2E3192 #B9C2E1 !default; // purple
13
+ $dialog-info: #005FB4 #BDE5F8 !default; // blue
14
+ $dialog-success: #6F7D03 #DFE5B0 !default; // green
15
+ $dialog-warning: #A0410D #EFBBA0 !default; // orange
16
+ $dialog-error: #C41616 #F8AAAA !default; // red
17
+
18
+ $dialog-attributes:
19
+ ( help nth($dialog-help, 1) nth($dialog-help, 2)
20
+ , info nth($dialog-info, 1) nth($dialog-info, 2)
21
+ , success nth($dialog-success, 1) nth($dialog-success, 2)
22
+ , warning nth($dialog-warning, 1) nth($dialog-warning, 2)
23
+ , error nth($dialog-error, 1) nth($dialog-error, 2)
24
+ ) !default;
@@ -0,0 +1,13 @@
1
+ description "Please provide description here"
2
+
3
+ # Make sure you list all the project template files here in the manifest.
4
+ #stylesheet 'screen.sass', :media => 'screen, projection'
5
+
6
+ #image 'dialog-boxes/spritemap.svg'
7
+ #image 'dialog-boxes/spritemap.png'
8
+
9
+ #require '../dialog-boxes'
10
+
11
+ #stylesheet '../../stylesheets/cimma/baseline/_core.scss', :to => 'cimma/_test.scss'
12
+
13
+ stylesheet '_cimma.scss'
metadata ADDED
@@ -0,0 +1,140 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cimma
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Chris Siepker
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-10-30 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: compass
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0.11'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0.11'
30
+ - !ruby/object:Gem::Dependency
31
+ name: translucencss
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: 0.1.1
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 0.1.1
46
+ - !ruby/object:Gem::Dependency
47
+ name: modular-scale
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '1.0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
62
+ description: Cimma is an attractive collection of baseline CSS styles, somewhere between
63
+ Normalize and Twitter Bootstrap
64
+ email: chris@cimmanon.org
65
+ executables: []
66
+ extensions: []
67
+ extra_rdoc_files: []
68
+ files:
69
+ - lib/cimma.rb
70
+ - stylesheets/_cimma.scss
71
+ - stylesheets/cimma/_baseline.scss
72
+ - stylesheets/cimma/_util.scss
73
+ - stylesheets/cimma/widgets/_dialog-boxes.scss
74
+ - stylesheets/cimma/widgets/_font-awesome.scss
75
+ - stylesheets/cimma/widgets/_dialog-boxes2.scss
76
+ - stylesheets/cimma/widgets/_buttons.scss
77
+ - stylesheets/cimma/widgets/_test.scss
78
+ - stylesheets/cimma/widgets/_dialog.scss
79
+ - stylesheets/cimma/misc/_effects.scss
80
+ - stylesheets/cimma/baseline/_forms.scss
81
+ - stylesheets/cimma/baseline/_tables.scss
82
+ - stylesheets/cimma/baseline/_lists.scss
83
+ - stylesheets/cimma/baseline/_typography.scss
84
+ - stylesheets/cimma/baseline/_core.scss
85
+ - stylesheets/cimma/baseline/_html5.scss
86
+ - stylesheets/cimma/baseline/lists/_core.scss
87
+ - stylesheets/cimma/baseline/tables/_adaptive.scss
88
+ - stylesheets/cimma/baseline/tables/_extra-wide.scss
89
+ - stylesheets/cimma/baseline/tables/_core.scss
90
+ - stylesheets/cimma/baseline/forms/_status-backgrounds.scss
91
+ - stylesheets/cimma/baseline/forms/_core.scss
92
+ - stylesheets/cimma/baseline/typography/_headlines.scss
93
+ - stylesheets/cimma/baseline/typography/_quotes.scss
94
+ - stylesheets/cimma/baseline/typography/_core.scss
95
+ - stylesheets/cimma/baseline/typography/_annotations.scss
96
+ - stylesheets/cimma/baseline/html5/_core.scss
97
+ - templates/project/manifest.rb
98
+ - templates/project/_cimma.scss
99
+ - templates/project/_variables.scss
100
+ - templates/dialog-boxes/manifest.rb
101
+ - templates/dialog-boxes/example.scss
102
+ - templates/dialog-boxes/example2.scss
103
+ - templates/dialog-boxes/images/spritemap.svg
104
+ - templates/dialog-boxes/images/spritemap - 1pt.svg
105
+ - templates/dialog-boxes/images/spritemap.png
106
+ - templates/dialog-boxes/images/old/dialog-error.png
107
+ - templates/dialog-boxes/images/old/dialog-info.png
108
+ - templates/dialog-boxes/images/old/dialog-success.png
109
+ - templates/dialog-boxes/images/old/dialog-validation.png
110
+ - templates/dialog-boxes/images/old/dialog-warning.png
111
+ - templates/drop-menu/manifest.rb
112
+ - templates/drop-menu/drop-menu.js
113
+ - templates/forms/manifest.rb
114
+ - templates/forms/images/spritemap.svg
115
+ - templates/forms/images/spritemap - Copy.svg
116
+ homepage: http://www.cimmanon.org/
117
+ licenses: []
118
+ post_install_message:
119
+ rdoc_options: []
120
+ require_paths:
121
+ - lib
122
+ required_ruby_version: !ruby/object:Gem::Requirement
123
+ none: false
124
+ requirements:
125
+ - - ! '>='
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
128
+ required_rubygems_version: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ requirements: []
135
+ rubyforge_project:
136
+ rubygems_version: 1.8.23
137
+ signing_key:
138
+ specification_version: 3
139
+ summary: ! 'Cimma: a Compass Boilerplate Library'
140
+ test_files: []