luca 0.8.599 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/.rvmrc +1 -0
- data/CHANGELOG +51 -2
- data/README.md +10 -247
- data/ROADMAP +6 -2
- data/app.rb +16 -2
- data/assets/javascripts/dependencies/bootstrap.min.js +7 -1
- data/assets/javascripts/dependencies/codemirror-coffeescript.js +347 -0
- data/assets/javascripts/dependencies/codemirror-css.js +124 -0
- data/assets/javascripts/dependencies/codemirror-html.js +410 -0
- data/assets/javascripts/dependencies/codemirror-javascript.js +361 -0
- data/assets/javascripts/dependencies/codemirror-less.js +232 -0
- data/assets/javascripts/dependencies/codemirror-vim.js +500 -0
- data/assets/javascripts/dependencies/codemirror.js +3076 -0
- data/assets/javascripts/dependencies.coffee +0 -1
- data/assets/javascripts/luca-ui-base.coffee +10 -3
- data/assets/javascripts/luca-ui-bootstrap.js +1 -0
- data/assets/javascripts/luca-ui-development-tools.coffee +9 -0
- data/assets/javascripts/luca-ui.coffee +6 -1
- data/assets/javascripts/sandbox/application.coffee +51 -0
- data/assets/javascripts/sandbox/router.coffee +14 -0
- data/assets/javascripts/sandbox/templates/main.luca +33 -0
- data/assets/javascripts/sandbox/templates/sandbox/navigation.luca +1 -0
- data/assets/javascripts/sandbox/templates/sandbox.luca +1 -0
- data/assets/javascripts/sandbox/views/top_navigation.coffee +4 -0
- data/assets/javascripts/sandbox.coffee +2 -2
- data/assets/stylesheets/bootstrap.min.css +395 -297
- data/assets/stylesheets/codemirror-blackboard.css +25 -0
- data/assets/stylesheets/codemirror-monokai.css +33 -0
- data/assets/stylesheets/codemirror.css +126 -0
- data/assets/stylesheets/luca-ui-bootstrap.css +0 -1
- data/assets/stylesheets/luca-ui-development-tools.css +5 -0
- data/assets/stylesheets/sandbox/sandbox.scss +1 -3
- data/assets/stylesheets/themes/amelia-bootstrap.css +826 -0
- data/assets/stylesheets/themes/slate-bootstrap.css +797 -0
- data/assets/stylesheets/themes/superhero-bootstrap.css +830 -0
- data/lib/luca/code_browser.rb +55 -0
- data/lib/luca/rails/version.rb +1 -1
- data/lib/luca/rails.rb +1 -0
- data/spec/components/fields/checkbox_array_spec.coffee +46 -0
- data/spec/components/form_view_spec.coffee +10 -4
- data/spec/containers/card_view_spec.coffee +7 -0
- data/spec/core/collection_spec.coffee +58 -4
- data/spec/core/container_spec.coffee +6 -6
- data/spec/core/view_spec.coffee +93 -7
- data/spec/framework_spec.coffee +15 -12
- data/src/components/application.coffee +126 -18
- data/src/components/base_toolbar.coffee +2 -2
- data/src/components/collection_loader_view.coffee +1 -2
- data/src/components/collection_view.coffee +77 -0
- data/src/components/controller.coffee +1 -4
- data/src/components/fields/button_field.coffee +1 -1
- data/src/components/fields/checkbox_array.coffee +2 -2
- data/src/components/fields/checkbox_field.coffee +3 -1
- data/src/components/fields/file_upload_field.coffee +1 -1
- data/src/components/fields/hidden_field.coffee +1 -1
- data/src/components/fields/select_field.coffee +1 -1
- data/src/components/fields/text_area_field.coffee +1 -1
- data/src/components/fields/text_field.coffee +10 -6
- data/src/components/fields/type_ahead_field.coffee +18 -5
- data/src/components/form_button_toolbar.coffee +1 -2
- data/src/components/form_view.coffee +44 -62
- data/src/components/grid_view.coffee +27 -20
- data/src/components/load_mask.coffee +3 -0
- data/src/components/nav_bar.coffee +26 -0
- data/src/components/record_manager.coffee +1 -3
- data/src/components/router.coffee +1 -1
- data/src/components/template.coffee +3 -15
- data/src/components/toolbar_dialog.coffee +25 -0
- data/src/containers/card_view.coffee +22 -23
- data/src/containers/column_view.coffee +1 -6
- data/src/containers/modal_view.coffee +20 -71
- data/src/containers/panel_toolbar.coffee +156 -0
- data/src/containers/panel_view.coffee +1 -1
- data/src/containers/split_view.coffee +1 -3
- data/src/containers/tab_view.coffee +29 -29
- data/src/containers/viewport.coffee +38 -3
- data/src/core/collection.coffee +80 -48
- data/src/core/container.coffee +153 -72
- data/src/core/core.coffee +181 -0
- data/src/core/field.coffee +4 -2
- data/src/core/model.coffee +1 -1
- data/src/core/observer.coffee +3 -3
- data/src/core/panel.coffee +143 -0
- data/src/core/registry.coffee +104 -0
- data/src/core/util.coffee +82 -0
- data/src/core/view.coffee +158 -85
- data/src/framework.coffee +112 -178
- data/src/index.coffee +0 -255
- data/src/managers/collection_manager.coffee +1 -0
- data/src/samples/definition.coffee +49 -0
- data/src/stylesheets/base.scss +0 -78
- data/src/stylesheets/components/form_view.scss +8 -3
- data/src/stylesheets/components/grid_view.scss +3 -7
- data/src/stylesheets/components/load_mask.scss +14 -0
- data/src/stylesheets/components/toolbar.scss +0 -15
- data/src/stylesheets/containers/container.scss +14 -2
- data/src/stylesheets/containers/panels.scss +23 -0
- data/src/stylesheets/tools/class_browser.scss +32 -0
- data/src/stylesheets/tools/code_editor.scss +24 -0
- data/src/stylesheets/tools/component_tester.scss +8 -0
- data/src/stylesheets/tools/console.scss +26 -0
- data/src/templates/components/collection_loader_view.luca +1 -1
- data/src/templates/components/form_view.luca +2 -13
- data/src/templates/components/grid_view.luca +0 -2
- data/src/templates/components/load_mask.luca +3 -0
- data/src/templates/components/nav_bar.luca +2 -0
- data/src/templates/containers/tab_view.luca +1 -0
- data/src/templates/fields/text_field.luca +4 -1
- data/src/tools/class_browser.coffee +39 -0
- data/src/tools/code_editor.coffee +258 -0
- data/src/tools/code_mirror_field.coffee +57 -0
- data/src/tools/coffee_script_editor.coffee +60 -0
- data/src/tools/collection_inspector.coffee +4 -0
- data/src/tools/component_tester.coffee +472 -0
- data/src/tools/components/class_browser_detail.coffee +10 -0
- data/src/tools/components/class_browser_list.coffee +74 -0
- data/src/tools/console.coffee +147 -0
- data/src/tools/development_console.coffee +147 -0
- data/src/tools/models/components.coffee +63 -0
- data/src/tools/templates/component_tester/help.luca +14 -0
- data/vendor/assets/javascripts/luca-ui-base.js +1389 -611
- data/vendor/assets/javascripts/luca-ui-bootstrap.js +9 -0
- data/vendor/assets/javascripts/luca-ui-development-tools.js +18719 -0
- data/vendor/assets/javascripts/luca-ui-spec.js +2065 -878
- data/vendor/assets/javascripts/luca-ui.js +1759 -852
- data/vendor/assets/javascripts/luca-ui.min.js +3 -3
- data/vendor/assets/stylesheets/luca-ui-bootstrap.css +494 -440
- data/vendor/assets/stylesheets/luca-ui-development-tools.css +224 -0
- data/vendor/assets/stylesheets/luca-ui-spec.css +99 -140
- data/vendor/assets/stylesheets/luca-ui.css +99 -140
- data/views/index.erb +6 -3
- metadata +60 -18
- data/assets/javascripts/dependencies/jquery-console.js +0 -649
- data/assets/javascripts/development-console.coffee +0 -2
- data/assets/javascripts/sandbox/sandbox.coffee +0 -16
- data/assets/javascripts/sandbox/templates/features/collection_helpers.luca +0 -33
- data/assets/javascripts/sandbox/templates/features/form_demo_code.luca +0 -48
- data/assets/javascripts/sandbox/templates/features/grid_demo_code.luca +0 -24
- data/assets/javascripts/sandbox/templates/features/introduction.luca +0 -11
- data/assets/javascripts/sandbox/templates/features/view_helpers.luca +0 -43
- data/assets/javascripts/sandbox/templates/navigation.luca +0 -8
- data/assets/javascripts/sandbox/views/form_demo.coffee +0 -47
- data/assets/javascripts/sandbox/views/grid_demo.coffee +0 -23
- data/assets/javascripts/sandbox/views/pages/collection_events_sample.coffee +0 -1
- data/assets/javascripts/sandbox/views/pages/pages_controller.coffee +0 -38
- data/src/components/collection_inspector.coffee +0 -2
- data/src/components/development_console.coffee +0 -59
- data/src/stylesheets/components/development_console.scss +0 -47
@@ -0,0 +1,224 @@
|
|
1
|
+
.CodeMirror {
|
2
|
+
line-height: 1em;
|
3
|
+
font-family: monospace;
|
4
|
+
}
|
5
|
+
|
6
|
+
.CodeMirror-scroll {
|
7
|
+
overflow: auto;
|
8
|
+
height: 300px;
|
9
|
+
/* This is needed to prevent an IE[67] bug where the scrolled content
|
10
|
+
is visible outside of the scrolling box. */
|
11
|
+
position: relative;
|
12
|
+
outline: none;
|
13
|
+
}
|
14
|
+
|
15
|
+
.CodeMirror-gutter {
|
16
|
+
position: absolute; left: 0; top: 0;
|
17
|
+
z-index: 10;
|
18
|
+
background-color: #f7f7f7;
|
19
|
+
border-right: 1px solid #eee;
|
20
|
+
min-width: 2em;
|
21
|
+
height: 100%;
|
22
|
+
}
|
23
|
+
.CodeMirror-gutter-text {
|
24
|
+
color: #aaa;
|
25
|
+
text-align: right;
|
26
|
+
padding: .4em .2em .4em .4em;
|
27
|
+
white-space: pre !important;
|
28
|
+
}
|
29
|
+
.CodeMirror-lines {
|
30
|
+
padding: .4em;
|
31
|
+
white-space: pre;
|
32
|
+
}
|
33
|
+
|
34
|
+
.CodeMirror pre {
|
35
|
+
-moz-border-radius: 0;
|
36
|
+
-webkit-border-radius: 0;
|
37
|
+
-o-border-radius: 0;
|
38
|
+
border-radius: 0;
|
39
|
+
border-width: 0; margin: 0; padding: 0; background: transparent;
|
40
|
+
font-family: inherit;
|
41
|
+
font-size: inherit;
|
42
|
+
padding: 0; margin: 0;
|
43
|
+
white-space: pre;
|
44
|
+
word-wrap: normal;
|
45
|
+
line-height: inherit;
|
46
|
+
color: inherit;
|
47
|
+
}
|
48
|
+
|
49
|
+
.CodeMirror-wrap pre {
|
50
|
+
word-wrap: break-word;
|
51
|
+
white-space: pre-wrap;
|
52
|
+
word-break: normal;
|
53
|
+
}
|
54
|
+
.CodeMirror-wrap .CodeMirror-scroll {
|
55
|
+
overflow-x: hidden;
|
56
|
+
}
|
57
|
+
|
58
|
+
.CodeMirror textarea {
|
59
|
+
outline: none !important;
|
60
|
+
}
|
61
|
+
|
62
|
+
.CodeMirror pre.CodeMirror-cursor {
|
63
|
+
z-index: 10;
|
64
|
+
position: absolute;
|
65
|
+
visibility: hidden;
|
66
|
+
border-left: 1px solid black;
|
67
|
+
border-right: none;
|
68
|
+
width: 0;
|
69
|
+
}
|
70
|
+
.cm-keymap-fat-cursor pre.CodeMirror-cursor {
|
71
|
+
width: auto;
|
72
|
+
border: 0;
|
73
|
+
background: transparent;
|
74
|
+
background: rgba(0, 200, 0, .4);
|
75
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6600c800, endColorstr=#4c00c800);
|
76
|
+
}
|
77
|
+
/* Kludge to turn off filter in ie9+, which also accepts rgba */
|
78
|
+
.cm-keymap-fat-cursor pre.CodeMirror-cursor:not(#nonsense_id) {
|
79
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
80
|
+
}
|
81
|
+
.CodeMirror pre.CodeMirror-cursor.CodeMirror-overwrite {}
|
82
|
+
.CodeMirror-focused pre.CodeMirror-cursor {
|
83
|
+
visibility: visible;
|
84
|
+
}
|
85
|
+
|
86
|
+
div.CodeMirror-selected { background: #d9d9d9; }
|
87
|
+
.CodeMirror-focused div.CodeMirror-selected { background: #d7d4f0; }
|
88
|
+
|
89
|
+
.CodeMirror-searching {
|
90
|
+
background: #ffa;
|
91
|
+
background: rgba(255, 255, 0, .4);
|
92
|
+
}
|
93
|
+
|
94
|
+
/* Default theme */
|
95
|
+
|
96
|
+
.cm-s-default span.cm-keyword {color: #708;}
|
97
|
+
.cm-s-default span.cm-atom {color: #219;}
|
98
|
+
.cm-s-default span.cm-number {color: #164;}
|
99
|
+
.cm-s-default span.cm-def {color: #00f;}
|
100
|
+
.cm-s-default span.cm-variable {color: black;}
|
101
|
+
.cm-s-default span.cm-variable-2 {color: #05a;}
|
102
|
+
.cm-s-default span.cm-variable-3 {color: #085;}
|
103
|
+
.cm-s-default span.cm-property {color: black;}
|
104
|
+
.cm-s-default span.cm-operator {color: black;}
|
105
|
+
.cm-s-default span.cm-comment {color: #a50;}
|
106
|
+
.cm-s-default span.cm-string {color: #a11;}
|
107
|
+
.cm-s-default span.cm-string-2 {color: #f50;}
|
108
|
+
.cm-s-default span.cm-meta {color: #555;}
|
109
|
+
.cm-s-default span.cm-error {color: #f00;}
|
110
|
+
.cm-s-default span.cm-qualifier {color: #555;}
|
111
|
+
.cm-s-default span.cm-builtin {color: #30a;}
|
112
|
+
.cm-s-default span.cm-bracket {color: #cc7;}
|
113
|
+
.cm-s-default span.cm-tag {color: #170;}
|
114
|
+
.cm-s-default span.cm-attribute {color: #00c;}
|
115
|
+
.cm-s-default span.cm-header {color: blue;}
|
116
|
+
.cm-s-default span.cm-quote {color: #090;}
|
117
|
+
.cm-s-default span.cm-hr {color: #999;}
|
118
|
+
.cm-s-default span.cm-link {color: #00c;}
|
119
|
+
|
120
|
+
span.cm-header, span.cm-strong {font-weight: bold;}
|
121
|
+
span.cm-em {font-style: italic;}
|
122
|
+
span.cm-emstrong {font-style: italic; font-weight: bold;}
|
123
|
+
span.cm-link {text-decoration: underline;}
|
124
|
+
|
125
|
+
div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
|
126
|
+
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
127
|
+
/* Based on Sublime Text's Monokai theme */
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
.CodeMirror {
|
132
|
+
font-family: "Monaco";
|
133
|
+
}
|
134
|
+
|
135
|
+
.cm-s-monokai {background: #272822; color: #f8f8f2;}
|
136
|
+
.cm-s-monokai div.CodeMirror-selected {background: #49483E !important;}
|
137
|
+
.cm-s-monokai .CodeMirror-gutter {background: #272822; border-right: 0px;}
|
138
|
+
.cm-s-monokai .CodeMirror-gutter-text {color: #d0d0d0;}
|
139
|
+
.cm-s-monokai .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;}
|
140
|
+
|
141
|
+
.cm-s-monokai span.cm-comment {color: #75715e;}
|
142
|
+
.cm-s-monokai span.cm-atom {color: #ae81ff;}
|
143
|
+
.cm-s-monokai span.cm-number {color: #ae81ff;}
|
144
|
+
|
145
|
+
.cm-s-monokai span.cm-property, .cm-s-monokai span.cm-attribute {color: #a6e22e;}
|
146
|
+
.cm-s-monokai span.cm-keyword {color: #f92672;}
|
147
|
+
.cm-s-monokai span.cm-string {color: #e6db74;}
|
148
|
+
|
149
|
+
.cm-s-monokai span.cm-variable {color: #a6e22e;}
|
150
|
+
.cm-s-monokai span.cm-variable-2 {color: #9effff;}
|
151
|
+
.cm-s-monokai span.cm-def {color: #fd971f;}
|
152
|
+
.cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;}
|
153
|
+
.cm-s-monokai span.cm-bracket {color: #f8f8f2;}
|
154
|
+
.cm-s-monokai span.cm-tag {color: #f92672;}
|
155
|
+
.cm-s-monokai span.cm-link {color: #ae81ff;}
|
156
|
+
|
157
|
+
.cm-s-monokai .CodeMirror-matchingbracket {
|
158
|
+
text-decoration: underline;
|
159
|
+
color: white !important;
|
160
|
+
}
|
161
|
+
.luca-class-browser .class-browser-list {
|
162
|
+
min-height: 600px;
|
163
|
+
height: auto !important;
|
164
|
+
height: 600px; }
|
165
|
+
.luca-class-browser .class-browser-list ul.namespace a, .luca-class-browser .class-browser-list ul.classList a {
|
166
|
+
cursor: pointer; }
|
167
|
+
.luca-class-browser .class-browser-list ul.namespace, .luca-class-browser .class-browser-list ul.namespace ul.classList {
|
168
|
+
margin: 0px;
|
169
|
+
padding: 0px; }
|
170
|
+
.luca-class-browser .class-browser-list ul.namespace {
|
171
|
+
padding-left: 10px; }
|
172
|
+
.luca-class-browser .class-browser-list ul.namespace li ul.classList {
|
173
|
+
padding-left: 20px; }
|
174
|
+
.luca-class-browser .class-browser-list ul.namespace li, .luca-class-browser .class-browser-list ul.namespace .classList li {
|
175
|
+
list-style-type: none;
|
176
|
+
margin: 0px;
|
177
|
+
padding: 0px; }
|
178
|
+
.font-large .CodeMirror {
|
179
|
+
font-size: 1.3em;
|
180
|
+
line-height: 1.5em; }
|
181
|
+
|
182
|
+
.font-small .CodeMirror {
|
183
|
+
font-size: 1.0em;
|
184
|
+
line-height: 1.2em; }
|
185
|
+
|
186
|
+
.fixed-height .CodeMirror-scroll {
|
187
|
+
overflow: auto;
|
188
|
+
height: 350px; }
|
189
|
+
|
190
|
+
.auto-height .CodeMirror-scroll {
|
191
|
+
height: auto;
|
192
|
+
overflow: visible; }
|
193
|
+
ul.typeahead.dropdown-menu {
|
194
|
+
z-index: 13000; }
|
195
|
+
|
196
|
+
.font-large .CodeMirror {
|
197
|
+
font-size: 18px;
|
198
|
+
line-height: 1.7; }
|
199
|
+
.luca-ui-console .CodeMirror {
|
200
|
+
font-family: "Monaco";
|
201
|
+
font-size: 14px;
|
202
|
+
line-height: 1.75; }
|
203
|
+
.luca-ui-console .luca-ui-text-field {
|
204
|
+
width: 100%;
|
205
|
+
background-color: #272822;
|
206
|
+
border-top: 1px solid #ccc;
|
207
|
+
padding-left: 1px; }
|
208
|
+
.luca-ui-console .luca-ui-text-field input:focus {
|
209
|
+
outline: none !important;
|
210
|
+
box-shadow: 0 0 0 0 transparent; }
|
211
|
+
.luca-ui-console .luca-ui-text-field input {
|
212
|
+
outline: none !important;
|
213
|
+
box-shadow: 0 0 0 0 transparent;
|
214
|
+
font-family: "Monaco";
|
215
|
+
color: #fff;
|
216
|
+
border: 0px;
|
217
|
+
width: 90%;
|
218
|
+
background-color: #272822; }
|
219
|
+
/*
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
*/
|
224
|
+
|
@@ -1,123 +1,3 @@
|
|
1
|
-
html.luca-ui-fullscreen {
|
2
|
-
height: 100%; }
|
3
|
-
html.luca-ui-fullscreen body {
|
4
|
-
height: 100%;
|
5
|
-
padding: 0;
|
6
|
-
margin: 0; }
|
7
|
-
html.luca-ui-fullscreen .luca-ui-viewport {
|
8
|
-
height: 100%;
|
9
|
-
padding: 0;
|
10
|
-
margin: 0; }
|
11
|
-
|
12
|
-
.luca-ui-viewport li {
|
13
|
-
list-style-type: none; }
|
14
|
-
.luca-ui-viewport li.nav {
|
15
|
-
cursor: pointer; }
|
16
|
-
|
17
|
-
/*http://csswizardry.com/fluid-grids/#generated-grids*/
|
18
|
-
.wrapper {
|
19
|
-
max-width: 1208px;
|
20
|
-
/* max-width:894px;*/
|
21
|
-
padding: 0 15px;
|
22
|
-
margin: 0 auto; }
|
23
|
-
|
24
|
-
/*
|
25
|
-
Column container
|
26
|
-
*/
|
27
|
-
.grids {
|
28
|
-
width: auto;
|
29
|
-
max-width: 924px;
|
30
|
-
clear: both;
|
31
|
-
margin: 0 0 0 -3.247%;
|
32
|
-
list-style: none;
|
33
|
-
/* So we can make grids out of lists. */
|
34
|
-
overflow: hidden;
|
35
|
-
/* Clear the floats */ }
|
36
|
-
|
37
|
-
[class*="grid-"] {
|
38
|
-
float: left;
|
39
|
-
margin: 0 3.247% 0 0; }
|
40
|
-
|
41
|
-
.grid-margin {
|
42
|
-
margin: 0 3.247% 0 0; }
|
43
|
-
|
44
|
-
.grids .grid-margin {
|
45
|
-
margin: 0 0 0 3.247%; }
|
46
|
-
|
47
|
-
.grids [class*="grid-"] {
|
48
|
-
margin: 0 0 0 3.247%; }
|
49
|
-
|
50
|
-
.grid-1 {
|
51
|
-
width: 5.087%; }
|
52
|
-
|
53
|
-
.grid-2 {
|
54
|
-
width: 13.42%; }
|
55
|
-
|
56
|
-
.grid-3 {
|
57
|
-
width: 21.753%; }
|
58
|
-
|
59
|
-
.grid-4 {
|
60
|
-
width: 30.087%; }
|
61
|
-
|
62
|
-
.grid-5 {
|
63
|
-
width: 38.42%; }
|
64
|
-
|
65
|
-
.grid-6 {
|
66
|
-
width: 46.753%; }
|
67
|
-
|
68
|
-
.grid-7 {
|
69
|
-
width: 55.087%; }
|
70
|
-
|
71
|
-
.grid-8 {
|
72
|
-
width: 63.42%; }
|
73
|
-
|
74
|
-
.grid-9 {
|
75
|
-
width: 71.753%; }
|
76
|
-
|
77
|
-
.grid-10 {
|
78
|
-
width: 80.087%; }
|
79
|
-
|
80
|
-
.grid-11 {
|
81
|
-
width: 88.42%; }
|
82
|
-
|
83
|
-
.grid-12 {
|
84
|
-
width: 96.753%;
|
85
|
-
margin: 0; }
|
86
|
-
.luca-ui-development-console.luca-ui-modal {
|
87
|
-
position: absolute;
|
88
|
-
left: 50%;
|
89
|
-
margin-left: -375px;
|
90
|
-
width: 750px;
|
91
|
-
height: 500px; }
|
92
|
-
|
93
|
-
.luca-ui-development-console {
|
94
|
-
background: rgba(0, 0, 0, 0.9);
|
95
|
-
font-size: 16px;
|
96
|
-
margin-top: 1em;
|
97
|
-
font-family: "Monaco"; }
|
98
|
-
.luca-ui-development-console .console-inner {
|
99
|
-
color: #fff;
|
100
|
-
height: 600px;
|
101
|
-
width: 800px;
|
102
|
-
max-height: 600px; }
|
103
|
-
.luca-ui-development-console .console-inner .jquery-console-inner {
|
104
|
-
height: 599px;
|
105
|
-
width: 799px;
|
106
|
-
overflow: auto;
|
107
|
-
padding: 0.5em; }
|
108
|
-
.luca-ui-development-console .console-inner .jquery-console-focus .jquery-console-cursor {
|
109
|
-
font-weight: bold;
|
110
|
-
color: #fff;
|
111
|
-
background: rgba(255, 255, 255, 0.2); }
|
112
|
-
.luca-ui-development-console .console-inner .jquery-console-message {
|
113
|
-
margin: 10px 0px; }
|
114
|
-
.luca-ui-development-console .console-inner .jquery-console-message-error {
|
115
|
-
font-weight: bold;
|
116
|
-
color: #ef0505;
|
117
|
-
padding: 0.1em; }
|
118
|
-
.luca-ui-development-console .console-inner .jquery-console-prompt-label {
|
119
|
-
font-weight: bold;
|
120
|
-
color: yellow; }
|
121
1
|
.luca-ui-form-view-wrapper {
|
122
2
|
width: 100%;
|
123
3
|
float: left;
|
@@ -139,6 +19,10 @@ Column container
|
|
139
19
|
.luca-ui-form-view.column-layout .luca-ui-field {
|
140
20
|
float: left; }
|
141
21
|
|
22
|
+
.luca-ui-form-view .toolbar-container {
|
23
|
+
padding-right: 12px; }
|
24
|
+
|
25
|
+
/* support for older form view config */
|
142
26
|
.form-view-footer .toolbar-container {
|
143
27
|
float: left;
|
144
28
|
width: 100%;
|
@@ -215,31 +99,48 @@ Column container
|
|
215
99
|
.scrollable-g-view tbody.scrollable td {
|
216
100
|
padding: 5px; }
|
217
101
|
|
218
|
-
.luca-ui-g-view
|
102
|
+
.luca-ui-g-view .toolbar-container {
|
219
103
|
float: left;
|
220
104
|
width: 100%;
|
221
|
-
clear: both;
|
222
|
-
display: block; }
|
223
|
-
.luca-ui-g-view-footer .toolbar-container .luca-ui-toolbar {
|
224
|
-
display: block;
|
225
|
-
float: right;
|
226
|
-
clear: right; }
|
227
|
-
.luca-ui-g-view-footer .toolbar-container .luca-ui-toolbar .luca-ui-field {
|
228
|
-
float: left; }
|
229
|
-
.luca-ui-toolbar-wrapper {
|
230
105
|
clear: both;
|
231
106
|
display: block;
|
107
|
+
padding-right: 12px; }
|
108
|
+
.luca-ui-g-view .toolbar-container .luca-ui-toolbar {
|
109
|
+
padding: 2px 0px; }
|
110
|
+
.with-mask {
|
111
|
+
position: relative; }
|
112
|
+
.with-mask .load-mask {
|
113
|
+
background-color: rgba(255, 255, 255, 0.6);
|
114
|
+
width: 100%;
|
115
|
+
height: 100%;
|
116
|
+
position: absolute; }
|
117
|
+
.with-mask .load-mask .progress {
|
118
|
+
margin: 50px auto;
|
119
|
+
width: 50%; }
|
120
|
+
.toolbar-container {
|
121
|
+
overflow: hidden;
|
122
|
+
clear: both; }
|
123
|
+
|
124
|
+
.toolbar-container.top {
|
125
|
+
height: 54px; }
|
126
|
+
|
127
|
+
.toolbar-container.bottom {
|
128
|
+
margin-top: 0px; }
|
129
|
+
.luca-ui-toolbar {
|
232
130
|
float: left;
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
.luca-ui-
|
241
|
-
|
242
|
-
|
131
|
+
clear: both;
|
132
|
+
width: 100%;
|
133
|
+
padding: 5px; }
|
134
|
+
.luca-ui-toolbar .align-right {
|
135
|
+
float: right; }
|
136
|
+
.luca-ui-toolbar .btn-group {
|
137
|
+
margin: 0px 2px; }
|
138
|
+
.luca-ui-toolbar.toolbar-bottom {
|
139
|
+
border-top-left-radius: 0px;
|
140
|
+
border-top-right-radius: 0px; }
|
141
|
+
.luca-ui-toolbar.toolbar-top {
|
142
|
+
border-bottom-left-radius: 0px;
|
143
|
+
border-bottom-right-radius: 0px; }
|
243
144
|
.luca-ui-tab-view .luca-ui-card .luca-ui-grid-view, .luca-ui-tab-view .luca-ui-card .luca-ui-form-view, .luca-ui-tab-view .luca-ui-card .luca-ui-card {
|
244
145
|
overflow: hidden; }
|
245
146
|
|
@@ -617,6 +518,64 @@ textarea {
|
|
617
518
|
table {
|
618
519
|
border-collapse: collapse;
|
619
520
|
border-spacing: 0; }
|
521
|
+
.luca-class-browser .class-browser-list {
|
522
|
+
min-height: 600px;
|
523
|
+
height: auto !important;
|
524
|
+
height: 600px; }
|
525
|
+
.luca-class-browser .class-browser-list ul.namespace a, .luca-class-browser .class-browser-list ul.classList a {
|
526
|
+
cursor: pointer; }
|
527
|
+
.luca-class-browser .class-browser-list ul.namespace, .luca-class-browser .class-browser-list ul.namespace ul.classList {
|
528
|
+
margin: 0px;
|
529
|
+
padding: 0px; }
|
530
|
+
.luca-class-browser .class-browser-list ul.namespace {
|
531
|
+
padding-left: 10px; }
|
532
|
+
.luca-class-browser .class-browser-list ul.namespace li ul.classList {
|
533
|
+
padding-left: 20px; }
|
534
|
+
.luca-class-browser .class-browser-list ul.namespace li, .luca-class-browser .class-browser-list ul.namespace .classList li {
|
535
|
+
list-style-type: none;
|
536
|
+
margin: 0px;
|
537
|
+
padding: 0px; }
|
538
|
+
.font-large .CodeMirror {
|
539
|
+
font-size: 1.3em;
|
540
|
+
line-height: 1.5em; }
|
541
|
+
|
542
|
+
.font-small .CodeMirror {
|
543
|
+
font-size: 1.0em;
|
544
|
+
line-height: 1.2em; }
|
545
|
+
|
546
|
+
.fixed-height .CodeMirror-scroll {
|
547
|
+
overflow: auto;
|
548
|
+
height: 350px; }
|
549
|
+
|
550
|
+
.auto-height .CodeMirror-scroll {
|
551
|
+
height: auto;
|
552
|
+
overflow: visible; }
|
553
|
+
ul.typeahead.dropdown-menu {
|
554
|
+
z-index: 13000; }
|
555
|
+
|
556
|
+
.font-large .CodeMirror {
|
557
|
+
font-size: 18px;
|
558
|
+
line-height: 1.7; }
|
559
|
+
.luca-ui-console .CodeMirror {
|
560
|
+
font-family: "Monaco";
|
561
|
+
font-size: 14px;
|
562
|
+
line-height: 1.75; }
|
563
|
+
.luca-ui-console .luca-ui-text-field {
|
564
|
+
width: 100%;
|
565
|
+
background-color: #272822;
|
566
|
+
border-top: 1px solid #ccc;
|
567
|
+
padding-left: 1px; }
|
568
|
+
.luca-ui-console .luca-ui-text-field input:focus {
|
569
|
+
outline: none !important;
|
570
|
+
box-shadow: 0 0 0 0 transparent; }
|
571
|
+
.luca-ui-console .luca-ui-text-field input {
|
572
|
+
outline: none !important;
|
573
|
+
box-shadow: 0 0 0 0 transparent;
|
574
|
+
font-family: "Monaco";
|
575
|
+
color: #fff;
|
576
|
+
border: 0px;
|
577
|
+
width: 90%;
|
578
|
+
background-color: #272822; }
|
620
579
|
/*
|
621
580
|
|
622
581
|
*/
|