@@ -29,23 +29,19 @@ var MainPanelView = (function (_super) {
2929 var btn = function ( view , text , className ) {
3030 if ( className === void 0 ) { className = '' ; }
3131 return _this . button ( {
32- 'class' : "btn " + className ,
32+ 'class' : "btn btn-sm " + className ,
3333 'click' : view + "PanelSelectedClick" ,
34- 'outlet' : view + "PanelBtn" ,
35- 'style' : 'top:-2px!important'
34+ 'outlet' : view + "PanelBtn"
3635 } , text ) ;
3736 } ;
3837 this . div ( {
39- class : 'atomts atomts-main-panel-view native-key-bindings layout horizontal' ,
38+ class : 'atomts atomts-main-panel-view native-key-bindings' ,
39+ style : 'padding: 6px' ,
4040 tabindex : '-1'
4141 } , function ( ) {
4242 _this . div ( {
43- class : 'panel-resize-handle' ,
44- style : 'position: absolute; top: 0; left: 0; right: 0; height: 10px; cursor: row-resize; z-index: 3; -webkit-user-select:none'
45- } ) ;
46- _this . div ( {
47- class : 'panel-heading layout horizontal' ,
48- style : '-webkit-user-select:none' ,
43+ class : 'layout horizontal' ,
44+ style : '-webkit-user-select: none; align-items: center' ,
4945 dblclick : 'toggle'
5046 } , function ( ) {
5147 _this . span ( {
@@ -57,23 +53,23 @@ var MainPanelView = (function (_super) {
5753 } ) ;
5854 _this . div ( {
5955 class : 'btn-group' ,
60- style : 'margin-left: 5px '
56+ style : 'margin-left: 8px '
6157 } , function ( ) {
62- btn ( " error" , panelHeaders . error , 'selected' ) ;
63- btn ( " build" , panelHeaders . build ) ;
64- btn ( " references" , panelHeaders . references ) ;
58+ btn ( ' error' , panelHeaders . error , 'selected' ) ;
59+ btn ( ' build' , panelHeaders . build ) ;
60+ btn ( ' references' , panelHeaders . references ) ;
6561 } ) ;
6662 _this . div ( {
67- style : 'display:inline-block; margin-top: 2px; cursor: pointer;' ,
63+ style : 'cursor: pointer;' ,
6864 click : 'clickedCurrentTsconfigFilePath'
6965 } , function ( ) {
7066 _this . span ( {
71- style : 'margin-left:10px;' ,
67+ style : 'margin-left: 10px;' ,
7268 outlet : 'tsconfigInUse'
7369 } ) ;
7470 } ) ;
7571 _this . div ( {
76- style : 'display:inline-block; overflow-x:visible;white-space:nowrap;'
72+ style : 'overflow-x: visible; white-space: nowrap;'
7773 } , function ( ) {
7874 _this . span ( {
7975 style : 'margin-left:10px; transition: color 1s' ,
@@ -82,28 +78,30 @@ var MainPanelView = (function (_super) {
8278 } ) ;
8379 _this . div ( {
8480 class : 'heading-summary flex' ,
85- style : 'display:inline-block; margin-left:5px; margin-top:3px ; overflow: hidden; white-space:nowrap; text-overflow: ellipsis' ,
81+ style : 'margin-left: 5px ; overflow: hidden; white-space:nowrap; text-overflow: ellipsis' ,
8682 outlet : 'summary'
8783 } ) ;
8884 _this . progress ( {
8985 class : 'inline-block build-progress' ,
90- style : 'display: none; color:red' ,
86+ style : 'display: none; color: red' ,
9187 outlet : 'buildProgress'
9288 } ) ;
93- _this . span ( { class : 'section-pending' , outlet : 'sectionPending' } , function ( ) {
89+ _this . span ( {
90+ class : 'section-pending' ,
91+ outlet : 'sectionPending' ,
92+ click : 'showPending'
93+ } , function ( ) {
9494 _this . span ( {
9595 outlet : 'txtPendingCount' ,
9696 style : 'cursor: pointer; margin-right: 7px;' ,
9797 } ) ;
9898 _this . span ( {
9999 class : 'loading loading-spinner-tiny inline-block' ,
100- style : 'cursor: pointer; margin-right: 7px;' ,
101- click : 'showPending'
100+ style : 'cursor: pointer; margin-right: 7px;'
102101 } ) ;
103102 } ) ;
104103 _this . div ( {
105- class : 'heading-buttons' ,
106- style : 'width:50px; display:inline-block'
104+ class : 'heading-buttons'
107105 } , function ( ) {
108106 _this . span ( {
109107 class : 'heading-fold icon-unfold' ,
@@ -122,17 +120,17 @@ var MainPanelView = (function (_super) {
122120 _this . div ( {
123121 class : 'panel-body atomts-panel-body padded' ,
124122 outlet : 'errorBody' ,
125- style : 'overflow-y: auto; display:none'
123+ style : 'overflow-y: auto; display: none'
126124 } ) ;
127125 _this . div ( {
128126 class : 'panel-body atomts-panel-body padded' ,
129127 outlet : 'buildBody' ,
130- style : 'overflow-y: auto; display:none'
128+ style : 'overflow-y: auto; display: none'
131129 } ) ;
132130 _this . div ( {
133131 class : 'panel-body atomts-panel-body padded' ,
134132 outlet : 'referencesBody' ,
135- style : 'overflow-y: auto; display:none'
133+ style : 'overflow-y: auto; display: none'
136134 } ) ;
137135 } ) ;
138136 } ;
0 commit comments