kentucky 2.2.2 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/LICENSE +2 -2
  4. data/app/assets/stylesheets/base/_normalize.scss +322 -0
  5. data/app/assets/stylesheets/base/_typography.scss +62 -0
  6. data/app/assets/stylesheets/components/README +9 -0
  7. data/app/assets/stylesheets/layout/README +10 -0
  8. data/app/assets/stylesheets/pages/README +6 -0
  9. data/app/assets/stylesheets/project.scss +18 -0
  10. data/app/assets/stylesheets/utilities/_functions.scss +37 -0
  11. data/app/assets/stylesheets/utilities/_mixins.scss +306 -0
  12. data/app/assets/stylesheets/utilities/_variables.scss +122 -0
  13. data/app/assets/stylesheets/vendors/README +12 -0
  14. data/kentucky.gemspec +3 -3
  15. data/lib/kentucky/generator.rb +1 -1
  16. data/lib/kentucky/version.rb +1 -1
  17. data/readme.md +23 -116
  18. metadata +21 -29
  19. data/app/assets/stylesheets/kentucky/_kentucky.scss +0 -52
  20. data/app/assets/stylesheets/kentucky/addons/_border.scss +0 -30
  21. data/app/assets/stylesheets/kentucky/addons/_clearfix.scss +0 -14
  22. data/app/assets/stylesheets/kentucky/addons/_easings.scss +0 -37
  23. data/app/assets/stylesheets/kentucky/addons/_hide-text.scss +0 -9
  24. data/app/assets/stylesheets/kentucky/addons/_input-types.scss +0 -82
  25. data/app/assets/stylesheets/kentucky/addons/_position.scss +0 -42
  26. data/app/assets/stylesheets/kentucky/addons/_size.scss +0 -47
  27. data/app/assets/stylesheets/kentucky/addons/_truncate.scss +0 -10
  28. data/app/assets/stylesheets/kentucky/base/_buttons.scss +0 -40
  29. data/app/assets/stylesheets/kentucky/base/_forms.scss +0 -86
  30. data/app/assets/stylesheets/kentucky/base/_layouts.scss +0 -13
  31. data/app/assets/stylesheets/kentucky/base/_lists.scss +0 -35
  32. data/app/assets/stylesheets/kentucky/base/_project-settings.scss +0 -112
  33. data/app/assets/stylesheets/kentucky/base/_tables.scss +0 -28
  34. data/app/assets/stylesheets/kentucky/base/_typography.scss +0 -84
  35. data/app/assets/stylesheets/kentucky/functions/_assign.scss +0 -17
  36. data/app/assets/stylesheets/kentucky/functions/_tint-shade.scss +0 -11
@@ -1,28 +0,0 @@
1
- // ------------------------------------------------------------------- //
2
- // Table Normalization
3
- // ------------------------------------------------------------------- //
4
-
5
- table {
6
- width: 100%;
7
- margin: ($base-spacing / 2) 0;
8
- border-collapse: collapse;
9
- table-layout: fixed;
10
- }
11
-
12
- th {
13
- padding: ($base-spacing / 2) 0;
14
- border-bottom: 1px solid shade($base-border-color, 15%);
15
- font-weight: bold;
16
- text-align: left;
17
- }
18
-
19
- td {
20
- padding: ($base-spacing / 2) 0;
21
- border-bottom: $base-border;
22
- }
23
-
24
- tr,
25
- td,
26
- th {
27
- vertical-align: middle;
28
- }
@@ -1,84 +0,0 @@
1
- // ------------------------------------------------------------------- //
2
- // Typography Normalization
3
- // ------------------------------------------------------------------- //
4
-
5
- body {
6
- -webkit-font-smoothing: antialiased;
7
- background-color: $base-background-color;
8
- color: $base-font-color;
9
- font-family: $base-font-family;
10
- font-size: $base-font-size;
11
- line-height: $base-line-height;
12
- }
13
-
14
-
15
- h1,
16
- h2,
17
- h3,
18
- h4,
19
- h5,
20
- h6 {
21
- margin: 0;
22
- font-family: $header-font-family;
23
- line-height: $header-line-height;
24
- }
25
-
26
- h1 { font-size: $h1-font-size; }
27
-
28
- h2 { font-size: $h2-font-size; }
29
-
30
- h3 { font-size: $h3-font-size; }
31
-
32
- h4 { font-size: $h4-font-size; }
33
-
34
- h5 { font-size: $h5-font-size; }
35
-
36
- h6 { font-size: $h6-font-size; }
37
-
38
- p { margin: 0 0 ($base-spacing / 2); }
39
-
40
- a {
41
- color: $base-link-color;
42
- text-decoration: none;
43
- transition: color, .1s;
44
-
45
- &:hover {
46
- color: $hover-link-color;
47
- }
48
-
49
- &:active,
50
- &:focus {
51
- color: $hover-link-color;
52
- outline: none;
53
- }
54
- }
55
-
56
- hr {
57
- margin: $base-spacing 0;
58
- border-bottom: $base-border;
59
- border-left: 0;
60
- border-right: 0;
61
- border-top: 0;
62
- }
63
-
64
- img,
65
- picture {
66
- max-width: 100%;
67
- margin: 0;
68
- }
69
-
70
- blockquote {
71
- margin: $base-spacing 0;
72
- padding-left: $base-spacing / 2;
73
- border-left: 2px solid $base-border-color;
74
- color: tint($base-font-color, 15%);
75
- }
76
-
77
- cite {
78
- color: tint($base-font-color, 25%);
79
- font-style: italic;
80
-
81
- &:before {
82
- content: "\2014 \00A0";
83
- }
84
- }
@@ -1,17 +0,0 @@
1
- // ------------------------------------------------------------------- //
2
- // Assign Function
3
- //
4
- // Used for input lists (in Addons).
5
- // ------------------------------------------------------------------- //
6
-
7
- @function assign-inputs($inputs, $pseudo: null) {
8
- $list : ();
9
-
10
- @each $input in $inputs {
11
- $input: unquote($input);
12
- $input: if($pseudo, $input + ":" + $pseudo, $input);
13
- $list: append($list, $input, comma);
14
- }
15
-
16
- @return $list;
17
- }
@@ -1,11 +0,0 @@
1
- // -------------------------------------------------------------------- //
2
- // Tinting and Shading (Better color control)
3
- // -------------------------------------------------------------------- //
4
-
5
- @function tint($color, $percent) {
6
- @return mix(white, $color, $percent);
7
- }
8
-
9
- @function shade($color, $percent) {
10
- @return mix(black, $color, $percent);
11
- }