bootstrapped-rails 2.0.0.rc2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Bootstrapped
2
2
  module Rails
3
- VERSION = "2.0.0.rc2"
3
+ VERSION = "2.0.0"
4
4
  end
5
5
  end
data/readme.md CHANGED
@@ -10,3 +10,30 @@ Copyright (c) 2011 AnjLab
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
11
11
  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12
12
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13
+
14
+ ## Custom Modules
15
+ Can be imported with the following import commands at the top of your scss file.
16
+
17
+ ## Colors
18
+
19
+ @import "custom_partials/variables.scss";
20
+
21
+ ## Gradients
22
+
23
+ @import "custom_partials/gradients.scss";
24
+
25
+ helpful gradient mixins for buttons or backgrounds or whatever;
26
+ @mixin back_gradient
27
+ takes two parameters, each a color, and will give you a gradient from top to bottom
28
+ @mixin percentage_gradient (i love this one)
29
+ takes two parameters, the first is a color, the second is a percentage and will create a gradient from your specified color to a color darkened by the percentage specified (again on the bottom)
30
+
31
+ ## todo write something here
32
+ @import "custom_partials/transition.scss";
33
+ @import "custom_partials/rounded.scss";
34
+ @import "custom_partials/fonts.scss";
35
+ @import "custom_partials/status.scss";
36
+ @import 'custom_partials/arrow.scss';
37
+ @import "custom_partials/buttons.scss";
38
+ @import "custom_partials/misc.scss";
39
+ @import "custom_partials/test_colors.scss";
@@ -2,7 +2,7 @@
2
2
  background: -moz-linear-gradient(top, $color1 0%, $color2 100%); /* FF3.6+ */
3
3
  background-image:-webkit-gradient(linear, 0 0%, 0 100%, from($color1), to($color2));
4
4
  }
5
- @mixin gradient2($color, $percentage) {
5
+ @mixin percentage_gradient($color, $percentage) {
6
6
  background-color: darken($color, $percentage);
7
7
  background-image: -khtml-gradient(linear, top, bottom, from($color), to(darken($color, $percentage))); // Konqueror
8
8
  background-image: -moz-linear-gradient($color, darken($color, $percentage)); // FF 3.6+
@@ -53,74 +53,5 @@ $light_orange: lighten(#FFCC99, 10%);
53
53
  $pale_yellow: #FFFFCC;
54
54
  $pale_green:#CCFFCC;
55
55
  $test_color:#CCCC99;
56
- @mixin back_gradient($color1, $color2) {
57
- background: -moz-linear-gradient(top, $color1 0%, $color2 100%); /* FF3.6+ */
58
- background-image:-webkit-gradient(linear, 0 0%, 0 100%, from($color1), to($color2));
59
- }
60
- @mixin gradient2($color, $percentage) {
61
- background-color: darken($color, $percentage);
62
- background-image: -khtml-gradient(linear, top, bottom, from($color), to(darken($color, $percentage))); // Konqueror
63
- background-image: -moz-linear-gradient($color, darken($color, $percentage)); // FF 3.6+
64
- background-image: -ms-linear-gradient($color, darken($color, $percentage)); // IE10
65
- background-image: -webkit-gradient(linear, top, bottom, color-stop(0%, $color), color-stop(100%, darken($color, $percentage))); // Safari 4+, Chrome 2+
66
- background-image: -webkit-linear-gradient($color, darken($color, $percentage)); // Safari 5.1+, Chrome 10+
67
- background-image: -o-linear-gradient($color, darken($color, $percentage)); // Opera 11.10
68
- background-image: linear-gradient($color, darken($color, $percentage)); // Le standard
69
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$color}', endColorstr='#{darken($color, $percentage)}', GradientType=1); // IE9 and down
70
56
 
71
- }
72
- @mixin button_gradient($color1, $color2) {
73
- background-image: -webkit-gradient(linear, left top, left bottom, from($color1), to($color2));
74
- background-image: -webkit-linear-gradient(top, $color1, $color2);
75
- background-image: -moz-linear-gradient(top, $color1, $color2);
76
- background-image: -ms-linear-gradient(top, $color1, $color2);
77
- background-image: -o-linear-gradient(top, $color1, $color2);
78
- background-image: linear-gradient(top, $color1, $color2);
79
- filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='$color1', EndColorStr='$color2');
80
- }
81
- @mixin transparency($opacity_level) {
82
- -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=$opacity_level)";
83
- filter: alpha(opacity=$opacity_level);
84
- -moz-opacity:$opacity_level/100;
85
- -khtml-opacity: $opacity_level/100;
86
- opacity: $opacity_level/100;
87
- }
88
- @mixin sld_border($color) {
89
- border: {
90
- top: lighten($color, 2%);
91
- left: $color;
92
- right: $color;
93
- bottom: darken($color, 2%);
94
- }
95
- border-width: 1px;
96
- border-style: solid;
97
- }
98
- @mixin dotted_underline($color) {
99
- border-bottom: 1px dotted $color;
100
- }
101
57
 
102
- @mixin transition($property: background, $duration: 1s, $delay: 0.25s, $ease: easeOut) {
103
- transition: $property $duration;
104
- -moz-transition: $property $duration; /* Firefox 4 */
105
- -webkit-transition: $property $duration; /* Safari and Chrome */
106
- -o-transition: $property $duration;
107
- transition-property: $property;
108
- transition-duration: $duration;
109
- transition-timing-function: $ease;
110
- transition-delay: $delay;
111
- /* Firefox 4 */
112
- -moz-transition-property: $property;
113
- -moz-transition-duration: $duration;
114
- -moz-transition-timing-function: $ease;
115
- -moz-transition-delay: $delay;
116
- /* Safari and Chrome */
117
- -webkit-transition-property: $property;
118
- -webkit-transition-duration: $duration;
119
- -webkit-transition-timing-function: $ease;
120
- -webkit-transition-delay: $delay;
121
- /* Opera */
122
- -o-transition-property: $property;
123
- -o-transition-duration: $duration;
124
- -o-transition-timing-function: $ease;
125
- -o-transition-delay: $delay;
126
- }
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrapped-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc2
5
- prerelease: 6
4
+ version: 2.0.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Han
@@ -13,7 +13,7 @@ date: 2012-02-28 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
16
- requirement: &70109062285180 !ruby/object:Gem::Requirement
16
+ requirement: &70202685157020 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70109062285180
24
+ version_requirements: *70202685157020
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &70109062284680 !ruby/object:Gem::Requirement
27
+ requirement: &70202685156440 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70109062284680
35
+ version_requirements: *70202685156440
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rails
38
- requirement: &70109062284220 !ruby/object:Gem::Requirement
38
+ requirement: &70202685155860 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '3.1'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70109062284220
46
+ version_requirements: *70202685155860
47
47
  description: ! ' please see summary '
48
48
  email:
49
49
  - han@logicalprep.com
@@ -369,9 +369,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
369
369
  required_rubygems_version: !ruby/object:Gem::Requirement
370
370
  none: false
371
371
  requirements:
372
- - - ! '>'
372
+ - - ! '>='
373
373
  - !ruby/object:Gem::Version
374
- version: 1.3.1
374
+ version: '0'
375
375
  requirements: []
376
376
  rubyforge_project: bootstrapped-rails
377
377
  rubygems_version: 1.8.6