Fix styles for error page template
500.html template has incorrect styles for OpenStack logo. This patch
fixes margins and background image size to fit into the container.
Change-Id: Icc2af2731eb8a842c12c073474f3865709b6de2b
Closes-Bug: #1696437
(cherry picked from commit 2b3c7bdbcb
)
This commit is contained in:
parent
3bc399f3ae
commit
bfe58d2a89
@ -31,14 +31,12 @@
|
|||||||
background: none repeat scroll 0% 0% rgb(250, 250, 250);
|
background: none repeat scroll 0% 0% rgb(250, 250, 250);
|
||||||
}
|
}
|
||||||
div#container {
|
div#container {
|
||||||
position: absolute;
|
|
||||||
top: 80px;
|
|
||||||
padding-top: 170px;
|
padding-top: 170px;
|
||||||
margin: 0px 0px 0px -196px;
|
margin: 72px auto 0 auto;
|
||||||
left: 50%;
|
|
||||||
width: 390px;
|
width: 390px;
|
||||||
|
|
||||||
background: url("{% static "dashboard/img/logo.svg" %}") no-repeat scroll center 35px padding-box rgb(255, 255, 255);
|
background: url("{% static "dashboard/img/logo.svg" %}") no-repeat scroll center 35px padding-box rgb(255, 255, 255);
|
||||||
|
background-size: 320px;
|
||||||
border: 1px solid rgb(225, 225, 225);
|
border: 1px solid rgb(225, 225, 225);
|
||||||
|
|
||||||
-webkit-border-radius: 6px;
|
-webkit-border-radius: 6px;
|
||||||
|
Loading…
Reference in New Issue
Block a user