flammarion 0.0.10 → 0.0.11

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 (35) hide show
  1. data/electron/preload.coffee +6 -0
  2. data/lib/flammarion.rb +5 -1
  3. data/lib/flammarion/about.rb +8 -0
  4. data/lib/flammarion/server.rb +0 -1
  5. data/lib/flammarion/version.rb +1 -1
  6. data/lib/flammarion/writeable.rb +27 -2
  7. data/lib/html/build/index.html +1 -1
  8. data/lib/html/build/javascripts/actions.js +48 -7
  9. data/lib/html/build/javascripts/all.js +48 -7
  10. data/lib/html/build/javascripts/map.js +2 -2
  11. data/lib/html/build/javascripts/status.js +2 -2
  12. data/lib/html/build/javascripts/websocket.js +2 -2
  13. data/lib/html/build/stylesheets/all.css +354 -294
  14. data/lib/html/build/stylesheets/ansi_colors.css +64 -16
  15. data/lib/html/build/stylesheets/buttons.css +68 -56
  16. data/lib/html/{source/stylesheets/railscasts.css → build/stylesheets/code.css} +2 -30
  17. data/lib/html/build/stylesheets/dialog.css +19 -4
  18. data/lib/html/build/stylesheets/frontend.css +23 -8
  19. data/lib/html/build/stylesheets/scrollbar.css +9 -9
  20. data/lib/html/build/stylesheets/status.css +10 -10
  21. data/lib/html/build/stylesheets/table.css +4 -3
  22. data/lib/html/source/index.html.slim +3 -2
  23. data/lib/html/source/javascripts/actions.coffee +23 -2
  24. data/lib/html/source/javascripts/status.coffee +2 -2
  25. data/lib/html/source/stylesheets/all.css +0 -1
  26. data/lib/html/source/stylesheets/ansi_colors.styl +8 -1
  27. data/lib/html/source/stylesheets/buttons.styl +6 -3
  28. data/lib/html/{build/stylesheets/railscasts.css → source/stylesheets/code.styl} +64 -59
  29. data/lib/html/source/stylesheets/colors.styl +7 -1
  30. data/lib/html/source/stylesheets/dialog.styl +26 -15
  31. data/lib/html/source/stylesheets/frontend.styl +9 -3
  32. data/lib/html/source/stylesheets/mixins.styl +15 -6
  33. data/lib/html/source/stylesheets/status.styl +3 -3
  34. data/lib/html/source/stylesheets/table.styl +3 -0
  35. metadata +20 -3
@@ -1,96 +1,144 @@
1
1
  .ansi-black-fg {
2
- color: #292929;
2
+ color: #101010;
3
3
  }
4
4
  .ansi-black-bg {
5
5
  background-color: #292929;
6
6
  }
7
+ .ansi-black-bg.ansi-black-fg {
8
+ color: #292929;
9
+ }
7
10
  .ansi-red-fg {
8
- color: #b00;
11
+ color: #4b0000;
9
12
  }
10
13
  .ansi-red-bg {
11
14
  background-color: #b00;
12
15
  }
16
+ .ansi-red-bg.ansi-red-fg {
17
+ color: #b00;
18
+ }
13
19
  .ansi-green-fg {
14
- color: #0b0;
20
+ color: #004b00;
15
21
  }
16
22
  .ansi-green-bg {
17
23
  background-color: #0b0;
18
24
  }
25
+ .ansi-green-bg.ansi-green-fg {
26
+ color: #0b0;
27
+ }
19
28
  .ansi-yellow-fg {
20
- color: #bb0;
29
+ color: #4b4b00;
21
30
  }
22
31
  .ansi-yellow-bg {
23
32
  background-color: #bb0;
24
33
  }
34
+ .ansi-yellow-bg.ansi-yellow-fg {
35
+ color: #bb0;
36
+ }
25
37
  .ansi-blue-fg {
26
- color: #234bc6;
38
+ color: #0e1e4f;
27
39
  }
