mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 15:05:50 +00:00
MINOR Moved Paul's CSS to themes/ssorgsites/css, commented out sample markup in DocumentationViewer.ss
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@115482 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
685843d183
commit
8e6ec5d58e
@ -24,11 +24,6 @@ pre {
|
||||
}
|
||||
.clear { clear: both; }
|
||||
|
||||
.notice {
|
||||
background-color: #FFFBCF;
|
||||
padding: 0 .5em;
|
||||
}
|
||||
|
||||
/* Headings */
|
||||
h1 .heading-anchor-link,
|
||||
h2 .heading-anchor-link,
|
||||
@ -53,65 +48,6 @@ h6 .heading-anchor-link {
|
||||
.heading-anchor-link:hover {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
table { background-color: #F8f9fa; margin-bottom: 18px; }
|
||||
td { padding: 0 9px; }
|
||||
tr:nth-child(even) {background: #e9efef; }
|
||||
|
||||
/* Messages */
|
||||
.hint h5, .notice h5, .warning h5, .info h5 { margin-bottom: 0px; }
|
||||
.hint a.close, .notice a.close, .warning a.close, .info a.close {
|
||||
background:url("../../ssorgsites/images/ico_close_off.png") no-repeat scroll left top transparent;
|
||||
display:block;
|
||||
font-size:0;
|
||||
height:11px;
|
||||
position:absolute;
|
||||
right:3px;
|
||||
text-indent:-9999px;
|
||||
top:3px;
|
||||
width:11px;
|
||||
}
|
||||
|
||||
.hint {
|
||||
border: 1px solid #a5b5b0;
|
||||
padding: 13px 10px 0px 50px;
|
||||
clear: both;
|
||||
margin: 9px 0 18px;
|
||||
background: #f9fafa url(../../ssorgsites/images/lightbulb.png) no-repeat 14px 14px;
|
||||
}
|
||||
.pageSkip {
|
||||
background-color: #f9fafa;
|
||||
border: 1px solid #a5b5b0;
|
||||
padding: 8px 10px 8px 10px;
|
||||
text-align: center;
|
||||
margin: 9px 0 18px;
|
||||
}
|
||||
.notice {
|
||||
border: 1px solid #D3C200;
|
||||
padding: 13px 10px 0px 50px;
|
||||
margin: 9px 0 18px;
|
||||
position: relative;
|
||||
background: #FFFAC6 url(../../ssorgsites/images/warning2.png) no-repeat 11px 11px;
|
||||
}
|
||||
p.notice {
|
||||
padding-bottom: 18px;
|
||||
}
|
||||
.warning {
|
||||
border: 1px solid #f8c3cd;
|
||||
padding: 13px 10px 0px 50px;
|
||||
clear: both;
|
||||
margin: 9px 0 18px;
|
||||
position: relative;
|
||||
background: #fdf1f3 url(../../ssorgsites/images/error_button.png) no-repeat 11px 11px;
|
||||
}
|
||||
.info {
|
||||
border: 1px solid #6baad8;
|
||||
padding: 13px 10px 0px 50px;
|
||||
clear: both;
|
||||
margin: 9px 0 18px;
|
||||
position: relative;
|
||||
background: #f7fcff url(../../ssorgsites/images/info_button.png) no-repeat 11px 11px;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
fieldset { border: none; }
|
||||
@ -288,28 +224,4 @@ a.ssLogo:hover { background: #fff url(../../ssorgsites/images/logo.png) no-repea
|
||||
text-indent: 99999px;
|
||||
cursor: pointer;
|
||||
background: url(../../ssorgsites/images/search.png) top right no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Pagination results
|
||||
*/
|
||||
ul.pagination {
|
||||
margin: 27px 0;
|
||||
}
|
||||
ul.pagination li {
|
||||
display: inline;
|
||||
background: none;
|
||||
padding-left: 0px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
.pagination li strong, .pagination li a {
|
||||
padding: 1px 4px;
|
||||
}
|
||||
.pagination li.active strong {
|
||||
background-color: #c3dbd4;
|
||||
}
|
||||
.pagination li a:hover {
|
||||
background-color: #0973A6;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
6
themes/docs/templates/DocumentationViewer.ss
vendored
6
themes/docs/templates/DocumentationViewer.ss
vendored
@ -59,6 +59,7 @@
|
||||
</div>
|
||||
|
||||
<div id="content" class="typography">
|
||||
<!--
|
||||
<div class="info">
|
||||
<h5>This is a info message</h5>
|
||||
<p>Vivamus scelerisque, lacus non elementum vestibulum, eros odio gravida sem, vitae hendrerit leo velit in eros.</p>
|
||||
@ -80,8 +81,11 @@ If some of your projects still use this version, consider <a href="">upgrading a
|
||||
<h5>Tip: See also...</h5>
|
||||
<p>This is an example of a hint to help users who are finding difficulty in understanding the full concept <a href="#">link to surporting document</a>.</p>
|
||||
</div>
|
||||
-->
|
||||
|
||||
$Layout
|
||||
|
||||
<!--
|
||||
<h4>Table</h4>
|
||||
<table>
|
||||
<thead>
|
||||
@ -112,7 +116,7 @@ If some of your projects still use this version, consider <a href="">upgrading a
|
||||
<a href="">Next Page »</a>
|
||||
</div>
|
||||
|
||||
|
||||
-->
|
||||
</div>
|
||||
|
||||
<div id="comments">
|
||||
|
Loading…
x
Reference in New Issue
Block a user