@@ -29,23 +29,19 @@ var MainPanelView = (function (_super) {
29
29
var btn = function ( view , text , className ) {
30
30
if ( className === void 0 ) { className = '' ; }
31
31
return _this . button ( {
32
- 'class' : "btn " + className ,
32
+ 'class' : "btn btn-sm " + className ,
33
33
'click' : view + "PanelSelectedClick" ,
34
- 'outlet' : view + "PanelBtn" ,
35
- 'style' : 'top:-2px!important'
34
+ 'outlet' : view + "PanelBtn"
36
35
} , text ) ;
37
36
} ;
38
37
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' ,
40
40
tabindex : '-1'
41
41
} , function ( ) {
42
42
_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' ,
49
45
dblclick : 'toggle'
50
46
} , function ( ) {
51
47
_this . span ( {
@@ -57,23 +53,23 @@ var MainPanelView = (function (_super) {
57
53
} ) ;
58
54
_this . div ( {
59
55
class : 'btn-group' ,
60
- style : 'margin-left: 5px '
56
+ style : 'margin-left: 8px '
61
57
} , 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 ) ;
65
61
} ) ;
66
62
_this . div ( {
67
- style : 'display:inline-block; margin-top: 2px; cursor: pointer;' ,
63
+ style : 'cursor: pointer;' ,
68
64
click : 'clickedCurrentTsconfigFilePath'
69
65
} , function ( ) {
70
66
_this . span ( {
71
- style : 'margin-left:10px;' ,
67
+ style : 'margin-left: 10px;' ,
72
68
outlet : 'tsconfigInUse'
73
69
} ) ;
74
70
} ) ;
75
71
_this . div ( {
76
- style : 'display:inline-block; overflow-x:visible;white-space:nowrap;'
72
+ style : 'overflow-x: visible; white-space: nowrap;'
77
73
} , function ( ) {
78
74
_this . span ( {
79
75
style : 'margin-left:10px; transition: color 1s' ,
@@ -82,28 +78,30 @@ var MainPanelView = (function (_super) {
82
78
} ) ;
83
79
_this . div ( {
84
80
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' ,
86
82
outlet : 'summary'
87
83
} ) ;
88
84
_this . progress ( {
89
85
class : 'inline-block build-progress' ,
90
- style : 'display: none; color:red' ,
86
+ style : 'display: none; color: red' ,
91
87
outlet : 'buildProgress'
92
88
} ) ;
93
- _this . span ( { class : 'section-pending' , outlet : 'sectionPending' } , function ( ) {
89
+ _this . span ( {
90
+ class : 'section-pending' ,
91
+ outlet : 'sectionPending' ,
92
+ click : 'showPending'
93
+ } , function ( ) {
94
94
_this . span ( {
95
95
outlet : 'txtPendingCount' ,
96
96
style : 'cursor: pointer; margin-right: 7px;' ,
97
97
} ) ;
98
98
_this . span ( {
99
99
class : 'loading loading-spinner-tiny inline-block' ,
100
- style : 'cursor: pointer; margin-right: 7px;' ,
101
- click : 'showPending'
100
+ style : 'cursor: pointer; margin-right: 7px;'
102
101
} ) ;
103
102
} ) ;
104
103
_this . div ( {
105
- class : 'heading-buttons' ,
106
- style : 'width:50px; display:inline-block'
104
+ class : 'heading-buttons'
107
105
} , function ( ) {
108
106
_this . span ( {
109
107
class : 'heading-fold icon-unfold' ,
@@ -122,17 +120,17 @@ var MainPanelView = (function (_super) {
122
120
_this . div ( {
123
121
class : 'panel-body atomts-panel-body padded' ,
124
122
outlet : 'errorBody' ,
125
- style : 'overflow-y: auto; display:none'
123
+ style : 'overflow-y: auto; display: none'
126
124
} ) ;
127
125
_this . div ( {
128
126
class : 'panel-body atomts-panel-body padded' ,
129
127
outlet : 'buildBody' ,
130
- style : 'overflow-y: auto; display:none'
128
+ style : 'overflow-y: auto; display: none'
131
129
} ) ;
132
130
_this . div ( {
133
131
class : 'panel-body atomts-panel-body padded' ,
134
132
outlet : 'referencesBody' ,
135
- style : 'overflow-y: auto; display:none'
133
+ style : 'overflow-y: auto; display: none'
136
134
} ) ;
137
135
} ) ;
138
136
} ;
0 commit comments