28
40
  .ansi-blue-bg {
29
41
  background-color: #234bc6;
30
42
  }
43
+ .ansi-blue-bg.ansi-blue-fg {
44
+ color: #234bc6;
45
+ }
31
46
  .ansi-magenta-fg {
32
- color: #b0b;
47
+ color: #4b004b;
33
48
  }
34
49
  .ansi-magenta-bg {
35
50
  background-color: #b0b;
36
51
  }
52
+ .ansi-magenta-bg.ansi-magenta-fg {
53
+ color: #b0b;
54
+ }
37
55
  .ansi-cyan-fg {
38
- color: #0bb;
56
+ color: #004b4b;
39
57
  }
40
58
  .ansi-cyan-bg {
41
59
  background-color: #0bb;
42
60
  }
61
+ .ansi-cyan-bg.ansi-cyan-fg {
62
+ color: #0bb;
63
+ }
43
64
  .ansi-white-fg {
44
- color: #fff;
65
+ color: #666;
45
66
  }
46
67
  .ansi-white-bg {
47
68
  background-color: #fff;
48
69
  }
70
+ .ansi-white-bg.ansi-white-fg {
71
+ color: #fff;
72
+ }
49
73
  .ansi-bright-black-fg {
50
- color: #555;
74
+ color: #222;
51
75
  }
52
76
  .ansi-bright-black-bg {
53
77
  background-color: #555;
54
78
  }
79
+ .ansi-bright-black-bg.ansi-bright-black-fg {
80
+ color: #555;
81
+ }
55
82
  .ansi-bright-red-fg {
56
- color: #f55;
83
+ color: #800;
57
84
  }
58
85
  .ansi-bright-red-bg {
59
86
  background-color: #f55;
60
87
  }
88
+ .ansi-bright-red-bg.ansi-bright-red-fg {
89
+ color: #f55;
90
+ }
61
91
  .ansi-bright-green-fg {
62
- color: #0f0;
92
+ color: #060;
63
93
  }
64
94
  .ansi-bright-green-bg {
65
95
  background-color: #0f0;
66
96
  }
97
+ .ansi-bright-green-bg.ansi-bright-green-fg {
98
+ color: #0f0;
99
+ }
67
100
  .ansi-bright-yellow-fg {
68
- color: #ff5;
101
+ color: #880;
69
102
  }
70
103
  .ansi-bright-yellow-bg {
71
104
  background-color: #ff5;
72
105
  }
106
+ .ansi-bright-yellow-bg.ansi-bright-yellow-fg {
107
+ color: #ff5;
108
+ }
73
109
  .ansi-bright-blue-fg {
74
- color: #55f;
110
+ color: #008;
75
111
  }
76
112
  .ansi-bright-blue-bg {
77
113
  background-color: #55f;
78
114
  }
115
+ .ansi-bright-blue-bg.ansi-bright-blue-fg {
116
+ color: #55f;
117
+ }
79
118
  .ansi-bright-magenta-fg {
80
- color: #f5f;
119
+ color: #808;
81
120
  }
82
121
  .ansi-bright-magenta-bg {
83
122
  background-color: #f5f;
84
123
  }
124
+ .ansi-bright-magenta-bg.ansi-bright-magenta-fg {
125
+ color: #f5f;
126
+ }
85
127
  .ansi-bright-cyan-fg {
86
- color: #5ff;
128
+ color: #088;
87
129
  }
88
130
  .ansi-bright-cyan-bg {
89
131
  background-color: #5ff;
90
132
  }
133
+ .ansi-bright-cyan-bg.ansi-bright-cyan-fg {
134
+ color: #5ff;
135
+ }
91
136
  .ansi-bright-white-fg {
92
- color: #fff;
137
+ color: #666;
93
138
  }
94
139
  .ansi-bright-white-bg {
95
140
  background-color: #fff;
96
141
  }
