kilt-cms 0.9.2 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/kilt/application.css +13 -0
  3. data/app/assets/stylesheets/kilt/{stylesheets/screen.css → screen.css} +0 -0
  4. data/app/views/layouts/kilt/cms.html.erb +1 -1
  5. data/lib/generators/kilt/templates/frontend/application.html.erb +1 -1
  6. data/lib/generators/kilt/templates/frontend/assets/stylesheets/application.css +13 -0
  7. data/lib/generators/kilt/templates/frontend/assets/stylesheets/{stylesheets/screen.css → screen.css} +0 -0
  8. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  9. data/test/dummy/app/views/layouts/application.html.erb +1 -1
  10. data/test/dummy/log/development.log +789 -0
  11. data/test/dummy/{app/assets/stylesheets/stylesheets/screen.css → tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705} +0 -0
  12. data/test/dummy/tmp/cache/assets/development/sprockets/23733156ea27da67211ba7ff763d76f0 +0 -0
  13. data/test/dummy/tmp/cache/assets/development/sprockets/32ab48c63ad3bb6ddc1f419e51adb5db +0 -0
  14. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  15. data/test/dummy/tmp/cache/assets/development/sprockets/7035e5c60f5da3b7fc12c472677483d0 +0 -0
  16. data/test/dummy/tmp/cache/assets/development/sprockets/91021bdb7ebb3d4f6fdf4e49909d4c07 +0 -0
  17. data/test/dummy/tmp/cache/assets/development/sprockets/9f2c00a36b5b8c713a797b508c778a65 +0 -0
  18. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  19. data/test/dummy/tmp/cache/assets/development/sprockets/e3a4ad3549e1e57d03698a36daeff406 +0 -0
  20. data/test/dummy/tmp/data/meta_request/270c06b6-1be2-4172-b8f8-f9190bde2775.json +1 -0
  21. data/test/dummy/tmp/data/meta_request/40a8c69a-09c7-4661-aa3d-c29828c9c8a0.json +1 -0
  22. data/test/dummy/tmp/data/meta_request/6c8c0a77-faf3-4492-838a-23fbcb19eb05.json +1 -0
  23. data/test/dummy/tmp/data/meta_request/77f05341-ca67-41f2-99f4-278b7aaee7fa.json +1 -0
  24. data/test/dummy/tmp/data/meta_request/7f86e717-beca-431a-87ba-db4d29df2941.json +1 -0
  25. data/test/dummy/tmp/data/meta_request/bd76eaa7-d10b-403c-9b17-a7b871e82056.json +1 -0
  26. data/test/dummy/tmp/data/meta_request/be19482f-cedc-45b2-9a24-f76fde53354a.json +1 -0
  27. data/test/dummy/tmp/data/meta_request/d13bda5a-d4fd-42de-838d-7db1589aa91e.json +1 -0
  28. data/test/dummy/tmp/data/meta_request/f243c710-5403-4c9d-aefd-87bd8b03c3cd.json +1 -0
  29. data/test/dummy/tmp/data/meta_request/fc7e86ef-8a52-406e-8ce6-1aa3efba9a9a.json +1 -0
  30. data/test/dummy/tmp/pids/server.pid +1 -1
  31. metadata +45 -86
  32. data/app/assets/stylesheets/kilt/config.rb +0 -10
  33. data/app/assets/stylesheets/kilt/sass/_base.scss +0 -25
  34. data/app/assets/stylesheets/kilt/sass/_buttons.scss +0 -58
  35. data/app/assets/stylesheets/kilt/sass/_form.scss +0 -73
  36. data/app/assets/stylesheets/kilt/sass/_layout.scss +0 -85
  37. data/app/assets/stylesheets/kilt/sass/_mixins.scss +0 -6
  38. data/app/assets/stylesheets/kilt/sass/_tables.scss +0 -65
  39. data/app/assets/stylesheets/kilt/sass/_typography.scss +0 -79
  40. data/app/assets/stylesheets/kilt/sass/modules/_codemirror.scss +0 -262
  41. data/app/assets/stylesheets/kilt/sass/modules/_jquery_ui.scss +0 -659
  42. data/app/assets/stylesheets/kilt/sass/screen.scss +0 -1
  43. data/app/assets/stylesheets/kilt/stylesheets/modules/codemirror.css +0 -1
  44. data/app/assets/stylesheets/kilt/stylesheets/modules/jquery-ui.css +0 -5
  45. data/app/assets/stylesheets/kilt/stylesheets/print.css +0 -0
  46. data/lib/generators/kilt/templates/frontend/assets/stylesheets/_base.scss +0 -0
  47. data/lib/generators/kilt/templates/frontend/assets/stylesheets/config.rb +0 -24
  48. data/lib/generators/kilt/templates/frontend/assets/stylesheets/sass/modules/_mixins.scss +0 -81
  49. data/lib/generators/kilt/templates/frontend/assets/stylesheets/sass/modules/_reset_custom.scss +0 -31
  50. data/lib/generators/kilt/templates/frontend/assets/stylesheets/sass/modules/_typography.scss +0 -35
  51. data/lib/generators/kilt/templates/frontend/assets/stylesheets/sass/screen.scss +0 -13
  52. data/lib/generators/kilt/templates/frontend/assets/stylesheets/sass/views/_layout.scss +0 -7
  53. data/test/dummy/app/assets/stylesheets/config.rb +0 -24
  54. data/test/dummy/app/assets/stylesheets/sass/modules/_mixins.scss +0 -81
  55. data/test/dummy/app/assets/stylesheets/sass/modules/_reset_custom.scss +0 -31
  56. data/test/dummy/app/assets/stylesheets/sass/modules/_typography.scss +0 -35
  57. data/test/dummy/app/assets/stylesheets/sass/screen.scss +0 -13
  58. data/test/dummy/app/assets/stylesheets/sass/views/_layout.scss +0 -7
  59. data/test/dummy/tmp/data/meta_request/42ebc354-ba4d-48b3-a04e-b2158cbbc4b5.json +0 -1
  60. data/test/dummy/tmp/data/meta_request/65873a03-1c19-4f8c-8d87-2025cb3a22f2.json +0 -1
  61. data/test/dummy/tmp/data/meta_request/66758927-1ef8-45bd-ae74-9584f553722f.json +0 -1
  62. data/test/dummy/tmp/data/meta_request/76813561-8352-4294-afcf-0e634536871e.json +0 -1
  63. data/test/dummy/tmp/data/meta_request/768b2838-f3ca-4693-8328-d70a81a6c363.json +0 -1
  64. data/test/dummy/tmp/data/meta_request/81c5fb2d-d5db-4d34-9443-a00cefa1c9de.json +0 -1
  65. data/test/dummy/tmp/data/meta_request/b7db8c95-6b8b-40d8-b106-a31563d3c7cf.json +0 -1
  66. data/test/dummy/tmp/data/meta_request/c6b72e66-878d-4489-8d89-1d4d3286113d.json +0 -1
  67. data/test/dummy/tmp/data/meta_request/e716dd9f-328e-4712-bd99-fcb3a2af40aa.json +0 -1
  68. data/test/dummy/tmp/data/meta_request/f76987d9-b598-4458-a496-729086af0589.json +0 -1
