basscss-rails 3.0.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/Rakefile +2 -2
  4. data/app/assets/stylesheets/basscss/_align.scss +3 -0
  5. data/app/assets/stylesheets/basscss/_all.scss +14 -0
  6. data/app/assets/stylesheets/basscss/_background-colors.scss +24 -63
  7. data/app/assets/stylesheets/basscss/_background-images.scss +5 -0
  8. data/app/assets/stylesheets/basscss/_border-colors.scss +24 -63
  9. data/app/assets/stylesheets/basscss/_border.scss +51 -0
  10. data/app/assets/stylesheets/basscss/_btn-outline.scss +4 -70
  11. data/app/assets/stylesheets/basscss/_btn-primary.scss +6 -71
  12. data/app/assets/stylesheets/basscss/_btn.scss +5 -71
  13. data/app/assets/stylesheets/basscss/_colors.scss +25 -53
  14. data/app/assets/stylesheets/basscss/_darken.scss +20 -0
  15. data/app/assets/stylesheets/basscss/_flexbox.scss +90 -0
  16. data/app/assets/stylesheets/basscss/_forms.scss +50 -0
  17. data/app/assets/stylesheets/basscss/_grid.scss +4 -73
  18. data/app/assets/stylesheets/basscss/_hide.scss +38 -0
  19. data/app/assets/stylesheets/basscss/_highlight-dark.scss +166 -0
  20. data/app/assets/stylesheets/basscss/_highlight.scss +5 -4
  21. data/app/assets/stylesheets/basscss/_input-range.scss +19 -98
  22. data/app/assets/stylesheets/basscss/{_utility-layout.scss → _layout.scss} +21 -1
  23. data/app/assets/stylesheets/basscss/_lighten.scss +20 -0
  24. data/app/assets/stylesheets/basscss/_margin.scss +96 -0
  25. data/app/assets/stylesheets/basscss/_media-object.scss +55 -0
  26. data/app/assets/stylesheets/basscss/_padding.scss +82 -0
  27. data/app/assets/stylesheets/basscss/{_positions.scss → _position.scss} +17 -5
  28. data/app/assets/stylesheets/basscss/_progress.scss +5 -73
  29. data/app/assets/stylesheets/basscss/{_responsive-white-space.scss → _responsive-margin.scss} +44 -64
  30. data/app/assets/stylesheets/basscss/_responsive-padding.scss +147 -0
  31. data/app/assets/stylesheets/basscss/_type-scale.scss +5 -64
  32. data/app/assets/stylesheets/basscss/_typography.scss +65 -0
  33. data/app/assets/stylesheets/basscss/basscss.scss +8 -33
  34. data/lib/basscss/rails/version.rb +1 -1
  35. metadata +19 -27
  36. data/app/assets/stylesheets/basscss/_base-forms.scss +0 -132
  37. data/app/assets/stylesheets/basscss/_base-reset.scss +0 -10
  38. data/app/assets/stylesheets/basscss/_base-tables.scss +0 -103
  39. data/app/assets/stylesheets/basscss/_base-typography.scss +0 -136
  40. data/app/assets/stylesheets/basscss/_borders.scss +0 -120
  41. data/app/assets/stylesheets/basscss/_btn-sizes.scss +0 -97
  42. data/app/assets/stylesheets/basscss/_color-base.scss +0 -114
  43. data/app/assets/stylesheets/basscss/_color-forms-dark.scss +0 -146
  44. data/app/assets/stylesheets/basscss/_color-forms.scss +0 -139
  45. data/app/assets/stylesheets/basscss/_color-input-range.scss +0 -123
  46. data/app/assets/stylesheets/basscss/_color-progress.scss +0 -99
  47. data/app/assets/stylesheets/basscss/_color-tables.scss +0 -89
  48. data/app/assets/stylesheets/basscss/_defaults.scss +0 -76
  49. data/app/assets/stylesheets/basscss/_flex-object.scss +0 -119
  50. data/app/assets/stylesheets/basscss/_responsive-states.scss +0 -118
  51. data/app/assets/stylesheets/basscss/_table-object.scss +0 -58
  52. data/app/assets/stylesheets/basscss/_ui-utility-groups.scss +0 -21
  53. data/app/assets/stylesheets/basscss/_utility-headings.scss +0 -33
  54. data/app/assets/stylesheets/basscss/_utility-typography.scss +0 -33
  55. data/app/assets/stylesheets/basscss/_white-space.scss +0 -132
