|
@@ -0,0 +1,353 @@
|
|
|
+@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css);
|
|
|
+@import url(http://fonts.googleapis.com/css?family=Inconsolata);
|
|
|
+
|
|
|
+@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css);
|
|
|
+@import url(http://fonts.googleapis.com/css?family=Inconsolata);
|
|
|
+.insp-wrapper {
|
|
|
+ user-select: none;
|
|
|
+ display: flex;
|
|
|
+ font-size: 0.9em;
|
|
|
+ font-family: "Inconsolata", sans-serif;
|
|
|
+ /**
|
|
|
+ * A tool contained in the tree panel (available for each item of the tree)
|
|
|
+ */
|
|
|
+ /**
|
|
|
+ * The toolbar contains :
|
|
|
+ * - a refresh tool - refresh the whole panel
|
|
|
+ * - a popup tool - Open the inspector in a new panel
|
|
|
+ * ...
|
|
|
+ */ }
|
|
|
+ .insp-wrapper .gutter {
|
|
|
+ background-color: #2c2c2c; }
|
|
|
+ .insp-wrapper .gutter.gutter-vertical {
|
|
|
+ cursor: ns-resize; }
|
|
|
+ .insp-wrapper .gutter.gutter-horizontal {
|
|
|
+ cursor: ew-resize; }
|
|
|
+ .insp-wrapper .insp-right-panel {
|
|
|
+ width: 750px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ flex-shrink: 0; }
|
|
|
+ .insp-wrapper .insp-right-panel .top-panel {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ position: relative;
|
|
|
+ background-color: #242424;
|
|
|
+ color: #ccc;
|
|
|
+ font-size: 1em; }
|
|
|
+ .insp-wrapper .insp-right-panel .top-panel .tab-panel-content {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%; }
|
|
|
+ .insp-wrapper .insp-right-panel .top-panel .more-tabs-panel {
|
|
|
+ position: absolute;
|
|
|
+ z-index: 10;
|
|
|
+ top: 30px;
|
|
|
+ right: 0;
|
|
|
+ width: 100px;
|
|
|
+ display: none;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ border: 1px solid #454545;
|
|
|
+ background-color: #242424; }
|
|
|
+ .insp-wrapper .insp-right-panel .top-panel .more-tabs-panel .invisible-tab {
|
|
|
+ height: 25px;
|
|
|
+ width: 100%;
|
|
|
+ line-height: 25px;
|
|
|
+ text-align: center;
|
|
|
+ background-color: #2c2c2c;
|
|
|
+ cursor: pointer; }
|
|
|
+ .insp-wrapper .insp-right-panel .top-panel .more-tabs-panel .invisible-tab:hover {
|
|
|
+ background-color: #383838; }
|
|
|
+ .insp-wrapper .insp-right-panel .top-panel .more-tabs-panel .invisible-tab:active {
|
|
|
+ background-color: #454545; }
|
|
|
+ .insp-wrapper .tooltip {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ right: 0;
|
|
|
+ color: #ccc;
|
|
|
+ transform: translateX(100%) translateY(100%);
|
|
|
+ display: none;
|
|
|
+ z-index: 4;
|
|
|
+ font-family: "Inconsolata", sans-serif;
|
|
|
+ width: 120px;
|
|
|
+ padding: 5px 5px 5px 15px;
|
|
|
+ line-height: 25px;
|
|
|
+ background-color: #242424;
|
|
|
+ border: 1px solid #454545; }
|
|
|
+ .insp-wrapper .treeTool {
|
|
|
+ margin: 3px 8px 3px 3px;
|
|
|
+ cursor: pointer;
|
|
|
+ position: relative; }
|
|
|
+ .insp-wrapper .treeTool:hover {
|
|
|
+ color: #5db0d7; }
|
|
|
+ .insp-wrapper .treeTool.active {
|
|
|
+ color: #5db0d7; }
|
|
|
+ .insp-wrapper .tab-panel {
|
|
|
+ height: 100%; }
|
|
|
+ .insp-wrapper .tab-panel .scene-actions {
|
|
|
+ overflow-y: auto; }
|
|
|
+ .insp-wrapper .tab-panel .scene-actions .actions-title {
|
|
|
+ font-size: 1.1em;
|
|
|
+ padding-bottom: 10px;
|
|
|
+ border-bottom: 1px solid #5db0d7;
|
|
|
+ margin: 10px 0 10px 0; }
|
|
|
+ .insp-wrapper .tab-panel .scene-actions .defaut-action, .insp-wrapper .tab-panel .scene-actions .action-radio, .insp-wrapper .tab-panel .scene-actions .action {
|
|
|
+ height: 20px;
|
|
|
+ line-height: 20px;
|
|
|
+ width: 100%;
|
|
|
+ cursor: pointer; }
|
|
|
+ .insp-wrapper .tab-panel .scene-actions .defaut-action:hover, .insp-wrapper .tab-panel .scene-actions .action-radio:hover, .insp-wrapper .tab-panel .scene-actions .action:hover {
|
|
|
+ background-color: #2c2c2c; }
|
|
|
+ .insp-wrapper .tab-panel .scene-actions .defaut-action:active, .insp-wrapper .tab-panel .scene-actions .action-radio:active, .insp-wrapper .tab-panel .scene-actions .action:active {
|
|
|
+ background-color: #383838; }
|
|
|
+ .insp-wrapper .tab-panel .scene-actions .action-radio:before {
|
|
|
+ width: 1em;
|
|
|
+ height: 1em;
|
|
|
+ line-height: 1em;
|
|
|
+ display: inline-block;
|
|
|
+ font-family: 'FontAwesome', sans-serif;
|
|
|
+ content: "\f10c";
|
|
|
+ margin-right: 10px; }
|
|
|
+ .insp-wrapper .tab-panel .scene-actions .action-radio.active:before {
|
|
|
+ width: 1em;
|
|
|
+ height: 1em;
|
|
|
+ line-height: 1em;
|
|
|
+ display: inline-block;
|
|
|
+ font-family: 'FontAwesome', sans-serif;
|
|
|
+ content: "\f192";
|
|
|
+ color: #5db0d7;
|
|
|
+ margin-right: 10px; }
|
|
|
+ .insp-wrapper .tab-panel .scene-actions .action:before {
|
|
|
+ width: 1em;
|
|
|
+ height: 1em;
|
|
|
+ line-height: 1em;
|
|
|
+ display: inline-block;
|
|
|
+ font-family: 'FontAwesome', sans-serif;
|
|
|
+ content: "\f096";
|
|
|
+ margin-right: 10px; }
|
|
|
+ .insp-wrapper .tab-panel .scene-actions .action.active:before {
|
|
|
+ width: 1em;
|
|
|
+ height: 1em;
|
|
|
+ line-height: 1em;
|
|
|
+ display: inline-block;
|
|
|
+ font-family: 'FontAwesome', sans-serif;
|
|
|
+ content: "\f14a";
|
|
|
+ color: #5db0d7;
|
|
|
+ margin-right: 10px; }
|
|
|
+ .insp-wrapper .tab-panel .shader-tree-panel {
|
|
|
+ height: 30px; }
|
|
|
+ .insp-wrapper .tab-panel .shader-tree-panel select {
|
|
|
+ height: 30px;
|
|
|
+ background-color: transparent;
|
|
|
+ color: #ccc;
|
|
|
+ height: 30px;
|
|
|
+ width: 100%;
|
|
|
+ max-width: 300px;
|
|
|
+ padding-left: 15px;
|
|
|
+ border: 1px solid #2c2c2c;
|
|
|
+ outline: 1px solid #454545; }
|
|
|
+ .insp-wrapper .tab-panel .shader-tree-panel select option {
|
|
|
+ padding: 5px;
|
|
|
+ color: gray; }
|
|
|
+ .insp-wrapper .tab-panel .shader-panel {
|
|
|
+ min-height: 100px;
|
|
|
+ user-select: text;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding: 0 15px; }
|
|
|
+ .insp-wrapper .tab-panel .shader-panel pre {
|
|
|
+ margin: 0;
|
|
|
+ white-space: pre-wrap; }
|
|
|
+ .insp-wrapper .tab-panel .shader-panel pre code {
|
|
|
+ background-color: #242424 !important;
|
|
|
+ padding: 0;
|
|
|
+ margin: 0; }
|
|
|
+ .insp-wrapper .tab-panel .shader-panel .shader-panel-title {
|
|
|
+ height: 25px;
|
|
|
+ border-bottom: 1px solid #383838;
|
|
|
+ text-transform: uppercase;
|
|
|
+ line-height: 25px;
|
|
|
+ margin-bottom: 10px; }
|
|
|
+ .insp-wrapper .property-type {
|
|
|
+ color: #5db0d7; }
|
|
|
+ .insp-wrapper .property-name, .insp-wrapper .insp-details .base-row .prop-name, .insp-wrapper .insp-details .row .prop-name, .insp-wrapper .insp-details .header-row .prop-name {
|
|
|
+ color: #f29766; }
|
|
|
+ .insp-wrapper .insp-tree {
|
|
|
+ overflow-y: auto;
|
|
|
+ overflow-x: hidden;
|
|
|
+ height: calc(50% - 30px - 30px); }
|
|
|
+ .insp-wrapper .insp-tree .line {
|
|
|
+ cursor: pointer; }
|
|
|
+ .insp-wrapper .insp-tree .line:hover {
|
|
|
+ background-color: #2c2c2c; }
|
|
|
+ .insp-wrapper .insp-tree .line.active {
|
|
|
+ background-color: #454545; }
|
|
|
+ .insp-wrapper .insp-tree .line.active .line-content {
|
|
|
+ background-color: #242424; }
|
|
|
+ .insp-wrapper .insp-tree .line.unfolded:before {
|
|
|
+ width: 1em;
|
|
|
+ height: 1em;
|
|
|
+ line-height: 1em;
|
|
|
+ display: inline-block;
|
|
|
+ font-family: 'FontAwesome', sans-serif;
|
|
|
+ content: "\f078"; }
|
|
|
+ .insp-wrapper .insp-tree .line.folded:before {
|
|
|
+ width: 1em;
|
|
|
+ height: 1em;
|
|
|
+ line-height: 1em;
|
|
|
+ display: inline-block;
|
|
|
+ font-family: 'FontAwesome', sans-serif;
|
|
|
+ content: "\f054"; }
|
|
|
+ .insp-wrapper .insp-tree .line .line-content {
|
|
|
+ padding-left: 15px; }
|
|
|
+ .insp-wrapper .insp-tree .line .line-content:hover {
|
|
|
+ background-color: #242424; }
|
|
|
+ .insp-wrapper .insp-tree .line .line-content .line:hover:first-child {
|
|
|
+ background-color: #383838; }
|
|
|
+ .insp-wrapper .insp-details {
|
|
|
+ background-color: #242424;
|
|
|
+ overflow-y: auto;
|
|
|
+ overflow-x: hidden;
|
|
|
+ color: #ccc;
|
|
|
+ font-family: "Inconsolata", sans-serif; }
|
|
|
+ .insp-wrapper .insp-details .base-row, .insp-wrapper .insp-details .row, .insp-wrapper .insp-details .header-row {
|
|
|
+ display: flex;
|
|
|
+ width: 100%; }
|
|
|
+ .insp-wrapper .insp-details .base-row .base-property, .insp-wrapper .insp-details .row .base-property, .insp-wrapper .insp-details .header-row .base-property, .insp-wrapper .insp-details .base-row .prop-name, .insp-wrapper .insp-details .row .prop-name, .insp-wrapper .insp-details .header-row .prop-name, .insp-wrapper .insp-details .base-row .prop-value, .insp-wrapper .insp-details .row .prop-value, .insp-wrapper .insp-details .header-row .prop-value {
|
|
|
+ word-wrap: break-word;
|
|
|
+ padding: 2px 0 2px 0; }
|
|
|
+ .insp-wrapper .insp-details .base-row .prop-name, .insp-wrapper .insp-details .row .prop-name, .insp-wrapper .insp-details .header-row .prop-name {
|
|
|
+ width: 35%; }
|
|
|
+ .insp-wrapper .insp-details .base-row .prop-value, .insp-wrapper .insp-details .row .prop-value, .insp-wrapper .insp-details .header-row .prop-value {
|
|
|
+ width: 59%;
|
|
|
+ padding-left: 10px; }
|
|
|
+ .insp-wrapper .insp-details .base-row .prop-value.clickable, .insp-wrapper .insp-details .row .prop-value.clickable, .insp-wrapper .insp-details .header-row .prop-value.clickable {
|
|
|
+ cursor: pointer; }
|
|
|
+ .insp-wrapper .insp-details .base-row .prop-value.clickable:hover, .insp-wrapper .insp-details .row .prop-value.clickable:hover, .insp-wrapper .insp-details .header-row .prop-value.clickable:hover {
|
|
|
+ background-color: #383838; }
|
|
|
+ .insp-wrapper .insp-details .base-row .prop-value.clickable:after, .insp-wrapper .insp-details .row .prop-value.clickable:after, .insp-wrapper .insp-details .header-row .prop-value.clickable:after {
|
|
|
+ font-family: 'FontAwesome', sans-serif;
|
|
|
+ content: "\00a0 \00a0 \00a0 \f054"; }
|
|
|
+ .insp-wrapper .insp-details .row:nth-child(even) {
|
|
|
+ background-color: #2c2c2c; }
|
|
|
+ .insp-wrapper .insp-details .row.unfolded .prop-value.clickable:after {
|
|
|
+ font-family: 'FontAwesome', sans-serif;
|
|
|
+ content: "\00a0 \00a0 \00a0 \f078"; }
|
|
|
+ .insp-wrapper .insp-details .header-row {
|
|
|
+ background-color: #2c2c2c;
|
|
|
+ color: #ccc;
|
|
|
+ width: 100%; }
|
|
|
+ .insp-wrapper .insp-details .header-row > * {
|
|
|
+ color: #ccc !important;
|
|
|
+ padding: 5px 0 5px 5px !important;
|
|
|
+ cursor: pointer; }
|
|
|
+ .insp-wrapper .insp-details .header-row > *:hover {
|
|
|
+ background-color: #383838; }
|
|
|
+ .insp-wrapper .insp-details .header-row .header-col {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center; }
|
|
|
+ .insp-wrapper .insp-details .header-row .header-col .sort-direction {
|
|
|
+ margin-right: 5px; }
|
|
|
+ .insp-wrapper .insp-details .element-viewer, .insp-wrapper .insp-details .color-element, .insp-wrapper .insp-details .texture-element {
|
|
|
+ position: relative;
|
|
|
+ width: 10px;
|
|
|
+ height: 10px;
|
|
|
+ display: inline-block;
|
|
|
+ margin-left: 5px; }
|
|
|
+ .insp-wrapper .insp-details .texture-element {
|
|
|
+ color: #f29766;
|
|
|
+ margin-left: 10px; }
|
|
|
+ .insp-wrapper .insp-details .texture-element .texture-viewer {
|
|
|
+ color: #ccc;
|
|
|
+ position: absolute;
|
|
|
+ z-index: 10;
|
|
|
+ bottom: 0;
|
|
|
+ right: 0;
|
|
|
+ display: block;
|
|
|
+ width: 150px;
|
|
|
+ height: 150px;
|
|
|
+ border: 1px solid #454545;
|
|
|
+ background-color: #242424;
|
|
|
+ transform: translateX(100%) translateY(100%);
|
|
|
+ display: none;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: flex-start;
|
|
|
+ align-items: center; }
|
|
|
+ .insp-wrapper .insp-details .texture-element .texture-viewer .texture-viewer-img {
|
|
|
+ margin: 10px 0 10px 0;
|
|
|
+ max-width: 110px;
|
|
|
+ max-height: 110px; }
|
|
|
+ .insp-wrapper .tabbar {
|
|
|
+ height: 30px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ border-bottom: 1px solid #383838;
|
|
|
+ width: 100%;
|
|
|
+ overflow-x: auto;
|
|
|
+ overflow-y: hidden; }
|
|
|
+ .insp-wrapper .tabbar .tab {
|
|
|
+ height: 30px;
|
|
|
+ width: auto;
|
|
|
+ padding: 0 10px 0 10px;
|
|
|
+ color: #ccc;
|
|
|
+ line-height: 30px;
|
|
|
+ text-align: center;
|
|
|
+ cursor: pointer;
|
|
|
+ margin: 0 5px 0 5px; }
|
|
|
+ .insp-wrapper .tabbar .tab:hover {
|
|
|
+ border-bottom: 1px solid #f29766;
|
|
|
+ background-color: #2c2c2c; }
|
|
|
+ .insp-wrapper .tabbar .tab:active {
|
|
|
+ background-color: #383838; }
|
|
|
+ .insp-wrapper .tabbar .tab.active {
|
|
|
+ border-bottom: 1px solid #f29766; }
|
|
|
+ .insp-wrapper .tabbar .more-tabs {
|
|
|
+ width: 30px;
|
|
|
+ height: 30px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ cursor: pointer;
|
|
|
+ position: relative;
|
|
|
+ border-right: 1px solid #383838; }
|
|
|
+ .insp-wrapper .tabbar .more-tabs:hover {
|
|
|
+ background-color: #383838; }
|
|
|
+ .insp-wrapper .tabbar .more-tabs:active {
|
|
|
+ color: #f29766;
|
|
|
+ background-color: #454545; }
|
|
|
+ .insp-wrapper .tabbar .more-tabs.active {
|
|
|
+ color: #f29766; }
|
|
|
+ .insp-wrapper .toolbar {
|
|
|
+ display: flex; }
|
|
|
+ .insp-wrapper .toolbar .tool {
|
|
|
+ width: 30px;
|
|
|
+ height: 30px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ cursor: pointer;
|
|
|
+ position: relative;
|
|
|
+ border-right: 1px solid #383838; }
|
|
|
+ .insp-wrapper .toolbar .tool:hover {
|
|
|
+ background-color: #383838; }
|
|
|
+ .insp-wrapper .toolbar .tool:active {
|
|
|
+ color: #f29766;
|
|
|
+ background-color: #454545; }
|
|
|
+ .insp-wrapper .toolbar .tool.active {
|
|
|
+ color: #f29766; }
|
|
|
+ .insp-wrapper .searchbar {
|
|
|
+ border: 1px solid #2c2c2c;
|
|
|
+ margin-bottom: 5px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ color: #b3b3b3; }
|
|
|
+ .insp-wrapper .searchbar input {
|
|
|
+ background-color: #242424;
|
|
|
+ border: none;
|
|
|
+ width: 100%;
|
|
|
+ outline: none;
|
|
|
+ font-family: "Inconsolata", sans-serif;
|
|
|
+ color: #b3b3b3;
|
|
|
+ padding: 3px 0 3px 10px;
|
|
|
+ margin: 6px 0 6px 0; }
|