Skip to content

Commit

Permalink
Fixed logo position (#5)
Browse files Browse the repository at this point in the history
* Fixed logo position

* Add logo style

* Bump webviz-config version number

* From >= to ==
  • Loading branch information
Hans Kallekleiv authored May 14, 2019
1 parent 7f7e0aa commit 35cb895
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
]
},
install_requires=[
'webviz-config>=0.0.2'
'webviz-config==0.0.4'
],
tests_require=tests_require,
extras_require={'tests': tests_require},
Expand Down
18 changes: 16 additions & 2 deletions webviz_config_equinor/assets/equinor_theme.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
._dash-loading-callback {

animation: fadein 4.0s;

position: absolute;
Expand All @@ -8,7 +8,7 @@
width: 100%;
height: 100%;

background-image: url(./equinor_logo_animation.gif),
background-image: url(./equinor_logo_animation.gif),
radial-gradient(rgba(255, 255, 255, 0.9) 30%,
rgba(255, 255, 255, 0.5) 90%);

Expand All @@ -27,3 +27,17 @@
40% { opacity: 0; }
100% { opacity: 1; }
}

#logo {
margin: 20px 30px;
}

div.styledLogo.tab {
border: none;
background: transparent;
outline: none;
cursor: pointer;
text-align: left;
box-sizing: none;
padding: 20px 30px;
}

0 comments on commit 35cb895

Please sign in to comment.