scss-boilerplate-rails 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,7 @@
1
1
  /* Variables */
2
2
  @import "application/variables";
3
+ @import "bootstrap.ext/scaffolding";
4
+ @import "bootstrap.ext/forms";
3
5
 
4
6
  /* CSS3 Compass Helpers */
5
7
  @import "compass/css3";
@@ -16,6 +18,7 @@
16
18
  @import "application/typography";
17
19
  @import "application/image_replaces";
18
20
  @import "application/collections";
21
+ @import "application/records";
19
22
  @import "application/document";
20
23
  @import "application/headers";
21
24
  @import "application/footers";
@@ -1,11 +1,3 @@
1
- // This file was generated by html5-rails
2
- // https://github.com/sporkd/html5-rails
3
- // Upgrade with: $ rails generate html5:install
4
-
5
- //-----------------------------------------
6
- // Chrome Frame prompt
7
- //-----------------------------------------
8
-
9
1
  .chromeframe {
10
2
  margin: 0.2em 0;
11
3
  background: #ccc;
@@ -0,0 +1,26 @@
1
+ .collection{
2
+ .collection-title{
3
+ width:15%;
4
+ font-weight:bold;
5
+ }
6
+ .collection-actions{
7
+ width:15%;
8
+ }
9
+ thead{
10
+
11
+ }
12
+ tbody{
13
+ .collection-content{
14
+ padding:0px;
15
+ .inner-collection-content{
16
+ overflow:auto;
17
+ max-height:120px;
18
+ }
19
+ }
20
+
21
+ }
22
+ }
23
+
24
+ .pages-collection{
25
+ @extend .collection;
26
+ }
@@ -7,7 +7,7 @@ img{
7
7
  overflow:hidden;
8
8
  display:inline-block;
9
9
  background-color:white;
10
- border:1px solid #bbb;
10
+ border:1px solid #333;
11
11
  padding:1px;
12
12
  @include border-radius(2px);
13
13
  img{
@@ -16,64 +16,34 @@ img{
16
16
  }
17
17
  }
18
18
  }
19
- .notice-message{
20
- @include border-radius(10px);
21
- background-color: #f2f2f2;
22
- border: 1px solid #ccc;
23
- color: #333;
24
- font-weight: bold;
25
- margin-bottom: 10px;
26
- margin-top: 10px;
27
- padding: 10px;
28
- }
29
- .alert-message{
30
- @extend .notice-message;
31
- background-color: #FFA5A5;
32
- border-color:#993333;
33
- color: #993333;
34
- }
35
- .warning-message{
36
- @extend .notice-message;
37
- background-color: #FAFAD2;
38
- border-color:#BC8E19;
39
- color: #BC8E19;
40
- }
41
- .success-message{
42
- @extend .notice-message;
43
- background-color:#BDEDB6;
44
- border-color:#264421;
45
- color: #264421;
46
- }
47
19
 
48
- /* Base splats that can be extended into other classes */
49
-
50
- .splat-base{
51
- border-color:$cm-base;
52
- color:$cd-base;
53
- @include background(linear-gradient($ch-base, $cl-base));
54
- }
55
- .splat-base-d{
56
- border-color:$cd-base;
57
- color:$ch-base;
58
- @include background(linear-gradient($cm-base, $cd-base));
59
- }
60
- .splat-high{
61
- border-color:$cm-high;
62
- color:$cd-high;
63
- @include background(linear-gradient($ch-high, $cl-high));
20
+ #flashes{
21
+ margin:10px;
22
+ .alert{
23
+ margin:0px;
24
+ }
64
25
  }
65
- .splat-high-d{
66
- border-color:$cd-high;
67
- color:$ch-high;
68
- @include background(linear-gradient($cm-high, $cd-high));
26
+
27
+ .btn{
28
+ &:visited{
29
+ color:#333;
30
+ }
69
31
  }
70
- .splat-comp{
71
- border:$cm-comp;
72
- color:$cd-comp;
73
- @include background(linear-gradient($ch-comp, $cl-comp));
32
+ .btn-primary,.btn-info,.btn-success,.btn-warning,.btn-danger,.btn-inverse{
33
+ &:visited{
34
+ color:#fff;
35
+ }
74
36
  }
75
- .splat-comp-d{
76
- border-color:$cd-comp;
77
- color:$ch-comp;
78
- @include background(linear-gradient($cm-comp, $cd-comp));
37
+
38
+ .pagination{
39
+ border-left:1px solid #ddd;
40
+ span.current{
41
+ border-color: #DDDDDD;
42
+ border-style: solid;
43
+ border-width: 1px 1px 1px 0;
44
+ float: left;
45
+ line-height: 34px;
46
+ padding: 0 14px;
47
+ text-decoration: none;
48
+ }
79
49
  }
@@ -1,31 +1,17 @@
1
1
  html{
2
-
2
+ background-color:#333;
3
3
  }
4
4
  body{
5
-
5
+ background-color:transparent;
6
6
  }
7
7
  #container{
8
- width:100%;
9
- max-width:$width-container;
10
- margin:20px auto;
11
- background:#fff;
12
- @include border-radius(10px);
13
- @include box-shadow(#ccc, 1px);
8
+ width:$width-container;
9
+ margin:10px auto;
14
10
  }
11
+
15
12
  #main{
16
13
  overflow:auto;
17
- }
18
- #main.with-aside_content{
19
- overflow:hidden;
20
- #content{
21
- width:640px;
22
- float:left;
23
- }
24
- aside.content{
25
- float:left;
26
- width:310px;
27
- margin-left:10px;
28
- }
14
+ background-color:#fff;
29
15
  }
30
16
 
31
17
  #content{
@@ -33,8 +19,7 @@ body{
33
19
  padding:10px;
34
20
  }
35
21
  }
