coolstrap-generator 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. data/.DS_Store +0 -0
  2. data/.gitignore +4 -0
  3. data/.rvmrc +1 -0
  4. data/Gemfile +4 -0
  5. data/Rakefile +6 -0
  6. data/bin/coolstrap +5 -0
  7. data/coolstrap-generator.gemspec +42 -0
  8. data/lib/.DS_Store +0 -0
  9. data/lib/coolstrap-generator.rb +39 -0
  10. data/lib/coolstrap-generator/.DS_Store +0 -0
  11. data/lib/coolstrap-generator/builder/middleman.rb +0 -0
  12. data/lib/coolstrap-generator/cli.rb +71 -0
  13. data/lib/coolstrap-generator/generate/project.rb +96 -0
  14. data/lib/coolstrap-generator/generate/view.rb +54 -0
  15. data/lib/coolstrap-generator/logger.rb +13 -0
  16. data/lib/coolstrap-generator/middleman/helpers.rb +176 -0
  17. data/lib/coolstrap-generator/templates/.DS_Store +0 -0
  18. data/lib/coolstrap-generator/templates/app/.DS_Store +0 -0
  19. data/lib/coolstrap-generator/templates/app/assets/.DS_Store +0 -0
  20. data/lib/coolstrap-generator/templates/app/assets/fonts/fontawesome-webfont.eot +0 -0
  21. data/lib/coolstrap-generator/templates/app/assets/fonts/fontawesome-webfont.svg +255 -0
  22. data/lib/coolstrap-generator/templates/app/assets/fonts/fontawesome-webfont.ttf +0 -0
  23. data/lib/coolstrap-generator/templates/app/assets/fonts/fontawesome-webfont.woff +0 -0
  24. data/lib/coolstrap-generator/templates/app/assets/images/.DS_Store +0 -0
  25. data/lib/coolstrap-generator/templates/app/assets/images/coolstrap/arrow-list.png +0 -0
  26. data/lib/coolstrap-generator/templates/app/assets/images/coolstrap/arrow.png +0 -0
  27. data/lib/coolstrap-generator/templates/app/assets/images/coolstrap/menu.png +0 -0
  28. data/lib/coolstrap-generator/templates/app/assets/images/coolstrap/startup/smatphone.png +0 -0
  29. data/lib/coolstrap-generator/templates/app/assets/images/coolstrap/startup/smatphone@2x.png +0 -0
  30. data/lib/coolstrap-generator/templates/app/assets/images/coolstrap/startup/tablet-landscape.png +0 -0
  31. data/lib/coolstrap-generator/templates/app/assets/images/coolstrap/startup/tablet-landscape@2x.png +0 -0
  32. data/lib/coolstrap-generator/templates/app/assets/images/coolstrap/startup/tablet-portrait.png +0 -0
  33. data/lib/coolstrap-generator/templates/app/assets/images/coolstrap/startup/tablet-portrait@2x.png +0 -0
  34. data/lib/coolstrap-generator/templates/app/assets/images/startup/smatphone.png +0 -0
  35. data/lib/coolstrap-generator/templates/app/assets/images/startup/smatphone@2x.png +0 -0
  36. data/lib/coolstrap-generator/templates/app/assets/images/startup/tablet-landscape.png +0 -0
  37. data/lib/coolstrap-generator/templates/app/assets/images/startup/tablet-landscape@2x.png +0 -0
  38. data/lib/coolstrap-generator/templates/app/assets/images/startup/tablet-portrait.png +0 -0
  39. data/lib/coolstrap-generator/templates/app/assets/images/startup/tablet-portrait@2x.png +0 -0
  40. data/lib/coolstrap-generator/templates/app/assets/javascripts/.DS_Store +0 -0
  41. data/lib/coolstrap-generator/templates/app/assets/javascripts/app.js +18 -0
  42. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/_Coolstrap.App.coffee +39 -0
  43. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/_Coolstrap.Console.coffee +49 -0
  44. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/_Coolstrap.Constants.coffee +89 -0
  45. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/_Coolstrap.js +13 -0
  46. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/build/_wrap-start.js +18 -0
  47. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/coolstrap-0.1.js +20 -0
  48. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/coolstrap-0.1.packed.js +23 -0
  49. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/fallback/_Coolstrap.Fallback.Android.coffee +53 -0
  50. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/fallback/_Coolstrap.Fallback.iOS.coffee +29 -0
  51. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/framework/_Coolstrap.Framework.Articles.coffee +34 -0
  52. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/framework/_Coolstrap.Framework.Dialogs.coffee +33 -0
  53. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/framework/_Coolstrap.Framework.Navigation.coffee +118 -0
  54. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/framework/_Coolstrap.Framework.Sections.coffee +60 -0
  55. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/lib/iscroll.js +1076 -0
  56. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/lib/modernizr-2.5.3.js +1265 -0
  57. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/lib/zepto-1.0rc1.js +1357 -0
  58. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/navigate/_Coolstrap.Navigate.History.coffee +164 -0
  59. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/navigate/_Coolstrap.Navigate.coffee +105 -0
  60. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/plugins/_Coolstrap.Plugins.coffee +157 -0
  61. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/util/_Coolstrap.Util.Core.coffee +54 -0
  62. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/util/_Coolstrap.Util.Platform.coffee +89 -0
  63. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/util/_Coolstrap.Util.UI.coffee +96 -0
  64. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/util/_Coolstrap.Util.coffee +41 -0
  65. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/view/_Coolstrap.View.Article.coffee +43 -0
  66. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/view/_Coolstrap.View.Aside.coffee +65 -0
  67. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/view/_Coolstrap.View.Dialog.coffee +129 -0
  68. data/lib/coolstrap-generator/templates/app/assets/javascripts/coolstrap/view/_Coolstrap.View.Scroll.coffee +191 -0
  69. data/lib/coolstrap-generator/templates/app/assets/stylesheets/.DS_Store +0 -0
  70. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/_structure.scss +8 -0
  71. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/coolstrap.css.scss +2 -0
  72. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/_components.scss +5 -0
  73. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/_layout.scss +4 -0
  74. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/_utilities.scss +6 -0
  75. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/components/_dialog.scss +122 -0
  76. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/components/_formelements.scss +89 -0
  77. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/components/_listview.scss +76 -0
  78. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/components/_navigations.scss +192 -0
  79. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/components/_tools.scss +169 -0
  80. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/layout/_layers.scss +57 -0
  81. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/layout/_layout.scss +62 -0
  82. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/layout/_positions.scss +38 -0
  83. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/layout/_transitions.scss +35 -0
  84. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/utilities/_animate.scss +63 -0
  85. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/utilities/_helpers.scss +82 -0
  86. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/utilities/_icons.scss +336 -0
  87. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/utilities/_mixins.scss +45 -0
  88. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/utilities/_reset.scss +367 -0
  89. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/structure/utilities/_variables.scss +176 -0
  90. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/themes/_default.scss +255 -0
  91. data/lib/coolstrap-generator/templates/app/assets/stylesheets/coolstrap/themes/coolstrap.css.scss +164 -0
  92. data/lib/coolstrap-generator/templates/app/assets/stylesheets/customtheme.css.scss +19 -0
  93. data/lib/coolstrap-generator/templates/app/components/_formelements.html.haml +130 -0
  94. data/lib/coolstrap-generator/templates/app/components/_tabbar.html.haml +343 -0
  95. data/lib/coolstrap-generator/templates/app/components/_toolbar.html.haml +463 -0
  96. data/lib/coolstrap-generator/templates/app/components/formelements.html.haml +196 -0
  97. data/lib/coolstrap-generator/templates/app/components/listview/_complexlistavatar.html.haml.erb +77 -0
  98. data/lib/coolstrap-generator/templates/app/components/listview/_simplelist.html.haml.erb +31 -0
  99. data/lib/coolstrap-generator/templates/app/components/tabbar.html.haml.erb +16 -0
  100. data/lib/coolstrap-generator/templates/app/components/toolbar.html.haml.erb +32 -0
  101. data/lib/coolstrap-generator/templates/app/index.html.haml.erb +21 -0
  102. data/lib/coolstrap-generator/templates/app/layout.haml.erb +79 -0
  103. data/lib/coolstrap-generator/templates/app/views/.DS_Store +0 -0
  104. data/lib/coolstrap-generator/templates/app/views/_home.haml.erb +31 -0
  105. data/lib/coolstrap-generator/templates/app/views/shared/_aside_onbottom.haml +2 -0
  106. data/lib/coolstrap-generator/templates/app/views/shared/_aside_onleft.haml +56 -0
  107. data/lib/coolstrap-generator/templates/app/views/shared/_aside_onright.haml +66 -0
  108. data/lib/coolstrap-generator/templates/app/views/shared/_aside_ontop.haml +19 -0
  109. data/lib/coolstrap-generator/templates/defaults/Gemfile.erb +3 -0
  110. data/lib/coolstrap-generator/templates/defaults/LICENSE.erb +1 -0
  111. data/lib/coolstrap-generator/templates/defaults/Readme.mkd.erb +1 -0
  112. data/lib/coolstrap-generator/templates/defaults/config.erb +42 -0
  113. data/lib/coolstrap-generator/templates/defaults/gitignore.erb +2 -0
  114. data/lib/coolstrap-generator/templates/rakefile +102 -0
  115. data/lib/coolstrap-generator/templates/specs/app_spec.coffee +3 -0
  116. data/lib/coolstrap-generator/utils.rb +82 -0
  117. data/lib/coolstrap-generator/version.rb +5 -0
  118. data/readme.md +107 -0
  119. data/spec/cli/command_spec.rb +88 -0
  120. data/spec/coolstrap-generator/generate/project_spec.rb +126 -0
  121. data/spec/coolstrap-generator/generate/view_spec.rb +26 -0
  122. data/spec/coolstrap-generator/logger_spec.rb +25 -0
  123. data/spec/coolstrap-generator/middleman/helpers_spec.rb +16 -0
  124. data/spec/coolstrap-generator/utils_spec.rb +120 -0
  125. data/spec/spec_helper.rb +39 -0
  126. metadata +321 -0
