basscss-rails 0.0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +2 -14
  5. data/app/assets/stylesheets/basscss/_background-images.scss +17 -0
  6. data/app/assets/stylesheets/basscss/_base-buttons.scss +110 -0
  7. data/app/assets/stylesheets/basscss/_base-forms.scss +129 -0
  8. data/app/assets/stylesheets/basscss/_base-reset.scss +16 -0
  9. data/app/assets/stylesheets/basscss/_base-tables.scss +99 -0
  10. data/app/assets/stylesheets/basscss/_base-typography.scss +135 -0
  11. data/app/assets/stylesheets/basscss/_borders.scss +82 -3
  12. data/app/assets/stylesheets/basscss/_button-blue-outline.scss +46 -0
  13. data/app/assets/stylesheets/basscss/_button-blue.scss +41 -0
  14. data/app/assets/stylesheets/basscss/_button-gray.scss +42 -0
  15. data/app/assets/stylesheets/basscss/_button-light-gray.scss +43 -0
  16. data/app/assets/stylesheets/basscss/_button-link.scss +42 -0
  17. data/app/assets/stylesheets/basscss/_button-nav-dark.scss +23 -0
  18. data/app/assets/stylesheets/basscss/_button-nav-light.scss +26 -0
  19. data/app/assets/stylesheets/basscss/_button-nav-tab.scss +34 -0
  20. data/app/assets/stylesheets/basscss/_button-outline.scss +135 -0
  21. data/app/assets/stylesheets/basscss/_button-red.scss +41 -0
  22. data/app/assets/stylesheets/basscss/_button-sizes.scss +93 -0
  23. data/app/assets/stylesheets/basscss/_button-transparent.scss +139 -0
  24. data/app/assets/stylesheets/basscss/_color-base.scss +137 -0
  25. data/app/assets/stylesheets/basscss/_color-buttons.scss +196 -0
  26. data/app/assets/stylesheets/basscss/_color-forms-dark.scss +123 -0
  27. data/app/assets/stylesheets/basscss/_color-forms.scss +115 -0
  28. data/app/assets/stylesheets/basscss/_color-tables.scss +85 -0
  29. data/app/assets/stylesheets/basscss/_colors.scss +155 -19
  30. data/app/assets/stylesheets/basscss/_defaults.scss +72 -0
  31. data/app/assets/stylesheets/basscss/_flex-object.scss +109 -0
  32. data/app/assets/stylesheets/basscss/_grid.scss +303 -39
  33. data/app/assets/stylesheets/basscss/_highlight.scss +166 -0
  34. data/app/assets/stylesheets/basscss/_input-range.scss +155 -0
  35. data/app/assets/stylesheets/basscss/_positions.scss +17 -17
  36. data/app/assets/stylesheets/basscss/_progress.scss +101 -0
  37. data/app/assets/stylesheets/basscss/_responsive-states.scss +114 -0
  38. data/app/assets/stylesheets/basscss/_responsive-white-space.scss +194 -0
  39. data/app/assets/stylesheets/basscss/_table-object.scss +40 -8
  40. data/app/assets/stylesheets/basscss/_ui-utility-groups.scss +21 -0
  41. data/app/assets/stylesheets/basscss/_utility-headings.scss +33 -0
  42. data/app/assets/stylesheets/basscss/_utility-layout.scss +31 -0
  43. data/app/assets/stylesheets/basscss/_utility-typography.scss +20 -0
  44. data/app/assets/stylesheets/basscss/_white-space.scss +126 -0
  45. data/app/assets/stylesheets/basscss/basscss.scss +37 -40
  46. data/lib/basscss/rails/version.rb +1 -1
  47. metadata +38 -20
  48. data/app/assets/stylesheets/basscss/_button-themes.scss +0 -32
  49. data/app/assets/stylesheets/basscss/_buttons.scss +0 -33
  50. data/app/assets/stylesheets/basscss/_form-themes.scss +0 -37
  51. data/app/assets/stylesheets/basscss/_forms.scss +0 -68
  52. data/app/assets/stylesheets/basscss/_lists.scss +0 -16
  53. data/app/assets/stylesheets/basscss/_margins.scss +0 -34
  54. data/app/assets/stylesheets/basscss/_nav-themes.scss +0 -130
  55. data/app/assets/stylesheets/basscss/_navs.scss +0 -59
  56. data/app/assets/stylesheets/basscss/_padding.scss +0 -18
  57. data/app/assets/stylesheets/basscss/_reset.scss +0 -10
  58. data/app/assets/stylesheets/basscss/_table-themes.scss +0 -8
  59. data/app/assets/stylesheets/basscss/_tables.scss +0 -23
  60. data/app/assets/stylesheets/basscss/_theme.scss +0 -16
  61. data/app/assets/stylesheets/basscss/_type.scss +0 -43
  62. data/app/assets/stylesheets/basscss/_utilities.scss +0 -30
  63. data/app/assets/stylesheets/basscss/_variables.scss +0 -62
  64. data/app/assets/stylesheets/basscss/basscss-lite.scss +0 -19
@@ -0,0 +1,23 @@
1
+
2
+ // Converted Variables
3
+
4
+ $darken-2: rgba(#000,.125) !default;
5
+
6
+ // Custom Media Query Variables
7
+
8
+
9
+ /* Basscss Button Nav Dark */
10
+
11
+ .button-nav-dark {
12
+ color: white;
13
+ background-color: transparent;
14
+ }
15
+
16
+ .button-nav-dark:hover {
17
+ background-color: $darken-2;
18
+ }
19
+
20
+ .button-nav-dark:active,
21
+ .button-nav-dark.is-active {
22
+ background-color: $darken-2;
23
+ }
@@ -0,0 +1,26 @@
1
+
2
+ // Converted Variables
3
+
4
+ $dark-gray: #333 !default;
5
+ $darken-1: rgba(#000,.0625) !default;
6
+ $button-nav-light-color: $blue /* Fallback value: inherit */ !default;
7
+ $hover-background-color: $darken-1 !default;
8
+ $border-radius: 3px !default;
9
+
10
+ // Custom Media Query Variables
11
+
12
+
13
+ /* Basscss Button Nav Light */
14
+
15
+ .button-nav-light {
16
+ color: $button-nav-light-color;
17
+ background-color: transparent;
18
+ }
19
+
20
+ .button-nav-light:hover {
21
+ background-color: $hover-background-color;
22
+ }
23
+ .button-nav-light:active,
24
+ .button-nav-light.is-active {
25
+ color: $dark-gray;
26
+ }
@@ -0,0 +1,34 @@
1
+
2
+ // Converted Variables
3
+
4
+ $dark-gray: #333 !default;
5
+ $light-gray: #ccc !default;
6
+ $darken-1: rgba(#000,.0625) !default;
7
+ $hover-background-color: $darken-1 !default;
8
+ $border-color: $light-gray !default;
9
+ $border-radius: 3px !default;
10
+
11
+ // Custom Media Query Variables
12
+
13
+
14
+ /* Basscss Button Nav Tab */
15
+
16
+ .button-nav-tab {
17
+ margin-bottom: -1px;
18
+ border-radius: $border-radius $border-radius 0 0;
19
+ border-bottom: 1px solid $border-color;
20
+ color: $dark-gray;
21
+ background-color: transparent;
22
+ }
23
+
24
+ .button-nav-tab:hover {
25
+ background-color: $hover-background-color;
26
+ }
27
+
28
+ .button-nav-tab.is-active {
29
+ background-color: white;
30
+ border-bottom: 1px solid white;
31
+ border-top: 1px solid $border-color;
32
+ border-left: 1px solid $border-color;
33
+ border-right: 1px solid $border-color;
34
+ }
@@ -0,0 +1,135 @@
1
+
2
+ // Converted Variables
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
+ $border-width: 1px !default;
53
+ $border-radius: 3px !default;
54
+ $border-color: $darken-2 !default;
55
+
56
+ // Custom Media Query Variables
57
+
58
+ $breakpoint-sm: '(min-width: 40em)' !default;
59
+ $breakpoint-md: '(min-width: 52em)' !default;
60
+ $breakpoint-lg: '(min-width: 64em)' !default;
61
+
62
+ /* Basscss Button Outline */
63
+
64
+ .button-outline {
65
+ position: relative;
66
+ z-index: 2;
67
+ color: inherit;
68
+ background-color: transparent;
69
+ border-radius: $border-radius;
70
+ border: $border-width solid currentcolor;
71
+ -webkit-transition-duration: .1s;
72
+ transition-duration: .1s;
73
+ -webkit-transition-timing-function: ease-out;
74
+ transition-timing-function: ease-out;
75
+ -webkit-transition-property: box-shadow, background-color;
76
+ transition-property: box-shadow, background-color;
77
+ }
78
+
79
+ .button-outline:before {
80
+ content: '';
81
+ display: block;
82
+ position: absolute;
83
+ z-index: -1;
84
+ top: -$border-width;
85
+ right: -$border-width;
86
+ bottom: -$border-width;
87
+ left: -$border-width;
88
+ border: $border-width solid transparent;
89
+ background-color: currentcolor;
90
+ border-radius: $border-radius;
91
+ -webkit-transition-duration: .1s;
92
+ transition-duration: .1s;
93
+ -webkit-transition-timing-function: ease-out;
94
+ transition-timing-function: ease-out;
95
+ -webkit-transition-property: opacity;
96
+ transition-property: opacity;
97
+ opacity: 0;
98
+ }
99
+
100
+ .button-outline:hover {
101
+ box-shadow: none;
102
+ }
103
+
104
+ .button-outline:hover:before,
105
+ .button-outline:focus:before {
106
+ opacity: .125;
107
+ }
108
+
109
+ .button-outline:focus {
110
+ outline: none;
111
+ border: $border-width solid currentcolor;
112
+ box-shadow: 0 0 0 2px;
113
+ }
114
+
115
+ .button-outline:active,
116
+ .button-outline.is-active {
117
+ box-shadow: inset 0 1px 5px 0, 0 0 1px;
118
+ }
119
+
120
+ .button-outline:disabled,
121
+ .button-outline.is-disabled {
122
+ opacity: .5;
123
+ }
124
+
125
+ /* Basscss Defaults */
126
+
127
+ /*
128
+
129
+ COLOR VARIABLES
130
+
131
+ - Cool
132
+ - Warm
133
+ - Gray Scale
134
+
135
+ */
@@ -0,0 +1,41 @@
1
+
2
+ // Converted Variables
3
+
4
+ $red: #f95020 !default;
5
+ $border-radius: 3px !default;
6
+
7
+ // Custom Media Query Variables
8
+
9
+
10
+ /* Basscss Button Red */
11
+
12
+ .button-red {
13
+ color: white;
14
+ background-color: $red;
15
+ border-radius: $border-radius;
16
+ -webkit-transition-duration: .1s;
17
+ transition-duration: .1s;
18
+ -webkit-transition-timing-function: ease-out;
19
+ transition-timing-function: ease-out;
20
+ -webkit-transition-property: box-shadow, background-color;
21
+ transition-property: box-shadow, background-color;
22
+ }
23
+
24
+ .button-red:hover {
25
+ opacity: .875;
26
+ }
27
+
28
+ .button-red:active,
29
+ .button-red.is-active {
30
+ box-shadow: inset 0 0 0 32px rgba(#000,.125), inset 0 2px 3px 0 rgba(#000,.25);
31
+ }
32
+
33
+ .button-red:focus {
34
+ outline: none;
35
+ box-shadow: 0 0 0 2px rgba(white, .5), 0 0 1px 4px rgba($red, .5);
36
+ }
37
+
38
+ .button-red:disabled,
39
+ .button-red.is-disabled {
40
+ opacity: .5;
41
+ }
@@ -0,0 +1,93 @@
1
+
2
+ // Converted Variables
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
+ $border-width: 1px !default;
53
+ $border-radius: 3px !default;
54
+ $border-color: $darken-2 !default;
55
+ $button-small-padding-y: .25rem !default;
56
+ $button-small-padding-x: .5rem !default;
57
+ $button-big-padding-y: 1rem !default;
58
+ $button-big-padding-x: 1.25rem !default;
59
+ $button-narrow-padding-x: $space-1 !default;
60
+
61
+ // Custom Media Query Variables
62
+
63
+ $breakpoint-sm: '(min-width: 40em)' !default;
64
+ $breakpoint-md: '(min-width: 52em)' !default;
65
+ $breakpoint-lg: '(min-width: 64em)' !default;
66
+
67
+ /* Basscss UI Utility Button Sizes */
68
+
69
+ .button-small {
70
+ padding: $button-small-padding-y $button-small-padding-x;
71
+ }
72
+
73
+ .button-big {
74
+ padding: $button-big-padding-y $button-big-padding-x;
75
+ }
76
+
77
+ .button-narrow {
78
+ padding-left: $button-narrow-padding-x;
79
+ padding-right: $button-narrow-padding-x;
80
+ }
81
+
82
+
83
+ /* Basscss Defaults */
84
+
85
+ /*
86
+
87
+ COLOR VARIABLES
88
+
89
+ - Cool
90
+ - Warm
91
+ - Gray Scale
92
+
93
+ */
@@ -0,0 +1,139 @@
1
+
2
+ // Converted Variables
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
+ $border-width: 1px !default;
53
+ $border-radius: 3px !default;
54
+ $border-color: $darken-2 !default;
55
+
56
+ // Custom Media Query Variables
57
+
58
+ $breakpoint-sm: '(min-width: 40em)' !default;
59
+ $breakpoint-md: '(min-width: 52em)' !default;
60
+ $breakpoint-lg: '(min-width: 64em)' !default;
61
+
62
+ /* Basscss Button Transparent */
63
+
64
+ .button-transparent {
65
+ position: relative;
66
+ z-index: 2;
67
+ color: inherit;
68
+ background-color: transparent;
69
+ border-radius: 0;
70
+ border: $border-width solid transparent;
71
+ -webkit-transition-duration: .1s;
72
+ transition-duration: .1s;
73
+ -webkit-transition-timing-function: ease-out;
74
+ transition-timing-function: ease-out;
75
+ -webkit-transition-property: box-shadow;
76
+ transition-property: box-shadow;
77
+ }
78
+
79
+ .button-transparent:before {
80
+ content: '';
81
+ display: block;
82
+ position: absolute;
83
+ z-index: -1;
84
+ top: -$border-width;
85
+ right: -$border-width;
86
+ bottom: -$border-width;
87
+ left: -$border-width;
88
+ border: $border-width solid transparent;
89
+ background-color: currentcolor;
90
+ -webkit-transition-duration: .1s;
91
+ transition-duration: .1s;
92
+ -webkit-transition-timing-function: ease-out;
93
+ transition-timing-function: ease-out;
94
+ -webkit-transition-property: opacity;
95
+ transition-property: opacity;
96
+ opacity: 0;
97
+ }
98
+
99
+ .button-transparent:hover {
100
+ box-shadow: none;
101
+ }
102
+
103
+ .button-transparent:hover:before,
104
+ .button-transparent:focus:before {
105
+ opacity: .09375;
106
+ }
107
+
108
+ .button-transparent:focus {
109
+ outline: none;
110
+ border-color: transparent;
111
+ box-shadow: 0 0 0 2px;
112
+ }
113
+
114
+ .button-transparent:active,
115
+ .button-transparent.is-active {
116
+ box-shadow: none;
117
+ }
118
+
119
+ .button-transparent:active:before,
120
+ .button-transparent.is-active:before {
121
+ opacity: .0625;
122
+ }
123
+
124
+ .button-transparent:disabled,
125
+ .button-transparent.is-disabled {
126
+ opacity: .5;
127
+ }
128
+
129
+ /* Basscss Defaults */
130
+
131
+ /*
132
+
133
+ COLOR VARIABLES
134
+
135
+ - Cool
136
+ - Warm
137
+ - Gray Scale
138
+
139
+ */