File tree 5 files changed +53
-65
lines changed
5 files changed +53
-65
lines changed Original file line number Diff line number Diff line change 3
3
font-size : 8pt ;
4
4
}
5
5
6
+ # wrapper {
7
+ width : 100% ;
8
+ float : left;
9
+ margin-right : -180px ;
10
+ }
11
+
12
+ # sidebar {
13
+ background-color : # F5F5F5 ;
14
+ position : relative;
15
+ float : right;
16
+ width : 180px ;
17
+ right : 180px ;
18
+ margin-right : -180px ;
19
+ overflow-y : auto;
20
+ padding : 5px ;
21
+ border-left : 1px solid grey;
22
+ }
23
+
24
+ # page-content-wrapper {
25
+ float : left;
26
+ width : 100% ;
27
+ }
28
+
29
+ # page-content {
30
+ margin-right : 180px ;
31
+ overflow-y : auto;
32
+ }
33
+
34
+
6
35
.mapCol {
7
36
float : left;
8
37
width : 50% ;
@@ -180,11 +209,6 @@ ul.dropdown-menu {
180
209
color : red;
181
210
}
182
211
183
- # wrapper {
184
- /*padding-right: 190px;*/
185
- padding-right : 0 ;
186
- transition : all 0.4s ease 0s ;
187
- }
188
212
189
213
div .mapping-group {
190
214
overflow-y : auto;
@@ -196,58 +220,11 @@ div.mapping-group {
196
220
background-color : # F5F5F5 ;
197
221
}
198
222
199
- # sidebar-wrapper {
200
- margin-right : -180px ;
201
- right : 180px ;
202
- width : 180px ;
203
- background-color : # F5F5F5 ;
204
- position : fixed;
205
- height : 100% ;
206
- overflow-y : auto;
207
- z-index : 1000 ;
208
- transition : all 0.4s ease 0s ;
209
- padding : 3px ;
210
- border-left : 1px solid grey;
211
- }
212
-
213
- # page-content-wrapper {
214
- padding-left : 5px ;
215
- padding-top : 5px ;
216
- width : 100% ;
217
- }
218
-
219
- .page-content {
220
- margin-right : 180px ;
221
- }
222
-
223
223
.sidebar-nav {
224
224
position : absolute;
225
225
top : 0 ;
226
226
width : 180px ;
227
227
list-style : none;
228
228
margin : 0 ;
229
229
padding : 0 ;
230
- }
231
-
232
- @media (max-width : 367px ) {
233
-
234
- # wrapper {
235
- padding-left : 0 ;
236
- }
237
-
238
- # sidebar-wrapper {
239
- left : 0 ;
240
- }
241
-
242
- # wrapper .active {
243
- position : relative;
244
- left : 300px ;
245
- }
246
-
247
- # wrapper .active # sidebar-wrapper {
248
- left : 300px ;
249
- width : 300px ;
250
- transition : all 0.4s ease 0s ;
251
- }
252
-
253
230
}
Original file line number Diff line number Diff line change 8
8
< link rel ="stylesheet " type ="text/css " href ="node_modules/bootstrap/dist/css/bootstrap.css "/>
9
9
< script src ="node_modules/jquery/dist/jquery.js "> </ script >
10
10
< script src ="node_modules/bootstrap/dist/js/bootstrap.js "> </ script >
11
+ < script src ="js/layout_fixer.js "> </ script >
11
12
< script src ="dist/app.js "> </ script >
12
13
13
14
</ head >
14
15
< body >
16
+
15
17
< span ng-controller ="DataLoadingController ">
16
18
< div id ="loading-screen "
17
19
ng-if ="visDataService.dataLoading.val "
20
22
</ div >
21
23
</ span >
22
24
23
- < div id ="wrapper ">
24
- < div id ="sidebar-wrapper ">
25
- < span ng-include src ="'partials/mappingsList.html' "> </ span >
26
- </ div >
27
- < div id ="page-content-wrapper ">
28
- < div class ="page-content ">
29
- < div ng-include src ="'partials/dataTable.html' "> </ div >
30
- </ div >
25
+
26
+
27
+
28
+ < div id ="page-content-wrapper ">
29
+ < div id ="page-content ">
30
+ < div ng-include src ="'partials/dataTable.html' "> </ div >
31
31
</ div >
32
32
</ div >
33
+ < div id ="sidebar ">
34
+ < span ng-include src ="'partials/mappingsList.html' "> </ span >
35
+ </ div >
33
36
</ body >
34
37
</ html >
Original file line number Diff line number Diff line change
1
+ $ ( document ) . ready ( function ( ) {
2
+ var currHeight = $ ( window ) . height ( ) ;
3
+ $ ( '#sidebar, #page-content' ) . css ( 'height' , currHeight ) ;
4
+ $ ( window ) . resize ( function ( ) {
5
+ var currHeight = $ ( window ) . height ( ) ;
6
+ $ ( '#sidebar, #page-content' ) . css ( 'height' , currHeight ) ;
7
+ } ) ;
8
+ } ) ;
Original file line number Diff line number Diff line change 5
5
"description" : " This extension allows the user to deconstruct D3 visualizations on a page." ,
6
6
"version" : " 1.0" ,
7
7
"icons" : {
8
- "16" : " d3logo .png" ,
9
- "128" : " d3logo .png"
8
+ "16" : " decon-icon .png" ,
9
+ "128" : " decon-icon .png"
10
10
},
11
11
12
12
"content_scripts" : [
22
22
},
23
23
24
24
"browser_action" : {
25
- "default_icon" : " d3logo .png" ,
25
+ "default_icon" : " decon-icon .png" ,
26
26
"default_title" : " D3 Deconstructor"
27
27
},
28
28
Original file line number Diff line number Diff line change 2
2
< span class ="sectionHeader "> Mappings:</ span >
3
3
< div class ="panel-group " id ="mappings " ng-repeat ="mapping in data[selectedSchema.val].mappings ">
4
4
< div class ="panel panel-default ">
5
- < div ng-if ="!isLinear(mapping) " class ="nominal panel-heading btn-toolbar ">
5
+ < div ng-if ="!isLinear(mapping) " class ="nominal panel-heading ">
6
6
< a data-toggle ="collapse " style ="color:black; " data-parent ="#mappings " href ="#mapping{{$index}} ">
7
7
{{mapping.data}} ➝ {{mapping.attr}}
8
8
</ a >
9
9
</ div >
10
- < div ng-if ="isLinear(mapping) " class ="linear panel-heading btn-toolbar ">
10
+ < div ng-if ="isLinear(mapping) " class ="linear panel-heading ">
11
11
< a data-toggle ="collapse " style ="color:black; " data-parent ="#mappings " href ="#mapping{{$index}} ">
12
12
< span ng-repeat ="datum in mapping.data "> {{datum}}< span ng-if ="!$last "> ,</ span > </ span > ➝ {{mapping.attr}}
13
13
</ a >
You can’t perform that action at this time.
0 commit comments