@@ -1,69 +1,16 @@
1
1
 
2
2
  // Converted Variables
3
3
 
4
- $aqua: #7fdbff !default;
5
4
  $blue: #0074d9 !default;
6
- $navy: #001f3f !default;
7
- $teal: #39cccc !default;
8
- $green: #2ecc40 !default;
9
- $olive: #3d9970 !default;
10
- $lime: #01ff70 !default;
11
- $yellow: #ffdc00 !default;
12
- $orange: #ff851b !default;
13
- $red: #ff4136 !default;
14
- $fuchsia: #f012be !default;
15
- $purple: #b10dc9 !default;
16
- $maroon: #85144b !default;
17
- $white: #fff !default;
18
- $silver: #ddd !default;
19
- $gray: #aaa !default;
20
- $black: #111 !default;
21
- $font-family: 'Helvetica Neue', Helvetica, sans-serif !default;
22
- $line-height: 1.5 !default;
23
- $heading-font-family: $font-family !default;
24
- $heading-font-weight: bold !default;
25
- $heading-line-height: 1.25 !default;
26
- $monospace-font-family: 'Source Code Pro', Consolas, monospace !default;
27
- $h1: 2rem !default;
28
- $h2: 1.5rem !default;
29
- $h3: 1.25rem !default;
30
- $h4: 1rem !default;
31
- $h5: .875rem !default;
32
- $h6: .75rem !default;
33
- $bold-font-weight: bold !default;
34
- $space-1: .5rem !default;
35
- $space-2: 1rem !default;
36
- $space-3: 2rem !default;
37
- $space-4: 4rem !default;
38
- $form-field-font-size: 1rem !default;
39
- $form-field-height: 2.25rem !default;
40
- $form-field-padding-y: .5rem !default;
41
- $form-field-padding-x: .5rem !default;
42
- $button-font-size: inherit !default;
43
- $button-font-weight: bold !default;
44
- $button-line-height: 1.125rem !default;
45
- $button-padding-y: .5rem !default;
46
- $button-padding-x: 1rem !default;
47
- $container-width: 64em !default;
48
- $darken-1: rgba(0,0,0,.0625) !default;
49
- $darken-2: rgba(0,0,0,.125) !default;
50
- $darken-3: rgba(0,0,0,.25) !default;
51
- $darken-4: rgba(0,0,0,.5) !default;
52
- $lighten-1: rgba(255,255,255,.0625) !default;
53
- $lighten-2: rgba(255,255,255,.125) !default;
54
- $lighten-3: rgba(255,255,255,.25) !default;
55
- $lighten-4: rgba(255,255,255,.5) !default;
56
- $border-width: 1px !default;
57
- $border-radius: 3px !default;
58
- $border-color: $darken-2 !default;
59
- $button-color: $white !default;
5
+ $button-color: #fff !default;
60
6
  $button-background-color: $blue !default;
7
+ $border-radius: 3px !default;
8
+ $darken-1: rgba(0, 0, 0, .0625) !default;
9
+ $darken-2: rgba(0, 0, 0, .125) !default;
10
+ $darken-3: rgba(0, 0, 0, .25) !default;
61
11
 
62
12
  // Custom Media Query Variables
63
13
 
64
- $breakpoint-sm: '(min-width: 40em)' !default;
65
- $breakpoint-md: '(min-width: 52em)' !default;
66
- $breakpoint-lg: '(min-width: 64em)' !default;
67
14
 
68
15
  /* Basscss Btn Primary */
69
16
 
@@ -86,16 +33,4 @@ $breakpoint-lg: '(min-width: 64em)' !default;
86
33
  .btn-primary:disabled,
87
34
  .btn-primary.is-disabled {
88
35
  opacity: .5;
89
- }
90
-
91
- /* Basscss Defaults */
92
-
93
- /*
94
-
95
- COLOR VARIABLES
96
-
97
- - Cool
98
- - Warm
99
- - Gray Scale
100
-
101
- */
36
+ }
@@ -1,73 +1,19 @@
1
1
 
2
2
  // Converted Variables
3
3
 
