[Frontend] Inspector styling, in progress

open #90
This commit is contained in:
Charles Hacskaylo
2015-10-23 12:35:55 -07:00
parent 1d3870d07f
commit a7ea4c3c6e
8 changed files with 210 additions and 6473 deletions

View File

@@ -19,17 +19,55 @@
* this source code distribution or the Licensing information page available
* at runtime from the About dialog for additional information.
*****************************************************************************/
/* Classes to be used for lists of properties and values */
/* Styles for the Inspector pane */
.properties {
.s-row {
border-top: 1px solid $colorInteriorBorder;
font-size: 0.8em;
&:first-child {
//.pane.right.t-inspect { @include test(green, 0.3); } // TEMP!
.t-inspector,
.t-inspector table tr td {
font-size: 0.7rem;
}
.t-inspector {
ul li,
em {
display: block;
position: relative;
}
ul li {
line-height: 130%;
margin-bottom: $interiorMarginLg * 2;
}
em {
@include border-radius($basicCr);
background-color: $colorInspectorSectionHeaderBg;
color: $colorInspectorSectionHeaderFg;
margin-bottom: $interiorMargin;
padding: $formTBPad $formLRPad;
text-transform: uppercase;
}
table tr {
td {
border: none;
border-top: 1px solid $colorInteriorBorder !important;
padding: 2px 0;
vertical-align: top;
&.label {
color: $colorInspectorPropName !important;
padding-right: $interiorMargin !important;
white-space: nowrap;
}
&.value {
//word-wrap: break-word; // Doesn't work in <td>?
word-break: break-all;
}
}
.s-value {
color: #fff;
&:first-child td {
border-top: none !important;
}
}
}

View File

@@ -30,7 +30,7 @@
@import "helpers/splitter";
@import "helpers/wait-spinner";
@import "messages";
@import "properties";
@import "inspector";
/********************************* CONTROLS */
@import "controls/breadcrumb";

View File

@@ -427,10 +427,6 @@
}
}
.pane.right.t-inspect {
@include test(orange, 0.3); // TEMP!
}
@include desktop {
.pane:not(.resizing) {
@include trans-prop-nice-resize-w(250ms);