Skip to content

Commit

Permalink
whitespace reformat everything
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-combe committed Jun 15, 2020
1 parent 13deb49 commit 587c3a5
Show file tree
Hide file tree
Showing 62 changed files with 35,617 additions and 35,119 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"env": {
"es6": true,
"browser": true,
"node" : true
"node": true
},
"parserOptions": {
"ecmaVersion": 2018,
Expand Down
22 changes: 10 additions & 12 deletions demo/css/XLV.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.protein{
.protein {
cursor: crosshair;
}

.link{
/*
cursor: crosshair;
*/
.link {
/*
cursor: crosshair;
*/
}

/*you need this to stop horrible looking flickering of text as you drag*/
Expand All @@ -17,14 +17,12 @@ svg {
user-select: none;
}

.xlv_text
{
.xlv_text {
/*font-weight: bold;*/
text-shadow:
-1px -1px 0 white,
1px -1px 0 white,
-1px 1px 0 white,
1px 1px 0 white;
text-shadow: -1px -1px 0 white,
1px -1px 0 white,
-1px 1px 0 white,
1px 1px 0 white;
/* -2px -1px 0 white,
2px -1px 0 white,
-2px 1px 0 white,
Expand Down
166 changes: 84 additions & 82 deletions demo/css/demo.css
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
#main {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction: column;
min-height: 0; /* NEW */
min-width: 0; /* NEW */
max-height:100%;
height:100%;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction: column;
min-height: 0; /* NEW */
min-width: 0; /* NEW */
max-height: 100%;
height: 100%;
}

.page-header {
width:100%;
width: 100%;
}

.page-header h1{
.page-header h1 {
color: white;
text-decoration: underline;
}

h1 {
font-size:1.6em;
display:inline;
font-size: 1.6em;
display: inline;
}

div#centre {
Expand All @@ -34,42 +34,43 @@ div#centre {
flex-direction: row;
flex-grow: 1;
width: 100%;
min-height: 0; /* NEW */
min-width: 0; /* NEW */
min-height: 0; /* NEW */
min-width: 0; /* NEW */

}

div#detailsDiv{
div#detailsDiv {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-grow: 1;
flex-direction: column;
min-height: 0; /* NEW */
min-width: 0; /* NEW */
width:350px;
max-width:350px;
background:#ecedf2;
color:#091D42;
min-height: 0; /* NEW */
min-width: 0; /* NEW */
width: 350px;
max-width: 350px;
background: #ecedf2;
color: #091D42;
padding: 10px;
margin: 10px;
}

select, button {
font-size:1em;
font-size: 1em;
}

#complexDetails {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;flex-direction: column;
display: flex;
flex-direction: column;
flex-grow: 1;
min-height: 0; /* NEW */
min-width: 0; /* NEW */
min-height: 0; /* NEW */
min-width: 0; /* NEW */
}

.detailsInner {
Expand All @@ -81,54 +82,55 @@ select, button {
flex-direction: column;
flex-grow: 1;
overflow: auto;
min-height: 0; /* NEW */
min-width: 0; /* NEW */
min-height: 0; /* NEW */
min-width: 0; /* NEW */
}

b {
font-weight:bold;
font-weight: bold;
}

div#middleDiv, div#networkDiv {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
display: flex;
flex-direction:column;
flex-grow:1;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
display: flex;
flex-direction: column;
flex-grow: 1;
}

div#innerMiddleDiv {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction:row;
flex-grow:1;
min-height: 0; /* NEW */
min-width: 0; /* NEW */
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction: row;
flex-grow: 1;
min-height: 0; /* NEW */
min-width: 0; /* NEW */

}

div#legend {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-grow:1;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-grow: 1;
flex-direction: column;
width: 300px;
max-width:300px;
/*
background:#ecedf2;
*/
color:#091D42;
max-width: 300px;
/*
background:#ecedf2;
*/
color: #091D42;
overflow: auto;
min-height: 0; /* NEW */
min-width: 0; /* NEW */
min-height: 0; /* NEW */
min-width: 0; /* NEW */
}

/*
Expand All @@ -145,25 +147,25 @@ div#legendInner {
color: #fff;
margin-left: 0px;

/*
/*
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction: row;
flex-grow: 1;
flex-shrink: 0;
*/
}

.logoBar {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction: row;
flex-grow: 1;
flex-shrink: 0;
*/
}

.logoBar {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction: row;
flex-shrink: 0;
flex-wrap: wrap;
height: 70px;
Expand All @@ -178,19 +180,19 @@ div.logos {
margin-left: 10px;
padding-left: 10px;
padding-right: 10px;
border-radius:10px;
border-radius: 10px;
border: 1px solid grey;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction: row;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction: row;
flex-shrink: 0;
text-align:center;
text-align: center;
}

.logo{
.logo {
margin: auto;
}

Expand Down
7 changes: 7 additions & 0 deletions demo/css/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, bo
font: inherit;
vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}

body {
line-height: 1;
}

/*
ol, ul {
list-style: none;
Expand All @@ -19,17 +22,21 @@ ol, ul {
blockquote, q {
quotes: none;
}

blockquote:after, blockquote:before, q:after, q:before {
content: '';
content: none;
}

table {
border-collapse: collapse;
border-spacing: 0;
}

body {
-webkit-text-size-adjust: none;
}

*, :after, :before {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
Expand Down
Loading

0 comments on commit 587c3a5

Please sign in to comment.