4
- $aqua: #7fdbff !default;
5
- $blue: #0074d9 !default;
6
- $navy: #001f3f !default;
7
- $teal: #39cccc !default;
8
- $green: #2ecc40 !default;
9
- $olive: #3d9970 !default;
10
- $lime: #01ff70 !default;
11
- $yellow: #ffdc00 !default;
12
- $orange: #ff851b !default;
13
- $red: #ff4136 !default;
14
- $fuchsia: #f012be !default;
15
- $purple: #b10dc9 !default;
16
- $maroon: #85144b !default;
17
- $white: #fff !default;
18
- $silver: #ddd !default;
19
- $gray: #aaa !default;
20
- $black: #111 !default;
21
- $font-family: 'Helvetica Neue', Helvetica, sans-serif !default;
22
- $line-height: 1.5 !default;
23
- $heading-font-family: $font-family !default;
24
- $heading-font-weight: bold !default;
25
- $heading-line-height: 1.25 !default;
26
- $monospace-font-family: 'Source Code Pro', Consolas, monospace !default;
27
- $h1: 2rem !default;
28
- $h2: 1.5rem !default;
29
- $h3: 1.25rem !default;
30
- $h4: 1rem !default;
31
- $h5: .875rem !default;
32
- $h6: .75rem !default;
33
- $bold-font-weight: bold !default;
34
- $space-1: .5rem !default;
35
- $space-2: 1rem !default;
36
- $space-3: 2rem !default;
37
- $space-4: 4rem !default;
38
- $form-field-font-size: 1rem !default;
39
- $form-field-height: 2.25rem !default;
40
- $form-field-padding-y: .5rem !default;
41
- $form-field-padding-x: .5rem !default;
42
- $button-font-size: inherit !default;
43
- $button-font-weight: bold !default;
44
- $button-line-height: 1.125rem !default;
45
- $button-padding-y: .5rem !default;
46
- $button-padding-x: 1rem !default;
47
- $container-width: 64em !default;
48
- $darken-1: rgba(0,0,0,.0625) !default;
49
- $darken-2: rgba(0,0,0,.125) !default;
50
- $darken-3: rgba(0,0,0,.25) !default;
51
- $darken-4: rgba(0,0,0,.5) !default;
52
- $lighten-1: rgba(255,255,255,.0625) !default;
53
- $lighten-2: rgba(255,255,255,.125) !default;
54
- $lighten-3: rgba(255,255,255,.25) !default;
55
- $lighten-4: rgba(255,255,255,.5) !default;
56
4
  $border-width: 1px !default;
57
- $border-radius: 3px !default;
58
- $border-color: $darken-2 !default;
5
+ $bold-font-weight: bold !default;
59
6
  $button-font-family: inherit !default;
60
7
  $button-font-size: inherit !default;
61
- $button-font-weight: $bold-font-weight /* Fallback value: bold */ !default;
8
+ $button-font-weight: $bold-font-weight !default;
62
9
  $button-line-height: 1.125rem !default;
63
10
  $button-padding-y: .5rem !default;
64
11
  $button-padding-x: 1rem !default;
12
+ $darken-2: rgba(0, 0, 0, .125) !default;
13
+ $darken-3: rgba(0, 0, 0, .25) !default;
65
14
 
66
15
  // Custom Media Query Variables
67
16
 
68
- $breakpoint-sm: '(min-width: 40em)' !default;
69
- $breakpoint-md: '(min-width: 52em)' !default;
70
- $breakpoint-lg: '(min-width: 64em)' !default;
71
17
 
72
18
  /* Basscss Btn */
73
19
 
@@ -102,16 +48,4 @@ $breakpoint-lg: '(min-width: 64em)' !default;
102
48
  ::-moz-focus-inner {
103
49
  border: 0;
104
50
  padding: 0;
105
- }
106
-
107
- /* Basscss Defaults */
108
-
109
- /*
110
-
111
- COLOR VARIABLES
112
-
113
- - Cool
114
- - Warm
115
- - Gray Scale
116
-
117
- */
51
+ }
@@ -18,84 +18,56 @@ $white: #fff !default;
18
18
  $silver: #ddd !default;
19
19
  $gray: #aaa !default;
20
20
  $black: #111 !default;
