Merge remote-tracking branch 'nasa/open1002' into open1015

Merge in open1002, WTD-1015.

Conflicts:
	platform/commonUI/edit/res/templates/edit-object.html
This commit is contained in:
Victor Woeltjen 2015-03-12 11:32:17 -07:00
commit ee04814f59
25 changed files with 338 additions and 245 deletions

View File

@ -29,6 +29,7 @@
{ {
"name": "Period", "name": "Period",
"control": "textfield", "control": "textfield",
"cssclass": "l-small l-numeric",
"key": "period", "key": "period",
"required": true, "required": true,
"property": [ "telemetry", "period" ], "property": [ "telemetry", "period" ],

View File

@ -19,7 +19,7 @@
mct-drag-down="splitter.startMove()" mct-drag-down="splitter.startMove()"
mct-drag="splitter.move(delta[0])"></div> mct-drag="splitter.move(delta[0])"></div>
<div class='split-pane-component items pane' <div class='split-pane-component items pane'
ng-style="{ left: splitter.state() + 'px', right: '0px' }"> ng-style="{ left: (splitter.state()+4) + 'px', right: '0px' }">
<div class='holder abs' id='content-area'> <div class='holder abs' id='content-area'>
<mct-representation mct-object="navigatedObject" key="'browse-object'"> <mct-representation mct-object="navigatedObject" key="'browse-object'">
</mct-representation> </mct-representation>

View File

@ -56,7 +56,8 @@
"implementation": "actions/SaveAction.js", "implementation": "actions/SaveAction.js",
"name": "Save", "name": "Save",
"description": "Save changes made to these objects.", "description": "Save changes made to these objects.",
"depends": [ "$location" ] "depends": [ "$location" ],
"priority": "mandatory"
}, },
{ {
"key": "cancel", "key": "cancel",

View File

@ -7,8 +7,11 @@
structure="toolbar.structure" structure="toolbar.structure"
ng-model="toolbar.state"> ng-model="toolbar.state">
</mct-toolbar> </mct-toolbar>
<div class='split-layout vertical contents abs work-area'> <div class='split-layout vertical contents abs work-area' ng-controller="SplitPaneController as vSplitter">
<div class='abs pane left edit-main'> <div
class='abs pane left edit-main'
ng-style="{ right: (vSplitter.state()+5) + 'px'}"
>
<div class='holder abs object-holder'> <div class='holder abs object-holder'>
<mct-representation key="representation.selected.key" <mct-representation key="representation.selected.key"
toolbar="toolbar" toolbar="toolbar"
@ -16,24 +19,54 @@
</mct-representation> </mct-representation>
</div> </div>
</div> </div>
<div class="splitter"></div>
<div class='abs pane right edit-objects menus-to-left'> <!-- MAIN VERTICAL SPLITTER -->
<div class='holder abs split-layout horizontal' <div
ng-controller='EditPanesController as editPanes'> class="splitter"
<div class="abs pane top accordion" ng-controller="ToggleController as toggle"> ng-style="{ right: vSplitter.state() + 'px'}"
<mct-container key="accordion" title="Library"> mct-drag-down="vSplitter.startMove()"
<mct-representation key="'tree'" mct-drag="vSplitter.move(-delta[0], 100, 1000)"
alias="foo1" ></div>
mct-object="editPanes.getRoot()">
</mct-representation>
</mct-container> <div
class='abs pane right edit-objects menus-to-left'
ng-controller='EditPanesController as editPanes'
ng-style="{ width: (vSplitter.state()-4) + 'px', right: '0px'}"
>
<div
class='holder abs split-layout horizontal'
ng-controller="SplitPaneController as hSplitter"
>
<div
class="abs pane top accordion"
ng-style="{ bottom: (hSplitter.state()+8) + 'px', top: '0px' }"
ng-controller="ToggleController as toggle"
>
<mct-container key="accordion" title="Library">
<mct-representation key="'tree'"
alias="foo1"
mct-object="editPanes.getRoot()">
</mct-representation>
</mct-container>
</div> </div>
<div class="splitter"></div> <!-- HORZ SPLITTER -->
<div class="abs pane bottom accordion" ng-controller="ToggleController as toggle"> <div
<mct-container key="accordion" title="Elements"> class="splitter"
<mct-representation key="'edit-elements'" mct-object="domainObject"> ng-style="{ bottom: hSplitter.state() + 'px', top: 'auto' }"
</mct-representation> mct-drag-down="hSplitter.startMove()"
</mct-container> mct-drag="hSplitter.move(-delta[1], 120, 1000)"
>
</div>
<div
class="abs pane bottom accordion"
ng-style="{ bottom: '0px', height: (hSplitter.state()-4) + 'px'}"
ng-controller="ToggleController as toggle"
>
<mct-container key="accordion" title="Elements">
<mct-representation key="'edit-elements'" mct-object="domainObject">
</mct-representation>
</mct-container>
</div> </div>
</div> </div>
</div> </div>

View File

@ -27,7 +27,7 @@
padding: 5px; padding: 5px;
position: relative; } position: relative; }
/* line 24, ../sass/forms/_elems.scss */ /* line 24, ../sass/forms/_elems.scss */
.form .form-row:first-child { .form .form-row.first {
border-top: none; } border-top: none; }
/* line 29, ../sass/forms/_elems.scss */ /* line 29, ../sass/forms/_elems.scss */
.form .form-row .label, .form .form-row .label,
@ -41,45 +41,62 @@
font-size: 0.75rem; font-size: 0.75rem;
line-height: 22px; line-height: 22px;
min-height: 22px; } min-height: 22px; }
/* line 38, ../sass/forms/_elems.scss */ /* line 39, ../sass/forms/_elems.scss */
.form .form-row > .label { .form .form-row > .label {
float: left; float: left;
position: relative; position: relative;
white-space: nowrap; white-space: nowrap;
width: 20%; } width: 20%; }
/* line 46, ../sass/forms/_elems.scss */ /* line 47, ../sass/forms/_elems.scss */
.form .form-row .value { .form .form-row .value {
color: #cccccc; } color: #cccccc; }
/* line 50, ../sass/forms/_elems.scss */ /* line 51, ../sass/forms/_elems.scss */
.form .form-row .controls { .form .form-row .controls {
float: left; float: left;
position: relative; position: relative;
width: 79%; } width: 79.9%; }
/* line 55, ../sass/forms/_elems.scss */ /* line 58, ../sass/forms/_elems.scss */
.form .form-row .controls .l-composite-control { .form .form-row .controls .l-composite-control.l-checkbox {
display: inline-block; } display: inline-block;
/* line 57, ../sass/forms/_elems.scss */ line-height: 14px;
.form .form-row .controls .l-composite-control.l-checkbox { margin-right: 5px; }
line-height: 14px; /* line 67, ../sass/forms/_elems.scss */
margin-right: 5px; } .form .form-row .controls input[type="text"] {
/* line 65, ../sass/forms/_elems.scss */ height: 22px;
line-height: 22px;
margin-top: -4px;
vertical-align: baseline; }
/* line 74, ../sass/forms/_elems.scss */
.form .form-row .controls .l-med input[type="text"] {
width: 200px; }
/* line 78, ../sass/forms/_elems.scss */
.form .form-row .controls .l-small input[type="text"] {
width: 50px; }
/* line 82, ../sass/forms/_elems.scss */
.form .form-row .controls .l-numeric input[type="text"] {
text-align: right; }
/* line 86, ../sass/forms/_elems.scss */
.form .form-row .controls .select { .form .form-row .controls .select {
margin-right: 5px; } margin-right: 5px; }
/* line 70, ../sass/forms/_elems.scss */ /* line 91, ../sass/forms/_elems.scss */
.form .form-row .field-hints { .form .form-row .field-hints {
color: #666666; } color: #666666; }
/* line 74, ../sass/forms/_elems.scss */ /* line 95, ../sass/forms/_elems.scss */
.form .form-row .selector-list { .form .form-row .selector-list {
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
-ms-border-radius: 3px; -ms-border-radius: 3px;
-o-border-radius: 3px; -o-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background: rgba(0, 0, 0, 0.2); background: rgba(0, 0, 0, 0.2);
padding: 5px;
position: relative; position: relative;
height: 150px; height: 150px;
max-width: 50%; } overflow: auto; }
/* line 82, ../sass/forms/_elems.scss */ /* line 106, ../sass/forms/_elems.scss */
.form .form-row .selector-list .wrapper { .form .form-row .selector-list .wrapper {
overflow-y: auto; overflow-y: auto;
position: absolute; position: absolute;
@ -88,24 +105,24 @@
bottom: 5px; bottom: 5px;
left: 5px; } left: 5px; }
/* line 96, ../sass/forms/_elems.scss */ /* line 120, ../sass/forms/_elems.scss */
label.form-control.checkbox input { label.form-control.checkbox input {
margin-right: 5px; margin-right: 5px;
vertical-align: top; } vertical-align: top; }
/* line 103, ../sass/forms/_elems.scss */ /* line 127, ../sass/forms/_elems.scss */
.hint, .hint,
.s-hint { .s-hint {
font-size: 0.9em; } font-size: 0.9em; }
/* line 107, ../sass/forms/_elems.scss */ /* line 131, ../sass/forms/_elems.scss */
.l-result { .l-result {
display: inline-block; display: inline-block;
min-width: 32px; min-width: 32px;
min-height: 32px; min-height: 32px;
position: relative; position: relative;
vertical-align: top; } vertical-align: top; }
/* line 114, ../sass/forms/_elems.scss */ /* line 138, ../sass/forms/_elems.scss */
.l-result div.s-hint { .l-result div.s-hint {
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
@ -133,16 +150,16 @@ label.form-control.checkbox input {
-webkit-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; -webkit-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
-moz-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; -moz-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
background: #666666; background: rgba(255, 255, 255, 0.1);
border: none; border: none;
border-bottom: 1px solid #999999; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
color: #cccccc; color: #cccccc;
outline: none; outline: none;
padding: 5px; padding: 5px;
position: absolute; position: absolute;
height: 100%; height: 100%;
width: 100%; } width: 100%; }
/* line 11, ../sass/forms/_mixins.scss */ /* line 12, ../sass/forms/_mixins.scss */
.edit-main textarea.error { .edit-main textarea.error {
background: rgba(255, 0, 0, 0.5); } background: rgba(255, 0, 0, 0.5); }
@ -162,19 +179,16 @@ input[type="text"] {
-webkit-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; -webkit-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
-moz-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; -moz-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
background: #666666; background: rgba(255, 255, 255, 0.1);
border: none; border: none;
border-bottom: 1px solid #999999; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
color: #cccccc; color: #cccccc;
outline: none; outline: none;
padding: 0 3px; padding: 0 3px; }
height: 22px; /* line 12, ../sass/forms/_mixins.scss */
line-height: 22px;
vertical-align: middle; }
/* line 11, ../sass/forms/_mixins.scss */
input[type="text"].error { input[type="text"].error {
background: rgba(255, 0, 0, 0.5); } background: rgba(255, 0, 0, 0.5); }
/* line 11, ../sass/forms/_text-input.scss */ /* line 8, ../sass/forms/_text-input.scss */
input[type="text"].numeric { input[type="text"].numeric {
text-align: right; } text-align: right; }
@ -203,6 +217,7 @@ input[type="text"] {
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
margin: 0 0 2px 2px; margin: 0 0 2px 2px;
overflow: hidden;
position: relative; } position: relative; }
/* line 127, ../sass/_mixins.scss */ /* line 127, ../sass/_mixins.scss */
.form-control.select:not(.disabled):hover { .form-control.select:not(.disabled):hover {
@ -211,7 +226,7 @@ input[type="text"] {
background-image: -moz-linear-gradient(#666666, #4d4d4d); background-image: -moz-linear-gradient(#666666, #4d4d4d);
background-image: -o-linear-gradient(#666666, #4d4d4d); background-image: -o-linear-gradient(#666666, #4d4d4d);
background-image: linear-gradient(#666666, #4d4d4d); } background-image: linear-gradient(#666666, #4d4d4d); }
/* line 7, ../sass/forms/_selects.scss */ /* line 8, ../sass/forms/_selects.scss */
.form-control.select select { .form-control.select select {
-webkit-appearance: none; -webkit-appearance: none;
-moz-appearance: none; -moz-appearance: none;
@ -223,8 +238,12 @@ input[type="text"] {
color: #999999; color: #999999;
border: none !important; border: none !important;
cursor: pointer; cursor: pointer;
padding: 4px 25px 2px 5px; } padding: 4px 25px 2px 5px;
/* line 16, ../sass/forms/_selects.scss */ width: 120%; }
/* line 17, ../sass/forms/_selects.scss */
.form-control.select select option {
margin: 5px 0; }
/* line 21, ../sass/forms/_selects.scss */
.form-control.select:after { .form-control.select:after {
color: #0099cc; color: #0099cc;
content: "v"; content: "v";
@ -255,9 +274,9 @@ input[type="text"] {
-webkit-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; -webkit-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
-moz-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; -moz-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
background: #666666; background: rgba(255, 255, 255, 0.1);
border: none; border: none;
border-bottom: 1px solid #999999; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
color: #cccccc; color: #cccccc;
outline: none; outline: none;
padding: 0 3px; padding: 0 3px;
@ -267,7 +286,7 @@ input[type="text"] {
max-height: 400px; max-height: 400px;
overflow: auto; overflow: auto;
padding: 5px; } padding: 5px; }
/* line 11, ../sass/forms/_mixins.scss */ /* line 12, ../sass/forms/_mixins.scss */
.channel-selector .treeview.error { .channel-selector .treeview.error {
background: rgba(255, 0, 0, 0.5); } background: rgba(255, 0, 0, 0.5); }
/* line 15, ../sass/forms/_channel-selector.scss */ /* line 15, ../sass/forms/_channel-selector.scss */

View File

@ -138,7 +138,7 @@ span {
*/ } */ }
/* line 51, ../sass/_global.scss */ /* line 51, ../sass/_global.scss */
.abs { .abs, .btn-menu span.l-click-area {
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
@ -255,24 +255,27 @@ span {
.bar .icon.major { .bar .icon.major {
margin-right: 5px; } margin-right: 5px; }
/* line 80, ../sass/user-environ/_layout.scss */ /* line 80, ../sass/user-environ/_layout.scss */
.bar.abs { .bar.abs, .btn-menu span.bar.l-click-area {
text-wrap: none; text-wrap: none;
white-space: nowrap; } white-space: nowrap; }
/* line 84, ../sass/user-environ/_layout.scss */ /* line 84, ../sass/user-environ/_layout.scss */
.bar.abs.left, .bar.abs.left, .btn-menu span.bar.left.l-click-area,
.bar.abs .left { .bar.abs .left,
.btn-menu span.bar.l-click-area .left {
width: 45%; width: 45%;
right: auto; } right: auto; }
/* line 89, ../sass/user-environ/_layout.scss */ /* line 89, ../sass/user-environ/_layout.scss */
.bar.abs.right, .bar.abs.right, .btn-menu span.bar.right.l-click-area,
.bar.abs .right { .bar.abs .right,
.btn-menu span.bar.l-click-area .right {
width: 45%; width: 45%;
left: auto; left: auto;
right: 0; right: 0;
text-align: right; } text-align: right; }
/* line 94, ../sass/user-environ/_layout.scss */ /* line 94, ../sass/user-environ/_layout.scss */
.bar.abs.right .icon.major, .bar.abs.right .icon.major, .btn-menu span.bar.right.l-click-area .icon.major,
.bar.abs .right .icon.major { .bar.abs .right .icon.major,
.btn-menu span.bar.l-click-area .right .icon.major {
margin-left: 15px; } margin-left: 15px; }
/* line 104, ../sass/user-environ/_layout.scss */ /* line 104, ../sass/user-environ/_layout.scss */
@ -343,24 +346,24 @@ span {
/* line 182, ../sass/user-environ/_layout.scss */ /* line 182, ../sass/user-environ/_layout.scss */
.split-layout.horizontal > .pane { .split-layout.horizontal > .pane {
margin-top: 5px; } margin-top: 5px; }
/* line 184, ../sass/user-environ/_layout.scss */ /* line 185, ../sass/user-environ/_layout.scss */
.split-layout.horizontal > .pane:first-child { .split-layout.horizontal > .pane:first-child {
margin-top: 0; } margin-top: 0; }
/* line 191, ../sass/user-environ/_layout.scss */ /* line 192, ../sass/user-environ/_layout.scss */
.split-layout.vertical > .pane { .split-layout.vertical > .pane {
margin-left: 5px; } margin-left: 5px; }
/* line 193, ../sass/user-environ/_layout.scss */ /* line 194, ../sass/user-environ/_layout.scss */
.split-layout.vertical > .pane > .holder { .split-layout.vertical > .pane > .holder {
left: 0; left: 0;
right: 0; } right: 0; }
/* line 197, ../sass/user-environ/_layout.scss */ /* line 198, ../sass/user-environ/_layout.scss */
.split-layout.vertical > .pane:first-child { .split-layout.vertical > .pane:first-child {
margin-left: 0; } margin-left: 0; }
/* line 199, ../sass/user-environ/_layout.scss */ /* line 200, ../sass/user-environ/_layout.scss */
.split-layout.vertical > .pane:first-child .holder { .split-layout.vertical > .pane:first-child .holder {
right: 5px; } right: 5px; }
/* line 208, ../sass/user-environ/_layout.scss */ /* line 209, ../sass/user-environ/_layout.scss */
.vscroll { .vscroll {
overflow-y: auto; } overflow-y: auto; }
@ -497,7 +500,7 @@ span {
color: #fff; color: #fff;
font-weight: normal !important; } font-weight: normal !important; }
/* line 29, ../sass/_about.scss */ /* line 29, ../sass/_about.scss */
.t-about.l-about.abs { .t-about.l-about.abs, .btn-menu span.t-about.l-about.l-click-area {
overflow: auto; } overflow: auto; }
/* line 34, ../sass/_about.scss */ /* line 34, ../sass/_about.scss */
.t-about .l-logo-holder { .t-about .l-logo-holder {
@ -1314,37 +1317,40 @@ label.checkbox.custom {
background-image: linear-gradient(#666666, #4d4d4d); } background-image: linear-gradient(#666666, #4d4d4d); }
/* line 303, ../sass/controls/_controls.scss */ /* line 303, ../sass/controls/_controls.scss */
.btn-menu.dropdown { .btn-menu.dropdown {
padding-right: 7px; } padding-left: 5px;
/* line 308, ../sass/controls/_controls.scss */ padding-right: 5px; }
/* line 309, ../sass/controls/_controls.scss */
.btn-menu:not(.disabled):hover { .btn-menu:not(.disabled):hover {
color: #cccccc; } color: #cccccc; }
/* line 312, ../sass/controls/_controls.scss */ /* line 313, ../sass/controls/_controls.scss */
.btn-menu.btn-invoke-menu { .btn-menu.btn-invoke-menu {
color: #0099cc; color: #0099cc;
padding: 0 5px; } padding: 0 5px; }
/* line 316, ../sass/controls/_controls.scss */ /* line 317, ../sass/controls/_controls.scss */
.btn-menu.btn-invoke-menu:hover { .btn-menu.btn-invoke-menu:hover {
color: deepskyblue; } color: deepskyblue; }
/* line 325, ../sass/controls/_controls.scss */ /* line 327, ../sass/controls/_controls.scss */
.btn-menu .type-icon { .btn-menu .type-icon {
margin-right: 5px; } margin-right: 5px; }
/* line 328, ../sass/controls/_controls.scss */ /* line 330, ../sass/controls/_controls.scss */
.btn-menu .menu { .btn-menu .menu {
position: absolute;
left: 0;
text-align: left; } text-align: left; }
/* line 331, ../sass/controls/_controls.scss */ /* line 335, ../sass/controls/_controls.scss */
.btn-menu .menu .ui-symbol.icon { .btn-menu .menu .ui-symbol.icon {
width: 12px; } width: 12px; }
/* line 337, ../sass/controls/_controls.scss */ /* line 341, ../sass/controls/_controls.scss */
.top-bar .btn-menu { .top-bar .btn-menu {
height: 35px; height: 35px;
line-height: 35px; line-height: 35px;
padding-right: 10px; } padding-right: 10px; }
/* line 345, ../sass/controls/_controls.scss */ /* line 349, ../sass/controls/_controls.scss */
.top-bar .btn-menu.browse-btn { .top-bar .btn-menu.browse-btn {
margin-right: 5px; margin-right: 5px;
padding-left: 35px; } padding-left: 35px; }
/* line 348, ../sass/controls/_controls.scss */ /* line 352, ../sass/controls/_controls.scss */
.top-bar .btn-menu.browse-btn .badge { .top-bar .btn-menu.browse-btn .badge {
-webkit-border-radius: 4.5px; -webkit-border-radius: 4.5px;
-moz-border-radius: 4.5px; -moz-border-radius: 4.5px;
@ -1363,30 +1369,30 @@ label.checkbox.custom {
height: auto; } height: auto; }
/******************************************************** OBJECT-HEADER */ /******************************************************** OBJECT-HEADER */
/* line 365, ../sass/controls/_controls.scss */ /* line 369, ../sass/controls/_controls.scss */
.object-header { .object-header {
display: inline-block; display: inline-block;
font-size: 1em; } font-size: 1em; }
/* line 368, ../sass/controls/_controls.scss */ /* line 372, ../sass/controls/_controls.scss */
.object-header .title { .object-header .title {
color: white; } color: white; }
/* line 371, ../sass/controls/_controls.scss */ /* line 375, ../sass/controls/_controls.scss */
.object-header .type-icon { .object-header .type-icon {
font-size: 1.5em; font-size: 1.5em;
margin-right: 5px; margin-right: 5px;
vertical-align: middle; } vertical-align: middle; }
/* line 380, ../sass/controls/_controls.scss */ /* line 384, ../sass/controls/_controls.scss */
.top-bar .object-header, .top-bar .object-header,
.object-browse-bar .object-header { .object-browse-bar .object-header {
font-size: 1.1em; } font-size: 1.1em; }
/* line 382, ../sass/controls/_controls.scss */ /* line 386, ../sass/controls/_controls.scss */
.top-bar .object-header span, .top-bar .object-header span,
.object-browse-bar .object-header span { .object-browse-bar .object-header span {
display: inline-block; } display: inline-block; }
/******************************************************** VIEW-CONTROLS */ /******************************************************** VIEW-CONTROLS */
/* line 391, ../sass/controls/_controls.scss */ /* line 395, ../sass/controls/_controls.scss */
.view-controls .view-type { .view-controls .view-type {
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
@ -1400,16 +1406,16 @@ label.checkbox.custom {
line-height: 20px; line-height: 20px;
padding-left: 5px; padding-left: 5px;
padding-right: 5px; } padding-right: 5px; }
/* line 402, ../sass/controls/_controls.scss */ /* line 406, ../sass/controls/_controls.scss */
.view-controls .view-type.cur { .view-controls .view-type.cur {
background: #666666; } background: #666666; }
/* line 407, ../sass/controls/_controls.scss */ /* line 411, ../sass/controls/_controls.scss */
.edit-mode .top-bar .control-set.edit-view-controls { .edit-mode .top-bar .control-set.edit-view-controls {
margin-right: 50px; } margin-right: 50px; }
/******************************************************** SLIDERS */ /******************************************************** SLIDERS */
/* line 418, ../sass/controls/_controls.scss */ /* line 422, ../sass/controls/_controls.scss */
.slider .slot { .slider .slot {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
@ -1432,7 +1438,7 @@ label.checkbox.custom {
right: 0; right: 0;
bottom: auto; bottom: auto;
left: 0; } left: 0; }
/* line 429, ../sass/controls/_controls.scss */ /* line 433, ../sass/controls/_controls.scss */
.slider .knob { .slider .knob {
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #4d4d4d), color-stop(100%, #404040)); background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #4d4d4d), color-stop(100%, #404040));
background-image: -webkit-linear-gradient(#4d4d4d, #404040); background-image: -webkit-linear-gradient(#4d4d4d, #404040);
@ -1483,12 +1489,12 @@ label.checkbox.custom {
/* line 120, ../sass/_mixins.scss */ /* line 120, ../sass/_mixins.scss */
.slider .knob:not(.disabled):hover:before { .slider .knob:not(.disabled):hover:before {
border-color: rgba(0, 153, 204, 0.9); } border-color: rgba(0, 153, 204, 0.9); }
/* line 440, ../sass/controls/_controls.scss */ /* line 444, ../sass/controls/_controls.scss */
.slider .knob:before { .slider .knob:before {
top: 1px; top: 1px;
bottom: 3px; bottom: 3px;
left: 5px; } left: 5px; }
/* line 447, ../sass/controls/_controls.scss */ /* line 451, ../sass/controls/_controls.scss */
.slider .range { .slider .range {
background: rgba(0, 153, 204, 0.6); background: rgba(0, 153, 204, 0.6);
cursor: ew-resize; cursor: ew-resize;
@ -1499,12 +1505,12 @@ label.checkbox.custom {
left: auto; left: auto;
height: auto; height: auto;
width: auto; } width: auto; }
/* line 457, ../sass/controls/_controls.scss */ /* line 461, ../sass/controls/_controls.scss */
.slider .range:hover { .slider .range:hover {
background: rgba(0, 153, 204, 0.7); } background: rgba(0, 153, 204, 0.7); }
/******************************************************** BROWSER ELEMENTS */ /******************************************************** BROWSER ELEMENTS */
/* line 465, ../sass/controls/_controls.scss */ /* line 469, ../sass/controls/_controls.scss */
::-webkit-scrollbar { ::-webkit-scrollbar {
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-moz-border-radius: 2px; -moz-border-radius: 2px;
@ -1523,7 +1529,7 @@ label.checkbox.custom {
height: 10px; height: 10px;
width: 10px; } width: 10px; }
/* line 471, ../sass/controls/_controls.scss */ /* line 475, ../sass/controls/_controls.scss */
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
background-image: -webkit-gradient(linear, 50% 0%, 50% 20, color-stop(0%, #666666), color-stop(100%, #595959)); background-image: -webkit-gradient(linear, 50% 0%, 50% 20, color-stop(0%, #666666), color-stop(100%, #595959));
background-image: -webkit-linear-gradient(#666666, #595959 20px); background-image: -webkit-linear-gradient(#666666, #595959 20px);
@ -1542,7 +1548,7 @@ label.checkbox.custom {
-moz-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px; -moz-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px; box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
border-top: 1px solid gray; } border-top: 1px solid gray; }
/* line 478, ../sass/controls/_controls.scss */ /* line 482, ../sass/controls/_controls.scss */
::-webkit-scrollbar-thumb:hover { ::-webkit-scrollbar-thumb:hover {
background-image: -webkit-gradient(linear, 50% 0%, 50% 20, color-stop(0%, #808080), color-stop(100%, #737373)); background-image: -webkit-gradient(linear, 50% 0%, 50% 20, color-stop(0%, #808080), color-stop(100%, #737373));
background-image: -webkit-linear-gradient(#808080, #737373 20px); background-image: -webkit-linear-gradient(#808080, #737373 20px);
@ -1550,7 +1556,7 @@ label.checkbox.custom {
background-image: -o-linear-gradient(#808080, #737373 20px); background-image: -o-linear-gradient(#808080, #737373 20px);
background-image: linear-gradient(#808080, #737373 20px); } background-image: linear-gradient(#808080, #737373 20px); }
/* line 483, ../sass/controls/_controls.scss */ /* line 487, ../sass/controls/_controls.scss */
::-webkit-scrollbar-corner { ::-webkit-scrollbar-corner {
background: rgba(0, 0, 0, 0.4); } background: rgba(0, 0, 0, 0.4); }
@ -1793,7 +1799,7 @@ label.checkbox.custom {
padding: 5px; padding: 5px;
position: relative; } position: relative; }
/* line 24, ../sass/forms/_elems.scss */ /* line 24, ../sass/forms/_elems.scss */
.form .form-row:first-child { .form .form-row.first {
border-top: none; } border-top: none; }
/* line 29, ../sass/forms/_elems.scss */ /* line 29, ../sass/forms/_elems.scss */
.form .form-row .label, .form .form-row .label,
@ -1807,45 +1813,62 @@ label.checkbox.custom {
font-size: 0.75rem; font-size: 0.75rem;
line-height: 22px; line-height: 22px;
min-height: 22px; } min-height: 22px; }
/* line 38, ../sass/forms/_elems.scss */ /* line 39, ../sass/forms/_elems.scss */
.form .form-row > .label { .form .form-row > .label {
float: left; float: left;
position: relative; position: relative;
white-space: nowrap; white-space: nowrap;
width: 20%; } width: 20%; }
/* line 46, ../sass/forms/_elems.scss */ /* line 47, ../sass/forms/_elems.scss */
.form .form-row .value { .form .form-row .value {
color: #cccccc; } color: #cccccc; }
/* line 50, ../sass/forms/_elems.scss */ /* line 51, ../sass/forms/_elems.scss */
.form .form-row .controls { .form .form-row .controls {
float: left; float: left;
position: relative; position: relative;
width: 79%; } width: 79.9%; }
/* line 55, ../sass/forms/_elems.scss */ /* line 58, ../sass/forms/_elems.scss */
.form .form-row .controls .l-composite-control { .form .form-row .controls .l-composite-control.l-checkbox {
display: inline-block; } display: inline-block;
/* line 57, ../sass/forms/_elems.scss */ line-height: 14px;
.form .form-row .controls .l-composite-control.l-checkbox { margin-right: 5px; }
line-height: 14px; /* line 67, ../sass/forms/_elems.scss */
margin-right: 5px; } .form .form-row .controls input[type="text"] {
/* line 65, ../sass/forms/_elems.scss */ height: 22px;
line-height: 22px;
margin-top: -4px;
vertical-align: baseline; }
/* line 74, ../sass/forms/_elems.scss */
.form .form-row .controls .l-med input[type="text"] {
width: 200px; }
/* line 78, ../sass/forms/_elems.scss */
.form .form-row .controls .l-small input[type="text"] {
width: 50px; }
/* line 82, ../sass/forms/_elems.scss */
.form .form-row .controls .l-numeric input[type="text"] {
text-align: right; }
/* line 86, ../sass/forms/_elems.scss */
.form .form-row .controls .select { .form .form-row .controls .select {
margin-right: 5px; } margin-right: 5px; }
/* line 70, ../sass/forms/_elems.scss */ /* line 91, ../sass/forms/_elems.scss */
.form .form-row .field-hints { .form .form-row .field-hints {
color: #666666; } color: #666666; }
/* line 74, ../sass/forms/_elems.scss */ /* line 95, ../sass/forms/_elems.scss */
.form .form-row .selector-list { .form .form-row .selector-list {
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
-ms-border-radius: 3px; -ms-border-radius: 3px;
-o-border-radius: 3px; -o-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background: rgba(0, 0, 0, 0.2); background: rgba(0, 0, 0, 0.2);
padding: 5px;
position: relative; position: relative;
height: 150px; height: 150px;
max-width: 50%; } overflow: auto; }
/* line 82, ../sass/forms/_elems.scss */ /* line 106, ../sass/forms/_elems.scss */
.form .form-row .selector-list .wrapper { .form .form-row .selector-list .wrapper {
overflow-y: auto; overflow-y: auto;
position: absolute; position: absolute;
@ -1854,24 +1877,24 @@ label.checkbox.custom {
bottom: 5px; bottom: 5px;
left: 5px; } left: 5px; }
/* line 96, ../sass/forms/_elems.scss */ /* line 120, ../sass/forms/_elems.scss */
label.form-control.checkbox input { label.form-control.checkbox input {
margin-right: 5px; margin-right: 5px;
vertical-align: top; } vertical-align: top; }
/* line 103, ../sass/forms/_elems.scss */ /* line 127, ../sass/forms/_elems.scss */
.hint, .hint,
.s-hint { .s-hint {
font-size: 0.9em; } font-size: 0.9em; }
/* line 107, ../sass/forms/_elems.scss */ /* line 131, ../sass/forms/_elems.scss */
.l-result { .l-result {
display: inline-block; display: inline-block;
min-width: 32px; min-width: 32px;
min-height: 32px; min-height: 32px;
position: relative; position: relative;
vertical-align: top; } vertical-align: top; }
/* line 114, ../sass/forms/_elems.scss */ /* line 138, ../sass/forms/_elems.scss */
.l-result div.s-hint { .l-result div.s-hint {
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
@ -1933,19 +1956,16 @@ input[type="text"] {
-webkit-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; -webkit-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
-moz-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; -moz-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
background: #666666; background: rgba(255, 255, 255, 0.1);
border: none; border: none;
border-bottom: 1px solid #999999; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
color: #cccccc; color: #cccccc;
outline: none; outline: none;
padding: 0 3px; padding: 0 3px; }
height: 22px; /* line 12, ../sass/forms/_mixins.scss */
line-height: 22px;
vertical-align: middle; }
/* line 11, ../sass/forms/_mixins.scss */
input[type="text"].error { input[type="text"].error {
background: rgba(255, 0, 0, 0.5); } background: rgba(255, 0, 0, 0.5); }
/* line 11, ../sass/forms/_text-input.scss */ /* line 8, ../sass/forms/_text-input.scss */
input[type="text"].numeric { input[type="text"].numeric {
text-align: right; } text-align: right; }
@ -1974,6 +1994,7 @@ input[type="text"] {
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
margin: 0 0 2px 2px; margin: 0 0 2px 2px;
overflow: hidden;
position: relative; } position: relative; }
/* line 127, ../sass/_mixins.scss */ /* line 127, ../sass/_mixins.scss */
.form-control.select:not(.disabled):hover { .form-control.select:not(.disabled):hover {
@ -1982,7 +2003,7 @@ input[type="text"] {
background-image: -moz-linear-gradient(#666666, #4d4d4d); background-image: -moz-linear-gradient(#666666, #4d4d4d);
background-image: -o-linear-gradient(#666666, #4d4d4d); background-image: -o-linear-gradient(#666666, #4d4d4d);
background-image: linear-gradient(#666666, #4d4d4d); } background-image: linear-gradient(#666666, #4d4d4d); }
/* line 7, ../sass/forms/_selects.scss */ /* line 8, ../sass/forms/_selects.scss */
.form-control.select select { .form-control.select select {
-webkit-appearance: none; -webkit-appearance: none;
-moz-appearance: none; -moz-appearance: none;
@ -1994,8 +2015,12 @@ input[type="text"] {
color: #999999; color: #999999;
border: none !important; border: none !important;
cursor: pointer; cursor: pointer;
padding: 4px 25px 2px 5px; } padding: 4px 25px 2px 5px;
/* line 16, ../sass/forms/_selects.scss */ width: 120%; }
/* line 17, ../sass/forms/_selects.scss */
.form-control.select select option {
margin: 5px 0; }
/* line 21, ../sass/forms/_selects.scss */
.form-control.select:after { .form-control.select:after {
color: #0099cc; color: #0099cc;
content: "v"; content: "v";
@ -2026,9 +2051,9 @@ input[type="text"] {
-webkit-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; -webkit-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
-moz-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; -moz-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
background: #666666; background: rgba(255, 255, 255, 0.1);
border: none; border: none;
border-bottom: 1px solid #999999; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
color: #cccccc; color: #cccccc;
outline: none; outline: none;
padding: 0 3px; padding: 0 3px;
@ -2038,7 +2063,7 @@ input[type="text"] {
max-height: 400px; max-height: 400px;
overflow: auto; overflow: auto;
padding: 5px; } padding: 5px; }
/* line 11, ../sass/forms/_mixins.scss */ /* line 12, ../sass/forms/_mixins.scss */
.channel-selector .treeview.error { .channel-selector .treeview.error {
background: rgba(255, 0, 0, 0.5); } background: rgba(255, 0, 0, 0.5); }
/* line 15, ../sass/forms/_channel-selector.scss */ /* line 15, ../sass/forms/_channel-selector.scss */
@ -2092,15 +2117,15 @@ input[type="text"] {
-webkit-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; -webkit-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
-moz-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; -moz-box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px; box-shadow: inset rgba(0, 0, 0, 0.5) 0 1px 5px;
background: #666666; background: rgba(255, 255, 255, 0.1);
border: none; border: none;
border-bottom: 1px solid #999999; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
color: #cccccc; color: #cccccc;
outline: none; outline: none;
padding: 0 3px; padding: 0 3px;
background: #3b3b3b; background: #3b3b3b;
border-bottom: 1px solid #4d4d4d; } border-bottom: 1px solid #4d4d4d; }
/* line 11, ../sass/forms/_mixins.scss */ /* line 12, ../sass/forms/_mixins.scss */
.filter input.filter.error, .filter input.filter.error,
.filter input.t-filter-input.error, .filter input.t-filter-input.error,
.t-filter input.filter.error, .t-filter input.filter.error,
@ -2456,17 +2481,20 @@ input[type="text"] {
left: 25px; } left: 25px; }
/* line 29, ../sass/overlay/_overlay.scss */ /* line 29, ../sass/overlay/_overlay.scss */
.overlay .title { .overlay .title {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 1.3em; } font-size: 1.3em; }
/* line 33, ../sass/overlay/_overlay.scss */ /* line 34, ../sass/overlay/_overlay.scss */
.overlay .top-bar { .overlay .top-bar {
height: 60px; } height: 60px; }
/* line 37, ../sass/overlay/_overlay.scss */ /* line 38, ../sass/overlay/_overlay.scss */
.overlay .editor { .overlay .editor {
top: 70px; top: 70px;
bottom: 50px; bottom: 50px;
left: 0; left: 0;
right: 0; } right: 0; }
/* line 43, ../sass/overlay/_overlay.scss */ /* line 44, ../sass/overlay/_overlay.scss */
.overlay .bottom-bar { .overlay .bottom-bar {
top: auto; top: auto;
right: 0; right: 0;
@ -2475,10 +2503,10 @@ input[type="text"] {
font-size: 1em; font-size: 1em;
height: 40px; height: 40px;
text-align: right; } text-align: right; }
/* line 48, ../sass/overlay/_overlay.scss */ /* line 49, ../sass/overlay/_overlay.scss */
.overlay .bottom-bar .btn { .overlay .bottom-bar .btn {
margin-left: 10px; } margin-left: 10px; }
/* line 52, ../sass/overlay/_overlay.scss */ /* line 53, ../sass/overlay/_overlay.scss */
.overlay .contents.l-dialog { .overlay .contents.l-dialog {
overflow: auto; } overflow: auto; }
@ -2489,15 +2517,15 @@ input[type="text"] {
/* line 7, ../sass/user-environ/_frame.scss */ /* line 7, ../sass/user-environ/_frame.scss */
.frame.child-frame.panel:hover { .frame.child-frame.panel:hover {
border-color: #666666; } border-color: #666666; }
/* line 11, ../sass/user-environ/_frame.scss */ /* line 14, ../sass/user-environ/_frame.scss */
.frame > .object-header.abs { .frame > .object-header.abs, .btn-menu .frame > span.object-header.l-click-area {
font-size: 0.75em; font-size: 0.75em;
height: 20px; } height: 20px; }
/* line 15, ../sass/user-environ/_frame.scss */ /* line 18, ../sass/user-environ/_frame.scss */
.frame > .object-holder.abs { .frame > .object-holder.abs, .btn-menu .frame > span.object-holder.l-click-area {
top: 23px; } top: 23px; }
/* line 21, ../sass/user-environ/_frame.scss */ /* line 24, ../sass/user-environ/_frame.scss */
.edit-main .frame.child-frame.panel:hover { .edit-main .frame.child-frame.panel:hover {
border-color: #0099cc; border-color: #0099cc;
-webkit-box-shadow: rgba(0, 0, 0, 0.7) 0 3px 10px; -webkit-box-shadow: rgba(0, 0, 0, 0.7) 0 3px 10px;
@ -2530,7 +2558,7 @@ input[type="text"] {
.edit-mode .top-bar .buttons-main { .edit-mode .top-bar .buttons-main {
white-space: nowrap; } white-space: nowrap; }
/* line 37, ../sass/user-environ/_top-bar.scss */ /* line 37, ../sass/user-environ/_top-bar.scss */
.edit-mode .top-bar .buttons-main.abs { .edit-mode .top-bar .buttons-main.abs, .edit-mode .top-bar .btn-menu span.buttons-main.l-click-area, .btn-menu .edit-mode .top-bar span.buttons-main.l-click-area {
bottom: auto; bottom: auto;
left: auto; } left: auto; }
@ -2685,21 +2713,17 @@ input[type="text"] {
right: 0; } right: 0; }
/* line 21, ../sass/helpers/_splitter.scss */ /* line 21, ../sass/helpers/_splitter.scss */
.split-layout.horizontal .pane.top { .split-layout.horizontal .pane.top {
bottom: auto; bottom: auto; }
height: 70%; }
/* line 25, ../sass/helpers/_splitter.scss */ /* line 25, ../sass/helpers/_splitter.scss */
.split-layout.horizontal .pane.bottom { .split-layout.horizontal .pane.bottom {
top: auto; top: auto; }
height: 30%; }
/* line 30, ../sass/helpers/_splitter.scss */ /* line 30, ../sass/helpers/_splitter.scss */
.split-layout.horizontal > .splitter { .split-layout.horizontal > .splitter {
cursor: row-resize; cursor: row-resize;
left: 0; left: 0;
right: 0; right: 0;
width: auto; width: auto;
height: 5px; height: 5px; }
margin-top: -7px;
top: 70%; }
/* line 99, ../sass/_mixins.scss */ /* line 99, ../sass/_mixins.scss */
.split-layout.horizontal > .splitter:before { .split-layout.horizontal > .splitter:before {
content: ''; content: '';
@ -2720,19 +2744,15 @@ input[type="text"] {
bottom: 0; } bottom: 0; }
/* line 45, ../sass/helpers/_splitter.scss */ /* line 45, ../sass/helpers/_splitter.scss */
.split-layout.vertical .pane.left { .split-layout.vertical .pane.left {
right: auto; right: auto; }
width: 84%; }
/* line 49, ../sass/helpers/_splitter.scss */ /* line 49, ../sass/helpers/_splitter.scss */
.split-layout.vertical .pane.right { .split-layout.vertical .pane.right {
left: auto; left: auto; }
width: 15%; }
/* line 54, ../sass/helpers/_splitter.scss */ /* line 54, ../sass/helpers/_splitter.scss */
.split-layout.vertical > .splitter { .split-layout.vertical > .splitter {
bottom: 0; bottom: 0;
cursor: col-resize; cursor: col-resize;
width: 5px; width: 5px; }
margin-left: -7px;
left: 85%; }
/* line 99, ../sass/_mixins.scss */ /* line 99, ../sass/_mixins.scss */
.split-layout.vertical > .splitter:before { .split-layout.vertical > .splitter:before {
content: ''; content: '';

View File

@ -295,13 +295,14 @@ label.checkbox.custom {
.btn-menu { .btn-menu {
$h: 20px; $h: 20px;
$p: 7px; $p: $interiorMargin;
$c: $colorBodyFg; $c: $colorBodyFg;
@include btnSubtle($colorBodyBg); @include btnSubtle($colorBodyBg);
height: $h; height: $h;
line-height: $h; line-height: $h;
&.dropdown { &.dropdown {
// padding-left: $p; // padding-left: $p;
padding-left: $p;
padding-right: $p; padding-right: $p;
} }
@ -318,8 +319,9 @@ label.checkbox.custom {
} }
} }
.l-click-area { span.l-click-area {
// @include test(); // In markup, this element should not enclose anything.
@extend .abs;
} }
.type-icon { .type-icon {
@ -327,6 +329,8 @@ label.checkbox.custom {
} }
.menu { .menu {
// margin-left: (-1 * $p); // margin-left: (-1 * $p);
position: absolute;
left: 0;
text-align: left; text-align: left;
.ui-symbol.icon { .ui-symbol.icon {
width: 12px; width: 12px;

View File

@ -21,12 +21,13 @@
margin-top: $interiorMargin; margin-top: $interiorMargin;
padding: $interiorMargin; padding: $interiorMargin;
position: relative; position: relative;
&:first-child { &.first {
border-top: none; border-top: none;
} }
.label, .label,
.controls { .controls {
// @include test(orange);
@include box-sizing(border-box); @include box-sizing(border-box);
@include clearfix; @include clearfix;
box-sizing: border-box; box-sizing: border-box;
@ -50,18 +51,38 @@
.controls { .controls {
float: left; float: left;
position: relative; position: relative;
width: 99% - $formLabelW; // Start with less than 100% for Firefox width: 99.9% - $formLabelW; // Start with less than 100% for Firefox
.l-composite-control { .l-composite-control {
display: inline-block; // display: inline-block;
&.l-checkbox { &.l-checkbox {
// @include test(); // @include test();
// height: $formRowCtrlsH; // height: $formRowCtrlsH;
display: inline-block;
line-height: $formRowCtrlsH; line-height: $formRowCtrlsH;
margin-right: 5px; margin-right: 5px;
} }
} }
input[type="text"] {
height: $formInputH;
line-height: $formInputH;
margin-top: -4px;
vertical-align: baseline;
}
.l-med input[type="text"] {
width: 200px;
}
.l-small input[type="text"] {
width: 50px;
}
.l-numeric input[type="text"] {
text-align: right;
}
.select { .select {
margin-right: $interiorMargin; margin-right: $interiorMargin;
} }
@ -75,10 +96,13 @@
// Used in create overlay to display tree view // Used in create overlay to display tree view
$h: 150px; $h: 150px;
@include border-radius($basicCr); @include border-radius($basicCr);
@include box-sizing(border-box);
background: rgba(black, 0.2); background: rgba(black, 0.2);
padding: $interiorMargin;
position: relative; position: relative;
height: $h; height: $h;
max-width: 50%; overflow: auto;
// max-width: 50%;
.wrapper { .wrapper {
$p: $interiorMargin; $p: $interiorMargin;
overflow-y: auto; overflow-y: auto;

View File

@ -3,9 +3,10 @@
@include border-radius($controlCr); @include border-radius($controlCr);
@include box-sizing(border-box); @include box-sizing(border-box);
@include box-shadow(inset rgba(black, 0.5) 0 1px 5px); @include box-shadow(inset rgba(black, 0.5) 0 1px 5px);
background: lighten($bg, 20%); // background: lighten($bg, 20%);
background: rgba(#fff, 0.1);
border: none; border: none;
border-bottom: 1px solid lighten($bg, 40%); border-bottom: 1px solid rgba(#fff, 0.1);
color: lighten($fg, 20%); color: lighten($fg, 20%);
outline: none; outline: none;
&.error { &.error {

View File

@ -3,6 +3,7 @@
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
margin: 0 0 2px 2px; // Needed to avoid dropshadow from being clipped by parent containers margin: 0 0 2px 2px; // Needed to avoid dropshadow from being clipped by parent containers
overflow: hidden;
position: relative; position: relative;
select { select {
@include appearance(none); @include appearance(none);
@ -12,6 +13,10 @@
border: none !important; border: none !important;
cursor: pointer; cursor: pointer;
padding: 4px 25px 2px 5px; padding: 4px 25px 2px 5px;
width: 120%;
option {
margin: $interiorMargin 0; // Firefox
}
} }
&:after { &:after {
color: $colorKey; color: $colorKey;
@ -21,6 +26,5 @@
pointer-events: none; pointer-events: none;
position: absolute; position: absolute;
right: $interiorMargin; top: 0; right: $interiorMargin; top: 0;
// z-index: 2;
} }
} }

View File

@ -1,8 +1,5 @@
input[type="text"] { input[type="text"] {
@include nice-input(); @include nice-input();
height: $formInputH;
line-height: $formInputH;
vertical-align: middle;
&.filter { &.filter {
&.ng-dirty { &.ng-dirty {
// background: red; // background: red;

View File

@ -20,11 +20,11 @@
right: 0; right: 0;
&.top { &.top {
bottom: auto; bottom: auto;
height: $splitT; // height: $splitT;
} }
&.bottom { &.bottom {
top: auto; top: auto;
height: 100% - $splitT; // height: 100% - $splitT;
} }
} }
>.splitter { >.splitter {
@ -33,8 +33,8 @@
left: 0; right: 0; left: 0; right: 0;
width: auto; width: auto;
height: $splitterD; height: $splitterD;
margin-top: ($splitterD + 2) * -1; // margin-top: ($splitterD + 2) * -1; // Controlled by splitter
top: $splitT; // top: $splitT; // Controlled by splitter
} }
} }
&.vertical { &.vertical {
@ -44,11 +44,11 @@
bottom: 0; bottom: 0;
&.left { &.left {
right: auto; right: auto;
width: $splitL - 1%; // width: $splitL - 1%; // Controlled by splitter
} }
&.right { &.right {
left: auto; left: auto;
width: 100% - $splitL; // width: 100% - $splitL; // Controlled by splitter
} }
} }
>.splitter { >.splitter {
@ -56,8 +56,8 @@
bottom: 0; bottom: 0;
cursor: col-resize; cursor: col-resize;
width: $splitterD; width: $splitterD;
margin-left: ($splitterD + 2) * -1; // margin-left: ($splitterD + 2) * -1; // Controlled by splitter
left: $splitL; // left: $splitL; // Controlled by splitter
} }
} }
} }

View File

@ -27,6 +27,7 @@
} }
} }
.title { .title {
@include ellipsize();
font-size: 1.3em; font-size: 1.3em;
} }

View File

@ -7,6 +7,9 @@
&:hover { &:hover {
border-color: lighten($bc, 10%); border-color: lighten($bc, 10%);
} }
.contents {
// overflow: hidden;
}
} }
>.object-header.abs { >.object-header.abs {
font-size: 0.75em; font-size: 0.75em;

View File

@ -180,6 +180,7 @@
&.horizontal { &.horizontal {
// Slides up and down // Slides up and down
>.pane { >.pane {
// @include test();
margin-top: $interiorMargin; margin-top: $interiorMargin;
&:first-child { &:first-child {
margin-top: 0; margin-top: 0;

View File

@ -4,11 +4,12 @@
ng-if="view.length > 1" ng-if="view.length > 1"
ng-controller="ClickAwayController as toggle"> ng-controller="ClickAwayController as toggle">
<span ng-click="toggle.toggle()"> <span class="l-click-area" ng-click="toggle.toggle()"></span>
<span class="ui-symbol icon type-icon">{{ngModel.selected.glyph}}</span>
<span>{{ngModel.selected.name}}</span> <span class="ui-symbol icon type-icon">{{ngModel.selected.glyph}}</span>
<span class='ui-symbol icon invoke-menu'>v</span> <span>{{ngModel.selected.name}}</span>
</span> <span class='ui-symbol icon invoke-menu'>v</span>
<div class="menu dropdown" ng-show="toggle.isActive()"> <div class="menu dropdown" ng-show="toggle.isActive()">
<ul> <ul>

View File

@ -58,6 +58,8 @@ define(
maximum, maximum,
Math.max(minimum, start + delta) Math.max(minimum, start + delta)
); );
//console.log(current + "; minimum: " + minimum + "; max: " + maximum);
} }
}; };
} }

View File

@ -104,7 +104,8 @@
"key": "name", "key": "name",
"property": "name", "property": "name",
"pattern": "\\S+", "pattern": "\\S+",
"required": true "required": true,
"cssclass": "l-med"
}, },
{ {
"control": "checkbox", "control": "checkbox",

View File

@ -204,26 +204,19 @@
"model": { "composition": [] }, "model": { "composition": [] },
"properties": [ "properties": [
{ {
"name": "Preferred Size", "name": "Layout Grid",
"control": "select",
"options": [
{ "name": "Fit to Window", "value": "FIT" },
{ "name": "Fixed Size", "value": "FIXED" }
],
"key": "preferredSize"
},
{
"label": "Layout Grid",
"control": "composite", "control": "composite",
"pattern": "^(\\d*[1-9]\\d*)?$", "pattern": "^(\\d*[1-9]\\d*)?$",
"items": [ "items": [
{ {
"name": "Horizontal grid (px)", "name": "Horizontal grid (px)",
"control": "textfield" "control": "textfield",
"cssclass": "l-small l-numeric"
}, },
{ {
"name": "Vertical grid (px)", "name": "Vertical grid (px)",
"control": "textfield" "control": "textfield",
"cssclass": "l-small l-numeric"
} }
], ],
"key": "layoutGrid", "key": "layoutGrid",
@ -240,34 +233,19 @@
"features": "creation", "features": "creation",
"model": { "composition": [] }, "model": { "composition": [] },
"properties": [ "properties": [
{
"name": "Preferred Size",
"control": "composite",
"items": [
{
"name": "Width (px)",
"control": "textfield"
},
{
"name": "Height (px)",
"control": "textfield"
}
],
"pattern": "^(\\d*[1-9]\\d*)?$",
"property": "preferredSize",
"conversion": "number[]"
},
{ {
"name": "Layout Grid", "name": "Layout Grid",
"control": "composite", "control": "composite",
"items": [ "items": [
{ {
"name": "Horizontal grid (px)", "name": "Horizontal grid (px)",
"control": "textfield" "control": "textfield",
"cssclass": "l-small l-numeric"
}, },
{ {
"name": "Vertical grid (px)", "name": "Vertical grid (px)",
"control": "textfield" "control": "textfield",
"cssclass": "l-small l-numeric"
} }
], ],
"pattern": "^(\\d*[1-9]\\d*)?$", "pattern": "^(\\d*[1-9]\\d*)?$",

View File

@ -91,11 +91,11 @@
ng-if="plot.getModeOptions().length > 1" ng-if="plot.getModeOptions().length > 1"
ng-controller="ClickAwayController as toggle"> ng-controller="ClickAwayController as toggle">
<span ng-click="toggle.toggle()"> <span class="l-click-area" ng-click="toggle.toggle()"></span>
<span class="ui-symbol icon type-icon">{{plot.getMode().glyph}}</span>
<span>{{plot.getMode().name}}</span> <span class="ui-symbol icon type-icon">{{plot.getMode().glyph}}</span>
<span class='ui-symbol icon invoke-menu'>v</span> <span>{{plot.getMode().name}}</span>
</span> <span class='ui-symbol icon invoke-menu'>v</span>
<div class="menu dropdown" ng-show="toggle.isActive()"> <div class="menu dropdown" ng-show="toggle.isActive()">
<ul> <ul>

View File

@ -3,13 +3,14 @@
ng-controller="ClickAwayController as toggle" ng-controller="ClickAwayController as toggle"
> >
<span ng-click="toggle.toggle()"> <span class="l-click-area" ng-click="toggle.toggle()"></span>
<span class="ui-symbol icon">{{structure.glyph}}</span>
<span class="title-label" ng-if="structure.text"> <span class="ui-symbol icon">{{structure.glyph}}</span>
{{structure.text}} <span class="title-label" ng-if="structure.text">
</span> {{structure.text}}
<span class='ui-symbol icon invoke-menu' ng-if="!structure.text">v</span>
</span> </span>
<span class='ui-symbol icon invoke-menu' ng-if="!structure.text">v</span>
<div <div
class="menu dropdown l-color-palette" class="menu dropdown l-color-palette"

View File

@ -1,6 +1,6 @@
<span ng-controller="CompositeController as compositeCtrl"> <span ng-controller="CompositeController as compositeCtrl">
<ng-form name="mctFormItem" ng-repeat="item in structure.items"> <ng-form name="mctFormItem" ng-repeat="item in structure.items">
<div class="l-composite-control l-{{item.control}}"> <div class="l-composite-control l-{{item.control}} {{item.cssclass}}">
<mct-control key="item.control" <mct-control key="item.control"
ng-model="ngModel[field]" ng-model="ngModel[field]"
ng-required="ngRequired || compositeCtrl.isNonEmpty(ngModel[field])" ng-required="ngRequired || compositeCtrl.isNonEmpty(ngModel[field])"

View File

@ -1,15 +1,15 @@
<div class="t-btn l-btn s-btn s-icon-btn s-very-subtle btn-menu menu-element dropdown click-invoke" <div class="t-btn l-btn s-btn s-icon-btn s-very-subtle btn-menu menu-element dropdown click-invoke"
ng-controller="ClickAwayController as toggle"> ng-controller="ClickAwayController as toggle">
<span class="l-click-area" ng-click="toggle.toggle()"> <span class="l-click-area" ng-click="toggle.toggle()"></span>
<span class="ui-symbol icon">{{structure.glyph}}</span>
<span class="title-label" ng-if="structure.text"> <span class="ui-symbol icon">{{structure.glyph}}</span>
{{structure.text}} <span class="title-label" ng-if="structure.text">
</span> {{structure.text}}
<span class='ui-symbol icon invoke-menu' </span>
ng-if="!structure.text"> <span class='ui-symbol icon invoke-menu'
v ng-if="!structure.text">
</span> v
</span> </span>
<div class="menu dropdown" ng-show="toggle.isActive()"> <div class="menu dropdown" ng-show="toggle.isActive()">

View File

@ -1,5 +1,5 @@
<span class='form-control shell'> <span class='form-control shell'>
<span class='field control'> <span class='field control {{structure.cssclass}}'>
<input type="text" <input type="text"
ng-required="ngRequired" ng-required="ngRequired"
ng-model="ngModel[field]" ng-model="ngModel[field]"

View File

@ -11,7 +11,8 @@
ng-class="{ ng-class="{
req: row.required, req: row.required,
valid: mctFormInner.$dirty && mctFormInner.$valid, valid: mctFormInner.$dirty && mctFormInner.$valid,
invalid: mctFormInner.$dirty && !mctFormInner.$valid invalid: mctFormInner.$dirty && !mctFormInner.$valid,
first: $index < 1
}"> }">
<div class='label' title="{{row.description}}"> <div class='label' title="{{row.description}}">