@@ -1,65 +0,0 @@
1
- table {
2
- background: #fff;
3
- width: 100%;
4
- }
5
-
6
- tr:hover {
7
- @include transition(background $speed $ease);
8
- background: rgba(179, 68, 243, .03);
9
- }
10
-
11
- th,
12
- td {
13
- padding: 15px 30px;
14
- }
15
-
16
- th {
17
- background: $med_grey;
18
-
19
- h4 {
20
- margin: 0;
21
- }
22
- }
23
-
24
- td {
25
- border-bottom: 2px solid $light_grey;
26
- }
27
-
28
- td.actions {
29
- text-align: right;
30
-
31
- .button {
32
- margin: 0 5px 0 0;
33
- }
34
-
35
- .button:last-child {
36
- margin: 0;
37
- }
38
- }
39
-
40
- td.title .edit {
41
- color: $dark_grey;
42
-
43
- &:hover {
44
- color: $purple;
45
- }
46
- }
47
-
48
- th.hidden {
49
- text-indent: -9999em;
50
- }
51
-
52
- @media (max-width: 1120px) {
53
- table {
54
- font-size: 14px;
55
- }
56
- }
57
-
58
- @media (max-width: 920px) {
59
- th.updated,
60
- td.updated,
61
- th.created,
62
- td.created {
63
- display: none;
64
- }
65
- }
@@ -1,79 +0,0 @@
1
- *,
2
- *:before,
3
- *:after {
4
- outline: none;
5
- box-sizing: border-box;
6
- -moz-box-sizing: border-box;
7
- -webkit-box-sizing: border-box;
8
- -webkit-font-smoothing: antialiased;
9
- font-smoothing: antialiased;
10
- }
11
-
12
- body {
13
- background: $light_grey;
14
- color: $dark_grey;
15
- font-family: 'Open Sans', sans-serif;
16
- font-weight: 300;
17
- font-size: 18px;
18
- line-height: 1.5;
19
- }
20
-
21
- h1,h2,h3,h4,h5,h6,p,table {
22
- margin: 0 0 30px;
23
- }
24
-
25
- h1 {
26
- font-size: 48px;
27
- font-weight: 300;
28
- }
29
-
30
- h2 {
31
- font-size: 36px;
32
- margin: 30px 0;
33
- }
34
-
35
- h3,h4,h5,h6 {
36
- font-size: 24px;
37
- }
38
-
39
- h4,
40
- label,
41
- h2 small {
42
- font-size: 13px;
43
- letter-spacing: 1px;
44
- text-transform: uppercase;
45
-
46
- &.flag {
47
-
48
- background: $med_grey;
49
- display: inline-block;
50
- color: $dark_grey;
51
- font-weight: normal;
52
- padding: 10px;
53
- }
54
- }
55
-
56
- h2 small {
57
- @include border-radius(3px);
58
- background: $med_grey;
59
- display: inline-block;
60
- padding: 3px 6px;
61
- position: relative;
62
- top: -3px;
63
- font-weight: normal;
64
- color: $dark_grey;
65
- }
66
-
67
- small {
68
- font-size: 13px;
69
- }
70
-
71
- a {
72
- color: $purple;
73
- cursor: pointer;
74
- text-decoration: none;
75
-
76
- &:hover {
77
- color: $black;
78
- }
79
- }
@@ -1,262 +0,0 @@
1
- .CodeMirror {
2
- /* Set height, width, borders, and global font properties here */
3
- font-family: monospace;
4
- height: 300px;
5
- border: 1px solid #ccc;
6
- }
7
- .CodeMirror-scroll {
8
- /* Set scrolling behaviour here */
9
- overflow: auto;
10
- }
11
-
12
- /* PADDING */
13
-
14
- .CodeMirror-lines {
15
- padding: 4px 0; /* Vertical padding around content */
16
- }
17
- .CodeMirror pre {
18
- padding: 0 4px; /* Horizontal padding of content */
19
- }
20
-
21
- .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
22
- background-color: white; /* The little square between H and V scrollbars */
23
- }
24
-
25
- /* GUTTER */
26
-
27
- .CodeMirror-gutters {
28
- border-right: 1px solid #ddd;
29
- background-color: #f7f7f7;
30
- white-space: nowrap;
31
- }
32
- .CodeMirror-linenumbers {}
33
- .CodeMirror-linenumber {
34
- padding: 0 3px 0 5px;
35
- min-width: 20px;
36
- text-align: right;
37
- color: #999;
38
- }
39
-
40
- /* CURSOR */
41
-
42
- .CodeMirror div.CodeMirror-cursor {
43
- border-left: 1px solid black;
44
- z-index: 3;
45
- }
46
- /* Shown when moving in bi-directional text */
47
- .CodeMirror div.CodeMirror-secondarycursor {
48
- border-left: 1px solid silver;
49
- }
50
- .CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor {
51
- width: auto;
52
- border: 0;
53
- background: #7e7;
54
- z-index: 1;
55
- }
56
- /* Can style cursor different in overwrite (non-insert) mode */
57
- .CodeMirror div.CodeMirror-cursor.CodeMirror-overwrite {}
58
-
59
- .cm-tab { display: inline-block; }
60
-
61
- /* DEFAULT THEME */
62
-
63
- .cm-s-default .cm-keyword {color: #708;}
64
- .cm-s-default .cm-atom {color: #219;}
65
- .cm-s-default .cm-number {color: #164;}
66
- .cm-s-default .cm-def {color: #00f;}
67
- .cm-s-default .cm-variable {color: black;}
68
- .cm-s-default .cm-variable-2 {color: #05a;}
69
- .cm-s-default .cm-variable-3 {color: #085;}
70
- .cm-s-default .cm-property {color: black;}
71
- .cm-s-default .cm-operator {color: black;}
72
- .cm-s-default .cm-comment {color: #a50;}
73
- .cm-s-default .cm-string {color: #a11;}
74
- .cm-s-default .cm-string-2 {color: #f50;}
75
- .cm-s-default .cm-meta {color: #555;}
76
- .cm-s-default .cm-qualifier {color: #555;}
77
- .cm-s-default .cm-builtin {color: #30a;}
78
- .cm-s-default .cm-bracket {color: #997;}
79
- .cm-s-default .cm-tag {color: #170;}
80
- .cm-s-default .cm-attribute {color: #00c;}
81
- .cm-s-default .cm-header {color: blue;}
82
- .cm-s-default .cm-quote {color: #090;}
83
- .cm-s-default .cm-hr {color: #999;}
84
- .cm-s-default .cm-link {color: #00c;}
85
-
86
- .cm-negative {color: #d44;}
87
- .cm-positive {color: #292;}
88
- .cm-header, .cm-strong {font-weight: bold;}
89
- .cm-em {font-style: italic;}
90
- .cm-link {text-decoration: underline;}
91
-
92
- .cm-s-default .cm-error {color: #f00;}
93
- .cm-invalidchar {color: #f00;}
94
-
95
- div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
96
- div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
97
- .CodeMirror-activeline-background {background: #e8f2ff;}
98
-
99
- /* STOP */
100
-
101
- /* The rest of this file contains styles related to the mechanics of
102
- the editor. You probably shouldn't touch them. */
103
-
104
- .CodeMirror {
105
- line-height: 1;
106
- position: relative;
107
- overflow: hidden;
108
- background: white;
109
- color: black;
110
- }
111
-
112
- .CodeMirror-scroll {
113
- /* 30px is the magic margin used to hide the element's real scrollbars */
114
- /* See overflow: hidden in .CodeMirror */
115
- margin-bottom: -30px;
116
- padding-bottom: 30px;
117
- height: 100%;
118
- outline: none; /* Prevent dragging from highlighting the element */
119
- position: relative;
120
- -moz-box-sizing: content-box;
121
- box-sizing: content-box;
122
- }
123
- .CodeMirror-sizer {
124
- position: relative;
125
- }
126
-
127
- /* The fake, visible scrollbars. Used to force redraw during scrolling
128
- before actuall scrolling happens, thus preventing shaking and
129
- flickering artifacts. */
130
- .CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
131
- position: absolute;
132
- z-index: 6;
133
- display: none;
134
- }
135
- .CodeMirror-vscrollbar {
136
- right: 0; top: 0;
137
- overflow-x: hidden;
138
- overflow-y: scroll;
139
- }
140
- .CodeMirror-hscrollbar {
141
- bottom: 0; left: 0;
142
- overflow-y: hidden;
143
- overflow-x: scroll;
144
- }
145
- .CodeMirror-scrollbar-filler {
146
- right: 0; bottom: 0;
147
- }
148
- .CodeMirror-gutter-filler {
149
- left: 0; bottom: 0;
150
- }
151
-
152
- .CodeMirror-gutters {
153
- position: absolute; left: 0; top: 0;
154
- padding-bottom: 30px;
155
- z-index: 3;
156
- }
157
- .CodeMirror-gutter {
158
- white-space: normal;
159
- height: 100%;
160
- -moz-box-sizing: content-box;
161
- box-sizing: content-box;
162
- padding-bottom: 30px;
163
- margin-bottom: -32px;
164
- display: inline-block;
165
- /* Hack to make IE7 behave */
166
- *zoom:1;
167
- *display:inline;
168
- }
169
- .CodeMirror-gutter-elt {
170
- position: absolute;
171
- cursor: default;
172
- z-index: 4;
173
- }
174
-
175
- .CodeMirror-lines {
176
- cursor: text;
177
- }
178
- .CodeMirror pre {
179
- /* Reset some styles that the rest of the page might have set */
180
- -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
181
- border-width: 0;
182
- background: transparent;
183
- font-family: inherit;
184
- font-size: inherit;
185
- margin: 0;
186
- white-space: pre;
187
- word-wrap: normal;
188
- line-height: inherit;
189
- color: inherit;
190
- z-index: 2;
191
- position: relative;
192
- overflow: visible;
193
- }
194
- .CodeMirror-wrap pre {
195
- word-wrap: break-word;
196
- white-space: pre-wrap;
197
- word-break: normal;
198
- }
199
- .CodeMirror-code pre {
200
- border-right: 30px solid transparent;
201
- width: -webkit-fit-content;
202
- width: -moz-fit-content;
203
- width: fit-content;
204
- }
205
- .CodeMirror-wrap .CodeMirror-code pre {
206
- border-right: none;
207
- width: auto;
208
- }
209
- .CodeMirror-linebackground {
210
- position: absolute;
211
- left: 0; right: 0; top: 0; bottom: 0;
212
- z-index: 0;
213
- }
214
-
215
- .CodeMirror-linewidget {
216
- position: relative;
217
- z-index: 2;
218
- overflow: auto;
219
- }
220
-
221
- .CodeMirror-widget {}
222
-
223
- .CodeMirror-wrap .CodeMirror-scroll {
224
- overflow-x: hidden;
225
- }
226
-
227
- .CodeMirror-measure {
228
- position: absolute;
229
- width: 100%;
230
- height: 0;
231
- overflow: hidden;
232
- visibility: hidden;
233
- }
234
- .CodeMirror-measure pre { position: static; }
235
-
236
- .CodeMirror div.CodeMirror-cursor {
237
- position: absolute;
238
- visibility: hidden;
239
- border-right: none;
240
- width: 0;
241
- }
242
- .CodeMirror-focused div.CodeMirror-cursor {
243
- visibility: visible;
244
- }
245
-
246
- .CodeMirror-selected { background: #d9d9d9; }
247
- .CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
248
-
249
- .cm-searching {
250
- background: #ffa;
251
- background: rgba(255, 255, 0, .4);
252
- }
253
-
254
- /* IE7 hack to prevent it from returning funny offsetTops on the spans */
255
- .CodeMirror span { *vertical-align: text-bottom; }
256
-
257
- @media print {
258
- /* Hide the cursor when printing */
259
- .CodeMirror div.CodeMirror-cursor {
260
- visibility: hidden;
261
- }
262
- }