staple 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -2
- data/source/stylesheets/foundation_and_overrides.scss +2 -2
- data/source/stylesheets/staple/{build_buttons.scss → builders/build_buttons.scss} +4 -1
- data/source/stylesheets/staple/buttons.scss +1 -60
- data/source/stylesheets/staple/{color.scss → colors.scss} +1 -1
- data/source/stylesheets/staple/forms.scss +52 -0
- data/source/stylesheets/staple/{after.scss → init/after.scss} +3 -3
- data/source/stylesheets/staple/init/before.scss +7 -0
- data/source/stylesheets/staple/utilities.scss +11 -1
- data/staple.gemspec +1 -1
- metadata +9 -9
- data/source/stylesheets/staple/before.scss +0 -7
- /data/source/stylesheets/staple/{build_colors.scss → builders/build_colors.scss} +0 -0
- /data/source/stylesheets/staple/{color_functions.scss → helpers/color_functions.scss} +0 -0
- /data/source/stylesheets/staple/{overrides.scss → init/overrides.scss} +0 -0
- /data/source/stylesheets/staple/{size.scss → sizes.scss} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61a568ef5e83f4e773d61df426b0e7d18d45bdd7
|
4
|
+
data.tar.gz: 70e98cb8d4544b32f4a79acb23c93f2b55ea40be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94a434fa9733ef33a6efc4aacfaf4b35a83f0d9d3dd2e5f0c0bef1bc0a07068e7109631589b40c0efc170a48c489ff00984b0f805221d18a5e2398785c2120af
|
7
|
+
data.tar.gz: 7448335b4aec2a1d132ca7b1162fcbd05c62bdaa20c360f03e943f812b02f85a4561aab14719fe704939c8c4e45ea8d180dff7a602c7a0ed6603874ab55d6038
|
data/README.md
CHANGED
@@ -4,7 +4,6 @@ High level UI framework. Built on top of foundation.
|
|
4
4
|
|
5
5
|
##TODO
|
6
6
|
|
7
|
-
* Simple default generators first. Basic Theme.
|
8
7
|
* Load vars then override before
|
9
8
|
* Generate override components after using vars
|
10
9
|
* Modify files using generators or manual
|
@@ -12,7 +11,7 @@ High level UI framework. Built on top of foundation.
|
|
12
11
|
##LOW PRIORITY
|
13
12
|
* declaring as dependency does not load it?
|
14
13
|
* integration with existing projects
|
15
|
-
* turbolinks messed with abide validation
|
14
|
+
* turbolinks messed with abide validation: https://github.com/zurb/foundation/issues/2902
|
16
15
|
|
17
16
|
##Install
|
18
17
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
//load functions before calling them
|
1
|
+
//load functions before calling them. put in helpers
|
2
2
|
@function set-text-color($color) {
|
3
3
|
@if (lightness($color) > 60%) {
|
4
4
|
@return rgba($black, $transparent-weak); // Lighter backgorund, return dark color
|
@@ -10,6 +10,9 @@
|
|
10
10
|
.button{
|
11
11
|
background-color: $primary-color;
|
12
12
|
color: set-text-color($primary-color);
|
13
|
+
font-weight: 200;
|
14
|
+
letter-spacing: 1px;
|
15
|
+
transition: background-color 150ms ease-out;
|
13
16
|
}
|
14
17
|
.button:hover{
|
15
18
|
background-color: lighten($primary-color, $transition-brighten);
|
@@ -1,60 +1 @@
|
|
1
|
-
|
2
|
-
// //permutations
|
3
|
-
// font-weight: 200;
|
4
|
-
// letter-spacing: 1px;
|
5
|
-
|
6
|
-
// background-color: $primary-color;
|
7
|
-
// border-color: $primary-color;
|
8
|
-
// color: white;
|
9
|
-
// transition: background-color 150ms ease-out;
|
10
|
-
|
11
|
-
// padding-top: 0.9rem;
|
12
|
-
// padding-right: 2.1rem;
|
13
|
-
// padding-bottom: 0.96rem;
|
14
|
-
// padding-left: 2.1rem;
|
15
|
-
|
16
|
-
// margin-right: 0.5rem;//arbitrary
|
17
|
-
// }
|
18
|
-
// .button.tiny{
|
19
|
-
// padding-top: 0.525rem;
|
20
|
-
// padding-right: 1.35rem;
|
21
|
-
// padding-bottom: 0.5875rem;
|
22
|
-
// padding-left: 1.35rem;
|
23
|
-
// }
|
24
|
-
// .button.small{
|
25
|
-
// padding-top: 0.775rem;
|
26
|
-
// padding-right: 1.85rem;
|
27
|
-
// padding-bottom: 0.8375rem;
|
28
|
-
// padding-left: 1.85rem;
|
29
|
-
// }
|
30
|
-
// .button.large{
|
31
|
-
// padding-top: 1.025rem;
|
32
|
-
// padding-right: 2.55rem;
|
33
|
-
// padding-bottom: 1.0875rem;
|
34
|
-
// padding-left: 2.55rem;
|
35
|
-
// }
|
36
|
-
// //used for rounded buttons
|
37
|
-
// .button.wider{
|
38
|
-
// padding-right: 2.5rem;
|
39
|
-
// padding-left: 2.5rem;
|
40
|
-
// }
|
41
|
-
// .button.shadow{
|
42
|
-
// box-shadow: 1px 1px 1px rgba(0,0,0,0.4);
|
43
|
-
// }
|
44
|
-
// .button.text-shadow{
|
45
|
-
// text-shadow: 1px 1px 0px rgba(0,0,0,0.3);
|
46
|
-
// }
|
47
|
-
// .button.inner-text-shadow{
|
48
|
-
// text-shadow: 1px 1px 0px rgba(255,255,255,0.3);
|
49
|
-
// }
|
50
|
-
// .button.expand{
|
51
|
-
// margin-right:0;
|
52
|
-
// }
|
53
|
-
// //FIX
|
54
|
-
// .button-group{
|
55
|
-
// .button{
|
56
|
-
// margin-right:0px;
|
57
|
-
// }
|
58
|
-
// }
|
59
|
-
|
60
|
-
@import 'build_buttons'
|
1
|
+
@import 'builders/build_buttons'
|
@@ -4,7 +4,7 @@ $secondary-color: adjust_hue($primary-color, 135);
|
|
4
4
|
$tertiary-color: adjust_hue($primary-color, 200);
|
5
5
|
|
6
6
|
//AUTO GENERATE FOUNDATION COLORS: (CAN OVERRIDE)
|
7
|
-
@import 'color_functions';
|
7
|
+
@import 'helpers/color_functions';
|
8
8
|
$alert-color: alert($primary-color);//red
|
9
9
|
$success-color: success($primary-color);//green
|
10
10
|
$warning-color: warning($primary-color);//yellow/orange
|
@@ -0,0 +1,52 @@
|
|
1
|
+
//STYLE OVERRIDES
|
2
|
+
//take away pointer on label
|
3
|
+
label{
|
4
|
+
cursor: default;
|
5
|
+
}
|
6
|
+
//take away asterix
|
7
|
+
div.required{
|
8
|
+
abbr{
|
9
|
+
display: none;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
//REMOVE FOUNDATION GLOW
|
13
|
+
input[type="text"],
|
14
|
+
input[type="password"],
|
15
|
+
input[type="date"],
|
16
|
+
input[type="datetime"],
|
17
|
+
input[type="datetime-local"],
|
18
|
+
input[type="month"],
|
19
|
+
input[type="week"],
|
20
|
+
input[type="email"],
|
21
|
+
input[type="number"],
|
22
|
+
input[type="search"],
|
23
|
+
input[type="tel"],
|
24
|
+
input[type="time"],
|
25
|
+
input[type="url"],
|
26
|
+
input[type="color"],
|
27
|
+
textarea {
|
28
|
+
box-shadow: none;
|
29
|
+
transition: border-color 0.15s ease-in-out;
|
30
|
+
}
|
31
|
+
input[type="text"]:focus,
|
32
|
+
input[type="password"]:focus,
|
33
|
+
input[type="date"]:focus,
|
34
|
+
input[type="datetime"]:focus,
|
35
|
+
input[type="datetime-local"]:focus,
|
36
|
+
input[type="month"]:focus,
|
37
|
+
input[type="week"]:focus,
|
38
|
+
input[type="email"]:focus,
|
39
|
+
input[type="number"]:focus,
|
40
|
+
input[type="search"]:focus,
|
41
|
+
input[type="tel"]:focus,
|
42
|
+
input[type="time"]:focus,
|
43
|
+
input[type="url"]:focus,
|
44
|
+
input[type="color"]:focus,
|
45
|
+
textarea:focus {
|
46
|
+
box-shadow: none;
|
47
|
+
outline: none;
|
48
|
+
}
|
49
|
+
//NOT ITALICS
|
50
|
+
[data-abide] .error small.error{
|
51
|
+
font-style: normal;
|
52
|
+
}
|
@@ -39,4 +39,14 @@ $global-rounded: 1000px;
|
|
39
39
|
//* modifiers:padding, border, space between buttons
|
40
40
|
//* gradient
|
41
41
|
//* blur
|
42
|
-
//* middle
|
42
|
+
//* middle
|
43
|
+
|
44
|
+
// .button.shadow{
|
45
|
+
// box-shadow: 1px 1px 1px rgba(0,0,0,0.4);
|
46
|
+
// }
|
47
|
+
// .button.text-shadow{
|
48
|
+
// text-shadow: 1px 1px 0px rgba(0,0,0,0.3);
|
49
|
+
// }
|
50
|
+
// .button.inner-text-shadow{
|
51
|
+
// text-shadow: 1px 1px 0px rgba(255,255,255,0.3);
|
52
|
+
// }
|
data/staple.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "staple"
|
7
|
-
spec.version = "0.1.
|
7
|
+
spec.version = "0.1.3"
|
8
8
|
spec.summary = "A high level ui generator. WIP."
|
9
9
|
spec.description = "Coming Soon. Built on top of foundation."
|
10
10
|
spec.authors = ["Ryan Helsing"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: staple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Helsing
|
@@ -85,16 +85,16 @@ files:
|
|
85
85
|
- lib/staple/list_generator.rb
|
86
86
|
- source/simple_form/_form.html.slim
|
87
87
|
- source/stylesheets/foundation_and_overrides.scss
|
88
|
-
- source/stylesheets/staple/
|
89
|
-
- source/stylesheets/staple/
|
90
|
-
- source/stylesheets/staple/build_buttons.scss
|
91
|
-
- source/stylesheets/staple/build_colors.scss
|
88
|
+
- source/stylesheets/staple/builders/build_buttons.scss
|
89
|
+
- source/stylesheets/staple/builders/build_colors.scss
|
92
90
|
- source/stylesheets/staple/buttons.scss
|
93
|
-
- source/stylesheets/staple/
|
94
|
-
- source/stylesheets/staple/color_functions.scss
|
91
|
+
- source/stylesheets/staple/colors.scss
|
95
92
|
- source/stylesheets/staple/forms.scss
|
96
|
-
- source/stylesheets/staple/
|
97
|
-
- source/stylesheets/staple/
|
93
|
+
- source/stylesheets/staple/helpers/color_functions.scss
|
94
|
+
- source/stylesheets/staple/init/after.scss
|
95
|
+
- source/stylesheets/staple/init/before.scss
|
96
|
+
- source/stylesheets/staple/init/overrides.scss
|
97
|
+
- source/stylesheets/staple/sizes.scss
|
98
98
|
- source/stylesheets/staple/typography.scss
|
99
99
|
- source/stylesheets/staple/utilities.scss
|
100
100
|
- staple.gemspec
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|