Browse Source

Clean up logout page styling.

master
Ben Kurtovic 8 years ago
parent
commit
f34923fadb
3 changed files with 26 additions and 11 deletions
  1. +21
    -8
      static/main.css
  2. +3
    -1
      templates/_base.mako
  3. +2
    -2
      templates/logout.mako

+ 21
- 8
static/main.css View File

@@ -24,6 +24,10 @@ a:hover {
text-decoration: underline; text-decoration: underline;
} }


h1 {
margin-top: 0.5em;
}

#container { #container {
display: flex; display: flex;
flex: 1; flex: 1;
@@ -123,6 +127,11 @@ header .aligned {
vertical-align: middle; vertical-align: middle;
} }


header .spacer {
height: 30px;
visibility: hidden;
}

footer ul { footer ul {
margin: 0; margin: 0;
padding: 0; padding: 0;
@@ -142,14 +151,6 @@ footer ul li:not(:last-child):after {
margin-right: 0.25em; margin-right: 0.25em;
} }


#login-button {
height: 30px;
}

#error pre {
white-space: pre-wrap;
}

#flashes { #flashes {
margin-top: 0.5em; margin-top: 0.5em;
} }
@@ -169,3 +170,15 @@ footer ul li:not(:last-child):after {
border-color: #AA3322; border-color: #AA3322;
background-color: rgba(255, 60, 30, 0.2); background-color: rgba(255, 60, 30, 0.2);
} }

#error pre {
white-space: pre-wrap;
}

#login-button {
height: 30px;
}

#logout-form {
margin-bottom: 1em;
}

+ 3
- 1
templates/_base.mako View File

@@ -29,7 +29,9 @@
</%block> </%block>
</div> </div>
<div class="right"> <div class="right">
<%block name="righthead"/>
<%block name="righthead">
<img class="spacer aligned" src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="/>
</%block>
</div> </div>
</div> </div>
</header> </header>


+ 2
- 2
templates/logout.mako View File

@@ -2,8 +2,8 @@
<%block name="title"> <%block name="title">
Log out &ndash; ${g.config.get("corp.name") | h} Log out &ndash; ${g.config.get("corp.name") | h}
</%block> </%block>
<h1>Log out</h1> <!-- ... style -->
<h1>Log out</h1>
<p>Use the button below to safely log out and clear your session.</p> <p>Use the button below to safely log out and clear your session.</p>
<form method="post">
<form id="logout-form" method="post">
<input type="submit" value="Log out"> <input type="submit" value="Log out">
</form> </form>

Loading…
Cancel
Save