forked from .cyb/cyberman
Update to stylesheets: new menubar in light stylesheet
This commit is contained in:
parent
5b91bfa73d
commit
4a459a813d
|
@ -67,6 +67,36 @@ button.textButton:hover {
|
|||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a.menuBtn {
|
||||
text-decoration: none;
|
||||
}
|
||||
button.menuBtn {
|
||||
background: none !important;
|
||||
color: inherit;
|
||||
border: none;
|
||||
padding: 0 !important;
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
.menuBtnW:hover {
|
||||
background-color: #c9c9c9;
|
||||
}
|
||||
.menuBtnW {
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
padding: 10px;
|
||||
position: relative;
|
||||
top: -10px;
|
||||
background-color: #ddd;
|
||||
border-right: 1px solid #bbb;
|
||||
}
|
||||
.menuBtnW:first-child {
|
||||
border-left: 1px solid #bbb;
|
||||
}
|
||||
div.toolbar form {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
form.login>table>tbody>tr>td>label {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
|
|
@ -38,6 +38,33 @@ button.textButton:hover {
|
|||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a.menuBtn {
|
||||
text-decoration: none;
|
||||
}
|
||||
button.menuBtn {
|
||||
background: none !important;
|
||||
color: inherit;
|
||||
border: none;
|
||||
padding: 0 !important;
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
.menuBtn {
|
||||
text-transform: lowercase;
|
||||
}
|
||||
.menuBtn:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.menuBtnW:before {
|
||||
content: "[\00a0";
|
||||
}
|
||||
.menuBtnW:after {
|
||||
content: "\00a0] ";
|
||||
}
|
||||
div.toolbar form {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
form.login>table>tbody>tr>td>label {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
Logged in as <span id="email"><% vars.email | html_entity %></span>
|
||||
</span>
|
||||
<span style="float:right;">
|
||||
<form action="/logout" method="POST">
|
||||
[ <a href="/domains" class="bracketButton">domains</a> ]
|
||||
[ <a href="/account" class="bracketButton">account</a> ]
|
||||
[ <button class="textButton" action="submit">log out</button> ]
|
||||
<span class="menuBtnW"><a href="/domains" class="menuBtn">Domains</a></span><!--
|
||||
--><span class="menuBtnW"><a href="/account" class="menuBtn">Account</a></span><!--
|
||||
--><form action="/logout" method="POST"><!--
|
||||
--><span class="menuBtnW"><button action="submit" class="menuBtn">Log out</button></span>
|
||||
</form>
|
||||
</span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue