bones-rails 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/{LICENSE.txt → LICENSE.md} +1 -1
- data/app/assets/stylesheets/bones.scss +61 -59
- data/app/assets/stylesheets/bones/config.scss +67 -0
- data/app/assets/stylesheets/bones/config/__default.scss +14 -0
- data/app/assets/stylesheets/bones/config/_buttons.scss +21 -0
- data/app/assets/stylesheets/bones/config/_colors.scss +93 -0
- data/app/assets/stylesheets/bones/config/_components.scss +4 -0
- data/app/assets/stylesheets/bones/config/_forms.scss +28 -0
- data/app/assets/stylesheets/bones/config/_helpers.scss +31 -0
- data/app/assets/stylesheets/bones/config/_images.scss +23 -0
- data/app/assets/stylesheets/bones/config/_nav.scss +117 -0
- data/app/assets/stylesheets/bones/config/_tables.scss +12 -0
- data/app/assets/stylesheets/bones/config/_typography.scss +83 -0
- data/app/assets/stylesheets/bones/config/_wireframe.scss +18 -0
- data/app/assets/stylesheets/bones/styles/__default.scss +27 -0
- data/app/assets/stylesheets/bones/styles/_buttons.scss +118 -0
- data/app/assets/stylesheets/bones/styles/_components.scss +24 -0
- data/app/assets/stylesheets/bones/{partials → styles}/_forms.scss +18 -2
- data/app/assets/stylesheets/bones/styles/_images.scss +69 -0
- data/app/assets/stylesheets/bones/styles/_nav.scss +210 -0
- data/app/assets/stylesheets/bones/{partials → styles}/_tables.scss +6 -4
- data/app/assets/stylesheets/bones/styles/_typography.scss +227 -0
- data/app/assets/stylesheets/bones/styles/_wireframe.scss +57 -0
- data/app/assets/stylesheets/bones/styles/helpers/_background.scss +201 -0
- data/app/assets/stylesheets/bones/styles/helpers/_border.scss +201 -0
- data/app/assets/stylesheets/bones/styles/helpers/_color.scss +201 -0
- data/app/assets/stylesheets/bones/styles/helpers/_margin.scss +82 -0
- data/app/assets/stylesheets/bones/styles/helpers/_padding.scss +82 -0
- data/app/assets/stylesheets/bones/{helpers → styles/helpers}/_positioning.scss +4 -3
- data/app/assets/stylesheets/bones/styles/helpers/_size.scss +11 -0
- data/app/assets/stylesheets/bones/styles/plugins/_syntax_highlighting.scss +273 -0
- data/app/assets/stylesheets/bones/vendor/_normalize.scss +1 -1
- data/lib/bones/generators/install_generator.rb +29 -5
- data/lib/bones/rails/version.rb +1 -1
- metadata +32 -39
- data/app/assets/javascripts/bones.js +0 -116
- data/app/assets/stylesheets/bones/config/bones_config.scss +0 -262
- data/app/assets/stylesheets/bones/helpers/_background.scss +0 -138
- data/app/assets/stylesheets/bones/helpers/_border.scss +0 -138
- data/app/assets/stylesheets/bones/helpers/_color.scss +0 -138
- data/app/assets/stylesheets/bones/helpers/_margin.scss +0 -82
- data/app/assets/stylesheets/bones/helpers/_padding.scss +0 -82
- data/app/assets/stylesheets/bones/helpers/_size.scss +0 -34
- data/app/assets/stylesheets/bones/mixins/_buttons.scss +0 -19
- data/app/assets/stylesheets/bones/mixins/_forms.scss +0 -15
- data/app/assets/stylesheets/bones/mixins/_globals.scss +0 -15
- data/app/assets/stylesheets/bones/mixins/_grid.scss +0 -4
- data/app/assets/stylesheets/bones/mixins/_nav.scss +0 -41
- data/app/assets/stylesheets/bones/mixins/_typography.scss +0 -15
- data/app/assets/stylesheets/bones/partials/_buttons.scss +0 -86
- data/app/assets/stylesheets/bones/partials/_code.scss +0 -99
- data/app/assets/stylesheets/bones/partials/_components.scss +0 -22
- data/app/assets/stylesheets/bones/partials/_globals.scss +0 -27
- data/app/assets/stylesheets/bones/partials/_grid.scss +0 -112
- data/app/assets/stylesheets/bones/partials/_images.scss +0 -52
- data/app/assets/stylesheets/bones/partials/_nav.scss +0 -111
- data/app/assets/stylesheets/bones/partials/_typography.scss +0 -174
- data/app/assets/stylesheets/bones/variables/_buttons.scss +0 -16
- data/app/assets/stylesheets/bones/variables/_code.scss +0 -15
- data/app/assets/stylesheets/bones/variables/_colors.scss +0 -122
- data/app/assets/stylesheets/bones/variables/_forms.scss +0 -12
- data/app/assets/stylesheets/bones/variables/_globals.scss +0 -12
- data/app/assets/stylesheets/bones/variables/_grid.scss +0 -8
- data/app/assets/stylesheets/bones/variables/_helpers.scss +0 -9
- data/app/assets/stylesheets/bones/variables/_images.scss +0 -13
- data/app/assets/stylesheets/bones/variables/_nav.scss +0 -40
- data/app/assets/stylesheets/bones/variables/_tables.scss +0 -7
- data/app/assets/stylesheets/bones/variables/_typography.scss +0 -61
@@ -1,16 +0,0 @@
|
|
1
|
-
// colors
|
2
|
-
$button-color: $accent-light;
|
3
|
-
$button-background-color: $primary;
|
4
|
-
$button-hover-background-color: $primary-dark;
|
5
|
-
$button-active-background-color: $primary-darker;
|
6
|
-
|
7
|
-
// default styles
|
8
|
-
$button-border: none;
|
9
|
-
$button-padding: 0.65em 1em;
|
10
|
-
$button-margin: $default-margin;
|
11
|
-
$button-font-size: $default-font-size;
|
12
|
-
|
13
|
-
// size
|
14
|
-
$button-huge-font-size: 200%;
|
15
|
-
$button-large-font-size: 150%;
|
16
|
-
$button-small-font-size: 75%;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
$code-font-family: Consolas, monospace;
|
2
|
-
$code-color: $code;
|
3
|
-
$code-font-size: 12px;
|
4
|
-
$code-background: $accent-light;
|
5
|
-
$code-padding: 1px 2px;
|
6
|
-
$code-border: $accent-light-dark;
|
7
|
-
|
8
|
-
$code-block-margin: 1.25em 0;
|
9
|
-
$code-block-padding: 1.25em 0.75em;
|
10
|
-
$code-block-font-family: $code-font-family;
|
11
|
-
$code-block-color: $font;
|
12
|
-
$code-block-background: $accent-light;
|
13
|
-
$code-block-border: $accent-light-dark;
|
14
|
-
$code-block-font-size: 13px;
|
15
|
-
$code-block-line-height: 19px;
|
@@ -1,122 +0,0 @@
|
|
1
|
-
// palette
|
2
|
-
$primary: #1D9BC7; // blue
|
3
|
-
$accent-1: #E05432; // red/orange
|
4
|
-
$accent-2: #168719; // green
|
5
|
-
$accent-dark: #444444; // dark
|
6
|
-
$accent-light: #efefef; // light
|
7
|
-
|
8
|
-
$warning: #CCA300;
|
9
|
-
$danger: #CC0000;
|
10
|
-
$success: #008A2E;
|
11
|
-
|
12
|
-
// tones
|
13
|
-
$primary-light: #6BCEF0;
|
14
|
-
$primary-lighter: #AEE4F5;
|
15
|
-
$primary-lightest: lighten(#AEE4F5, 5%);
|
16
|
-
$primary-dark: darken($primary, 5%);
|
17
|
-
$primary-darker: darken($primary, 15%);
|
18
|
-
$primary-darkest: darken($primary, 25%);
|
19
|
-
|
20
|
-
$accent-1-light: lighten($accent-1, 5%);
|
21
|
-
$accent-1-lighter: lighten($accent-1, 15%);
|
22
|
-
$accent-1-lightest: lighten($accent-1, 25%);
|
23
|
-
$accent-1-dark: darken($accent-1, 5%);
|
24
|
-
$accent-1-darker: darken($accent-1, 15%);
|
25
|
-
$accent-1-darkest: darken($accent-1, 25%);
|
26
|
-
|
27
|
-
$accent-2-light: lighten($accent-2, 5%);
|
28
|
-
$accent-2-lighter: lighten($accent-2, 15%);
|
29
|
-
$accent-2-lightest: lighten($accent-2, 25%);
|
30
|
-
$accent-2-dark: darken($accent-2, 5%);
|
31
|
-
$accent-2-darker: darken($accent-2, 15%);
|
32
|
-
$accent-2-darkest: darken($accent-2, 25%);
|
33
|
-
|
34
|
-
$accent-dark-light: lighten($accent-dark, 5%);
|
35
|
-
$accent-dark-lighter: lighten($accent-dark, 15%);
|
36
|
-
$accent-dark-lightest: lighten($accent-dark, 25%);
|
37
|
-
|
38
|
-
$accent-light-dark: darken($accent-light, 5%);
|
39
|
-
$accent-light-darker: darken($accent-light, 15%);
|
40
|
-
$accent-light-darkest: darken($accent-light, 25%);
|
41
|
-
|
42
|
-
$success-dark: darken($success, 5%);
|
43
|
-
$success-darker: darken($success, 15%);
|
44
|
-
$success-darkest: darken($success, 25%);
|
45
|
-
|
46
|
-
$warning-dark: darken($warning, 5%);
|
47
|
-
$warning-darker: darken($warning, 15%);
|
48
|
-
$warning-darkest: darken($warning, 25%);
|
49
|
-
|
50
|
-
$danger-dark: darken($danger, 5%);
|
51
|
-
$danger-darker: darken($danger, 15%);
|
52
|
-
$danger-darkest: darken($danger, 25%);
|
53
|
-
|
54
|
-
// groups
|
55
|
-
$font: $accent-dark;
|
56
|
-
$code: $accent-1;
|
57
|
-
$shadow: $accent-light;
|
58
|
-
|
59
|
-
// syntax highlighting
|
60
|
-
.hll { background-color: #f8f8f8; border: 1px solid #ccc; padding: 6px 10px; border-radius: 3px; }
|
61
|
-
.c { color: #999988; font-style: italic; }
|
62
|
-
.err { color: #a61717; background-color: #e3d2d2; }
|
63
|
-
.k { font-weight: bold; }
|
64
|
-
.o { font-weight: bold; }
|
65
|
-
.cm { color: #999988; font-style: italic; }
|
66
|
-
.cp { color: #999999; font-weight: bold; }
|
67
|
-
.c1 { color: #999988; font-style: italic; }
|
68
|
-
.cs { color: #999999; font-weight: bold; font-style: italic; }
|
69
|
-
.gd { color: #000000; background-color: #ffdddd; }
|
70
|
-
.gd .x { color: #000000; background-color: #ffaaaa; }
|
71
|
-
.ge { font-style: italic; }
|
72
|
-
.gr { color: #aa0000; }
|
73
|
-
.gh { color: #999999; }
|
74
|
-
.gi { color: #000000; background-color: #ddffdd; }
|
75
|
-
.gi .x { color: #000000; background-color: #aaffaa; }
|
76
|
-
.go { color: #888888; }
|
77
|
-
.gp { color: #555555; }
|
78
|
-
.gs { font-weight: bold; }
|
79
|
-
.gu { color: #800080; font-weight: bold; }
|
80
|
-
.gt { color: #aa0000; }
|
81
|
-
.kc { font-weight: bold; }
|
82
|
-
.kd { font-weight: bold; }
|
83
|
-
.kn { font-weight: bold; }
|
84
|
-
.kp { font-weight: bold; }
|
85
|
-
.kr { font-weight: bold; }
|
86
|
-
.kt { color: #445588; font-weight: bold; }
|
87
|
-
.m { color: #009999; }
|
88
|
-
.s { color: #dd1144; }
|
89
|
-
.n { color: #333333; }
|
90
|
-
.na { color: teal; }
|
91
|
-
.nb { color: #0086b3; }
|
92
|
-
.nc { color: #445588; font-weight: bold; }
|
93
|
-
.no { color: teal; }
|
94
|
-
.ni { color: purple; }
|
95
|
-
.ne { color: #990000; font-weight: bold; }
|
96
|
-
.nf { color: #990000; font-weight: bold; }
|
97
|
-
.nn { color: #555555; }
|
98
|
-
.nt { color: navy; }
|
99
|
-
.nv { color: teal; }
|
100
|
-
.ow { font-weight: bold; }
|
101
|
-
.w { color: #bbbbbb; }
|
102
|
-
.mf { color: #009999; }
|
103
|
-
.mh { color: #009999; }
|
104
|
-
.mi { color: #009999; }
|
105
|
-
.mo { color: #009999; }
|
106
|
-
.sb { color: #dd1144; }
|
107
|
-
.sc { color: #dd1144; }
|
108
|
-
.sd { color: #dd1144; }
|
109
|
-
.s2 { color: #dd1144; }
|
110
|
-
.se { color: #dd1144; }
|
111
|
-
.sh { color: #dd1144; }
|
112
|
-
.si { color: #dd1144; }
|
113
|
-
.sx { color: #dd1144; }
|
114
|
-
.sr { color: #009926; }
|
115
|
-
.s1 { color: #dd1144; }
|
116
|
-
.ss { color: #990073; }
|
117
|
-
.bp { color: #999999; }
|
118
|
-
.vc { color: teal; }
|
119
|
-
.vg { color: teal; }
|
120
|
-
.vi { color: teal; }
|
121
|
-
.il { color: #009999; }
|
122
|
-
.gc { color: #999; background-color: #EAF2F5; }
|
@@ -1,12 +0,0 @@
|
|
1
|
-
$form-margin: $default-margin;
|
2
|
-
$form-width: 100%;
|
3
|
-
$form-box-sizing: border-box;
|
4
|
-
$form-border: 1px solid $accent-light-darker;
|
5
|
-
$form-focus-outline: none;
|
6
|
-
$form-focus-border: 1px solid $primary;
|
7
|
-
$form-input-padding: 4px;
|
8
|
-
$form-radio-margin: 0 0 0.5em 0;
|
9
|
-
|
10
|
-
$form-fieldset-border: 1px solid $accent-light-darker;
|
11
|
-
$form-fieldset-legend-font-weight: 600;
|
12
|
-
$form-fieldset-legend-padding: 0 5px;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
// ALL SIZING IS RELATIVE TO THIS VALUE
|
2
|
-
$default-font-size: 16px;
|
3
|
-
|
4
|
-
$default-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
|
5
|
-
$default-font-weight: 200;
|
6
|
-
$default-line-height: 1.25em;
|
7
|
-
$default-color: $font;
|
8
|
-
$default-margin: 0.75em 0;
|
9
|
-
|
10
|
-
$hr-color: $accent-light-dark;
|
11
|
-
$hr-height: 1px;
|
12
|
-
$hr-margin: $default-margin;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
// sizes
|
2
|
-
$img-thumb-width: 100px;
|
3
|
-
$img-medium-width: 250px;
|
4
|
-
$img-large-width: 400px;
|
5
|
-
|
6
|
-
// border and outlines
|
7
|
-
$img-outline-color: $accent-light-dark;
|
8
|
-
$img-frame-width: 0.5em;
|
9
|
-
$img-polaroid-frame-width: 0.75em;
|
10
|
-
$img-polaroid-bottom-width: 2.75em;
|
11
|
-
|
12
|
-
// panoramic
|
13
|
-
$img-panoramic-height: 200px;
|
@@ -1,40 +0,0 @@
|
|
1
|
-
// top bar
|
2
|
-
$nav-tb-padding: 0.5em 1.25em;
|
3
|
-
$nav-tb-font-size: 1.1em;
|
4
|
-
$nav-tb-background: transparent;
|
5
|
-
$nav-tb-color: $primary-light;
|
6
|
-
$nav-tb-background-hover: transparent;
|
7
|
-
$nav-tb-color-hover: $accent-light;
|
8
|
-
|
9
|
-
// horizontal
|
10
|
-
$nav-h-padding: $nav-tb-padding;
|
11
|
-
$nav-h-font-size: $nav-tb-font-size;
|
12
|
-
$nav-h-background: transparent;
|
13
|
-
$nav-h-color: $primary;
|
14
|
-
$nav-h-background-hover: $primary;
|
15
|
-
$nav-h-color-hover: $accent-light;
|
16
|
-
|
17
|
-
// vertical
|
18
|
-
$nav-v-padding: 0.5em;
|
19
|
-
$nav-v-font-size: 1em;
|
20
|
-
$nav-v-background: transparent;
|
21
|
-
$nav-v-color: $accent-light-darkest;
|
22
|
-
$nav-v-background-hover: transparent;
|
23
|
-
$nav-v-color-hover: $primary;
|
24
|
-
|
25
|
-
// filters
|
26
|
-
$nav-f-padding: 0.5em;
|
27
|
-
$nav-f-font-size: 0.9em;
|
28
|
-
$nav-f-background: transparent;
|
29
|
-
$nav-f-color: $primary;
|
30
|
-
$nav-f-background-hover: $primary;
|
31
|
-
$nav-f-color-hover: $accent-light;
|
32
|
-
|
33
|
-
// breadcrumbs
|
34
|
-
$nav-b-padding: 0.5em;
|
35
|
-
$nav-b-font-size: 0.9em;
|
36
|
-
$nav-b-background: transparent;
|
37
|
-
$nav-b-color: $primary-light;
|
38
|
-
$nav-b-background-hover: transparent;
|
39
|
-
$nav-b-color-hover: $primary;
|
40
|
-
$nav-b-separator: " \002F ";
|
@@ -1,61 +0,0 @@
|
|
1
|
-
// apply to all headings
|
2
|
-
$heading-margin: $default-margin;
|
3
|
-
$heading-color: $font;
|
4
|
-
$heading-caps: false;
|
5
|
-
$heading-font-weight: 600;
|
6
|
-
|
7
|
-
// individual headings
|
8
|
-
$h1-font-size: 2.75em;
|
9
|
-
$h2-font-size: 2.4em;
|
10
|
-
$h3-font-size: 2.05em;
|
11
|
-
$h4-font-size: 1.7em;
|
12
|
-
$h5-font-size: 1.35em;
|
13
|
-
$h6-font-size: 1.0em;
|
14
|
-
|
15
|
-
// subheadings
|
16
|
-
$subheading-color: $accent-dark-lightest;
|
17
|
-
$subheading-font-weight: 200;
|
18
|
-
$subheading-size-factor: 0.75;
|
19
|
-
|
20
|
-
// small headings
|
21
|
-
$heading-small-factor: 60%;
|
22
|
-
$heading-small-color: $subheading-color;
|
23
|
-
|
24
|
-
// body copy
|
25
|
-
$paragraph-font: $default-font-size;
|
26
|
-
$paragraph-font-weight: $default-font-weight;
|
27
|
-
$paragraph-margin: $default-margin;
|
28
|
-
$paragraph-line-height: $default-line-height;
|
29
|
-
$paragraph-color: $font;
|
30
|
-
|
31
|
-
// blockquotes
|
32
|
-
$blockquote-padding: 0.25em 0.75em;
|
33
|
-
$blockquote-margin: $default-margin;
|
34
|
-
$blockquote-background: $accent-light;
|
35
|
-
$blockquote-border-left: 7.5px solid $accent-light-dark;
|
36
|
-
$blockquote-font-size: $default-font-size;
|
37
|
-
|
38
|
-
// links
|
39
|
-
$link-color: $primary;
|
40
|
-
$link-underline: false;
|
41
|
-
$link-hover-color: $primary-darker;
|
42
|
-
$link-hover-underline: false;
|
43
|
-
|
44
|
-
// individual characters
|
45
|
-
$small-font-factor: 60%;
|
46
|
-
$big-font-factor: 140%;
|
47
|
-
$strong-font-weight: 600;
|
48
|
-
|
49
|
-
// unordered lists
|
50
|
-
$ul-margin-left-level-1: -20px;
|
51
|
-
$ul-margin-left-level-2: 0;
|
52
|
-
$ul-style-type: disc;
|
53
|
-
$ul-line-height: 1.5;
|
54
|
-
|
55
|
-
// ordered lists
|
56
|
-
$ol-margin-left-level-1: $ul-margin-left-level-1;
|
57
|
-
$ol-margin-left-level-2: $ul-margin-left-level-2;
|
58
|
-
$ol-line-height: $ul-line-height;
|
59
|
-
|
60
|
-
// horizontal lists
|
61
|
-
$ul-h-padding: 0.5em 1.25em;
|