142
+ .ansi-bright-white-bg.ansi-bright-white-fg {
143
+ color: #fff;
144
+ }
@@ -1,8 +1,8 @@
1
1
  .full-button {
2
- background-color: #383e40;
3
- color: #eee;
2
+ background-color: #eee;
3
+ color: #333;
4
4
  font-family: Monospace;
5
- border: 1px solid #a7a7a7;
5
+ border: 1px solid #242424;
6
6
  padding: 1em;
7
7
  text-decoration: none;
8
8
  display: block;
@@ -15,30 +15,30 @@
15
15
  -moz-user-select: none;
16
16
  -ms-user-select: none;
17
17
  user-select: none;
18
- background-color: #4a5255;
19
- background-image: -webkit-linear-gradient(top, #4a5255 40%, #32383a 100%);
20
- background-image: -moz-linear-gradient(top, #4a5255 40%, #32383a 100%);
21
- background-image: -ms-linear-gradient(top, #4a5255 40%, #32383a 100%);
22
- background-image: -o-linear-gradient(top, #4a5255 40%, #32383a 100%);
23
- background-image: linear-gradient(top, #4a5255 40%, #32383a 100%);
18
+ background-color: #f0f0f0;
19
+ background-image: -webkit-linear-gradient(top, #f0f0f0 40%, #d6d6d6 100%);
20
+ background-image: -moz-linear-gradient(top, #f0f0f0 40%, #d6d6d6 100%);
21
+ background-image: -ms-linear-gradient(top, #f0f0f0 40%, #d6d6d6 100%);
22
+ background-image: -o-linear-gradient(top, #f0f0f0 40%, #d6d6d6 100%);
23
+ background-image: linear-gradient(top, #f0f0f0 40%, #d6d6d6 100%);
24
24
  }
25
25
  .full-button:hover {
26
- background-color: #4a5255;
27
- background-color: #5a6468;
28
- background-image: -webkit-linear-gradient(top, #5a6468 40%, #434a4d 100%);
29
- background-image: -moz-linear-gradient(top, #5a6468 40%, #434a4d 100%);
30
- background-image: -ms-linear-gradient(top, #5a6468 40%, #434a4d 100%);
31
- background-image: -o-linear-gradient(top, #5a6468 40%, #434a4d 100%);
32
- background-image: linear-gradient(top, #5a6468 40%, #434a4d 100%);
26
+ background-color: #d6d6d6;
27
+ background-color: #dadada;
28
+ background-image: -webkit-linear-gradient(top, #dadada 40%, #c1c1c1 100%);
29
+ background-image: -moz-linear-gradient(top, #dadada 40%, #c1c1c1 100%);
30
+ background-image: -ms-linear-gradient(top, #dadada 40%, #c1c1c1 100%);
31
+ background-image: -o-linear-gradient(top, #dadada 40%, #c1c1c1 100%);
32
+ background-image: linear-gradient(top, #dadada 40%, #c1c1c1 100%);
33
33
  }
34
34
  .full-button:active {
35
- background-color: #5c666a;
36
- background-color: #434a4d;
37
- background-image: -webkit-linear-gradient(top, #434a4d 40%, #5a6468 100%);
38
- background-image: -moz-linear-gradient(top, #434a4d 40%, #5a6468 100%);
39
- background-image: -ms-linear-gradient(top, #434a4d 40%, #5a6468 100%);
40
- background-image: -o-linear-gradient(top, #434a4d 40%, #5a6468 100%);
41
- background-image: linear-gradient(top, #434a4d 40%, #5a6468 100%);
35
+ background-color: #bebebe;
36
+ background-color: #c1c1c1;
37
+ background-image: -webkit-linear-gradient(top, #c1c1c1 40%, #dadada 100%);
38
+ background-image: -moz-linear-gradient(top, #c1c1c1 40%, #dadada 100%);
39
+ background-image: -ms-linear-gradient(top, #c1c1c1 40%, #dadada 100%);
40
+ background-image: -o-linear-gradient(top, #c1c1c1 40%, #dadada 100%);
41
+ background-image: linear-gradient(top, #c1c1c1 40%, #dadada 100%);
42
42
  }
43
43
  .full-button > .label-icon-left {
44
44
  float: left;
@@ -46,11 +46,12 @@
46
46
  .full-button > .label-icon-right {
47
47
  float: right;
48
48
  }
49
- .inline-text-input {
50
- background-color: #383e40;
51
- color: #eee;
49
+ .inline-text-input,
50
+ .inline-dropdown {
51
+ background-color: #eee;
52
+ color: #333;
52
53
  font-family: Monospace;
53
- border: 1px solid #a7a7a7;
54
+ border: 1px solid #242424;
54
55
  padding: 1em;
55
56
  text-decoration: none;
56
57
  display: block;
@@ -66,28 +67,34 @@
66
67
  text-align: left;
67
68
  box-sizing: border-box;
68
69
  width: 100%;
69
- box-shadow: inset 0px 0px 2px 2px #2d3233;
70
+ box-shadow: inset 0px 0px 2px 2px #bebebe;
70
71
  }
71
- .inline-text-input:hover {
72
- background-color: #4a5255;
72
+ .inline-text-input:hover,
73
+ .inline-dropdown:hover {
74
+ background-color: #d6d6d6;
73
75
  }
74
- .inline-text-input:active {
75
- background-color: #5c666a;
76
+ .inline-text-input:active,
77
+ .inline-dropdown:active {
78
+ background-color: #bebebe;
76
79
  }
77
- .inline-text-input > .label-icon-left {
80
+ .inline-text-input > .label-icon-left,
81
+ .inline-dropdown > .label-icon-left {
78
82
  float: left;
79
83
  }
80
- .inline-text-input > .label-icon-right {
84
+ .inline-text-input > .label-icon-right,
85
+ .inline-dropdown > .label-icon-right {
81
86
  float: right;
82
87
  }
83
- .inline-text-input.unclicked {
84
- color: #777;
88
+ .inline-text-input.unclicked,
89
+ .inline-dropdown.unclicked {
90
+ color: #1a1a1a;
85
91
  }
86
- textarea.inline-text-input {
92
+ textarea.inline-text-input,
93
+ textarea.inline-dropdown {
87
94
  height: 25em;
88
95
  }
89
96
  input::-webkit-input-placeholder {
90
- color: #777;
97
+ color: #1a1a1a;
91
98
  }
92
99
  input:focus::-webkit-input-placeholder {
93
100
  opacity: 0;
@@ -114,14 +121,14 @@ input:focus::-webkit-input-placeholder {
114
121
  content: " ";
115
122
  width: 1em;
116
123
  height: 1em;
117
- border: 1px solid #a7a7a7;
124
+ border: 1px solid #242424;
118
125
  margin-right: 0.5em;
119
126
  }
120
127
  .inline-checkbox.checked:before {
121
- background-color: #828e92;
128
+ background-color: #8f8f8f;
122
129
  }
123
130
  .inline-checkbox:hover {
124
- background-color: #4a5255;
131
+ background-color: #d6d6d6;
125
132
  }
126
133
  #toolbar {
127
134
  background-color: #000;
@@ -134,7 +141,7 @@ input:focus::-webkit-input-placeholder {
134
141
  padding: 0.5em;
135
142
  margin: 0;
136
143
  text-decoration: none;
137
- color: #eee;
144
+ color: #333;
138
145
  border-right: 1px solid;
139
146
  border-left: 1px solid;
140
147
  margin-right: 0em;
@@ -146,9 +153,10 @@ input:focus::-webkit-input-placeholder {
146
153
  position: absolute;
147
154
  top: 0.5em;
148
155
  right: 0.5em;
149
- margin-right: 0.5em;
156
+ margin-right: 1em;
150
157
  background-color: rgba(0,0,0,0.5);
151
- padding: 0.5em;
158
+ box-shadow: 2px 2px 4px 2px #bebebe;
159
+ padding: 0;
152
160
  z-index: 3;
153
161
  }
154
162
  .button-box .full-button,
@@ -167,17 +175,21 @@ input:focus::-webkit-input-placeholder {
167
175
  width: auto;
168
176
  }
169
177
  .button-box .inline-checkbox {
170
- border: 1px solid #a7a7a7;
178
+ border: 1px solid #242424;
171
179
  }
172
180
  .button-box .inline-checkbox:before {
173
- border: 1px solid #474747;
181
+ border: 1px solid #0f0f0f;
174
182
  height: 50%;
175
183
  }
184
+ .button-box .label-icon-left,
185
+ .button-box .label-icon-right {
186
+ margin: 0px 5px;
187
+ }
176
188
  .inline-button {
177
- background-color: #383e40;
178
- color: #eee;
189
+ background-color: #eee;
190
+ color: #333;
179
191
  font-family: Monospace;
180
- border: 1px solid #a7a7a7;
192
+ border: 1px solid #242424;
181
193
  padding: 1em;
182
194
  text-decoration: none;
183
195
  display: block;
@@ -193,10 +205,10 @@ input:focus::-webkit-input-placeholder {
193
205
  display: inline;
194
206
  }
195
207
  .inline-button:hover {
196
- background-color: #4a5255;
208
+ background-color: #d6d6d6;
197
209
  }
198
210
  .inline-button:active {
199
- background-color: #5c666a;
211
+ background-color: #bebebe;
200
212
  }
201
213
  .inline-button > .label-icon-left {
202
214
  float: left;
@@ -205,10 +217,10 @@ input:focus::-webkit-input-placeholder {
205
217
  float: right;
206
218
  }
207
219
  .floating-button {
208
- background-color: #383e40;
209
- color: #eee;
220
+ background-color: #eee;
221
+ color: #333;
210
222
  font-family: Monospace;
211
- border: 1px solid #a7a7a7;
223
+ border: 1px solid #242424;
212
224
  padding: 1em;
213
225
  text-decoration: none;
214
226
  display: block;
@@ -226,10 +238,10 @@ input:focus::-webkit-input-placeholder {
226
238
  padding: 0.2em;
227
239
  }
228
240
  .floating-button:hover {
229
- background-color: #4a5255;
241
+ background-color: #d6d6d6;
230
242
  }
231
243
  .floating-button:active {
232
- background-color: #5c666a;
244
+ background-color: #bebebe;
233
245
  }
234
246
  .floating-button > .label-icon-left {
235
247
  float: left;
@@ -3,22 +3,20 @@
3
3
  Railscasts-like style (c) Visoft, Inc. (Damien White)
4
4
 
5
5
  */
6
-
7
6
  .hljs {
8
7
  display: block;
9
8
  overflow-x: auto;
10
9
  padding: 0.5em;
11
- background: #232323;
10
+ background-color: #242424;
12
11
  color: #e6e1dc;
13
12
  -webkit-text-size-adjust: none;
13
+ border-radius: 5px;
14
14
  }
15
-
16
15
  .hljs-comment,
17
16
  .hljs-shebang {
18
17
  color: #bc9458;
19
18
  font-style: italic;
20
19
  }
21
-
22
20
  .hljs-keyword,
23
21
  .ruby .hljs-function .hljs-keyword,
24
22
  .hljs-request,
@@ -28,7 +26,6 @@ Railscasts-like style (c) Visoft, Inc. (Damien White)
28
26
  .hljs-list .hljs-title {
29
27
  color: #c26230;
30
28
  }
31
-
32
29
  .hljs-string,
33
30
  .hljs-number,
34
31
  .hljs-regexp,
@@ -43,11 +40,9 @@ Railscasts-like style (c) Visoft, Inc. (Damien White)
43
40
  .markdown .hljs-link_label {
44
41
  color: #a5c261;
45
42
  }
46
-
47
43
  .hljs-subst {
48
44
  color: #519f50;
49
45
  }
50
-
51
46
  .hljs-tag,
52
47
  .hljs-tag .hljs-keyword,
53
48
  .hljs-tag .hljs-title,
@@ -57,24 +52,19 @@ Railscasts-like style (c) Visoft, Inc. (Damien White)
57
52
  .input_number {
58
53
  color: #e8bf6a;
59
54
  }
60
-
61
55
  .hljs-identifier {
62
56
  color: #d0d0ff;
63
57
  }
64
-
65
58
  .hljs-class .hljs-title,
66
59
  .hljs-type,
67
60
  .smalltalk .hljs-class,
68
61
  .hljs-doctag {
69
62
  text-decoration: none;
70
63
  }
71
-
72
64
  .hljs-constant,
73
65
  .hljs-name {
74
66
  color: #da4939;
75
67
  }
76
-
77
-
78
68
  .hljs-symbol,
79
69
  .hljs-built_in,
80
70
  .ruby .hljs-symbol .hljs-string,
@@ -84,66 +74,52 @@ Railscasts-like style (c) Visoft, Inc. (Damien White)
84
74
  .hljs-attribute {
85
75
  color: #6d9cbe;
86
76
  }
87
-
88
77
  .asciidoc .hljs-link_url,
89
78
  .markdown .hljs-link_url {
90
79
  text-decoration: underline;
91
80
  }
92
-
93
-
94
-
95
81
  .hljs-params,
96
82
  .hljs-variable,
97
83
  .clojure .hljs-attribute {
98
84
  color: #d0d0ff;
99
85
  }
100
-
101
86
  .css .hljs-tag,
102
87
  .hljs-rule .hljs-property,
103
88
  .hljs-pseudo,
104
89
  .tex .hljs-special {
105
90
  color: #cda869;
106
91
  }
107
-
108
92
  .css .hljs-class {
109
93
  color: #9b703f;
110
94
  }
111
-
112
95
  .hljs-rule .hljs-keyword {
113
96
  color: #c5af75;
114
97
  }
115
-
116
98
  .hljs-rule .hljs-value {
117
99
  color: #cf6a4c;
118
100
  }
119
-
120
101
  .css .hljs-id {
121
102
  color: #8b98ab;
122
103
  }
123
-
124
104
  .hljs-annotation,
125
105
  .apache .hljs-sqbracket,
126
106
  .nginx .hljs-built_in {
127
107
  color: #9b859d;
128
108
  }
129
-
130
109
  .hljs-preprocessor,
131
110
  .hljs-preprocessor *,
132
111
  .hljs-pragma {
133
112
  color: #8996a8 !important;
134
113
  }
135
-
136
114
  .hljs-hexcolor,
137
115
  .css .hljs-value .hljs-number {
138
116
  color: #a5c261;
139
117
  }
140
-
141
118
  .hljs-title,
142
119
  .hljs-decorator,
143
120
  .css .hljs-function {
144
121
  color: #ffc66d;
145
122
  }
146
-
147
123
  .diff .hljs-header,
148
124
  .hljs-chunk {
149
125
  background-color: #2f33ab;
@@ -151,28 +127,24 @@ Railscasts-like style (c) Visoft, Inc. (Damien White)
151
127
  display: inline-block;
152
128
  width: 100%;
153
129
  }
154
-
155
130
  .diff .hljs-change {
156
131
  background-color: #4a410d;
157
132
  color: #f8f8f8;
158
133
  display: inline-block;
159
134
  width: 100%;
160
135
  }
161
-
162
136
  .hljs-addition {
163
137
  background-color: #144212;
164
138
  color: #e6e1dc;
165
139
  display: inline-block;
166
140
  width: 100%;
167
141
  }
168
-
169
142
  .hljs-deletion {
170
143
  background-color: #600;
171
144
  color: #e6e1dc;
172
145
  display: inline-block;
173
146
  width: 100%;
174
147
  }
175
-
176
148
  .coffeescript .javascript,
177
149
  .javascript .xml,
178
150
  .tex .hljs-formula,