cambium 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -1
  3. data/Rakefile +0 -1
  4. data/bin/cambium +20 -0
  5. data/cambium.gemspec +24 -1
  6. data/lib/cambium/engine.rb +6 -0
  7. data/lib/cambium/version.rb +1 -1
  8. data/lib/cambium.rb +1 -1
  9. data/lib/docs/notes.md +4 -0
  10. data/lib/generators/cambium/setup/config_generator.rb +185 -0
  11. data/lib/generators/cambium/setup/controllers_generator.rb +95 -0
  12. data/lib/generators/cambium/setup/devise_generator.rb +78 -0
  13. data/lib/generators/cambium/setup/helpers_generator.rb +71 -0
  14. data/lib/generators/cambium/setup/javascripts_generator.rb +111 -0
  15. data/lib/generators/cambium/setup/models_generator.rb +116 -0
  16. data/lib/generators/cambium/setup/stylesheets_generator.rb +86 -0
  17. data/lib/generators/cambium/setup/utilities_generator.rb +87 -0
  18. data/lib/generators/cambium/setup/views_generator.rb +86 -0
  19. data/lib/generators/cambium/templates/Gemfile.erb +41 -0
  20. data/lib/generators/cambium/templates/app/assets/javascripts/.DS_Store +0 -0
  21. data/lib/generators/cambium/templates/app/assets/javascripts/admin/admin.js +12 -0
  22. data/lib/generators/cambium/templates/app/assets/javascripts/admin/backbone/admin.js.coffee +22 -0
  23. data/lib/generators/cambium/templates/app/assets/javascripts/admin/backbone/models/.gitkeep +0 -0
  24. data/lib/generators/cambium/templates/app/assets/javascripts/admin/backbone/routers/router.js.coffee +12 -0
  25. data/lib/generators/cambium/templates/app/assets/javascripts/admin/backbone/templates/paginator_controls.jst.ejs +8 -0
  26. data/lib/generators/cambium/templates/app/assets/javascripts/admin/backbone/templates/paginator_nav.jst.ejs +11 -0
  27. data/lib/generators/cambium/templates/app/assets/javascripts/admin/backbone/views/accordion.js.coffee +33 -0
  28. data/lib/generators/cambium/templates/app/assets/javascripts/admin/backbone/views/counter.js.coffee +25 -0
  29. data/lib/generators/cambium/templates/app/assets/javascripts/admin/backbone/views/dropdown_toggle.js.coffee +16 -0
  30. data/lib/generators/cambium/templates/app/assets/javascripts/admin/backbone/views/init_counter.js.coffee +13 -0
  31. data/lib/generators/cambium/templates/app/assets/javascripts/admin/backbone/views/paginator.js.coffee +86 -0
  32. data/lib/generators/cambium/templates/app/assets/javascripts/admin/backbone/views/publishable.js.coffee +12 -0
  33. data/lib/generators/cambium/templates/app/assets/javascripts/admin/backbone/views/wysiwyg.js.coffee +10 -0
  34. data/lib/generators/cambium/templates/app/assets/javascripts/admin/wysihtml5.js +9521 -0
  35. data/lib/generators/cambium/templates/app/assets/javascripts/application.js +7 -0
  36. data/lib/generators/cambium/templates/app/assets/javascripts/backbone/app.js.coffee +22 -0
  37. data/lib/generators/cambium/templates/app/assets/javascripts/backbone/routers/router.js.coffee +23 -0
  38. data/lib/generators/cambium/templates/app/assets/javascripts/backbone/views/default_helpers.js.coffee +16 -0
  39. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/admin.scss +14 -0
  40. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/bones/bones-config/__default.scss +14 -0
  41. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/bones/bones-config/_buttons.scss +21 -0
  42. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/bones/bones-config/_colors.scss +93 -0
  43. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/bones/bones-config/_components.scss +4 -0
  44. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/bones/bones-config/_forms.scss +28 -0
  45. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/bones/bones-config/_helpers.scss +31 -0
  46. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/bones/bones-config/_images.scss +23 -0
  47. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/bones/bones-config/_nav.scss +117 -0
  48. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/bones/bones-config/_tables.scss +12 -0
  49. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/bones/bones-config/_typography.scss +83 -0
  50. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/bones/bones-config/_wireframe.scss +18 -0
  51. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/bones/bones.scss +68 -0
  52. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/partials/_content.scss +88 -0
  53. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/partials/_form.scss +470 -0
  54. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/partials/_globals.scss +39 -0
  55. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/partials/_header.scss +121 -0
  56. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/partials/_icons.scss +5194 -0
  57. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/partials/_nav.scss +45 -0
  58. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/partials/_wireframe.scss +24 -0
  59. data/lib/generators/cambium/templates/app/assets/stylesheets/admin/wysihtml5.css +7 -0
  60. data/lib/generators/cambium/templates/app/assets/stylesheets/application.scss +9 -0
  61. data/lib/generators/cambium/templates/app/controllers/admin/users_controller.rb +13 -0
  62. data/lib/generators/cambium/templates/app/controllers/admin_controller.rb +88 -0
  63. data/lib/generators/cambium/templates/app/controllers/application_controller.rb +15 -0
  64. data/lib/generators/cambium/templates/app/helpers/admin_helper.rb +120 -0
  65. data/lib/generators/cambium/templates/app/models/concerns/idx.rb +28 -0
  66. data/lib/generators/cambium/templates/app/models/concerns/name.rb +7 -0
  67. data/lib/generators/cambium/templates/app/models/concerns/publishable.rb +50 -0
  68. data/lib/generators/cambium/templates/app/models/concerns/slug.rb +52 -0
  69. data/lib/generators/cambium/templates/app/models/concerns/tags.rb +28 -0
  70. data/lib/generators/cambium/templates/app/models/concerns/title.rb +7 -0
  71. data/lib/generators/cambium/templates/app/models/user.rb +14 -0
  72. data/lib/generators/cambium/templates/app/views/admin/_buttons.html.erb +5 -0
  73. data/lib/generators/cambium/templates/app/views/admin/_form.html.erb +11 -0
  74. data/lib/generators/cambium/templates/app/views/admin/_title.html.erb +1 -0
  75. data/lib/generators/cambium/templates/app/views/admin/edit.html.erb +2 -0
  76. data/lib/generators/cambium/templates/app/views/admin/index.html.erb +50 -0
  77. data/lib/generators/cambium/templates/app/views/admin/new.html.erb +2 -0
  78. data/lib/generators/cambium/templates/app/views/admin/shared/_footer.html.erb +2 -0
  79. data/lib/generators/cambium/templates/app/views/admin/shared/_header.html.erb +2 -0
  80. data/lib/generators/cambium/templates/app/views/admin/shared/_nav.html.erb +12 -0
  81. data/lib/generators/cambium/templates/app/views/admin/shared/_status.html.erb +3 -0
  82. data/lib/generators/cambium/templates/app/views/admin/shared/forms/_editor.html.erb +54 -0
  83. data/lib/generators/cambium/templates/app/views/admin/shared/forms/_form_column_left.html.erb +9 -0
  84. data/lib/generators/cambium/templates/app/views/admin/shared/forms/_form_column_right.html.erb +9 -0
  85. data/lib/generators/cambium/templates/app/views/admin/shared/forms/_form_page.html.erb +18 -0
  86. data/lib/generators/cambium/templates/app/views/admin/shared/forms/_form_section.html.erb +8 -0
  87. data/lib/generators/cambium/templates/app/views/admin/shared/forms/_publishable.html.erb +33 -0
  88. data/lib/generators/cambium/templates/app/views/admin/users/_form.html.erb +11 -0
  89. data/lib/generators/cambium/templates/app/views/application/_status.html.erb +3 -0
  90. data/lib/generators/cambium/templates/app/views/layouts/.DS_Store +0 -0
  91. data/lib/generators/cambium/templates/app/views/layouts/admin.html.erb +44 -0
  92. data/lib/generators/cambium/templates/app/views/layouts/application.html.erb +24 -0
  93. data/lib/generators/cambium/templates/config/application.rb +15 -0
  94. data/lib/generators/cambium/templates/config/database.mysql2.yml.erb +15 -0
  95. data/lib/generators/cambium/templates/config/database.pg.yml.erb +14 -0
  96. data/lib/generators/cambium/templates/config/database.sqlite3.yml.erb +18 -0
  97. data/lib/generators/cambium/templates/config/initializers/_settings.rb +11 -0
  98. data/lib/generators/cambium/templates/config/initializers/assets.rb +1 -0
  99. data/lib/generators/cambium/templates/config/routes.rb.erb +33 -0
  100. data/lib/generators/cambium/templates/config/settings.yml +15 -0
  101. data/lib/generators/cambium/templates/config/settings_private.sample.yml +15 -0
  102. data/lib/generators/cambium/templates/config/settings_private.yml +13 -0
  103. data/lib/generators/cambium/templates/db/seeds.rb +25 -0
  104. data/lib/generators/cambium/templates/gitignore +29 -0
  105. data/lib/generators/cambium/templates/lib/.DS_Store +0 -0
  106. data/lib/generators/cambium/templates/lib/tasks/db.rake +22 -0
  107. data/lib/generators/cambium/templates/lib/tasks/rename.rake +28 -0
  108. data/lib/generators/cambium/templates/vendor/assets/javascripts/modernizr.js +4 -0
  109. data/lib/generators/cambium/templates/vendor/assets/stylesheets/normalize.scss +406 -0
  110. data/lib/help/cambium +7 -0
  111. metadata +375 -4
