File tree Expand file tree Collapse file tree 3 files changed +22
-7
lines changed Expand file tree Collapse file tree 3 files changed +22
-7
lines changed Original file line number Diff line number Diff line change 7
7
background-color : # fff ;
8
8
-webkit-overflow-scrolling : touch;
9
9
}
10
+ # draggable-area {
11
+ position : absolute;
12
+ top : 0 ;
13
+ height : 25px ;
14
+ width : 100% ;
15
+ z-index : 5000 ;
16
+ -webkit-app-region : drag !important ;
17
+ }
10
18
.loader-inner {
11
19
position : absolute;
12
20
top : 50% ;
13
21
left : 50% ;
14
22
z-index : 1000 ;
15
23
}
16
- .ball-scale-ripple-multiple > div {
24
+ .ball-scale-ripple-multiple > div {
17
25
background : # 494E57 ;
18
26
}
19
27
.top-margin {
@@ -101,7 +109,7 @@ body{
101
109
font-size : 11px !important ;
102
110
}
103
111
/* Little hack for presentation sidebar */
104
- .tooltip .left {
112
+ .tooltip .left {
105
113
margin-left : -20px ;
106
114
}
107
115
@@ -196,23 +204,23 @@ body{
196
204
/**
197
205
* Split pane
198
206
*/
199
- .gutter {
207
+ .gutter {
200
208
background-color : # eee ;
201
209
background-repeat : no-repeat;
202
210
background-position : 50% ;
203
211
}
204
212
205
- .gutter .gutter-horizontal {
213
+ .gutter .gutter-horizontal {
206
214
background-image : url ('../gfx/grips/vertical.png' );
207
215
cursor : ew-resize;
208
216
}
209
217
210
- .gutter .gutter-vertical {
218
+ .gutter .gutter-vertical {
211
219
background-image : url ('../gfx/grips/horizontal.png' );
212
220
cursor : ns-resize;
213
221
}
214
222
215
- split , .gutter .gutter-horizontal {
223
+ split , .gutter .gutter-horizontal {
216
224
height : 100% ;
217
225
float : left;
218
226
}
Original file line number Diff line number Diff line change 15
15
</ head >
16
16
< body >
17
17
18
+ <!-- Draggable area (OSX only) -->
19
+ < div id ="draggable-area "> </ div >
20
+
18
21
<!-- Sidebar -->
19
22
< div id ="sidebar ">
20
23
<!-- Menu -->
Original file line number Diff line number Diff line change @@ -249,9 +249,13 @@ function renderApp(refresh) {
249
249
delay : { show : 400 }
250
250
} ) ;
251
251
252
- // Padding sidebar buttons to not be under traffic lights
252
+ // OSX specific tuning
253
253
if ( conf . get ( 'system.os' ) === 'osx' ) {
254
+ // Padding sidebar buttons to not be under traffic lights
254
255
$ ( '#sidebar ul' ) . css ( 'margin-top' , '22px' ) ;
256
+ } else {
257
+ // Remove draggable area to avoid bugs
258
+ $ ( '#draggable-area' ) . remove ( ) ; // OSX only draggable area
255
259
}
256
260
}
257
261
You can’t perform that action at this time.
0 commit comments