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.
- data/electron/preload.coffee +6 -0
- data/lib/flammarion.rb +5 -1
- data/lib/flammarion/about.rb +8 -0
- data/lib/flammarion/server.rb +0 -1
- data/lib/flammarion/version.rb +1 -1
- data/lib/flammarion/writeable.rb +27 -2
- data/lib/html/build/index.html +1 -1
- data/lib/html/build/javascripts/actions.js +48 -7
- data/lib/html/build/javascripts/all.js +48 -7
- data/lib/html/build/javascripts/map.js +2 -2
- data/lib/html/build/javascripts/status.js +2 -2
- data/lib/html/build/javascripts/websocket.js +2 -2
- data/lib/html/build/stylesheets/all.css +354 -294
- data/lib/html/build/stylesheets/ansi_colors.css +64 -16
- data/lib/html/build/stylesheets/buttons.css +68 -56
- data/lib/html/{source/stylesheets/railscasts.css → build/stylesheets/code.css} +2 -30
- data/lib/html/build/stylesheets/dialog.css +19 -4
- data/lib/html/build/stylesheets/frontend.css +23 -8
- data/lib/html/build/stylesheets/scrollbar.css +9 -9
- data/lib/html/build/stylesheets/status.css +10 -10
- data/lib/html/build/stylesheets/table.css +4 -3
- data/lib/html/source/index.html.slim +3 -2
- data/lib/html/source/javascripts/actions.coffee +23 -2
- data/lib/html/source/javascripts/status.coffee +2 -2
- data/lib/html/source/stylesheets/all.css +0 -1
- data/lib/html/source/stylesheets/ansi_colors.styl +8 -1
- data/lib/html/source/stylesheets/buttons.styl +6 -3
- data/lib/html/{build/stylesheets/railscasts.css → source/stylesheets/code.styl} +64 -59
- data/lib/html/source/stylesheets/colors.styl +7 -1
- data/lib/html/source/stylesheets/dialog.styl +26 -15
- data/lib/html/source/stylesheets/frontend.styl +9 -3
- data/lib/html/source/stylesheets/mixins.styl +15 -6
- data/lib/html/source/stylesheets/status.styl +3 -3
- data/lib/html/source/stylesheets/table.styl +3 -0
- metadata +20 -3
@@ -5,7 +5,8 @@ activate(color, ammount)
|
|
5
5
|
darken(color, ammount)
|
6
6
|
|
7
7
|
// $bg-color = #120018
|
8
|
-
$bg-color = #383e40
|
8
|
+
// $bg-color = #383e40
|
9
|
+
$bg-color = #eee
|
9
10
|
|
10
11
|
if dark($bg-color)
|
11
12
|
$fg-color = #eee
|
@@ -17,6 +18,11 @@ if dark($bg-color)
|
|
17
18
|
else
|
18
19
|
$status-bg-color = #aaa
|
19
20
|
|
21
|
+
if dark($bg-color)
|
22
|
+
$code-bg-color = $bg-color
|
23
|
+
else
|
24
|
+
$code-bg-color = darken($bg-color, 85%)
|
25
|
+
|
20
26
|
$highlight = activate($bg-color, 10%)
|
21
27
|
$active-highlight = activate($bg-color, 20%)
|
22
28
|
$normal-border = 1px solid darken($fg-color, 30%)
|
@@ -2,20 +2,31 @@
|
|
2
2
|
@import 'mixins.styl'
|
3
3
|
|
4
4
|
#dialog
|
5
|
+
width 100%
|
6
|
+
height 100%
|
7
|
+
background-color rgba(0, 0, 0, 0.5)
|
5
8
|
position absolute
|
6
|
-
|
7
|
-
|
8
|
-
width 70%
|
9
|
-
height 70%
|
10
|
-
padding 1em
|
11
|
-
background-color darken($bg-color, 20%)
|
12
|
-
border $normal-border
|
9
|
+
left 0
|
10
|
+
top 0
|
13
11
|
user-select none
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
12
|
+
|
13
|
+
& > #content
|
14
|
+
position absolute
|
15
|
+
top 10%
|
16
|
+
left 10%
|
17
|
+
width 70%
|
18
|
+
height 70%
|
19
|
+
padding 1em
|
20
|
+
background-color darken($bg-color, 20%)
|
21
|
+
border $normal-border
|
22
|
+
if $enable-gradients
|
23
|
+
box-shadow 2px 2px 4px 2px #333
|
24
|
+
user-select none
|
25
|
+
& > #message
|
26
|
+
user-select all
|
27
|
+
margin 0
|
28
|
+
height calc(100% - 3em)
|
29
|
+
word-wrap normal
|
30
|
+
overflow auto
|
31
|
+
& > .full-button
|
32
|
+
height 1em
|
@@ -1,5 +1,6 @@
|
|
1
1
|
@charset "utf-8";
|
2
2
|
@import 'colors.styl'
|
3
|
+
@import 'mixins.styl'
|
3
4
|
|
4
5
|
body
|
5
6
|
background-color $bg-color
|
@@ -37,17 +38,25 @@ a
|
|
37
38
|
box-sizing: border-box;
|
38
39
|
word-wrap: break-word;
|
39
40
|
position relative
|
41
|
+
user-select text
|
40
42
|
|
41
43
|
.pane > .pane
|
42
44
|
width calc(100% + 16px)
|
43
45
|
height initial
|
44
46
|
margin -8px
|
47
|
+
&.subpane-fill
|
48
|
+
height calc(100% + 16px)
|
45
49
|
|
46
50
|
#panes
|
47
51
|
height calc(98% - 15px)
|
48
52
|
width 100%
|
49
53
|
box-sizing: border-box
|
50
54
|
|
55
|
+
html
|
56
|
+
if $enable-gradients
|
57
|
+
padding-top 2px
|
58
|
+
box-shadow-inset()
|
59
|
+
|
51
60
|
.horizontal > .pane
|
52
61
|
height 100%
|
53
62
|
float left
|
@@ -71,6 +80,3 @@ a
|
|
71
80
|
background-color rgba(0, 3, 10, 0.75)
|
72
81
|
pointer-events none
|
73
82
|
border 1px solid #012
|
74
|
-
|
75
|
-
.hljs
|
76
|
-
background-color $bg-color
|
@@ -7,9 +7,18 @@ user-select(n)
|
|
7
7
|
user-select: n
|
8
8
|
|
9
9
|
background-linear-gradient(startPoint, startColor, startInterval, endColor, endInterval)
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
10
|
+
if $enable-gradients
|
11
|
+
background-color startColor
|
12
|
+
background-image -webkit-linear-gradient(startPoint, startColor startInterval, endColor endInterval)
|
13
|
+
background-image -moz-linear-gradient(startPoint, startColor startInterval, endColor endInterval)
|
14
|
+
background-image -ms-linear-gradient(startPoint, startColor startInterval, endColor endInterval)
|
15
|
+
background-image -o-linear-gradient(startPoint, startColor startInterval, endColor endInterval)
|
16
|
+
background-image linear-gradient(startPoint, startColor startInterval, endColor endInterval)
|
17
|
+
|
18
|
+
box-shadow-inset(ammount = 2)
|
19
|
+
if $enable-gradients
|
20
|
+
box-shadow inset 0px 0px 2px 2px darken($bg-color, 20%)
|
21
|
+
|
22
|
+
drop-shadow(ammount = 2)
|
23
|
+
if $enable-gradients
|
24
|
+
box-shadow 2px 2px 4px 2px darken($bg-color, 20%)
|
@@ -8,7 +8,9 @@
|
|
8
8
|
padding-bottom 10px
|
9
9
|
font-family Monospace
|
10
10
|
height 2%
|
11
|
-
|
11
|
+
white-space nowrap
|
12
|
+
overflow hidden
|
13
|
+
text-overflow ellipsis
|
12
14
|
user-select none
|
13
15
|
if $enable-gradients
|
14
16
|
background-linear-gradient top, lighten($status-bg-color, 10%), 10%, darken($status-bg-color, 10%), 100%
|
@@ -17,11 +19,9 @@
|
|
17
19
|
content "Detached"
|
18
20
|
& > .left
|
19
21
|
float left
|
20
|
-
width 33%
|
21
22
|
cursor pointer
|
22
23
|
& > .right
|
23
24
|
float right
|
24
|
-
width 33%
|
25
25
|
cursor pointer
|
26
26
|
text-align right
|
27
27
|
& > .center
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flammarion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -155,6 +155,22 @@ dependencies:
|
|
155
155
|
- - ~>
|
156
156
|
- !ruby/object:Gem::Version
|
157
157
|
version: '3.3'
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: faker
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
158
174
|
description: The nifty Ruby gui toolkit. An easy to use gui toolkit built with scripting
|
159
175
|
in mind.
|
160
176
|
email: zach.geek@gmail.com
|
@@ -173,10 +189,10 @@ files:
|
|
173
189
|
- lib/html/source/stylesheets/ansi_colors.styl
|
174
190
|
- lib/html/source/stylesheets/dialog.styl
|
175
191
|
- lib/html/source/stylesheets/frontend.styl
|
176
|
-
- lib/html/source/stylesheets/railscasts.css
|
177
192
|
- lib/html/source/stylesheets/status.styl
|
178
193
|
- lib/html/source/stylesheets/mixins.styl
|
179
194
|
- lib/html/source/stylesheets/colors.styl
|
195
|
+
- lib/html/source/stylesheets/code.styl
|
180
196
|
- lib/html/source/stylesheets/font-awesome/HELP-US-OUT.txt
|
181
197
|
- lib/html/source/stylesheets/font-awesome/css/font-awesome.min.css
|
182
198
|
- lib/html/source/stylesheets/font-awesome/css/font-awesome.css
|
@@ -222,7 +238,7 @@ files:
|
|
222
238
|
- lib/html/build/stylesheets/all.css
|
223
239
|
- lib/html/build/stylesheets/map.css
|
224
240
|
- lib/html/build/stylesheets/buttons.css
|
225
|
-
- lib/html/build/stylesheets/
|
241
|
+
- lib/html/build/stylesheets/code.css
|
226
242
|
- lib/html/build/stylesheets/status.css
|
227
243
|
- lib/html/build/stylesheets/ansi_colors.css
|
228
244
|
- lib/html/build/stylesheets/font-awesome/HELP-US-OUT.txt
|
@@ -260,6 +276,7 @@ files:
|
|
260
276
|
- lib/html/build/fonts/FontAwesome.otf
|
261
277
|
- lib/html/build/fonts/fontawesome-webfont.svg
|
262
278
|
- lib/html/Gemfile
|
279
|
+
- lib/flammarion/about.rb
|
263
280
|
- lib/flammarion/server.rb
|
264
281
|
- lib/flammarion/pane.rb
|
265
282
|
- lib/flammarion/version.rb
|