21
- $font-family: 'Helvetica Neue', Helvetica, sans-serif !default;
22
- $line-height: 1.5 !default;
23
- $heading-font-family: $font-family !default;
24
- $heading-font-weight: bold !default;
25
- $heading-line-height: 1.25 !default;
26
- $monospace-font-family: 'Source Code Pro', Consolas, monospace !default;
27
- $h1: 2rem !default;
28
- $h2: 1.5rem !default;
29
- $h3: 1.25rem !default;
30
- $h4: 1rem !default;
31
- $h5: .875rem !default;
32
- $h6: .75rem !default;
33
- $bold-font-weight: bold !default;
34
- $space-1: .5rem !default;
35
- $space-2: 1rem !default;
36
- $space-3: 2rem !default;
37
- $space-4: 4rem !default;
38
- $form-field-font-size: 1rem !default;
39
- $form-field-height: 2.25rem !default;
40
- $form-field-padding-y: .5rem !default;
41
- $form-field-padding-x: .5rem !default;
42
- $button-font-size: inherit !default;
43
- $button-font-weight: bold !default;
44
- $button-line-height: 1.125rem !default;
45
- $button-padding-y: .5rem !default;
46
- $button-padding-x: 1rem !default;
47
- $container-width: 64em !default;
48
- $darken-1: rgba(0,0,0,.0625) !default;
49
- $darken-2: rgba(0,0,0,.125) !default;
50
- $darken-3: rgba(0,0,0,.25) !default;
51
- $darken-4: rgba(0,0,0,.5) !default;
52
- $lighten-1: rgba(255,255,255,.0625) !default;
53
- $lighten-2: rgba(255,255,255,.125) !default;
54
- $lighten-3: rgba(255,255,255,.25) !default;
55
- $lighten-4: rgba(255,255,255,.5) !default;
56
- $border-width: 1px !default;
57
- $border-radius: 3px !default;
58
- $border-color: $darken-2 !default;
59
21
 
60
22
  // Custom Media Query Variables
61
23
 
62
- $breakpoint-sm: '(min-width: 40em)' !default;
63
- $breakpoint-md: '(min-width: 52em)' !default;
64
- $breakpoint-lg: '(min-width: 64em)' !default;
65
24
 
66
25
  /* Basscss Colors */
67
26
 
27
+ /*
28
+
29
+ COLOR VARIABLES
30
+
31
+ - Cool
32
+ - Warm
33
+ - Gray Scale
34
+
35
+ */
36
+
68
37
  .black { color: $black }
38
+
69
39
  .gray { color: $gray }
40
+
70
41
  .silver { color: $silver }
42
+
71
43
  .white { color: $white }
72
44
 
73
45
  .aqua { color: $aqua }
46
+
74
47
  .blue { color: $blue }
48
+
75
49
  .navy { color: $navy }
50
+
76
51
  .teal { color: $teal }
52
+
77
53
  .green { color: $green }
54
+
78
55
  .olive { color: $olive }
56
+
79
57
  .lime { color: $lime }
80
58
 
81
59
  .yellow { color: $yellow }
60
+
82
61
  .orange { color: $orange }
62
+
83
63
  .red { color: $red }
64
+
84
65
  .fuchsia { color: $fuchsia }
66
+
85
67
  .purple { color: $purple }
68
+
86
69
  .maroon { color: $maroon }
87
70
 
88
71
  .color-inherit { color: inherit }