@@ -0,0 +1,7 @@
1
+ //= require jquery
2
+ //= require jquery_ujs
3
+ //= require underscore
4
+ //= require backbone
5
+ //= require backbone_rails_sync
6
+ //= require backbone_datalink
7
+ //= require backbone/app
@@ -0,0 +1,22 @@
1
+ #= require_self
2
+ #= require_tree ./templates
3
+ #= require_tree ./models
4
+ #= require_tree ./views
5
+ #= require_tree ./routers
6
+
7
+ window.Pilot =
8
+ Models: {}
9
+ Collections: {}
10
+ Routers: {}
11
+ Views: {}
12
+
13
+ $ ->
14
+ new App.Routers.Router
15
+
16
+ # Enable pushState for compatible browsers
17
+ enablePushState = true
18
+
19
+ # Disable for older browsers
20
+ pushState = !!(enablePushState && window.history && window.history.pushState)
21
+
22
+ Backbone.history.start({ pushState: pushState })
@@ -0,0 +1,23 @@
1
+ class App.Routers.Router extends Backbone.Router
2
+
3
+ initialize: =>
4
+ @autoLoadClass()
5
+
6
+ autoLoadClass: =>
7
+ # This is a good place to automatically load classes that may be dependent
8
+ # on a page element, and not necessarily the route.
9
+ #
10
+ # For example:
11
+ #
12
+ # new App.Views.Nav if $('.main-nav').length > 0
13
+ #
14
+ # Or, perhaps you need to load a class on every page. Do that, here, too,
15
+ # like this:
16
+ #
17
+ new App.Views.DefaultHelpers
18
+
19
+ routes:
20
+ '': 'initHomePage'
21
+
22
+ initHomePage: ->
23
+ console.log "Welcome to this awesome site, built using Cambium!"
@@ -0,0 +1,16 @@
1
+ class App.Views.DefaultHelpers extends Backbone.View
2
+
3
+ el: 'body'
4
+
5
+ initialize: =>
6
+ @disabledLinks()
7
+ @fadeOutNotices()
8
+
9
+ disabledLinks: =>
10
+ $('a.disabled').click (e) ->
11
+ e.preventDefault()
12
+
13
+ fadeOutNotices: =>
14
+ setTimeout () =>
15
+ $('.notice, .alert').fadeOut()
16
+ , 3500
@@ -0,0 +1,14 @@
1
+ // Vendor
2
+ @import 'bourbon';
3
+ @import 'admin/bones/bones';
4
+ @import 'pickadate/classic';
5
+ @import 'pickadate/classic.date';
6
+ @import 'pickadate/classic.time';
7
+
8
+ // Partials
9
+ @import 'admin/partials/globals';
10
+ @import 'admin/partials/wireframe';
11
+ @import 'admin/partials/nav';
12
+ @import 'admin/partials/header';
13
+ @import 'admin/partials/form';
14
+ @import 'admin/partials/content';
@@ -0,0 +1,14 @@
1
+ /* Default Values
2
+ ============================ */
3
+ /*
4
+ * Many items within these configuration files
5
+ * are relative to values here.
6
+ *
7
+ */
8
+ $default-fontSize: 16px; // ALL SIZING IS RELATIVE TO THIS VALUE
9
+ $default-fontFamily: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
10
+ $default-fontWeight: 200;
11
+ $default-lineHeight: 1.25em;
12
+ $default-color: $color-dark;
13
+ $default-margin: 0.75em 0;
14
+ $default-shadowColor: $color-light;
@@ -0,0 +1,21 @@
1
+ /* Default Styles
2
+ ============================ */
3
+ $button-default-color: $color-light; // default font color
4
+ $button-default-fontSize: $default-fontSize; // default font size
5
+ $button-default-background: $color-dark-lightest; // default button bg
6
+ $button-default-background-hover: $color-1; // default button bg on hover
7
+ $button-default-background-active: $color-1-dark; // bg on click
8
+ /*
9
+ * Here you can use shorthand where you normally
10
+ * would with css. for example, you could use
11
+ * "1px solid #FFF" for border.
12
+ */
13
+ $button-default-padding: 0.65em 1em;
14
+ $button-default-margin: $default-margin;
15
+ $button-default-border: none;
16
+
17
+ /* Size Factors
18
+ ============================ */
19
+ $button-sizeFactor-huge: 200%; // huge
20
+ $button-sizeFactor-large: 150%; // large
21
+ $button-sizeFactor-small: 75%; // small
@@ -0,0 +1,93 @@
1
+ /* Color Palette
2
+ ============================ */
3
+ $color-1: #0065BD; // used most often by default
4
+ $color-2: #00A9E0;
5
+ $color-3: #D48D2B;
6
+ $color-4: #1F7D24;
7
+ $color-5: #BDAD1B;
8
+ $color-dark: #141819; // designed to be a dark color
9
+ $color-light: #fbfcfc; // designed to be a light color
10
+
11
+ // used primarily for notifications:
12
+ $color-warning: #CCA300;
13
+ $color-danger: #CC0000;
14
+ $color-success: #008A2E;
15
+
16
+ /* Tones
17
+ ============================ */
18
+ // color factors -- to increase tone
19
+ $color-factor-1: 5%;
20
+ $color-factor-2: 15%;
21
+ $color-factor-3: 25%;
22
+
23
+ /*
24
+ * These tone calculations are performed automatically.
25
+ * They provide you with a light, lighter, lightest,
26
+ * dark, darker, darkest variations of your palette.
27
+ *
28
+ * You don't need to change anything below, but can
29
+ * if you'd like, or you can add new variations.
30
+ */
31
+ $color-1-light: lighten($color-1, $color-factor-1);
32
+ $color-1-lighter: lighten($color-1, $color-factor-2);
33
+ $color-1-lightest: lighten($color-1, $color-factor-3);
34
+ $color-1-dark: darken($color-1, $color-factor-1);
35
+ $color-1-darker: darken($color-1, $color-factor-2);
36
+ $color-1-darkest: darken($color-1, $color-factor-3);
37
+
38
+ $color-2-light: lighten($color-2, $color-factor-1);
39
+ $color-2-lighter: lighten($color-2, $color-factor-2);
40
+ $color-2-lightest: lighten($color-2, $color-factor-3);
41
+ $color-2-dark: darken($color-2, $color-factor-1);
42
+ $color-2-darker: darken($color-2, $color-factor-2);
43
+ $color-2-darkest: darken($color-2, $color-factor-3);
44
+
45
+ $color-3-light: lighten($color-3, $color-factor-1);
46
+ $color-3-lighter: lighten($color-3, $color-factor-2);
47
+ $color-3-lightest: lighten($color-3, $color-factor-3);
48
+ $color-3-dark: darken($color-3, $color-factor-1);
49
+ $color-3-darker: darken($color-3, $color-factor-2);
50
+ $color-3-darkest: darken($color-3, $color-factor-3);
51
+
52
+ $color-4-light: lighten($color-4, $color-factor-1);
53
+ $color-4-lighter: lighten($color-4, $color-factor-2);
54
+ $color-4-lightest: lighten($color-4, $color-factor-3);
55
+ $color-4-dark: darken($color-4, $color-factor-1);
56
+ $color-4-darker: darken($color-4, $color-factor-2);
57
+ $color-4-darkest: darken($color-4, $color-factor-3);
58
+
59
+ $color-5-light: lighten($color-5, $color-factor-1);
60
+ $color-5-lighter: lighten($color-5, $color-factor-2);
61
+ $color-5-lightest: lighten($color-5, $color-factor-3);
62
+ $color-5-dark: darken($color-5, $color-factor-1);
63
+ $color-5-darker: darken($color-5, $color-factor-2);
64
+ $color-5-darkest: darken($color-5, $color-factor-3);
65
+
66
+ $color-dark-light: lighten($color-dark, $color-factor-1);
67
+ $color-dark-lighter: lighten($color-dark, $color-factor-2);
68
+ $color-dark-lightest: lighten($color-dark, $color-factor-3);
69
+
70
+ $color-light-dark: darken($color-light, $color-factor-1);
71
+ $color-light-darker: darken($color-light, $color-factor-2);
72
+ $color-light-darkest: darken($color-light, $color-factor-3);
73
+
74
+ $color-success-light: lighten($color-success, $color-factor-1);
75
+ $color-success-lighter: lighten($color-success, $color-factor-2);
76
+ $color-success-lightest: lighten($color-success, $color-factor-3);
77
+ $color-success-dark: darken($color-success, $color-factor-1);
78
+ $color-success-darker: darken($color-success, $color-factor-2);
79
+ $color-success-darkest: darken($color-success, $color-factor-3);
80
+
81
+ $color-warning-light: lighten($color-warning, $color-factor-1);
82
+ $color-warning-lighter: lighten($color-warning, $color-factor-2);
83
+ $color-warning-lightest: lighten($color-warning, $color-factor-3);
84
+ $color-warning-dark: darken($color-warning, $color-factor-1);
85
+ $color-warning-darker: darken($color-warning, $color-factor-2);
86
+ $color-warning-darkest: darken($color-warning, $color-factor-3);
87
+
88
+ $color-danger-light: lighten($color-danger, $color-factor-1);
89
+ $color-danger-lighter: lighten($color-danger, $color-factor-2);
90
+ $color-danger-lightest: lighten($color-danger, $color-factor-3);
91
+ $color-danger-dark: darken($color-danger, $color-factor-1);
92
+ $color-danger-darker: darken($color-danger, $color-factor-2);
93
+ $color-danger-darkest: darken($color-danger, $color-factor-3);
@@ -0,0 +1,4 @@
1
+ /* Notifications
2
+ ============================ */
3
+ $component-notification-padding: 0.5em 1em;
4
+ $component-notification-margin: 1em 0;
@@ -0,0 +1,28 @@
1
+ /* Inputs / Text Fields
2
+ ============================ */
3
+ /*
4
+ * Where it makes sense, these styles are also
5
+ * applied to textarea elements.
6
+ *
7
+ * And although submit buttons are inputs,
8
+ * their styles are handled in config/_buttons
9
+ *
10
+ */
11
+ $form-input-margin: $default-margin;
12
+ $form-input-width: 100%;
13
+ $form-input-boxSizing: border-box;
14
+ $form-input-border: 1px solid $color-light-darker;
15
+ $form-input-outline-focus: none;
16
+ $form-input-border-focus: 1px solid $color-1;
17
+ $form-input-padding: 4px;
18
+
19
+ /* Radio Buttons
20
+ ============================ */
21
+ $form-radio-margin: 0 0 0.5em 0;
22
+
23
+ /* Fieldsets
24
+ ============================ */
25
+ $form-fieldset-border: 1px solid $color-light-darker;
26
+ // fieldset legens
27
+ $form-legend-fontWeight: 600;
28
+ $form-legend-padding: 0 5px;
@@ -0,0 +1,31 @@
1
+ /* Border
2
+ ============================ */
3
+ $helper-border-width: 1px;
4
+ $helper-border-style: solid;
5
+
6
+ /* Margin
7
+ ============================ */
8
+ $helper-margin-small: 0.25em;
9
+ $helper-margin-medium: 0.5em;
10
+ $helper-margin-large: 0.75em;
11
+
12
+ /* Padding
13
+ ============================ */
14
+ $helper-padding-small: 0.5em;
15
+ $helper-padding-medium: 1em;
16
+ $helper-padding-large: 1.5em;
17
+
18
+ /* Size
19
+ ============================ */
20
+ /*
21
+ * The helper classes available are looped
22
+ * by going from 1 to max, where the value
23
+ * is multiplied by the index.
24
+ *
25
+ * The smaller the index and the larger the
26
+ * max, the more choices available (but that
27
+ * makes the bones.css file larger, too).
28
+ *
29
+ */
30
+ $helper-size-index: 10;
31
+ $helper-size-max: 100;
@@ -0,0 +1,23 @@
1
+ /* Sizes
2
+ ============================ */
3
+ // thumb
4
+ $img-thumb-width: 150px;
5
+ // medium
6
+ $img-medium-width: 250px;
7
+ // large
8
+ $img-large-width: 400px;
9
+
10
+ /* Styles
11
+ ============================ */
12
+ // frame
13
+ $img-frame-width: 0.5em;
14
+ $img-frame-outline: 1px solid $color-light-dark;
15
+ $img-frame-color: white;
16
+ // polaroid
17
+ $img-polaroid-frameWidth: 0.75em;
18
+ $img-polaroid-frameColor: white;
19
+ $img-polaroid-bottomHeight: 2.75em;
20
+ $img-polaroid-outline: 1px solid $color-light-dark;
21
+ // panoramic
22
+ $img-panoramic-height: 200px;
23
+ $img-panoramic-top: -40%;
@@ -0,0 +1,117 @@
1
+ /* Default Nav Menu
2
+ ============================ */
3
+ // container
4
+ $nav-default-background: transparent; // background of entire bar
5
+ // basic styles
6
+ $nav-default-padding: 0.35em 0;
7
+ $nav-default-margin: 0 1.25em;
8
+ $nav-default-fontSize: 1.1em;
9
+ // effects
10
+ $nav-default-background: transparent;
11
+ $nav-default-color: $color-light-darkest;
12
+ $nav-default-transition: all 0.35s linear; // keep set to "all" if you want all styles/effects to transition
13
+ $nav-default-underline: 2px solid transparent; // stylish substitute for underline -- a "border-bottom" style, NOT "text-decoration"
14
+ // hover state
15
+ $nav-default-background-hover: transparent;
16
+ $nav-default-color-hover: $color-1;
17
+ $nav-default-transition-hover: $nav-default-transition;
18
+ $nav-default-underline-hover: 2px solid $color-1;
19
+
20
+
21
+ /* Navbar
22
+ ============================ */
23
+ // container
24
+ $nav-bar-container-background: $color-1;
25
+ // basic styles
26
+ $nav-bar-padding: 0.35em 1.25em;
27
+ $nav-bar-margin: 0;
28
+ $nav-bar-fontSize: 1.1em;
29
+ // effects
30
+ $nav-bar-background: transparent;
31
+ $nav-bar-color: $color-light-dark;
32
+ $nav-bar-transition: all 0.35s linear;
33
+ $nav-bar-underline: none;
34
+ // hover state
35
+ $nav-bar-background-hover: $color-1-lighter;
36
+ $nav-bar-color-hover: $nav-bar-color;
37
+ $nav-bar-transition-hover: $nav-bar-transition;
38
+ $nav-bar-underline-hover: none;
39
+
40
+
41
+ /* Vertical Nav
42
+ ============================ */
43
+ // container
44
+ $nav-vertical-container-background: transparent;
45
+ // basic styles
46
+ $nav-vertical-padding: 0.35em 1.25em;
47
+ $nav-vertical-margin: 0;
48
+ $nav-vertical-fontSize: 1.1em;
49
+ // effects
50
+ $nav-vertical-background: transparent;
51
+ $nav-vertical-color: $color-light-darker;
52
+ $nav-vertical-transition: all 0.35s linear;
53
+ $nav-vertical-underline: none;
54
+ // hover state
55
+ $nav-vertical-background-hover: transparent;
56
+ $nav-vertical-color-hover: $color-1;
57
+ $nav-vertical-transition-hover: $nav-vertical-transition;
58
+ $nav-vertical-underline-hover: none;
59
+
60
+
61
+ /* Filters
62
+ ============================ */
63
+ // container
64
+ $nav-filter-container-background: transparent;
65
+ // basic styles
66
+ $nav-filter-padding: 0.5em;
67
+ $nav-filter-margin: 0 0.5em;
68
+ $nav-filter-fontSize: 0.9em;
69
+ // effects
70
+ $nav-filter-background: transparent;
71
+ $nav-filter-color: $color-1;
72
+ $nav-filter-transition: all 0.35s linear;
73
+ $nav-filter-underline: none;
74
+ // hover state
75
+ $nav-filter-background-hover: $color-1;
76
+ $nav-filter-color-hover: $color-light;
77
+ $nav-filter-transition-hover: $nav-filter-transition;
78
+ $nav-filter-underline-hover: none;
79
+ // active state
80
+ $nav-filter-font-weight-active: 600;
81
+ $nav-filter-background-active: transparent;
82
+ $nav-filter-color-active: $color-1;
83
+ $nav-filter-underline-active: none;
84
+ // disabled state
85
+ $nav-filter-background-disabled: transparent;
86
+ $nav-filter-color-disabled: $color-light-dark;
87
+ $nav-filter-underline-disabled: none;
88
+
89
+
90
+ /* Breadcrumbs
91
+ ============================ */
92
+ // container
93
+ $nav-breadcrumbs-container-background: transparent;
94
+ // basic styles
95
+ $nav-breadcrumbs-padding: 0.5em;
96
+ $nav-breadcrumbs-margin: 0 0.5em;
97
+ $nav-breadcrumbs-fontSize: 0.9em;
98
+ $nav-breadcrumbs-separator: " \002F ";
99
+ // effects
100
+ $nav-breadcrumbs-background: transparent;
101
+ $nav-breadcrumbs-color: $color-light-darkest;
102
+ $nav-breadcrumbs-transition: all 0.35s linear;
103
+ $nav-breadcrumbs-underline: none;
104
+ // hover state
105
+ $nav-breadcrumbs-background-hover: transparent;
106
+ $nav-breadcrumbs-color-hover: $color-1;
107
+ $nav-breadcrumbs-transition-hover: $nav-breadcrumbs-transition;
108
+ $nav-breadcrumbs-underline-hover: none;
109
+ // active state
110
+ $nav-breadcrumbs-font-weight-active: 600;
111
+ $nav-breadcrumbs-background-active: transparent;
112
+ $nav-breadcrumbs-color-active: $color-1;
113
+ $nav-breadcrumbs-underline-active: none;
114
+ // disabled state
115
+ $nav-breadcrumbs-background-disabled: transparent;
116
+ $nav-breadcrumbs-color-disabled: $color-light-dark;
117
+ $nav-breadcrumbs-underline-disabled: none;
@@ -0,0 +1,12 @@
1
+ /* Standard Tables
2
+ ============================ */
3
+ // default
4
+ $table-default-width: 100%;
5
+ $table-default-border: 1px solid $color-light-darker;
6
+ // headers
7
+ $table-header-background: $color-1;
8
+ $table-header-color: $color-light;
9
+ $table-header-fontWeight: 400;
10
+ // cells
11
+ $table-cell-padding: 5px 10px;
12
+ $table-cell-altBackground: $color-light; // each even row will have this background
@@ -0,0 +1,83 @@
1
+ /* Headings
2
+ ============================ */
3
+ // default
4
+ $type-heading-margin: $default-margin;
5
+ $type-heading-color: $default-color;
6
+ $type-heading-textTransform: none;
7
+ $type-heading-fontWeight: 600;
8
+ // individual headings
9
+ $type-h1-fontSize: 2.75em;
10
+ $type-h2-fontSize: 2.4em;
11
+ $type-h3-fontSize: 2.05em;
12
+ $type-h4-fontSize: 1.7em;
13
+ $type-h5-fontSize: 1.35em;
14
+ $type-h6-fontSize: 1.0em;
15
+
16
+ /* Subheadings
17
+ ============================ */
18
+ $type-subheading-color: $color-dark-lightest;
19
+ $type-subheading-fontWeight: 200;
20
+ $type-subheading-sizeFactor: 0.75;
21
+
22
+ /* Block-Level Elements
23
+ ============================ */
24
+ // paragraph
25
+ $type-paragraph-font: $default-fontSize;
26
+ $type-paragraph-fontWeight: $default-fontWeight;
27
+ $type-paragraph-margin: $default-margin;
28
+ $type-paragraph-lineHeight: $default-lineHeight;
29
+ $type-paragraph-color: $default-color;
30
+ // blockquote
31
+ $type-blockquote-padding: 0.25em 0.75em;
32
+ $type-blockquote-margin: $default-margin;
33
+ $type-blockquote-background: $color-light;
34
+ $type-blockquote-borderLeft: 7.5px solid $color-light-dark;
35
+ $type-blockquote-fontSize: $default-fontSize;
36
+ // code block
37
+ $type-codeBlock-margin: 1.25em 0;
38
+ $type-codeBlock-padding: 1.25em 0.75em;
39
+ $type-codeBlock-fontFamily: Consolas, monospace;
40
+ $type-codeBlock-color: $default-color;
41
+ $type-codeBlock-background: $color-light;
42
+ $type-codeBlock-border: $color-light-dark;
43
+ $type-codeBlock-fontSize: 13px;
44
+ $type-codeBlock-lineHeight: 19px;
45
+
46
+ /* Inline Elements
47
+ ============================ */
48
+ // links
49
+ $type-link-color: $color-1;
50
+ $type-link-color-hover: $color-1-darker;
51
+ $type-link-underline: false;
52
+ $type-link-underline-hover: false;
53
+ // code
54
+ $type-code-font-family: Consolas, monospace;
55
+ $type-code-color: $color-2;
56
+ $type-code-fontSize: 12px;
57
+ $type-code-background: $color-light;
58
+ $type-code-padding: 1px 2px;
59
+ $type-code-border: $color-light-dark;
60
+ // small
61
+ $type-small-fontFactor: 60%;
62
+ // big
63
+ $type-big-fontFactor: 140%;
64
+ // strong
65
+ $type-strong-fontWeight: 600;
66
+
67
+ /* Lists
68
+ ============================ */
69
+ // unordered lists
70
+ $type-ul-marginLeft-1: -20px;
71
+ $type-ul-marginLeft-2: 0;
72
+ $type-ul-styleType: disc;
73
+ $type-ul-lineHeight: 1.5;
74
+ // ordered lists
75
+ $type-ol-marginLeft-1: $type-ul-marginLeft-1;
76
+ $type-ol-marginLeft-2: $type-ul-marginLeft-2;
77
+ $type-ol-lineHeight: $type-ul-lineHeight;
78
+
79
+ /* Horizontal Rule
80
+ ============================ */
81
+ $type-hr-color: $color-light-dark;
82
+ $type-hr-height: 1px;
83
+ $type-hr-margin: $default-margin;
@@ -0,0 +1,18 @@
1
+ /* Containers
2
+ ============================ */
3
+ $wireframe-container-width: 1200px; // maximum container width -- container will shrink as needed
4
+ $wireframe-container-margin: 0 auto;
5
+ $wireframe-container-padding: 20px;
6
+
7
+ /* Content
8
+ ============================ */
9
+ $wireframe-content-margin: $wireframe-container-margin;
10
+ $wireframe-content-padding: $wireframe-container-padding;
11
+
12
+ /* Grid
13
+ ============================ */
14
+ $wireframe-grid-numberOfCols: 12; // number of columns as base of building grid -- any number is permitted
15
+ $wireframe-column-marginLeftRight: 0.5%; // margin on each column -- must be one percentage
16
+ $wireframe-column-paddingLeftRight: 0.5%; // padding on each column -- must be one percentage
17
+ $wireframe-column-marginTopBottom: 0.5%; // top/bottom margin on each column
18
+ $wireframe-column-paddingTopBottom: 0.5%; // top/bottom padding on each column
@@ -0,0 +1,68 @@
1
+ /*! Bones CSS Framework | v1.0 | Sean C. Davis | MIT License | git.io/imidoQ */
2
+
3
+ /*
4
+ * Welcome to Bones CSS Framework!
5
+ *
6
+ * This is the manifest file for Bones' CSS. It brings all files
7
+ * together.
8
+ *
9
+ * To add or remove modules, simply comment or uncomment and then
10
+ * use Compass to recompile and compress.
11
+ *
12
+ * Files are noted as recommended and required where applicable.
13
+ *
14
+ * Refer to the ../docs/ directory for more detailed instruction.
15
+ *
16
+ */
17
+
18
+ /* Vendor
19
+ ============================ */
20
+ @import 'bones/vendor/normalize'; // highly recommended for cross-browser consistency
21
+
22
+ /* Config
23
+ ============================ */
24
+ /*
25
+ * These are your configuration files. You should always
26
+ * load all of these files, as the variable values are
27
+ * resolved and do not contribute any size to the final
28
+ * bones.css file.
29
+ *
30
+ */
31
+ @import 'admin/bones/bones-config/colors';
32
+ @import 'admin/bones/bones-config/_default';
33
+ @import 'admin/bones/bones-config/wireframe';
34
+ @import 'admin/bones/bones-config/typography';
35
+ @import 'admin/bones/bones-config/buttons';
36
+ @import 'admin/bones/bones-config/forms';
37
+ @import 'admin/bones/bones-config/tables';
38
+ @import 'admin/bones/bones-config/nav';
39
+ @import 'admin/bones/bones-config/images';
40
+ @import 'admin/bones/bones-config/components';
41
+ @import 'admin/bones/bones-config/helpers';
42
+
43
+ /* Main Styles
44
+ ============================ */
45
+ @import 'bones/styles/_default'; // required
46
+ @import 'bones/styles/wireframe';
47
+ @import 'bones/styles/typography';
48
+ @import 'bones/styles/icons'; // icomoon free icon font
49
+ @import 'bones/styles/buttons';
50
+ @import 'bones/styles/forms';
51
+ @import 'bones/styles/tables';
52
+ @import 'bones/styles/nav';
53
+ @import 'bones/styles/images';
54
+ @import 'bones/styles/components';
55
+
56
+ /* Helpers
57
+ ============================ */
58
+ @import 'bones/styles/helpers/margin';
59
+ @import 'bones/styles/helpers/padding';
60
+ @import 'bones/styles/helpers/positioning';
61
+ @import 'bones/styles/helpers/color';
62
+ @import 'bones/styles/helpers/background';
63
+ @import 'bones/styles/helpers/border';
64
+ @import 'bones/styles/helpers/size';
65
+
66
+ /* Plugins
67
+ ============================ */
68
+ // @import 'bones/styles/plugins/syntax_highlighting';