wiskey 0.0.2 → 0.0.3
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.
- data/Gemfile +1 -0
- data/Gemfile.lock +7 -0
- data/README.rdoc +28 -0
- data/app/assets/stylesheets/_wiskey.scss +0 -6
- data/app/assets/stylesheets/css3/_animation.scss +0 -0
- data/app/assets/stylesheets/css3/_border-radius.scss +0 -0
- data/app/assets/stylesheets/css3/_box-sizing.scss +0 -0
- data/app/assets/stylesheets/css3/_flex-box.scss +0 -0
- data/app/assets/stylesheets/css3/_inline-block.scss +0 -0
- data/app/assets/stylesheets/css3/_linear-gradient.scss +0 -0
- data/app/assets/stylesheets/css3/_opacity.scss +0 -0
- data/app/assets/stylesheets/css3/_radial-gradient.scss +0 -0
- data/app/assets/stylesheets/css3/_text-shadow.scss +0 -0
- data/app/assets/stylesheets/css3/_transform.scss +0 -0
- data/app/assets/stylesheets/css3/_transition.scss +0 -0
- data/app/assets/stylesheets/functions/_experimental.scss +0 -0
- data/app/assets/stylesheets/functions/_linear-gradient.scss +0 -0
- data/lib/tasks/install.rake +0 -0
- data/lib/wiskey/engine.rb +0 -0
- data/lib/wiskey/sass_extensions/functions/compact.rb +0 -0
- data/lib/wiskey/sass_extensions/functions.rb +0 -0
- data/lib/wiskey/sass_extensions.rb +0 -0
- data/lib/wiskey/version.rb +1 -1
- data/lib/wiskey.rb +0 -0
- data/test/dummy/app/assets/stylesheets/application.css.scss +0 -0
- data/test/dummy/config/application.rb +0 -2
- data/test/dummy/config/environments/development.rb +0 -3
- data/test/dummy/config/environments/production.rb +0 -3
- data/test/dummy/config/environments/test.rb +0 -10
- data/wiskey.gemspec +3 -3
- metadata +5 -19
- data/app/assets/stylesheets/addons/_animation-keyframes.scss +0 -28
- data/app/assets/stylesheets/addons/_button.scss +0 -169
- data/app/assets/stylesheets/addons/_position.scss +0 -30
- data/app/assets/stylesheets/addons/_timing-functions.scss +0 -29
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/config/database.yml +0 -22
- data/test/dummy/public/javascripts/application.js +0 -2
- data/test/dummy/public/javascripts/controls.js +0 -965
- data/test/dummy/public/javascripts/dragdrop.js +0 -974
- data/test/dummy/public/javascripts/effects.js +0 -1123
- data/test/dummy/public/javascripts/prototype.js +0 -6001
- data/test/dummy/public/javascripts/rails.js +0 -191
- data/test/dummy/public/stylesheets/.gitkeep +0 -0
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -70,6 +70,12 @@ GEM
|
|
70
70
|
rake (0.9.2)
|
71
71
|
rdoc (3.9.4)
|
72
72
|
sass (3.1.7)
|
73
|
+
sass-rails (3.1.4)
|
74
|
+
actionpack (~> 3.1.0)
|
75
|
+
railties (~> 3.1.0)
|
76
|
+
sass (>= 3.1.4)
|
77
|
+
sprockets (~> 2.0.0)
|
78
|
+
tilt (~> 1.3.2)
|
73
79
|
sprockets (2.0.0)
|
74
80
|
hike (~> 1.2)
|
75
81
|
rack (~> 1.0)
|
@@ -87,3 +93,4 @@ PLATFORMS
|
|
87
93
|
DEPENDENCIES
|
88
94
|
rails (= 3.1.0)
|
89
95
|
sass
|
96
|
+
sass-rails
|
data/README.rdoc
CHANGED
@@ -1,3 +1,31 @@
|
|
1
1
|
= Wiskey
|
2
2
|
|
3
|
+
Set of low level css features without any solid css.
|
4
|
+
|
5
|
+
|
6
|
+
= Requirements
|
7
|
+
|
8
|
+
Rails 3.1+ with sass and sass-rails gems
|
9
|
+
|
10
|
+
= Installing
|
11
|
+
|
12
|
+
For rails 3.1+ it's easy: just require gem in your ```Gemfile```
|
13
|
+
|
14
|
+
For another framework (or without any framework) you should copy app/assets/stylesheets folder to your sass folder.
|
15
|
+
|
16
|
+
= Usage
|
17
|
+
|
18
|
+
Import wiskey at the beginning of application.css.scss
|
19
|
+
|
20
|
+
@import "wiskey";
|
21
|
+
|
22
|
+
All requirements underneath wiskey will have the cool wiskey features.
|
23
|
+
|
24
|
+
Sprockets provides some directives that are placed inside of comments called require,
|
25
|
+
require_tree, and require_self. DO NOT USE THEM IN YOUR SASS/SCSS FILES. They are very
|
26
|
+
primitive and do not work well with Sass files. Instead, use Sass's native @import directive
|
27
|
+
which sass-rails has customized to integrate with the conventions of your rails projects.
|
28
|
+
|
29
|
+
= License
|
30
|
+
|
3
31
|
This project rocks and uses MIT-LICENSE.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/tasks/install.rake
CHANGED
File without changes
|
data/lib/wiskey/engine.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/wiskey/version.rb
CHANGED
data/lib/wiskey.rb
CHANGED
File without changes
|
File without changes
|
@@ -13,9 +13,6 @@ Dummy::Application.configure do
|
|
13
13
|
config.consider_all_requests_local = true
|
14
14
|
config.action_controller.perform_caching = false
|
15
15
|
|
16
|
-
# Don't care if the mailer can't send
|
17
|
-
config.action_mailer.raise_delivery_errors = false
|
18
|
-
|
19
16
|
# Print deprecation notices to the Rails logger
|
20
17
|
config.active_support.deprecation = :log
|
21
18
|
|
@@ -37,9 +37,6 @@ Dummy::Application.configure do
|
|
37
37
|
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
38
38
|
# config.assets.precompile += %w( search.js )
|
39
39
|
|
40
|
-
# Disable delivery errors, bad email addresses will be ignored
|
41
|
-
# config.action_mailer.raise_delivery_errors = false
|
42
|
-
|
43
40
|
# Enable threaded mode
|
44
41
|
# config.threadsafe!
|
45
42
|
|
@@ -24,16 +24,6 @@ Dummy::Application.configure do
|
|
24
24
|
# Disable request forgery protection in test environment
|
25
25
|
config.action_controller.allow_forgery_protection = false
|
26
26
|
|
27
|
-
# Tell Action Mailer not to deliver emails to the real world.
|
28
|
-
# The :test delivery method accumulates sent emails in the
|
29
|
-
# ActionMailer::Base.deliveries array.
|
30
|
-
config.action_mailer.delivery_method = :test
|
31
|
-
|
32
|
-
# Use SQL instead of Active Record's schema dumper when creating the test database.
|
33
|
-
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
34
|
-
# like if you have constraints or database-specific column types
|
35
|
-
# config.active_record.schema_format = :sql
|
36
|
-
|
37
27
|
# Print deprecation notices to the stderr
|
38
28
|
config.active_support.deprecation = :stderr
|
39
29
|
end
|
data/wiskey.gemspec
CHANGED
@@ -6,11 +6,11 @@ Gem::Specification.new do |s|
|
|
6
6
|
|
7
7
|
s.authors = [ "Alexey Osipenko" ]
|
8
8
|
s.email = [ "alexey@osipenko.in.ua" ]
|
9
|
-
s.homepage = "http://
|
9
|
+
s.homepage = "http://aratak.github.com/wiskey/"
|
10
10
|
s.description = "The rails 3 gem, which include SCSS mixins and default rails templates for true-cutupping."
|
11
11
|
s.files = `git ls-files`.split("\n")
|
12
|
-
s.version = "0.0.
|
12
|
+
s.version = "0.0.3"
|
13
13
|
|
14
14
|
s.add_dependency "rails" , "~> 3.1.0"
|
15
15
|
|
16
|
-
end
|
16
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wiskey
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-11-
|
12
|
+
date: 2011-11-09 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70358842840620 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 3.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70358842840620
|
25
25
|
description: The rails 3 gem, which include SCSS mixins and default rails templates
|
26
26
|
for true-cutupping.
|
27
27
|
email:
|
@@ -38,10 +38,6 @@ files:
|
|
38
38
|
- README.rdoc
|
39
39
|
- Rakefile
|
40
40
|
- app/assets/stylesheets/_wiskey.scss
|
41
|
-
- app/assets/stylesheets/addons/_animation-keyframes.scss
|
42
|
-
- app/assets/stylesheets/addons/_button.scss
|
43
|
-
- app/assets/stylesheets/addons/_position.scss
|
44
|
-
- app/assets/stylesheets/addons/_timing-functions.scss
|
45
41
|
- app/assets/stylesheets/css3/_animation.scss
|
46
42
|
- app/assets/stylesheets/css3/_background-clip.scss
|
47
43
|
- app/assets/stylesheets/css3/_border-radius.scss
|
@@ -68,12 +64,9 @@ files:
|
|
68
64
|
- test/dummy/Rakefile
|
69
65
|
- test/dummy/app/assets/stylesheets/application.css.scss
|
70
66
|
- test/dummy/app/controllers/application_controller.rb
|
71
|
-
- test/dummy/app/helpers/application_helper.rb
|
72
|
-
- test/dummy/app/views/layouts/application.html.erb
|
73
67
|
- test/dummy/config.ru
|
74
68
|
- test/dummy/config/application.rb
|
75
69
|
- test/dummy/config/boot.rb
|
76
|
-
- test/dummy/config/database.yml
|
77
70
|
- test/dummy/config/environment.rb
|
78
71
|
- test/dummy/config/environments/development.rb
|
79
72
|
- test/dummy/config/environments/production.rb
|
@@ -89,20 +82,13 @@ files:
|
|
89
82
|
- test/dummy/public/422.html
|
90
83
|
- test/dummy/public/500.html
|
91
84
|
- test/dummy/public/favicon.ico
|
92
|
-
- test/dummy/public/javascripts/application.js
|
93
|
-
- test/dummy/public/javascripts/controls.js
|
94
|
-
- test/dummy/public/javascripts/dragdrop.js
|
95
|
-
- test/dummy/public/javascripts/effects.js
|
96
|
-
- test/dummy/public/javascripts/prototype.js
|
97
|
-
- test/dummy/public/javascripts/rails.js
|
98
|
-
- test/dummy/public/stylesheets/.gitkeep
|
99
85
|
- test/dummy/script/rails
|
100
86
|
- test/integration/navigation_test.rb
|
101
87
|
- test/support/integration_case.rb
|
102
88
|
- test/test_helper.rb
|
103
89
|
- test/wiskey_test.rb
|
104
90
|
- wiskey.gemspec
|
105
|
-
homepage: http://
|
91
|
+
homepage: http://aratak.github.com/wiskey/
|
106
92
|
licenses: []
|
107
93
|
post_install_message:
|
108
94
|
rdoc_options: []
|
@@ -1,28 +0,0 @@
|
|
1
|
-
// Keyframes for Animations
|
2
|
-
|
3
|
-
// Fade-In animation
|
4
|
-
@mixin fade-in {
|
5
|
-
0% {
|
6
|
-
opacity: 0;
|
7
|
-
}
|
8
|
-
100% {
|
9
|
-
opacity: 1;
|
10
|
-
}
|
11
|
-
}
|
12
|
-
@-webkit-keyframes fade-in { @include fade-in; }
|
13
|
-
@-moz-keyframes fade-in { @include fade-in; }
|
14
|
-
@keyframes fade-in { @include fade-in; }
|
15
|
-
|
16
|
-
|
17
|
-
// Fade-out animation
|
18
|
-
@mixin fade-out {
|
19
|
-
0% {
|
20
|
-
opacity: 1;
|
21
|
-
}
|
22
|
-
100% {
|
23
|
-
opacity: 0;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
@-webkit-keyframes fade-out { @include fade-out; }
|
27
|
-
@-moz-keyframes fade-out { @include fade-out; }
|
28
|
-
@keyframes fade-out { @include fade-out; }
|
@@ -1,169 +0,0 @@
|
|
1
|
-
@mixin button ($style: simple, $base-color: #4294f0) {
|
2
|
-
|
3
|
-
@if type-of($style) == color {
|
4
|
-
$base-color: $style;
|
5
|
-
$style: simple;
|
6
|
-
}
|
7
|
-
|
8
|
-
@if $style == simple {
|
9
|
-
@include simple($base-color);
|
10
|
-
}
|
11
|
-
|
12
|
-
@else if $style == shiny {
|
13
|
-
@include shiny($base-color);
|
14
|
-
}
|
15
|
-
|
16
|
-
@else if $style == pill {
|
17
|
-
@include pill($base-color);
|
18
|
-
}
|
19
|
-
}
|
20
|
-
|
21
|
-
@mixin simple ($base-color) {
|
22
|
-
$stop-gradient: adjust-color($base-color, $saturation: 9%, $lightness: -11%);
|
23
|
-
$border: adjust-color($base-color, $saturation: 9%, $lightness: -14%);
|
24
|
-
$color: hsl(0, 0, 100%);
|
25
|
-
$inset-shadow: adjust-color($base-color, $saturation: -8%, $lightness: 15%);
|
26
|
-
$text-shadow: adjust-color($base-color, $saturation: 15%, $lightness: -18%);
|
27
|
-
|
28
|
-
@if lightness($base-color) > 70% {
|
29
|
-
$color: hsl(0, 0, 20%);
|
30
|
-
$text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
|
31
|
-
}
|
32
|
-
|
33
|
-
border: 1px solid $border;
|
34
|
-
@include border-radius (3px);
|
35
|
-
@include box-shadow (inset 0 1px 0 0 $inset-shadow);
|
36
|
-
color: $color;
|
37
|
-
display: inline;
|
38
|
-
font: bold 11px 'lucida grande', helvetica neue, helvetica, arial, sans-serif;
|
39
|
-
@include linear-gradient ($base-color, $stop-gradient);
|
40
|
-
padding: 6px 18px 7px;
|
41
|
-
text-shadow: 0 1px 0 $text-shadow;
|
42
|
-
-webkit-background-clip: padding-box;
|
43
|
-
|
44
|
-
&:hover {
|
45
|
-
$base-color-hover: adjust-color($base-color, $saturation: -4%, $lightness: -5%);
|
46
|
-
$stop-gradient-hover: adjust-color($base-color, $saturation: 8%, $lightness: -14%);
|
47
|
-
$inset-shadow-hover: adjust-color($base-color, $saturation: -7%, $lightness: 5%);
|
48
|
-
|
49
|
-
@include box-shadow (inset 0 1px 0 0 $inset-shadow-hover);
|
50
|
-
cursor: pointer;
|
51
|
-
@include linear-gradient ($base-color-hover, $stop-gradient-hover);
|
52
|
-
}
|
53
|
-
|
54
|
-
&:active {
|
55
|
-
$border-active: adjust-color($base-color, $saturation: 9%, $lightness: -14%);
|
56
|
-
$inset-shadow-active: adjust-color($base-color, $saturation: 7%, $lightness: -17%);
|
57
|
-
|
58
|
-
border: 1px solid $border-active;
|
59
|
-
@include box-shadow (inset 0 0 8px 4px $inset-shadow-active, inset 0 0 8px 4px $inset-shadow-active, 0 1px 1px 0 #eee);
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
|
-
@mixin shiny($base-color) {
|
64
|
-
$second-stop: adjust-color($base-color, $red: -56, $green: -50, $blue: -33);
|
65
|
-
$third-stop: adjust-color($base-color, $red: -86, $green: -75, $blue: -48);
|
66
|
-
$fourth-stop: adjust-color($base-color, $red: -79, $green: -70, $blue: -46);
|
67
|
-
$border: adjust-color($base-color, $red: -117, $green: -111, $blue: -81);
|
68
|
-
$border-bottom: adjust-color($base-color, $red: -126, $green: -127, $blue: -122);
|
69
|
-
$color: hsl(0, 0, 100%);
|
70
|
-
$inset-shadow: adjust-color($base-color, $red: 37, $green: 29, $blue: 12);
|
71
|
-
$text-shadow: adjust-color($base-color, $red: -140, $green: -141, $blue: -114);
|
72
|
-
|
73
|
-
@if lightness($base-color) > 70% {
|
74
|
-
$color: hsl(0, 0, 20%);
|
75
|
-
$text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
|
76
|
-
}
|
77
|
-
|
78
|
-
@include linear-gradient(top, $base-color 0%, $second-stop 50%, $third-stop 50%, $fourth-stop 100%);
|
79
|
-
border: 1px solid $border;
|
80
|
-
border-bottom: 1px solid $border-bottom;
|
81
|
-
@include border-radius(5px);
|
82
|
-
@include box-shadow(inset 0 1px 0 0 $inset-shadow);
|
83
|
-
color: $color;
|
84
|
-
display: inline;
|
85
|
-
font: bold 14px "helvetica neue", helvetica, arial, sans-serif;
|
86
|
-
padding: 7px 20px 8px;
|
87
|
-
text-decoration: none;
|
88
|
-
text-align: center;
|
89
|
-
text-shadow: 0 -1px 1px $text-shadow;
|
90
|
-
|
91
|
-
&:hover {
|
92
|
-
$first-stop-hover: adjust-color($base-color, $red: -13, $green: -15, $blue: -18);
|
93
|
-
$second-stop-hover: adjust-color($base-color, $red: -66, $green: -62, $blue: -51);
|
94
|
-
$third-stop-hover: adjust-color($base-color, $red: -93, $green: -85, $blue: -66);
|
95
|
-
$fourth-stop-hover: adjust-color($base-color, $red: -86, $green: -80, $blue: -63);
|
96
|
-
|
97
|
-
@include linear-gradient(top, $first-stop-hover 0%, $second-stop-hover 50%, $third-stop-hover 50%, $fourth-stop-hover 100%);
|
98
|
-
cursor: pointer;
|
99
|
-
}
|
100
|
-
|
101
|
-
&:active {
|
102
|
-
$inset-shadow-active: adjust-color($base-color, $red: -111, $green: -116, $blue: -122);
|
103
|
-
|
104
|
-
@include box-shadow(inset 0 0 20px 0 $inset-shadow-active, 0 1px 0 #fff);
|
105
|
-
}
|
106
|
-
}
|
107
|
-
|
108
|
-
@mixin pill($base-color) {
|
109
|
-
$stop-gradient: adjust-color($base-color, $hue: 8, $saturation: 14%, $lightness: -10%);
|
110
|
-
$border-top: adjust-color($base-color, $hue: -1, $saturation: -30%, $lightness: -15%);
|
111
|
-
$border-sides: adjust-color($base-color, $hue: 4, $saturation: -21%, $lightness: -21%);
|
112
|
-
$border-bottom: adjust-color($base-color, $hue: 8, $saturation: -11%, $lightness: -26%);
|
113
|
-
$color: hsl(0, 0, 100%);
|
114
|
-
$inset-shadow: adjust-color($base-color, $hue: -1, $saturation: -1%, $lightness: 7%);
|
115
|
-
$text-shadow: adjust-color($base-color, $hue: 5, $saturation: -19%, $lightness: -15%);
|
116
|
-
|
117
|
-
@if lightness($base-color) > 70% {
|
118
|
-
$color: hsl(0, 0, 20%);
|
119
|
-
$text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
|
120
|
-
}
|
121
|
-
|
122
|
-
@include linear-gradient ($base-color, $stop-gradient);
|
123
|
-
border: 1px solid $border-top;
|
124
|
-
border-color: $border-top $border-sides $border-bottom;
|
125
|
-
@include border-radius(16px);
|
126
|
-
@include box-shadow(inset 0 1px 0 0 $inset-shadow, 0 1px 2px 0 #b3b3b3);
|
127
|
-
color: $color;
|
128
|
-
display: inline;
|
129
|
-
font-family: "lucida grande", sans-serif;
|
130
|
-
font-size: 11px;
|
131
|
-
font-weight: normal;
|
132
|
-
line-height: 1;
|
133
|
-
padding: 3px 16px 5px;
|
134
|
-
text-align: center;
|
135
|
-
text-shadow: 0 -1px 1px $text-shadow;
|
136
|
-
-webkit-background-clip: padding-box;
|
137
|
-
|
138
|
-
&:hover {
|
139
|
-
$base-color-hover: adjust-color($base-color, $lightness: -4.5%);
|
140
|
-
$stop-gradient-hover: adjust-color($base-color, $hue: 8, $saturation: -4%, $lightness: -15.5%);
|
141
|
-
$border-top: adjust-color($base-color, $hue: -1, $saturation: -17%, $lightness: -21%);
|
142
|
-
$border-sides: adjust-color($base-color, $hue: 4, $saturation: -2%, $lightness: -27%);
|
143
|
-
$border-bottom: adjust-color($base-color, $hue: 8, $saturation: 13.5%, $lightness: -32%);
|
144
|
-
$inset-shadow-hover: adjust-color($base-color, $saturation: -1%, $lightness: 3%);
|
145
|
-
$text-shadow-hover: adjust-color($base-color, $hue: 5, $saturation: -5%, $lightness: -22%);
|
146
|
-
|
147
|
-
@include linear-gradient ($base-color-hover, $stop-gradient-hover);
|
148
|
-
border: 1px solid $border-top;
|
149
|
-
border-color: $border-top $border-sides $border-bottom;
|
150
|
-
@include box-shadow(inset 0 1px 0 0 $inset-shadow-hover);
|
151
|
-
cursor: pointer;
|
152
|
-
text-shadow: 0 -1px 1px $text-shadow-hover;
|
153
|
-
-webkit-background-clip: padding-box;
|
154
|
-
}
|
155
|
-
|
156
|
-
&:active {
|
157
|
-
$active-color: adjust-color($base-color, $hue: 4, $saturation: -12%, $lightness: -10%);
|
158
|
-
$border-active: adjust-color($base-color, $hue: 6, $saturation: -2.5%, $lightness: -30%);
|
159
|
-
$border-bottom-active: adjust-color($base-color, $hue: 11, $saturation: 6%, $lightness: -31%);
|
160
|
-
$inset-shadow-active: adjust-color($base-color, $hue: 9, $saturation: 2%, $lightness: -21.5%);
|
161
|
-
$text-shadow-active: adjust-color($base-color, $hue: 5, $saturation: -12%, $lightness: -21.5%);
|
162
|
-
|
163
|
-
background: $active-color;
|
164
|
-
border: 1px solid $border-active;
|
165
|
-
border-bottom: 1px solid $border-bottom-active;
|
166
|
-
@include box-shadow(inset 0 0 6px 3px $inset-shadow-active, 0 1px 0 0 #fff);
|
167
|
-
text-shadow: 0 -1px 1px $text-shadow-active;
|
168
|
-
}
|
169
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
@mixin position ($position: relative, $coordinates: 0 0 0 0) {
|
2
|
-
|
3
|
-
@if type-of($position) == list {
|
4
|
-
$coordinates: $position;
|
5
|
-
$position: relative;
|
6
|
-
}
|
7
|
-
|
8
|
-
$top: nth($coordinates, 1);
|
9
|
-
$right: nth($coordinates, 2);
|
10
|
-
$bottom: nth($coordinates, 3);
|
11
|
-
$left: nth($coordinates, 4);
|
12
|
-
|
13
|
-
position: $position;
|
14
|
-
|
15
|
-
@if not(unitless($top)) {
|
16
|
-
top: $top;
|
17
|
-
}
|
18
|
-
|
19
|
-
@if not(unitless($right)) {
|
20
|
-
right: $right;
|
21
|
-
}
|
22
|
-
|
23
|
-
@if not(unitless($bottom)) {
|
24
|
-
bottom: $bottom;
|
25
|
-
}
|
26
|
-
|
27
|
-
@if not(unitless($left)) {
|
28
|
-
left: $left;
|
29
|
-
}
|
30
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
// CSS cubic-bezier timing functions. Timing functions courtesy of jquery.easie (github.com/jaukia/easie)
|
2
|
-
// Timing functions are the same as demo'ed here: http://jqueryui.com/demos/effect/easing.html
|
3
|
-
|
4
|
-
// EASE IN
|
5
|
-
$ease-in-quad: cubic-bezier(0.550, 0.085, 0.680, 0.530);
|
6
|
-
$ease-in-cubic: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
7
|
-
$ease-in-quart: cubic-bezier(0.895, 0.030, 0.685, 0.220);
|
8
|
-
$ease-in-quint: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
9
|
-
$ease-in-sine: cubic-bezier(0.470, 0.000, 0.745, 0.715);
|
10
|
-
$ease-in-expo: cubic-bezier(0.950, 0.050, 0.795, 0.035);
|
11
|
-
$ease-in-circ: cubic-bezier(0.600, 0.040, 0.980, 0.335);
|
12
|
-
|
13
|
-
// EASE OUT
|
14
|
-
$ease-out-quad: cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
15
|
-
$ease-out-cubic: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
16
|
-
$ease-out-quart: cubic-bezier(0.165, 0.840, 0.440, 1.000);
|
17
|
-
$ease-out-quint: cubic-bezier(0.230, 1.000, 0.320, 1.000);
|
18
|
-
$ease-out-sine: cubic-bezier(0.390, 0.575, 0.565, 1.000);
|
19
|
-
$ease-out-expo: cubic-bezier(0.190, 1.000, 0.220, 1.000);
|
20
|
-
$ease-out-circ: cubic-bezier(0.075, 0.820, 0.165, 1.000);
|
21
|
-
|
22
|
-
// EASE IN OUT
|
23
|
-
$ease-in-out-quad: cubic-bezier(0.455, 0.030, 0.515, 0.955);
|
24
|
-
$ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
25
|
-
$ease-in-out-quart: cubic-bezier(0.770, 0.000, 0.175, 1.000);
|
26
|
-
$ease-in-out-quint: cubic-bezier(0.860, 0.000, 0.070, 1.000);
|
27
|
-
$ease-in-out-sine: cubic-bezier(0.445, 0.050, 0.550, 0.950);
|
28
|
-
$ease-in-out-expo: cubic-bezier(1.000, 0.000, 0.000, 1.000);
|
29
|
-
$ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.150, 0.860);
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# SQLite version 3.x
|
2
|
-
# gem install sqlite3
|
3
|
-
development:
|
4
|
-
adapter: sqlite3
|
5
|
-
database: db/development.sqlite3
|
6
|
-
pool: 5
|
7
|
-
timeout: 5000
|
8
|
-
|
9
|
-
# Warning: The database defined as "test" will be erased and
|
10
|
-
# re-generated from your development database when you run "rake".
|
11
|
-
# Do not set this db to the same as development or production.
|
12
|
-
test:
|
13
|
-
adapter: sqlite3
|
14
|
-
database: db/test.sqlite3
|
15
|
-
pool: 5
|
16
|
-
timeout: 5000
|
17
|
-
|
18
|
-
production:
|
19
|
-
adapter: sqlite3
|
20
|
-
database: db/production.sqlite3
|
21
|
-
pool: 5
|
22
|
-
timeout: 5000
|