Skip to content

Commit

Permalink
Incorporated last changes in Chameleon (login page and contactprint t…
Browse files Browse the repository at this point in the history
…emplate).
  • Loading branch information
Anisotropic committed Jul 25, 2015
1 parent beea589 commit f647e72
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 3 deletions.
2 changes: 0 additions & 2 deletions skins/chameleon-blue/colors.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
@text-color: #4c4c4c;
//@main-color: #f25829;
//@link-color: #f25829;
//@main-color: #498fc1;
//@link-color: #498fc1;
@main-color: #60AADF;
@link-color: #60AADF;
@button-color: #000000;
Expand Down
2 changes: 1 addition & 1 deletion skins/chameleon-blue/styles.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions skins/chameleon-blue/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@ body.login #header {
margin-top: 10px;
}

#logon_page {
padding: 5px;
margin-bottom: 15px;
border: solid 2px @main-color;
background-color: screen(@main-color, #eee);
color: darken(@main-color, 25%);
display: none;
}

.topgradient {
height: 0;
}
Expand Down
19 changes: 19 additions & 0 deletions skins/chameleon-blue/templates/contactprint.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<roundcube:object name="doctype" value="html5" />
<html>
<head>
<title><roundcube:object name="pagetitle" /></title>
<link rel="stylesheet" type="text/css" href="./skins/larry/print.css" />
</head>
<body>

<div id="header"><roundcube:object name="logo" src="/images/kolab_logo.png" id="toplogo" border="0" alt="Logo" /></div>

<div id="contact-details" class="boxcontent">
<div id="contactphoto"><roundcube:object name="contactphoto" id="contactpic" placeholder="/images/contactpic.png" placeholderGroup="/images/contactgroup.png" /></div>
<roundcube:object name="contacthead" id="contacthead" />
<br style="clear:both" />
<roundcube:object name="contactdetails" />
</div>

</body>
</html>
9 changes: 9 additions & 0 deletions skins/chameleon-blue/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,14 @@ <h1 class="voice login-title"><roundcube:label name="welcome" /></h1>
/images/watermark.png
" />

<script type="text/javascript">
$(document).ready(function() {
var div = $('#logon_page');

if (div.length && div.text())
div.prependTo($('#login-form div.box-inner')).show();
});
</script>

</body>
</html>

0 comments on commit f647e72

Please sign in to comment.