pure-sass 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +4 -0
  3. data/.ruby-gemset +1 -0
  4. data/.ruby-version +1 -0
  5. data/Guardfile +1 -0
  6. data/README.md +10 -1
  7. data/Rakefile +72 -10
  8. data/app/assets/stylesheets/pure/all.css.scss +7 -0
  9. data/app/assets/stylesheets/pure/base/normalize-context.css.scss +233 -0
  10. data/app/assets/stylesheets/pure/base/{normalize.css.sass → normalize.css.scss} +307 -204
  11. data/app/assets/stylesheets/pure/base.css.scss +2 -0
  12. data/app/assets/stylesheets/pure/buttons/buttons-core.css.scss +27 -0
  13. data/app/assets/stylesheets/pure/buttons/buttons-theme.css.scss +110 -0
  14. data/app/assets/stylesheets/pure/buttons/buttons.css.scss +83 -0
  15. data/app/assets/stylesheets/pure/buttons.css.scss +3 -0
  16. data/app/assets/stylesheets/pure/defaults.css.scss +44 -0
  17. data/app/assets/stylesheets/pure/forms/{forms-core.css.sass → forms-core.css.scss} +91 -74
  18. data/app/assets/stylesheets/pure/forms/forms-r.css.scss +31 -0
  19. data/app/assets/stylesheets/pure/forms/forms-theme.css.scss +362 -0
  20. data/app/assets/stylesheets/pure/forms/forms.css.scss +167 -0
  21. data/app/assets/stylesheets/pure/forms.css.scss +4 -0
  22. data/app/assets/stylesheets/pure/grids/grids-core.css.scss +24 -0
  23. data/app/assets/stylesheets/pure/grids/grids-r.css.scss +54 -0
  24. data/app/assets/stylesheets/pure/grids/grids-units.css.scss +147 -0
  25. data/app/assets/stylesheets/pure/grids.css.scss +3 -0
  26. data/app/assets/stylesheets/pure/lists/lists-theme.css.scss +241 -0
  27. data/app/assets/stylesheets/pure/menus/menus-core.css.scss +111 -0
  28. data/app/assets/stylesheets/pure/menus/menus-paginator.css.scss +31 -0
  29. data/app/assets/stylesheets/pure/menus/menus-r.css.scss +14 -0
  30. data/app/assets/stylesheets/pure/menus/menus.css.scss +78 -0
  31. data/app/assets/stylesheets/pure/menus.css.scss +4 -0
  32. data/app/assets/stylesheets/pure/tables/tables-theme.css.scss +72 -0
  33. data/app/assets/stylesheets/pure/tables/tables.css.scss +82 -0
  34. data/app/assets/stylesheets/pure/tables.css.scss +2 -0
  35. data/lib/pure/sass/default_translation.rb +28 -0
  36. data/lib/pure/sass/translation.rb +24 -0
  37. data/lib/pure/sass/version.rb +1 -1
  38. data/lib/pure/sass.rb +2 -0
  39. data/pure-sass.gemspec +2 -1
  40. data/spec/acceptance/sass_spec.rb +10 -0
  41. data/spec/fixtures/buttons.css.handlebars +110 -0
  42. data/spec/fixtures/form.css.handlebars +362 -0
  43. data/spec/fixtures/list.css.handlebars +241 -0
  44. data/spec/fixtures/table.css.handlebars +72 -0
  45. data/spec/lib/pure/sass/default_translation_spec.rb +18 -0
  46. data/spec/lib/pure/sass/translation_spec.rb +19 -0
  47. data/spec/sass_importer.rb +14 -0
  48. data/spec/spec_helper.rb +2 -1
  49. metadata +78 -28
  50. data/app/assets/stylesheets/pure/all.css.sass +0 -7
  51. data/app/assets/stylesheets/pure/base/normalize-context.css.sass +0 -152
  52. data/app/assets/stylesheets/pure/base.css.sass +0 -2
  53. data/app/assets/stylesheets/pure/buttons/buttons-core.css.sass +0 -23
  54. data/app/assets/stylesheets/pure/buttons/buttons.css.sass +0 -103
  55. data/app/assets/stylesheets/pure/buttons.css.sass +0 -2
  56. data/app/assets/stylesheets/pure/defaults.css.sass +0 -0
  57. data/app/assets/stylesheets/pure/forms/forms-r.css.sass +0 -22
  58. data/app/assets/stylesheets/pure/forms/forms.css.sass +0 -128
  59. data/app/assets/stylesheets/pure/forms.css.sass +0 -3
  60. data/app/assets/stylesheets/pure/grids/grids-core.css.sass +0 -26
  61. data/app/assets/stylesheets/pure/grids/grids-r.css.sass +0 -34
  62. data/app/assets/stylesheets/pure/grids/grids-units.css.sass +0 -93
  63. data/app/assets/stylesheets/pure/grids.css.sass +0 -3
  64. data/app/assets/stylesheets/pure/menus/menus-core.css.sass +0 -99
  65. data/app/assets/stylesheets/pure/menus/menus-paginator.css.sass +0 -24
  66. data/app/assets/stylesheets/pure/menus/menus-r.css.sass +0 -8
  67. data/app/assets/stylesheets/pure/menus/menus.css.sass +0 -65
  68. data/app/assets/stylesheets/pure/menus.css.sass +0 -4
  69. data/app/assets/stylesheets/pure/tables/tables.css.sass +0 -68
  70. data/app/assets/stylesheets/pure/tables.css.sass +0 -1
  71. data/spec/assets_spec.rb +0 -21
