[Frontend] Cleanups to Inspector config elements
open #729 In-progress! Markup and CSS modified to cleanup control layout and styling in Plot and Table config options; gulpfile.js modified to include SASS source line numbers in rendered CSS;
This commit is contained in:
@@ -60,7 +60,8 @@ var gulp = require('gulp'),
|
|||||||
singleRun: true
|
singleRun: true
|
||||||
},
|
},
|
||||||
sass: {
|
sass: {
|
||||||
includePaths: bourbon.includePaths
|
includePaths: bourbon.includePaths,
|
||||||
|
sourceComments: true
|
||||||
},
|
},
|
||||||
replace: {
|
replace: {
|
||||||
variables: {
|
variables: {
|
||||||
|
|||||||
@@ -61,9 +61,23 @@
|
|||||||
.l-inspector-part {
|
.l-inspector-part {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding-right: $interiorMargin;
|
padding-right: $interiorMargin;
|
||||||
.form {
|
.tree .form {
|
||||||
margin-left: $treeVCW + $interiorMarginLg;
|
margin-left: $treeVCW + $interiorMarginLg;
|
||||||
margin-bottom: $interiorMarginLg;
|
}
|
||||||
|
.section-header {
|
||||||
|
background: none;
|
||||||
|
color: $colorInspectorPropName;
|
||||||
|
border-radius: unset;
|
||||||
|
font-size: inherit;
|
||||||
|
padding: $interiorMarginSm 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
mct-form:not(:last-child) .form {
|
||||||
|
border-bottom: 1px solid $colorInspectorSectionHeaderBg;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form {
|
||||||
|
margin-bottom: $interiorMargin;
|
||||||
.form-section {
|
.form-section {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
&:not(.first) {
|
&:not(.first) {
|
||||||
|
|||||||
@@ -19,6 +19,14 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
.form {
|
||||||
|
color: $colorFormText;
|
||||||
|
width: 100%;
|
||||||
|
.form-section {
|
||||||
|
position: relative;
|
||||||
|
margin-bottom: $interiorMarginLg * 2;
|
||||||
|
}
|
||||||
|
|
||||||
.section-header {
|
.section-header {
|
||||||
border-radius: $basicCr;
|
border-radius: $basicCr;
|
||||||
background: $colorFormSectionHeader;
|
background: $colorFormSectionHeader;
|
||||||
@@ -29,14 +37,6 @@
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form {
|
|
||||||
color: $colorFormText;
|
|
||||||
width: 100%;
|
|
||||||
.form-section {
|
|
||||||
position: relative;
|
|
||||||
margin-bottom: $interiorMarginLg * 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-row {
|
.form-row {
|
||||||
$m: $interiorMargin;
|
$m: $interiorMargin;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@@ -52,9 +52,9 @@
|
|||||||
>.label,
|
>.label,
|
||||||
>.controls {
|
>.controls {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@include clearfix;
|
//@include clearfix;
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
line-height: $formInputH;
|
//line-height: $formInputH;
|
||||||
min-height: $formInputH;
|
min-height: $formInputH;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
name="yAxisFormState"
|
name="yAxisFormState"
|
||||||
class="flex-elem l-flex-row no-validate no-margin reduced-min-width">
|
class="flex-elem l-flex-row no-validate no-margin reduced-min-width">
|
||||||
</mct-form>
|
</mct-form>
|
||||||
|
<div class="form">
|
||||||
<div class="section-header ng-binding ng-scope">
|
<div class="section-header ng-binding ng-scope">
|
||||||
Plot Series
|
Plot Series
|
||||||
</div>
|
</div>
|
||||||
@@ -74,3 +75,4 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
this source code distribution or the Licensing information page available
|
this source code distribution or the Licensing information page available
|
||||||
at runtime from the About dialog for additional information.
|
at runtime from the About dialog for additional information.
|
||||||
-->
|
-->
|
||||||
<div ng-controller="TableOptionsController" class="flex-elem grows l-inspector-part">
|
<div ng-controller="TableOptionsController" class="l-controls-first flex-elem grows l-inspector-part">
|
||||||
<em class="t-inspector-part-header" title="Display properties for this object">Display</em>
|
<em class="t-inspector-part-header" title="Display properties for this object">Display</em>
|
||||||
<mct-form
|
<mct-form
|
||||||
ng-model="configuration.table.columns"
|
ng-model="configuration.table.columns"
|
||||||
|
|||||||
Reference in New Issue
Block a user