Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions usage/jsgui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@
-->
<exclude>**//src/build/optimize-css.json</exclude>
<exclude>**//src/build/optimize-js.json</exclude>
<exclude>**//src/**</exclude>
</excludes>
</configuration>
</plugin>
Expand Down
1 change: 1 addition & 0 deletions usage/jsgui/src/build/optimize-js.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
// Set to "none" to skip minification
optimize: "uglify"
})

2 changes: 2 additions & 0 deletions usage/jsgui/src/main/license/source-inclusions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@
- id: js-uri
- id: js-yaml.js
- id: jquery.form.js

- id: codemirror.js
38 changes: 38 additions & 0 deletions usage/jsgui/src/main/webapp/assets/css/addon/hint/show-hint.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
.CodeMirror-hints {
position: absolute;
z-index: 10;
overflow: hidden;
list-style: none;

margin: 0;
padding: 2px;

-webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
-moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
box-shadow: 2px 3px 5px rgba(0,0,0,.2);
border-radius: 3px;
border: 1px solid silver;

background: white;
font-size: 90%;
font-family: monospace;

max-height: 20em;
overflow-y: auto;
}

.CodeMirror-hint {
margin: 0;
padding: 0 4px;
border-radius: 2px;
max-width: 19em;
overflow: hidden;
white-space: pre;
color: black;
cursor: pointer;
}

li.CodeMirror-hint-active {
background: #08f;
color: white;
}
9 changes: 8 additions & 1 deletion usage/jsgui/src/main/webapp/assets/css/brooklyn.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ BODY {
textarea {
white-space: pre;
word-wrap: normal;
overflow-x: scroll;
}

/* HEADER */
Expand Down Expand Up @@ -269,3 +268,11 @@ textarea {
content: 'Not Available';
*/
}

button.catalog-submit-button.btn {
margin-top: 10px;
}

.CodeMirror .cm-s-default {
height: 150px;
}
Loading