@@ -0,0 +1,255 @@
1
+ @import "compass";
2
+
3
+ //Variables
4
+ $theme-header-color: #444;
5
+ $theme-nav-color: #888;
6
+ $theme-footer-color: #444;
7
+ $theme-base-color: #F8F8F8;
8
+ $theme-border-radius: 5px;
9
+
10
+ //Layout
11
+ article {
12
+ background-color: $theme-base-color;
13
+ }
14
+ //Text
15
+ h1 {
16
+ font-size: 14px;
17
+ }
18
+ h2 {
19
+ font-size: 1.08em;
20
+ }
21
+ header h1, header h2 {
22
+ }
23
+
24
+
25
+ // Bars colors
26
+ header {
27
+ background-color: $theme-header-color;
28
+ border-bottom: 1px solid darken($theme-header-color,10%);
29
+ border-top: 1px solid lighten($theme-header-color,10%);
30
+ //padding-top: 1px;
31
+ color: $theme-base-color;
32
+ }
33
+
34
+ nav {
35
+ background-color: $theme-nav-color;
36
+ border-bottom: 1px solid darken($theme-nav-color,10%);
37
+ padding-top: 1px;
38
+ }
39
+
40
+ footer {
41
+ background-color: $theme-footer-color;
42
+ border-bottom: 1px solid darken($theme-footer-color,10%);
43
+ }
44
+
45
+
46
+ // Buttons colors
47
+ a {
48
+ font-weight: bold;
49
+ i {
50
+ }
51
+ }
52
+ header {
53
+ color: lighten($theme-header-color,80%);
54
+ a:not(.onlyIcon) {
55
+ background-color: darken($theme-header-color,5%);
56
+ border: 1px solid darken($theme-header-color,10%);
57
+ color: lighten($theme-header-color,80%);
58
+ * { color: lighten($theme-header-color,80%); }
59
+ }
60
+ }
61
+ nav {
62
+ color: lighten($theme-header-color,80%);
63
+ a:not(.onlyIcon) {
64
+ background-color: darken($theme-nav-color,5%);
65
+ border: 1px solid darken($theme-nav-color,15%);
66
+ color: lighten($theme-header-color,80%);
67
+ * { color: lighten($theme-nav-color,80%); }
68
+ }
69
+ }
70
+ footer {
71
+ a {
72
+ margin: 3px;
73
+ * { color: #FFF; }
74
+ i { }
75
+ &.is-active {
76
+ background-color: #FFF;
77
+ border: 1px solid darken($theme-footer-color,40%);
78
+ * { color: $theme-footer-color; }
79
+ i { border-color: $theme-footer-color; }
80
+ }
81
+ }
82
+ }
83
+
84
+
85
+
86
+
87
+
88
+ // Border radius
89
+ header,
90
+ nav,
91
+ footer {
92
+ a:not(.onlyIcon) {
93
+ @include border-radius($theme-border-radius);
94
+ }
95
+ }
96
+ header,
97
+ nav,
98
+ footer {
99
+ .control-group {
100
+ a {
101
+ @include border-radius(0);
102
+ &:first-child { @include border-left-radius($theme-border-radius); }
103
+ &:last-child { @include border-right-radius($theme-border-radius); }
104
+ }
105
+ }
106
+ }
107
+
108
+ ul[data-type="listview"].inset {
109
+ @include border-radius($theme-border-radius);
110
+ li {
111
+ &:first-child { @include border-top-radius($theme-border-radius); }
112
+ &:last-child { @include border-bottom-radius($theme-border-radius); }
113
+ }
114
+ }
115
+
116
+
117
+
118
+
119
+
120
+ ul {
121
+ li { z-index: 1; }
122
+ li.is-active { z-index: 2; }
123
+ li.list-divider { z-index: 3; }
124
+ }
125
+
126
+
127
+
128
+
129
+
130
+ ul[data-type="listview"] {
131
+ color: #666;
132
+ a {
133
+ color: #666;
134
+ }
135
+ li {
136
+ background-color: #FFF;
137
+ margin-top: -1px;
138
+ position: relative;
139
+ border-style: solid;
140
+ border-color: darken($theme-base-color,10%);
141
+ .title { color: #444; }
142
+ .picture {
143
+ background-image: url(https://si0.twimg.com/profile_images/2090403606/abf2c68e837d11e19e4a12313813ffc0_7_normal.jpg);
144
+ width: 44px;
145
+ height: 44px;
146
+ &.small {
147
+ width: 30px;
148
+ height: 30px;
149
+ }
150
+ }
151
+ &.is-active {
152
+ background-color: darken($theme-base-color,2%);
153
+ border-color: darken($theme-base-color,15%);
154
+ }
155
+ &.list-divider {
156
+ background-color: darken($theme-base-color,30%);
157
+ border-color: darken($theme-base-color,40%);
158
+ }
159
+ }
160
+
161
+ &:not(.inset) {
162
+ li { border-width: 1px 0; }
163
+ }
164
+ &.inset {
165
+ li { border-width: 1px; }
166
+ }
167
+ }
168
+
169
+ .list-divider {
170
+ font-size: 11px;
171
+ color: darken($theme-base-color,60%);
172
+ }
173
+
174
+
175
+
176
+ .badge {
177
+ li & {
178
+ @include border-radius($theme-border-radius);
179
+ background-color: darken($theme-base-color,20);
180
+ font-size: 11px;
181
+ }
182
+ }
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+ //Dialogs
191
+ div[role="dialog"] {
192
+ background-color: darken($theme-base-color,20);
193
+ a {
194
+ background-color: #333;
195
+ color: #FFF;
196
+ }
197
+ }
198
+ div#{$isModal} {
199
+ .close {
200
+ @include border-radius(20px);
201
+ border: 2px solid #FFF;
202
+ background: darken($theme-base-color,20);
203
+ }
204
+ }
205
+
206
+ //Forms
207
+
208
+ form {
209
+ input,
210
+ textarea,
211
+ select {
212
+ border: 1px solid #ccc;
213
+ }
214
+ .content {
215
+ background-color: #eee;
216
+ border-bottom: 1px solid #bbb;
217
+ }
218
+ }
219
+
220
+
221
+ //Sliders
222
+ .slider {
223
+ @include border-radius(1em);
224
+ background-color: #ddd;
225
+ border: 1px solid #aaa;
226
+ .progress{
227
+ @include border-radius(1em);
228
+ background-color: blue;
229
+ .circle {
230
+ @include border-radius(1em);
231
+ background-color: #ccc;
232
+ border: 1px solid #888;
233
+
234
+ }
235
+ }
236
+ }
237
+
238
+ .loader {
239
+ @include border-radius(8px);
240
+ background-color: rgba(black,.4);
241
+ border: 1px solid rgba(black,.6);
242
+ padding: 0;
243
+ .progress {
244
+ @include border-radius(5px);
245
+ width: 30%;
246
+ background-color: #FFF;
247
+ }
248
+ }
249
+
250
+
251
+
252
+
253
+
254
+
255
+
@@ -0,0 +1,164 @@
1
+ @import "compass";
2
+ @import "../structure/utilities/variables";
3
+
4
+ $theme-header-color: #009AFF;
5
+ $theme-header-color2: #225233;
6
+
7
+ $theme-tabbar-color: #2B3035;
8
+ $theme-toolbar-color: #B4BEC5;
9
+ $theme-border-radius: 5px;
10
+
11
+ $theme-base-color: #333;
12
+
13
+
14
+ article {
15
+ background-color: lighten($theme-base-color,80%);
16
+ }
17
+
18
+ footer {
19
+ color: #FFF;
20
+ }
21
+
22
+ footer#{$isTabbar} {
23
+ a:not(.onlyIcon) {
24
+ @include border-radius(0px);
25
+ }
26
+ a {
27
+ margin: 0px;
28
+ border: 0 none;
29
+ color: lighten($theme-base-color,50%);
30
+ * { color: lighten($theme-base-color,50%); }
31
+ &.is-active {
32
+ background-color: darken($theme-base-color,1%);
33
+ border: 0 none;
34
+ color: lighten($theme-base-color,70%);
35
+ * { color: lighten($theme-base-color,70%); }
36
+ }
37
+ }
38
+ }
39
+
40
+ aside {
41
+
42
+ nav {
43
+ background-color: darken($theme-base-color,5%);
44
+ border-color: darken($theme-base-color,5%);
45
+ }
46
+
47
+ nav#{$isToolbar} {
48
+ a {
49
+ border: 0 none;
50
+ @include border-radius(20px);
51
+ color: lighten($theme-base-color,0%);
52
+ * { color: lighten($theme-base-color,0%); }
53
+ }
54
+ }
55
+
56
+
57
+ nav#{$isTabbar} {
58
+ margin-top: -5px;
59
+ a {
60
+ margin: 5px;
61
+ background-color: darken($theme-base-color,2%);
62
+ border: 1px solid darken($theme-base-color,0%);
63
+ color: lighten($theme-base-color,50%);
64
+ * { color: lighten($theme-base-color,50%); }
65
+ &.is-active {
66
+ background-color: lighten($theme-base-color,10%);
67
+ border: 1px solid lighten($theme-base-color,15%);
68
+ color: lighten($theme-base-color,70%);
69
+ * { color: lighten($theme-base-color,70%); }
70
+ }
71
+ }
72
+ }
73
+
74
+
75
+ header {
76
+ a.is-active {
77
+ background-color: #000;
78
+ }
79
+ }
80
+
81
+
82
+ background-color: #333;
83
+ input {
84
+ @include border-radius(20px);
85
+ background-color: lighten($theme-base-color,10%);
86
+ color: lighten($theme-base-color,60%);
87
+ padding: 0 10px;
88
+ }
89
+
90
+ header {
91
+ background-color: darken($theme-base-color,5%);
92
+ border-top: 1px solid lighten($theme-base-color,10%) !important;
93
+ }
94
+
95
+ .badge {
96
+ background-color: lighten($theme-base-color,10%);
97
+ color: lighten($theme-base-color,60%);
98
+ }
99
+
100
+ ul[data-type="listview"] {
101
+ color: lighten($theme-base-color,60%);
102
+ a { color: lighten($theme-base-color,60%); }
103
+ i {
104
+ width: 18px;
105
+ text-align: center;
106
+ font-size: 17px;
107
+ }
108
+ li {
109
+ background-color: #333;
110
+ border-top: 1px solid lighten($theme-base-color,5%);
111
+ border-bottom: 1px solid darken($theme-base-color,5%);
112
+ margin: 0;
113
+
114
+ .title { color: #DDD; }
115
+ &.is-active {
116
+ background-color: darken($theme-base-color,2%);
117
+ border-color: darken($theme-base-color,15%);
118
+ }
119
+ &.list-divider {
120
+ background-color: lighten($theme-base-color,5%);
121
+ border-color: lighten($theme-base-color,2%);
122
+ }
123
+ }
124
+ .aside:last-child i {
125
+ color: lighten($theme-base-color,15%)
126
+ }
127
+ }
128
+
129
+ .list-divider {
130
+ font-weight: bold;
131
+ color: lighten($theme-base-color,25%);
132
+ }
133
+ }
134
+
135
+
136
+
137
+
138
+ /* Dialogs */
139
+ div[role="dialog"] {
140
+ color: #CCC;
141
+ background-color: darken($theme-base-color,60%);
142
+ background-color: darken($theme-base-color,60%);
143
+ a {
144
+ background-color: #444;
145
+ color: #DDD;
146
+ }
147
+ }
148
+ div#{$isModal} {
149
+ padding: 0 10px;
150
+ .close {
151
+ @include border-radius(20px);
152
+ border: 0px none;
153
+ background: darken($theme-base-color,20%);
154
+ font-size: 25px;
155
+ padding: 3px;
156
+ i {
157
+ top: 2px;
158
+ position: relative;
159
+ }
160
+ }
161
+ }
162
+
163
+
164
+
@@ -0,0 +1,19 @@
1
+ @import "compass";
2
+
3
+
4
+ ul[data-type="listview"] .content > * + * {
5
+ margin-top: 2px;
6
+ .meta { color: #999; }
7
+ }
8
+ ul#mail {
9
+ h1 { font-size: 16px; }
10
+ h2 { font-weight: normal; }
11
+ p { color: #999; }
12
+ }
13
+ ul#twitterlist {
14
+ h1 {
15
+ span {
16
+ color: #999;
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,130 @@
1
+
2
+
3
+ %h1 Radio y checkbox
4
+ %form.inset
5
+
6
+ .content
7
+ %label
8
+ %input{:type => "checkbox"}
9
+ Utilizar HTML
10
+ .content
11
+ %label
12
+ %input{:type => "checkbox"}
13
+ Utilizar CSS
14
+
15
+ .content
16
+ %label
17
+ %input{:type => "radio", :name => "radio"}
18
+ Usar Coolstrap
19
+ .content
20
+ %label
21
+ %input{:type => "radio", :name => "radio"}
22
+ No usar Coolstrap
23
+
24
+ %h1 horizontales
25
+ %form.inset
26
+ .content.horizontal
27
+ %label
28
+ %input{:type => "radio", :name => "radio"}
29
+ Cantar Lambada
30
+ .content.horizontal
31
+ %label
32
+ %input{:type => "radio", :name => "radio"}
33
+ Cantar Cueca
34
+
35
+
36
+
37
+ %form.inset
38
+ .content.horizontal
39
+ %label
40
+ %input{:type => "checkbox"}
41
+ Bailar Rock and Roll
42
+ .content.horizontal
43
+ %label
44
+ %input{:type => "checkbox"}
45
+ Bailar Samba
46
+
47
+
48
+
49
+
50
+ %h1 Con porcentajes
51
+ %form.inset
52
+
53
+ .content.horizontal
54
+ .aside Name
55
+ %input{:type => "text"}
56
+ .content.horizontal
57
+ .aside
58
+ %i.icon-phone-sign
59
+ %input{:type => "tel"}
60
+ .content.horizontal
61
+ .aside Larger Adress
62
+ %input{:type => "text"}
63
+ .content.horizontal.start
64
+ .aside Label mas extensa que su contenedor
65
+ %input{:type => "text"}
66
+ .content.horizontal.start
67
+ .aside Descripcion
68
+ %textarea
69
+ .content.horizontal
70
+ .aside Dia para entrenar carrera
71
+ %select
72
+ %option{:value => "option 1"} Lunes
73
+ %option{:value => "option 2"} Miercoles
74
+ %option{:value => "option 3"} Viernes
75
+
76
+ %h1 Label encima
77
+ %form.inset
78
+ .content.stack
79
+ %label
80
+ Name
81
+ %input{:type => "text"}
82
+ .content.stack
83
+ %label
84
+ Date
85
+ %input{:type => "date"}
86
+ .content.stack
87
+ %label
88
+ Datetime
89
+ %input{:type => "datetime"}
90
+ .content.stack
91
+ %label
92
+ Datetime-local
93
+ %input{:type => "datetime-local"}
94
+ .content.stack
95
+ %label
96
+ Time
97
+ %input{:type => "time"}
98
+ .content.stack
99
+ %label
100
+ Month
101
+ %input{:type => "month"}
102
+ .content.stack
103
+ %label
104
+ Number
105
+ %input{:type => "number"}
106
+ .content.stack
107
+ %label
108
+ Tel
109
+ %input{:type => "tel"}
110
+ .content.stack
111
+ %label
112
+ Url
113
+ %input{:type => "url"}
114
+ .content.stack
115
+ %label
116
+ Week
117
+ %input{:type => "week"}
118
+ .content.stack
119
+ %label
120
+ Descripcion
121
+ %textarea
122
+ .content.stack
123
+ %label
124
+ Escoja su dia libre
125
+ %select
126
+ %option{:value => "option 1"} Martes
127
+ %option{:value => "option 2"} Jueves
128
+ %option{:value => "option 3"} Sabado
129
+
130
+