@@ -0,0 +1,147 @@
1
+ .pure-u-1,
2
+ .pure-u-1-2,
3
+ .pure-u-1-3,
4
+ .pure-u-2-3,
5
+ .pure-u-1-4,
6
+ .pure-u-3-4,
7
+ .pure-u-1-5,
8
+ .pure-u-2-5,
9
+ .pure-u-3-5,
10
+ .pure-u-4-5,
11
+ .pure-u-1-6,
12
+ .pure-u-5-6,
13
+ .pure-u-1-8,
14
+ .pure-u-3-8,
15
+ .pure-u-5-8,
16
+ .pure-u-7-8,
17
+ .pure-u-1-12,
18
+ .pure-u-5-12,
19
+ .pure-u-7-12,
20
+ .pure-u-11-12,
21
+ .pure-u-1-24,
22
+ .pure-u-5-24,
23
+ .pure-u-7-24,
24
+ .pure-u-11-24,
25
+ .pure-u-13-24,
26
+ .pure-u-17-24,
27
+ .pure-u-19-24,
28
+ .pure-u-23-24 {
29
+ display: inline-block;
30
+ zoom: 1; *display: inline; /* IE < 8: fake inline-block */
31
+ letter-spacing: normal;
32
+ word-spacing: normal;
33
+ vertical-align: top;
34
+ text-rendering: auto;
35
+ }
36
+
37
+ .pure-u-1 {
38
+ display: block;
39
+ }
40
+
41
+ .pure-u-1-2 {
42
+ width: 50%;
43
+ }
44
+
45
+ .pure-u-1-3 {
46
+ width: 33.33333%;
47
+ }
48
+
49
+ .pure-u-2-3 {
50
+ width: 66.66666%;
51
+ }
52
+
53
+ .pure-u-1-4 {
54
+ width: 25%;
55
+ }
56
+
57
+ .pure-u-3-4 {
58
+ width: 75%;
59
+ }
60
+
61
+ .pure-u-1-5 {
62
+ width: 20%;
63
+ }
64
+
65
+ .pure-u-2-5 {
66
+ width: 40%;
67
+ }
68
+
69
+ .pure-u-3-5 {
70
+ width: 60%;
71
+ }
72
+
73
+ .pure-u-4-5 {
74
+ width: 80%;
75
+ }
76
+
77
+ .pure-u-1-6 {
78
+ width: 16.656%;
79
+ }
80
+
81
+ .pure-u-5-6 {
82
+ width: 83.33%;
83
+ }
84
+
85
+ .pure-u-1-8 {
86
+ width: 12.5%;
87
+ }
88
+
89
+ .pure-u-3-8 {
90
+ width: 37.5%;
91
+ }
92
+
93
+ .pure-u-5-8 {
94
+ width: 62.5%;
95
+ }
96
+
97
+ .pure-u-7-8 {
98
+ width: 87.5%;
99
+ }
100
+
101
+ .pure-u-1-12 {
102
+ width: 8.3333%;
103
+ }
104
+
105
+ .pure-u-5-12 {
106
+ width: 41.6666%;
107
+ }
108
+
109
+ .pure-u-7-12 {
110
+ width: 58.3333%;
111
+ }
112
+
113
+ .pure-u-11-12 {
114
+ width: 91.6666%;
115
+ }
116
+
117
+ .pure-u-1-24 {
118
+ width: 4.1666%;
119
+ }
120
+
121
+ .pure-u-5-24 {
122
+ width: 20.8333%;
123
+ }
124
+
125
+ .pure-u-7-24 {
126
+ width: 29.1666%;
127
+ }
128
+
129
+ .pure-u-11-24 {
130
+ width: 45.8333%;
131
+ }
132
+
133
+ .pure-u-13-24 {
134
+ width: 54.1666%;
135
+ }
136
+
137
+ .pure-u-17-24 {
138
+ width: 70.8333%;
139
+ }
140
+
141
+ .pure-u-19-24 {
142
+ width: 79.1666%;
143
+ }
144
+
145
+ .pure-u-23-24 {
146
+ width: 95.8333%;
147
+ }
@@ -0,0 +1,3 @@
1
+ @import "grids/grids-core";
2
+ @import "grids/grids-r";
3
+ @import "grids/grids-units";
@@ -0,0 +1,241 @@
1
+
2
+ /* from YUICSS list-core.css */
3
+ .pure-menu ul {
4
+ position: absolute;
5
+ visibility: hidden;
6
+ }
7
+
8
+ .pure-menu.pure-menu-open {
9
+ visibility: visible;
10
+ z-index: 2;
11
+ width: 100%;
12
+ }
13
+
14
+ .pure-menu ul {
15
+ left: -10000px;
16
+ list-style: none;
17
+ margin: 0;
18
+ padding: 0;
19
+ top: -10000px;
20
+ z-index: 1;
21
+ }
22
+
23
+ .pure-menu > ul { position: relative; }
24
+
25
+ .pure-menu-open > ul {
26
+ left: 0;
27
+ top: 0;
28
+ visibility: visible;
29
+ }
30
+
31
+ .pure-menu li { position: relative; }
32
+
33
+ .pure-menu a, .pure-menu .pure-menu-heading {
34
+ display: block;
35
+ color: inherit;
36
+ line-height: 1.5em;
37
+ padding: $menu-item-padding;
38
+ text-decoration: none;
39
+ white-space: nowrap;
40
+ }
41
+
42
+ .pure-menu.pure-menu-horizontal > .pure-menu-heading {
43
+ display: inline-block;
44
+ margin: 0;
45
+ zoom: 1;
46
+ *display: inline;
47
+ vertical-align: middle;
48
+ }
49
+ .pure-menu.pure-menu-horizontal > ul {
50
+ display: inline-block;
51
+ zoom: 1;
52
+ *display: inline;
53
+ vertical-align: middle;
54
+ }
55
+
56
+ .pure-menu li a { $menu-item-padding; }
57
+
58
+ .pure-menu-can-have-children > .pure-menu-label:after {
59
+ content: '\25B8';
60
+ float: right;
61
+ font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', sans-serif; /* These specific fonts have the Unicode char we need. */
62
+ margin-right: -20px;
63
+ margin-top: -1px;
64
+ }
65
+
66
+ .pure-menu-can-have-children > .pure-menu-label {
67
+ padding-right:30px;
68
+ }
69
+
70
+ .pure-menu-separator {
71
+ background-color: $separator;
72
+ display: block;
73
+ height: 1px;
74
+ font-size: 0;
75
+ margin: 7px 2px;
76
+ overflow: hidden;
77
+ }
78
+
79
+ .pure-menu-hidden { display: none; }
80
+
81
+ /* FIXED MENU */
82
+ .pure-menu-fixed {
83
+ position: fixed;
84
+ top:0;
85
+ left:0;
86
+ width: 100%;
87
+ }
88
+
89
+
90
+ /* HORIZONTAL MENU CODE */
91
+
92
+ /* Initial menus should be inline-block so that they are horizontal */
93
+ .pure-menu-horizontal li {
94
+ display: inline-block;
95
+ zoom: 1;
96
+ *display: inline;
97
+ vertical-align: middle;
98
+ }
99
+
100
+ /* Submenus should still be display:block; */
101
+ .pure-menu-horizontal li li {
102
+ display: block;
103
+ }
104
+
105
+ /* Content after should be down arrow */
106
+ .pure-menu-horizontal > .pure-menu-children > .pure-menu-can-have-children > .pure-menu-label:after {
107
+ content: "\25BE";
108
+ }
109
+ /*Add extra padding to elements that have the arrow so that the hover looks nice */
110
+ .pure-menu-horizontal > .pure-menu-children > .pure-menu-can-have-children > .pure-menu-label {
111
+ padding-right:30px;
112
+ }/* end from yuicss/list-core.css *******************************************/
113
+ /* from yuicss list-paginator.css */
114
+ .pure-paginator {
115
+ list-style: none;
116
+ margin: 0;
117
+ padding: 0;
118
+ }
119
+ .pure-paginator li {
120
+ display: inline-block;
121
+ *display: inline;
122
+ /* IE 7 inline-block hack */
123
+ *zoom: 1;
124
+ margin: 0 -0.35em 0 0;
125
+ }
126
+ .pure-paginator .pure-button {
127
+ border-radius: 0;
128
+ padding: 0.8em 1.4em;
129
+ vertical-align: top;
130
+ height: 1.1em;
131
+ }
132
+ .pure-paginator .pure-button:focus {
133
+ outline-style: none;
134
+ }
135
+ .pure-paginator .prev, .pure-paginator .next {
136
+ /*color: #C0C1C3; allow yui3-button to color text*/
137
+ }
138
+ .pure-paginator .prev {
139
+ border-radius: $paginator-radius-prev;
140
+ }
141
+ .pure-paginator .next {
142
+ border-radius: $paginator-radius-next;
143
+ }
144
+ /* end from YUICSS list-paginator.css ******************************/
145
+ /* from YUICSS list.css *******************************************/
146
+ /* MAIN MENU STYLING */
147
+
148
+ .pure-menu.pure-menu-open,
149
+ .pure-menu.pure-menu-horizontal li .pure-menu-children {
150
+ background: $menu-background; /* Old browsers */
151
+ border-radius: $border-radius;
152
+ border: 1px solid $menu-border;
153
+ }
154
+
155
+ /* remove borders for horizontal menus */
156
+ .pure-menu.pure-menu-horizontal {
157
+ border: none;
158
+ }
159
+
160
+
161
+
162
+ /* LINK STYLES */
163
+
164
+ .pure-menu a {
165
+ border: 1px solid transparent;
166
+ border-left: none;
167
+ border-right: none;
168
+
169
+ }
170
+
171
+ .pure-menu a,
172
+ .pure-menu .pure-menu-can-have-children > li:after {
173
+ color: $menu-text;
174
+ }
175
+
176
+ .pure-menu .pure-menu-can-have-children > li:hover:after {
177
+ color: $menu-hover-text;
178
+ }
179
+
180
+
181
+
182
+ /* HOVER STATES */
183
+ .pure-menu li a:hover {
184
+ background: $menu-hover-background;
185
+ }
186
+
187
+ /* DISABLED STATES */
188
+ .pure-menu li.pure-menu-disabled a:hover {
189
+ background: $menu-background;
190
+ color: $menu-text-disabled;
191
+ }
192
+
193
+ .pure-menu .pure-menu-disabled > a {
194
+ background-image: none;
195
+ border-color: transparent;
196
+ cursor: default;
197
+ }
198
+
199
+ .pure-menu .pure-menu-disabled > a,
200
+ .pure-menu .pure-menu-can-have-children.pure-menu-disabled > a:after {
201
+ color: $menu-text-disabled;
202
+ }
203
+
204
+ /* HEADINGS */
205
+ .pure-menu .pure-menu-heading {
206
+ color: $heading-text;
207
+ text-transform: uppercase;
208
+ font-size:90%;
209
+ margin-top:0.5em;
210
+ }
211
+
212
+
213
+ /* SELECTED MENU ITEM */
214
+ .pure-menu li.pure-menu-selected a {
215
+ background-color: $menu-selected-background;
216
+ color: $menu-selected-text;
217
+ }
218
+
219
+ /* FIXED MENU */
220
+ .pure-menu.pure-menu-open.pure-menu-fixed {
221
+ border: none;
222
+ border-bottom: 1px solid $fixed-menu-border-bottom;
223
+ }
224
+ /* end from YUICSS list.css ***********************************/
225
+ /* from YUICSS list-responsive.css ****************************/
226
+ /* RESPONSIVE */
227
+
228
+ @media (max-width: 480px) {
229
+
230
+ .pure-menu-horizontal {
231
+ width:100%;
232
+ }
233
+
234
+ .pure-menu-children li {
235
+ display: block;
236
+ border-bottom:1px solid block;
237
+ }
238
+
239
+ }
240
+ /* end from list-responsive.css ******************/
241
+
@@ -0,0 +1,111 @@
1
+ .pure-menu ul {
2
+ position: absolute;
3
+ visibility: hidden;
4
+ }
5
+
6
+ .pure-menu.pure-menu-open {
7
+ visibility: visible;
8
+ z-index: 2;
9
+ width: 100%;
10
+ }
11
+
12
+ .pure-menu ul {
13
+ left: -10000px;
14
+ list-style: none;
15
+ margin: 0;
16
+ padding: 0;
17
+ top: -10000px;
18
+ z-index: 1;
19
+ }
20
+
21
+ .pure-menu > ul { position: relative; }
22
+
23
+ .pure-menu-open > ul {
24
+ left: 0;
25
+ top: 0;
26
+ visibility: visible;
27
+ }
28
+
29
+ .pure-menu li { position: relative; }
30
+
31
+ .pure-menu a, .pure-menu .pure-menu-heading {
32
+ display: block;
33
+ color: inherit;
34
+ line-height: 1.5em;
35
+ padding: 5px 20px;
36
+ text-decoration: none;
37
+ white-space: nowrap;
38
+ }
39
+
40
+ .pure-menu.pure-menu-horizontal > .pure-menu-heading {
41
+ display: inline-block;
42
+ margin: 0;
43
+ zoom: 1;
44
+ *display: inline;
45
+ vertical-align: middle;
46
+ }
47
+ .pure-menu.pure-menu-horizontal > ul {
48
+ display: inline-block;
49
+ zoom: 1;
50
+ *display: inline;
51
+ vertical-align: middle;
52
+ }
53
+
54
+ .pure-menu li a { padding: 5px 20px; }
55
+
56
+ .pure-menu-can-have-children > .pure-menu-label:after {
57
+ content: '\25B8';
58
+ float: right;
59
+ font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', sans-serif; /* These specific fonts have the Unicode char we need. */
60
+ margin-right: -20px;
61
+ margin-top: -1px;
62
+ }
63
+
64
+ .pure-menu-can-have-children > .pure-menu-label {
65
+ padding-right:30px;
66
+ }
67
+
68
+ .pure-menu-separator {
69
+ background-color: #dfdfdf;
70
+ display: block;
71
+ height: 1px;
72
+ font-size: 0;
73
+ margin: 7px 2px;
74
+ overflow: hidden;
75
+ }
76
+
77
+ .pure-menu-hidden { display: none; }
78
+
79
+ /* FIXED MENU */
80
+ .pure-menu-fixed {
81
+ position: fixed;
82
+ top:0;
83
+ left:0;
84
+ width: 100%;
85
+ }
86
+
87
+
88
+ /* HORIZONTAL MENU CODE */
89
+
90
+ /* Initial menus should be inline-block so that they are horizontal */
91
+ .pure-menu-horizontal li {
92
+ display: inline-block;
93
+ zoom: 1;
94
+ *display: inline;
95
+ vertical-align: middle;
96
+ }
97
+
98
+ /* Submenus should still be display:block; */
99
+ .pure-menu-horizontal li li {
100
+ display: block;
101
+ }
102
+
103
+ /* Content after should be down arrow */
104
+ .pure-menu-horizontal > .pure-menu-children > .pure-menu-can-have-children > .pure-menu-label:after {
105
+ content: "\25BE";
106
+ }
107
+ /*Add extra padding to elements that have the arrow so that the hover looks nice */
108
+ .pure-menu-horizontal > .pure-menu-children > .pure-menu-can-have-children > .pure-menu-label {
109
+ padding-right:30px;
110
+ }
111
+
@@ -0,0 +1,31 @@
1
+ .pure-paginator {
2
+ list-style: none;
3
+ margin: 0;
4
+ padding: 0;
5
+ }
6
+ .pure-paginator li {
7
+ display: inline-block;
8
+ *display: inline;
9
+ /* IE 7 inline-block hack */
10
+ *zoom: 1;
11
+ margin: 0 -0.35em 0 0;
12
+ }
13
+ .pure-paginator .pure-button {
14
+ border-radius: 0;
15
+ padding: 0.8em 1.4em;
16
+ vertical-align: top;
17
+ height: 1.1em;
18
+ }
19
+ .pure-paginator .pure-button:focus {
20
+ outline-style: none;
21
+ }
22
+ .pure-paginator .prev, .pure-paginator .next {
23
+ color: #C0C1C3;
24
+ text-shadow: 0px -1px 0px rgba(0,0,0, 0.45);
25
+ }
26
+ .pure-paginator .prev {
27
+ border-radius: 2px 0 0 2px;
28
+ }
29
+ .pure-paginator .next {
30
+ border-radius: 0 2px 2px 0;
31
+ }
@@ -0,0 +1,14 @@
1
+ /* RESPONSIVE */
2
+
3
+ @media (max-width: 480px) {
4
+
5
+ .pure-menu-horizontal {
6
+ width:100%;
7
+ }
8
+
9
+ .pure-menu-children li {
10
+ display: block;
11
+ border-bottom:1px solid block;
12
+ }
13
+
14
+ }
@@ -0,0 +1,78 @@
1
+ /* MAIN MENU STYLING */
2
+
3
+ .pure-menu.pure-menu-open,
4
+ .pure-menu.pure-menu-horizontal li .pure-menu-children {
5
+ background: #ffffff; /* Old browsers */
6
+ border: 1px solid #b7b7b7;
7
+ }
8
+
9
+ /* remove borders for horizontal menus */
10
+ .pure-menu.pure-menu-horizontal, .pure-menu.pure-menu-horizontal .pure-menu-heading {
11
+ border: none;
12
+ }
13
+
14
+
15
+
16
+ /* LINK STYLES */
17
+
18
+ .pure-menu a {
19
+ border: 1px solid transparent;
20
+ border-left: none;
21
+ border-right: none;
22
+
23
+ }
24
+
25
+ .pure-menu a,
26
+ .pure-menu .pure-menu-can-have-children > li:after {
27
+ color: #777;
28
+ }
29
+
30
+ .pure-menu .pure-menu-can-have-children > li:hover:after {
31
+ color: #fff;
32
+ }
33
+
34
+
35
+
36
+ /* HOVER STATES */
37
+ .pure-menu li a:hover {
38
+ background: #eee;
39
+ }
40
+
41
+ /* DISABLED STATES */
42
+ .pure-menu li.pure-menu-disabled a:hover {
43
+ background: #fff;
44
+ color: #bfbfbf;
45
+ }
46
+
47
+ .pure-menu .pure-menu-disabled > a {
48
+ background-image: none;
49
+ border-color: transparent;
50
+ cursor: default;
51
+ }
52
+
53
+ .pure-menu .pure-menu-disabled > a,
54
+ .pure-menu .pure-menu-can-have-children.pure-menu-disabled > a:after {
55
+ color: #bfbfbf;
56
+ }
57
+
58
+ /* HEADINGS */
59
+ .pure-menu .pure-menu-heading {
60
+ color: #565d64;
61
+ text-transform: uppercase;
62
+ font-size:90%;
63
+ margin-top:0.5em;
64
+ border-bottom-width: 1px;
65
+ border-bottom-style: solid;
66
+ border-bottom-color: #dfdfdf;
67
+ }
68
+
69
+ /* ACTIVE MENU ITEM */
70
+ .pure-menu .pure-menu-selected a {
71
+ color: #000;
72
+ }
73
+
74
+ /* FIXED MENU */
75
+ .pure-menu.pure-menu-open.pure-menu-fixed {
76
+ border: none;
77
+ border-bottom: 1px solid #b7b7b7;
78
+ }
@@ -0,0 +1,4 @@
1
+ @import "menus/menus-core";
2
+ @import "menus/menus-paginator";
3
+ @import "menus/menus-r";
4
+ @import "menus/menus";
@@ -0,0 +1,72 @@
1
+
2
+ /* foundational CSS */
3
+ .pure-table {
4
+ /* Remove spacing between table cells (from Normalize.css) */
5
+ border-collapse: separate;
6
+ border-spacing: 0;
7
+ empty-cells: show;
8
+ border: 1px solid $border;
9
+ }
10
+
11
+ .pure-table caption {
12
+ color: $caption-text;
13
+ font: italic 85%/1 arial, sans-serif;
14
+ padding: 1em 0;
15
+ text-align: center;
16
+ }
17
+
18
+ .pure-table td,
19
+ .pure-table th {
20
+ border-left: 1px solid $border;/* inner column border */
21
+ border-width: 0 0 0 1px;
22
+ font-size: inherit;
23
+ margin: 0;
24
+ overflow: visible; /*to make ths where the title is really long work*/
25
+ padding: $cell-padding; /* cell padding */
26
+ }
27
+
28
+ .pure-table td:first-child,
29
+ .pure-table th:first-child {
30
+ border-left-width: 0;
31
+ }
32
+
33
+ .pure-table thead {
34
+ background-color: $head-background;
35
+ color: $head-text;
36
+ text-align: left;
37
+ vertical-align: bottom;
38
+ white-space: nowrap;
39
+ }
40
+
41
+ /*
42
+ striping:
43
+ even - #fff (white)
44
+ odd - #edf5ff (light blue)
45
+ */
46
+ .pure-table td {
47
+ background-color: $cell-background;
48
+ color: $cell-text;
49
+ }
50
+ .pure-table-odd td {
51
+ background-color: $cell-odd-background;
52
+ color: $cell-odd-text;
53
+ }
54
+
55
+ /* BORDERED TABLES */
56
+ .pure-table-bordered td {
57
+ border-bottom:1px solid $border;
58
+ }
59
+ .pure-table-bordered tbody > tr:last-child td,
60
+ .pure-table-horizontal tbody > tr:last-child td {
61
+ border-bottom-width: 0;
62
+ }
63
+
64
+ /* HORIZONTAL BORDERED TABLES */
65
+ .pure-table-horizontal td,
66
+ .pure-table-horizontal th {
67
+ border-width: 0 0 1px 0;
68
+ border-bottom:1px solid $border;
69
+ }
70
+ .pure-table-horizontal tbody > tr:last-child td {
71
+ border-bottom-width: 0;
72
+ }