pixelforce_cms 0.2

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.
Files changed (28) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +29 -0
  6. data/Rakefile +1 -0
  7. data/lib/generators/pixelforce_cms/controller_generator.rb +29 -0
  8. data/lib/generators/pixelforce_cms/install_generator.rb +49 -0
  9. data/lib/generators/pixelforce_cms/templates/Gemfile +81 -0
  10. data/lib/generators/pixelforce_cms/templates/admin_controller.rb +39 -0
  11. data/lib/generators/pixelforce_cms/templates/application.html.haml +34 -0
  12. data/lib/generators/pixelforce_cms/templates/base_controller.rb +7 -0
  13. data/lib/generators/pixelforce_cms/templates/css/_variables.css.scss +15 -0
  14. data/lib/generators/pixelforce_cms/templates/css/application/chromeframe.css.scss +14 -0
  15. data/lib/generators/pixelforce_cms/templates/css/application/document.css.scss +0 -0
  16. data/lib/generators/pixelforce_cms/templates/css/application/html5.css.scss +33 -0
  17. data/lib/generators/pixelforce_cms/templates/css/application/media_queries.css.scss +0 -0
  18. data/lib/generators/pixelforce_cms/templates/css/application.css +17 -0
  19. data/lib/generators/pixelforce_cms/templates/css/jasny-bootstrap-responsive.css +170 -0
  20. data/lib/generators/pixelforce_cms/templates/css/jasny-bootstrap.css +1449 -0
  21. data/lib/generators/pixelforce_cms/templates/css/style.css.scss +101 -0
  22. data/lib/generators/pixelforce_cms/templates/css/style.responsive.css.scss +17 -0
  23. data/lib/generators/pixelforce_cms/templates/javascripts/application.js +17 -0
  24. data/lib/generators/pixelforce_cms/templates/javascripts/jasny-bootstrap.js +1119 -0
  25. data/lib/pixelforce_cms/version.rb +3 -0
  26. data/lib/pixelforce_cms.rb +1 -0
  27. data/pixelforce_cms.gemspec +23 -0
  28. metadata +98 -0
@@ -0,0 +1,101 @@
1
+ @import "variables";
2
+ @import "h5bp";
3
+ @include h5bp-normalize;
4
+ @include h5bp-main;
5
+ @import "application/chromeframe";
6
+ @include h5bp-helpers;
7
+ @include h5bp-media;
8
+
9
+ html, body { height:100%; }
10
+ body {
11
+ font: 14px/1.4 $font-family;
12
+ background:#f2f1e6;
13
+ color: $font-color;
14
+ width:100%;
15
+ }
16
+
17
+ h1, h2, h3 {
18
+ margin:0 0 15px;
19
+ line-height:1.2;
20
+ }
21
+ h4, h5 { margin:0 0 10px; }
22
+
23
+ a, .btn-link {
24
+ color: $link-color;
25
+ text-shadow:none;
26
+ &:hover {
27
+ color: $link-color;
28
+ text-decoration:underline;
29
+ i { text-decoration:none; }
30
+ }
31
+ }
32
+
33
+ hr {
34
+ height:10px;
35
+ margin:20px 0;
36
+ border:0;
37
+ border-bottom:1px ridge rgba(0,0,0,0.1);
38
+ }
39
+
40
+ ::-moz-selection{ background: $link-color; color: #fff; text-shadow: none;}
41
+ ::selection { background: $link-color; color: #fff; text-shadow: none;}
42
+ a:link {-webkit-tap-highlight-color: $link-color;}
43
+
44
+ ins {background-color: $link-color; color: #fff; text-decoration: none;}
45
+ mark {background-color: $link-color; color: #fff; font-style: italic; font-weight: bold;}
46
+
47
+ .w_5 { width:5% !important; }
48
+ .w_10 { width:10% !important; }
49
+ .w_15 { width:15% !important; }
50
+ .w_20 { width:20% !important; }
51
+ .w_25 { width:25% !important; }
52
+ .w_30 { width:30% !important; }
53
+ .w_33 { width:33% !important; }
54
+ .w_40 { width:40% !important; }
55
+ .w_50 { width:50% !important; }
56
+ .w_60 { width:60% !important; }
57
+ .w_70 { width:70% !important; }
58
+ .w_80 { width:80% !important; }
59
+ .w_90 { width:90% !important; }
60
+ .w_100 {
61
+ width:100% !important;
62
+ [class^="w_"], [class*=" w_"] { float:left; }
63
+ }
64
+ .w_auto { width:auto !important; }
65
+
66
+ .padd {
67
+ padding:20px 25px;
68
+ &.no-l { padding-left:0; }
69
+ &.no-r { padding-right:0; }
70
+ &.no-t { padding-top:0; }
71
+ &.no-b { padding-bottom:0; }
72
+ }
73
+ .padd-s { padding:15px; }
74
+ .padd-n { padding:0 !important; }
75
+ .bordered { border:1px solid #ccc; }
76
+
77
+ .block { display:block !important; }
78
+ .inline-block { display:inline-block !important; }
79
+ .inline { display:inline !important; }
80
+ .relative { position:relative; }
81
+ .mb { margin-bottom:20px !important; }
82
+ .mc { margin:0 !important; }
83
+ .ma { margin:0 auto; }
84
+
85
+ .font-mini { font-size:12px !important; }
86
+ .font-small { font-size:13px !important; }
87
+ .font-medium { font-size:15px !important; }
88
+ .font-large { font-size:16px !important; }
89
+ .font-xlarge { font-size:18px !important; }
90
+ .font-xxlarge { font-size:20px !important; }
91
+ .font-xxxlarge { font-size:22px !important; }
92
+ .caps { text-transform:uppercase; }
93
+
94
+ #main {
95
+ min-height: 100%;
96
+ height: auto !important;
97
+ height: 100%;
98
+ margin-bottom:-30px;
99
+ }
100
+
101
+ @import 'style.responsive';
@@ -0,0 +1,17 @@
1
+ @media (min-width: 1200px) {
2
+ .modal {
3
+ width: 900px;
4
+ margin-left: -450px;
5
+ }
6
+ }
7
+
8
+ @media (min-width: 980px) and (max-width: 1199px) {
9
+ }
10
+
11
+ @media (max-width: 979px) {
12
+ }
13
+
14
+ @media (max-width: 767px) {
15
+ body { padding:0; }
16
+ .txt_r { text-align:left !important; }
17
+ }
@@ -0,0 +1,17 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // the compiled file.
9
+ //
10
+ // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
+ // GO AFTER THE REQUIRES BELOW.
12
+ //
13
+ //= require jquery
14
+ //= require jquery_ujs
15
+ //= require twitter/bootstrap
16
+
17
+ //= require h5bp