Author: gmazza
Date: Tue Jul 15 16:57:24 2014
New Revision: 1610751
URL: http://svn.apache.org/r1610751
Log:
Adding some of Apache Isis' styling to our CSS.
Modified:
roller/cmssite/trunk/templates/basic.html
roller/cmssite/trunk/templates/roller-template.html
Modified: roller/cmssite/trunk/templates/basic.html
URL:
http://svn.apache.org/viewvc/roller/cmssite/trunk/templates/basic.html?rev=1610751&r1=1610750&r2=1610751&view=diff
==============================================================================
--- roller/cmssite/trunk/templates/basic.html (original)
+++ roller/cmssite/trunk/templates/basic.html Tue Jul 15 16:57:24 2014
@@ -3,10 +3,8 @@
{% block content %}
<div class="page-header">
-<p>{{ breadcrumbs|safe }}</p>
-<h1>{{ headers.title }}
-
-</h1>
+ <p>{{ breadcrumbs|safe }}</p>
+ <h1>{{ headers.title }}</h1>
</div>
{{ content|markdown }}
Modified: roller/cmssite/trunk/templates/roller-template.html
URL:
http://svn.apache.org/viewvc/roller/cmssite/trunk/templates/roller-template.html?rev=1610751&r1=1610750&r2=1610751&view=diff
==============================================================================
--- roller/cmssite/trunk/templates/roller-template.html (original)
+++ roller/cmssite/trunk/templates/roller-template.html Tue Jul 15 16:57:24 2014
@@ -19,6 +19,96 @@
<!-- Custom styles for this template -->
<link href="{{base}}css/roller-bs.css" rel="stylesheet">
+ <style type="text/css">
+ body {
+ padding-top: 60px;
+ }
+ .sprite {
+ display: inline-block;
+ height: 20px;
+ margin: 0 auto 4px;
+ outline: medium none;
+ text-indent: -999em;
+ width: 24px;
+ background-image: url('{{base}}images/sprites.png');
+ background-repeat: no-repeat;
+ overflow: hidden;
+ cursor: pointer;
+ }
+ .edit-page {
+ display: inline-block;
+ height: 20px;
+ margin: 0 auto 4px;
+ outline: medium none;
+ text-indent: -999em;
+ width: 24px;
+ background-image: url('{{base}}images/edit.png');
+ background-repeat: no-repeat;
+ overflow: hidden;
+ cursor: pointer;
+ }
+ .fb-share {
+ background-position: 0px -40px;
+ }
+ .gp-share {
+ background-position: 0px 0px;
+ }
+ .tw-share {
+ background-position: 0px -80px;
+ }
+ .markdown-content {
+ min-height: 500px;
+ }
+ .book-image img {
+ border: 1px;
+ border-style: solid;
+ }
+ .release-matrix .heading {
+ background-color: #eeeeee;
+ }
+ .release-matrix .new {
+ color: #dd0000;
+ font-weight: bolder;
+ }
+ .stub,.note {
+ position: relative;
+ padding: 7px 15px;
+ margin-bottom: 18px;
+ color: #404040;
+ background-color: #eedc94;
+ background-repeat: repeat-x;
+ background-image: -khtml-gradient(linear, left top, left bottom,
from(#fceec1), to(#eedc94));
+ background-image: -moz-linear-gradient(top, #fceec1, #eedc94);
+ background-image: -ms-linear-gradient(top, #fceec1, #eedc94);
+ background-image: -webkit-gradient(linear, left top, left bottom,
color-stop(0%, #fceec1), color-stop(100%, #eedc94));
+ background-image: -webkit-linear-gradient(top, #fceec1, #eedc94);
+ background-image: -o-linear-gradient(top, #fceec1, #eedc94);
+ background-image: linear-gradient(top, #fceec1, #eedc94);
+ filter:
progid:DXImageTransform.Microsoft.gradient(startColorstr='#fceec1',
endColorstr='#eedc94', GradientType=0);
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+ border-color: #eedc94 #eedc94 #e4c652;
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0,
0.25);
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
+ border-width: 1px;
+ border-style: solid;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
+ }
+
+ div.XXXisis-tweak form {
+ margin-top: 6px;
+ margin-bottom: -2px;
+ }
+
+ div.row div.col-md-12 {
+ border-top: 1px solid #eeeeee;
+ }
+ </style>
+
</head>
<body>
@@ -76,6 +166,7 @@
</div>
<div class="container">
+ <hr>
<footer>
<p>Copyright © 2014 The Apache Software Foundation, Licensed
under the
<a href="http://www.apache.org/licenses/LICENSE-2.0">Apache
License, Version 2.0</a>.</p>