89
- .muted { opacity: .5 }
90
-
91
- /* Basscss Defaults */
92
-
93
- /*
94
-
95
- COLOR VARIABLES
96
-
97
- - Cool
98
- - Warm
99
- - Gray Scale
100
72
 
101
- */
73
+ .muted { opacity: .5 }
@@ -0,0 +1,20 @@
1
+
2
+ // Converted Variables
3
+
4
+ $darken-1: rgba(0, 0, 0, .0625) !default;
5
+ $darken-2: rgba(0, 0, 0, .125) !default;
6
+ $darken-3: rgba(0, 0, 0, .25) !default;
7
+ $darken-4: rgba(0, 0, 0, .5) !default;
8
+
9
+ // Custom Media Query Variables
10
+
11
+
12
+ /* Basscss Darken */
13
+
14
+ .bg-darken-1 { background-color: $darken-1 }
15
+
16
+ .bg-darken-2 { background-color: $darken-2 }
17
+
18
+ .bg-darken-3 { background-color: $darken-3 }
19
+
20
+ .bg-darken-4 { background-color: $darken-4 }
@@ -0,0 +1,90 @@
1
+
2
+ // Converted Variables
3
+
4
+
5
+ // Custom Media Query Variables
6
+
7
+ $breakpoint-sm: '(min-width: 40em)' !default;
8
+ $breakpoint-md: '(min-width: 52em)' !default;
9
+ $breakpoint-lg: '(min-width: 64em)' !default;
10
+
11
+
12
+ .flex { display: flex }
13
+
14
+ @media #{$breakpoint-sm} {
15
+ .sm-flex { display: flex }
16
+ }
17
+
18
+ @media #{$breakpoint-md} {
19
+ .md-flex { display: flex }
20
+ }
21
+
22
+ @media #{$breakpoint-lg} {
23
+ .lg-flex { display: flex }
24
+ }
25
+
26
+ .flex-column { flex-direction: column }
27
+
28
+ .flex-wrap { flex-wrap: wrap }
29
+
30
+ .items-start { align-items: flex-start }
31
+
32
+ .items-end { align-items: flex-end }
33
+
34
+ .items-center { align-items: center }
35
+
36
+ .items-baseline { align-items: baseline }
37
+
38
+ .items-stretch { align-items: stretch }
39
+
40
+ .self-start { align-self: flex-start }
41
+
42
+ .self-end { align-self: flex-end }
43
+
44
+ .self-center { align-self: center }
45
+
46
+ .self-baseline { align-self: baseline }
47
+
48
+ .self-stretch { align-self: stretch }
49
+
50
+ .justify-start { justify-content: flex-start }
51
+
52
+ .justify-end { justify-content: flex-end }
53
+
54
+ .justify-center { justify-content: center }
55
+
56
+ .justify-between { justify-content: space-between }
57
+
58
+ .justify-around { justify-content: space-around }
59
+
60
+ .content-start { align-content: flex-start }
61
+
62
+ .content-end { align-content: flex-end }
63
+
64
+ .content-center { align-content: center }
65
+
66
+ .content-between { align-content: space-between }
67
+
68
+ .content-around { align-content: space-around }
69
+
70
+ .content-stretch { align-content: stretch }
71
+
72
+ /* 1. Fix for Chrome 44 bug. https://code.google.com/p/chromium/issues/detail?id=506893 */
73
+
74
+ .flex-auto {
75
+ flex: 1 1 auto;
76
+ min-width: 0; /* 1 */
77
+ min-height: 0; /* 1 */
78
+ }
79
+
80
+ .flex-none { flex: none }
81
+
82
+ .order-0 { order: 0 }
83
+
84
+ .order-1 { order: 1 }
85
+
86
+ .order-2 { order: 2 }
87
+
88
+ .order-3 { order: 3 }
89
+
90
+ .order-last { order: 99999 }
@@ -0,0 +1,50 @@
1
+
2
+ // Converted Variables
3
+
4
+
5
+ // Custom Media Query Variables
6
+
7
+
8
+ /* Basscss Forms */
9
+
10
+ .label {
11
+ font-size: .875rem;
12
+ font-weight: bold;
13
+ display: block;
14
+ margin-bottom: .5rem;
15
+ }
16
+
17
+ .input {
18
+ font-family: inherit;
19
+ font-size: inherit;
20
+ display: block;
21
+ width: 100%;
22
+ height: 2.5rem;
23
+ padding: .5rem;
24
+ margin-bottom: 1rem;
25
+ border: 1px solid #ccc;
26
+ border-radius: 3px;
27
+ }
28
+
29
+ .select {
30
+ font-family: inherit;
31
+ font-size: inherit;
32
+ display: block;
33
+ width: 100%;
34
+ height: 2.5rem;
35
+ padding: .5rem;
36
+ margin-bottom: 1rem;
37
+ border: 1px solid #ccc;
38
+ border-radius: 3px;
39
+ }
40
+
41
+ .textarea {
42
+ font-family: inherit;
43
+ font-size: inherit;
44
+ display: block;
45
+ width: 100%;
46
+ padding: .5rem;
47
+ margin-bottom: 1rem;
48
+ border: 1px solid #ccc;
49
+ border-radius: 3px;
50
+ }