Skip to content
This repository was archived by the owner on Feb 13, 2018. It is now read-only.

Commit cccdcbe

Browse files
committed
Removing inline deprecation notice styles
1 parent 688bc06 commit cccdcbe

File tree

2 files changed

+5
-17
lines changed

2 files changed

+5
-17
lines changed

public/css/style.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.upload--explanation {font-size: .8em; color: #777677;}
2-
.error {color: #a53725; textAlign: center;}
2+
.error {color: #a53725; text-align: center;}
3+
.deprecation--container { position: absolute; bottom: 50%; left: 0; right: 0; margin: auto; align-items: center; display: flex; padding-left: 15px; padding-right: 15px; flex-direction: column; }
4+
.deprecation--container > h3 { color: #511687; font-weight: bold; }
35
/*.radio-group { display: flex; justify-content: space-between; align-items: end;}*/
46
.radio-group > div { display: inline-block; margin-right: 2em; }
57
.radio-group img { height: 100%; padding-right: 1em; height: 3em; vertical-align: middle; }

views/layout.jsx

+2-16
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,11 @@ function Layout(props) {
2727
mainBreadcrumbs="Document Conversion"
2828
mainBreadcrumbsUrl="http://www.ibm.com/watson/developercloud/document-conversion.html"
2929
/>
30-
<div style={{
31-
position: 'absolute',
32-
bottom: '50%',
33-
left: 0,
34-
right: 0,
35-
margin: 'auto',
36-
alignItems: 'center',
37-
display: 'flex',
38-
paddingLeft: '15px',
39-
paddingRight: '15px',
40-
flexDirection: 'column',}}>
41-
<h3 style={{color: '#511687', font: 'bold'}}>Document Conversion is no longer available.</h3>
30+
<div className="deprecation--container">
31+
<h3>Document Conversion is no longer available.</h3>
4232
<p>Document Conversion is deprecated as a stand-alone service. Learn more about the <a href="https://ibm.biz/rnr_dcs_announcement">announcement</a> and <a href="https://ibm.biz/rnr_dcs_migration">migration path</a> to switch to Watson Discovery.</p>
4333

4434
</div>
45-
46-
<div style={{position: 'absolute', right: 0, bottom: 0, left: 0}}>
47-
<Footer />
48-
</div>
4935
<div id="root">
5036
{props.children}
5137
</div>

0 commit comments

Comments
 (0)