36
- aside.content{
37
- .inner-aside_content{
38
- padding:10px;
39
- }
22
+
23
+ .admin-layout{
24
+ background-color:adjust-lightness($link-color, -25);;
40
25
  }
@@ -0,0 +1,6 @@
1
+ footer.application{
2
+ color:#fff;
3
+ text-align:center;
4
+ padding:10px;
5
+ font-weight:normal;
6
+ }
@@ -1,3 +1,20 @@
1
+ .simple_form {
2
+ abbr[title]{
3
+ border-bottom:0;
4
+ color:$link-color;
5
+ }
6
+ .form-inputs{
7
+ textarea{
8
+ height:120px;
9
+ width:270px;
10
+ }
11
+ }
12
+ .help-inline{
13
+ font-size:10px;
14
+ display:none;
15
+ }
16
+ }
17
+
1
18
  .rockhil-form{
2
19
  .field{
3
20
  overflow:auto;
@@ -1,3 +1,5 @@
1
- @media only screen and (min-width: 35em) {
2
- // Style adjustments for viewports that meet the condition
1
+ @media only screen and (max-width: 640px) {
2
+
3
+
4
+
3
5
  }
@@ -0,0 +1,9 @@
1
+ .record{
2
+ .record-title{
3
+ margin-bottom:10px;
4
+ display:none;
5
+ }
6
+ .record-content{
7
+
8
+ }
9
+ }
@@ -12,22 +12,27 @@ $fontstack-impact:Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "H
12
12
  h1{
13
13
  font-size:30px;
14
14
  line-height:30px;
15
+ margin:10px 0;
15
16
  }
16
17
  h2{
17
18
  font-size:24px;
18
19
  line-height:24px;
20
+ margin:10px 0;
19
21
  }
20
22
  h3{
21
23
  font-size:18px;
22
24
  line-height:18px;
25
+ margin:10px 0;
23
26
  }
24
27
  h4{
25
28
  font-size:16px;
26
29
  line-height:16px;
30
+ margin:10px 0;
27
31
  }
28
32
  h5{
29
33
  font-size:14px;
30
34
  line-height:14px;
35
+ margin:10px 0;
31
36
  }
32
37
  body{
33
38
  font-family:$font-family;
@@ -40,18 +45,33 @@ strong{
40
45
  }
41
46
  small{
42
47
  font-size:11px;
43
- font-weight:bold;
48
+ color:#555;
49
+ display: inline-block;
50
+ font-size: 11px;
51
+ line-height: 12px;
44
52
  }
45
- a,
46
- a:active{
53
+ a{
47
54
  color:$link-color;
48
55
  text-decoration:none;
56
+ outline: none !important;
49
57
  &:hover{
50
58
  color:$link-hover-color;
51
59
  text-decoration:underline;
52
60
  }
53
61
  }
54
-
62
+ a:active{
63
+ text-decoration:none;
64
+ outline: none;
65
+ }
55
66
  a:visited{
56
- color:$link-visited-color;
67
+ color:$link-color;
68
+ outline: none;
69
+ }
70
+ h1,h2,h3,h4,h5,h6,p{
71
+ &:first-child{
72
+ margin-top:0px;
73
+ }
74
+ &:last-child{
75
+ margin-bottom:0px;
76
+ }
57
77
  }
@@ -0,0 +1,29 @@
1
+ .form-inline{
2
+ margin-left:20px;
3
+ .control-group{
4
+ display: inline-block;
5
+ .controls{
6
+ display: inline-block;
7
+ margin-left: 10px;
8
+ margin-right: 10px;
9
+ }
10
+ .control-label{
11
+ display: inline-block;
12
+ float: none;
13
+ width: auto;
14
+ min-width:60px;
15
+ max-width:100px;
16
+ }
17
+ }
18
+ }
19
+
20
+ .form-vertical{
21
+ .control-group.boolean{
22
+ .control-label{
23
+ display: inline;
24
+ }
25
+ .controls{
26
+ float:left;
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,16 @@
1
+ .row{
2
+
3
+ @for $j from 0 through 12{
4
+ &.offset#{$j}{
5
+ $margin:$gridGutterWidth * $j;
6
+ margin-top:$margin;
7
+ margin-bottom:$margin;
8
+ }
9
+ }
10
+
11
+ }
12
+
13
+ .span-center{
14
+ margin:0 auto;
15
+ float:none;
16
+ }
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'scss-boilerplate-rails'
3
- s.version = '0.1.5'
3
+ s.version = '0.1.6'
4
4
  s.date = '2012-04-02'
5
5
  s.summary = "Rails support for scss-boilerplate."
6
6
  s.description = "Generate scss partials with a namespace."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scss-boilerplate-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -63,9 +63,12 @@ files:
63
63
  - ./lib/generators/scss_boilerplate/install/templates/application/helpers.css.scss
64
64
  - ./lib/generators/scss_boilerplate/install/templates/application/image_replaces.css.scss
65
65
  - ./lib/generators/scss_boilerplate/install/templates/application/media_queries.css.scss
66
+ - ./lib/generators/scss_boilerplate/install/templates/application/records.css.scss
66
67
  - ./lib/generators/scss_boilerplate/install/templates/application/typography.css.scss
67
68
  - ./lib/generators/scss_boilerplate/install/templates/application/variables.css.scss
68
69
  - ./lib/generators/scss_boilerplate/install/templates/application.css.scss
70
+ - ./lib/generators/scss_boilerplate/install/templates/bootstrap.ext/forms.css.scss
71
+ - ./lib/generators/scss_boilerplate/install/templates/bootstrap.ext/scaffolding.css.scss
69
72
  - ./lib/generators/scss_boilerplate/install/templates/config/compass.rb
70
73
  - ./lib/generators/scss_boilerplate/install/templates/README
71
74
  - ./lib/generators/scss_boilerplate/install/USAGE
@@ -83,6 +86,7 @@ files:
83
86
  - ./lib/generators/scss_boilerplate/namespace/templates/namespace.css.scss
84
87
  - ./lib/generators/scss_boilerplate/namespace/USAGE
85
88
  - ./README.md
89
+ - ./scss-boilerplate-rails-0.1.5.gem
86
90
  - ./scss-boilerplate-rails.gemspec
87
91
  homepage: http://blake.hilscher.ca/
88
92
  licenses: []