three-cad-viewer 3.0.4 → 3.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -127,7 +127,17 @@ canvas {
127
127
 
128
128
  .tcv_toggle_info_wrapper {
129
129
  display: none;
130
- margin-left: 6px;
130
+ margin-left: 4px;
131
+ }
132
+
133
+ .tcv_info_label {
134
+ font-size: 12px;
135
+ font-family: sans-serif;
136
+ font-weight: bold;
137
+ margin-left: 4px;
138
+ padding-bottom: 4px;
139
+ vertical-align: top;
140
+ user-select: none;
131
141
  }
132
142
 
133
143
  .tcv_cad_info_glass {
@@ -301,6 +311,7 @@ th {
301
311
  overflow: scroll;
302
312
  height: 100%;
303
313
  margin: 0px 0px 0px 4px;
314
+ padding-top: 2px;
304
315
  }
305
316
 
306
317
  .tcv_btn {
@@ -719,38 +730,10 @@ input[type="button"] {
719
730
  background-color: var(--tcv-bg-overlay-color);
720
731
  }
721
732
 
722
- .tcv_node_entry_wrap {
723
- white-space: pre;
724
- }
725
-
726
- .tcv_node_entry {
727
- white-space: nowrap;
728
- padding-top: 4px;
729
- }
730
-
731
- .tcv_t-caret {
732
- cursor: pointer;
733
- -webkit-user-select: none;
734
- /* Safari 3.1+ */
735
- -moz-user-select: none;
736
- /* Firefox 2+ */
737
- -ms-user-select: none;
738
- /* IE 10+ */
739
- user-select: none;
740
- }
741
-
742
- .tcv_t-caret::before {
743
- content: "\25B6\FE0E";
744
- font-size: 12px;
745
- /* color: black; */
746
- display: inline-block;
747
- margin-right: 2px;
748
- }
749
733
 
750
- .tcv_t-caret-down::before {
751
- -ms-transform: rotate(90deg);
752
- -webkit-transform: rotate(90deg);
753
- transform: rotate(90deg);
734
+ .tv-tree-node {
735
+ display: flex;
736
+ flex-direction: column;
754
737
  }
755
738
 
756
739
  .tcv_toplevel {
@@ -760,48 +743,62 @@ input[type="button"] {
760
743
  margin-block-end: 0px !important;
761
744
  }
762
745
 
763
- .tcv_nested {
764
- display: none;
765
- list-style-type: none;
766
- padding-inline-start: 16px;
746
+ .tv-node-content {
747
+ display: flex;
748
+ align-items: center;
749
+ padding: 2px 0px 2px 0px;
750
+ height: 16px;
751
+ min-width: max-content;
767
752
  }
768
753
 
769
- .tcv_active {
770
- display: block;
754
+ .tv-nav-marker {
755
+ display: inline-block;
756
+ width: 16px;
757
+ height: 16px;
758
+ margin-right: 1px;
759
+ cursor: pointer;
760
+ vertical-align: middle;
761
+ flex-shrink: 0;
762
+ }
763
+
764
+ .tv-nav-marker svg {
765
+ width: 100%;
766
+ height: 100%;
771
767
  }
772
768
 
773
- .tcv_icon {
774
- width: 26px !important;
775
- /* height: 18px !important; */
769
+ .tv-icon {
770
+ display: inline-block;
771
+ width: 24px;
772
+ height: 24px;
773
+ margin-right: 2px;
776
774
  vertical-align: middle;
777
- border: none;
775
+ flex-shrink: 0;
776
+ }
777
+
778
+ .tv-pointer {
778
779
  cursor: pointer;
779
- margin: 2px 1px 2px 0px;
780
- background: transparent;
781
- background-position-x: center;
782
- background-position-y: center;
783
- background-repeat: no-repeat;
784
- padding: 0px;
785
780
  }
786
781
 
787
- .tcv_indent {
788
- margin-left: 12px;
782
+ .tv-icon svg {
783
+ width: 100%;
784
+ height: 100%;
789
785
  }
790
786
 
791
- .tcv_tree_label {
792
- margin-left: 6px;
787
+ .tv-node-label {
788
+ cursor: pointer;
789
+ margin-left: 4px;
793
790
  font-size: 14px;
794
791
  font-family: sans-serif;
795
- user-select: none;
796
792
  }
797
793
 
798
- .tcv_tree_label:hover {
799
- cursor: pointer;
794
+ .tv-node-label-highlight {
795
+ color: rgb(112, 160, 220);
800
796
  }
801
797
 
802
- .tcv_node_selected {
803
- color: #308ee1;
798
+ .tv-children {
799
+ margin-left: 20px;
804
800
  }
801
+
805
802
  /* MEASURE PANEL */
806
803
 
807
804