2010-08-02 12:06:21 +02:00
|
|
|
/**
|
2010-10-28 23:28:45 +02:00
|
|
|
* Documentation Viewer Styles. Uses the base styles from ss.screen.min.css
|
2010-08-02 12:06:21 +02:00
|
|
|
*
|
|
|
|
* @author Will Rossiter <will@silverstripe.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2011-01-13 03:54:45 +01:00
|
|
|
a { color: #0973A6; text-decoration: none; }
|
2010-08-02 12:06:21 +02:00
|
|
|
a:hover,
|
|
|
|
a:focus { text-decoration: underline;}
|
2011-01-12 01:41:46 +01:00
|
|
|
|
2011-07-01 08:39:14 +02:00
|
|
|
p { font-size: 12px; line-height: 16px; margin-bottom: 16px; }
|
2011-01-12 01:41:46 +01:00
|
|
|
/* p { font-size: 14px; line-height: 22px; margin-bottom: 22px; } */
|
2010-08-02 12:06:21 +02:00
|
|
|
|
|
|
|
|
2010-09-05 02:28:01 +02:00
|
|
|
|
2011-07-01 08:39:14 +02:00
|
|
|
#Form_LanguageForm { margin-top: 16px; }
|
2011-03-04 04:39:40 +01:00
|
|
|
.clear { clear: both; }
|
2010-08-02 12:06:21 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* Language Bar */
|
2011-03-04 04:39:40 +01:00
|
|
|
#language { position: absolute; top: 57px; right: 30px; width: 185px; display: none; /* not useful yet */}
|
2011-01-12 01:41:46 +01:00
|
|
|
#language label { float: left;/* width: 830px; */ line-height: 19px; text-align: right; font-size: 11px; color: #999;}
|
2010-08-02 12:06:21 +02:00
|
|
|
#language select { float: right; width: 120px;}
|
|
|
|
#language input.action { float: right; margin-top: 4px;}
|
|
|
|
|
|
|
|
/* Footer */
|
2011-03-04 04:39:40 +01:00
|
|
|
|
2010-08-02 12:06:21 +02:00
|
|
|
|
|
|
|
/* Content */
|
2011-07-01 08:39:14 +02:00
|
|
|
.typography h1+p { font-size: 18px; line-height: 24px; }
|
2010-08-02 12:06:21 +02:00
|
|
|
|
2011-07-01 08:39:14 +02:00
|
|
|
/* documentation navigation */
|
|
|
|
.documentation-nav {
|
2011-03-04 04:39:40 +01:00
|
|
|
clear: both;
|
2011-01-13 03:54:45 +01:00
|
|
|
margin: 0 0 5px;
|
|
|
|
overflow: hidden; color: #999999;
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
2011-07-01 08:39:14 +02:00
|
|
|
.documentation-nav h2 { font-size: 11px; font-weight: normal; float: left; margin-right: 5px;}
|
|
|
|
.documentation-nav ul { margin: 0; padding: 0; float: left;}
|
|
|
|
.documentation-nav li { display: inline; list-style: none; padding: 0; margin: 0; font-size: 11px; }
|
|
|
|
.documentation-nav li a { margin-left: 5px; padding: 0px; }
|
|
|
|
.documentation-nav li a.current {
|
|
|
|
background: #0973A6; color: #fff; font-weight: bold;
|
|
|
|
padding: 4px;
|
|
|
|
-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
|
|
|
|
}
|
|
|
|
.documentation-nav li a.current:hover,
|
|
|
|
.documentation-nav li a.current:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2010-08-02 12:06:21 +02:00
|
|
|
#left-column { width: 640px; float: left; }
|
|
|
|
|
|
|
|
#right-column {
|
2011-01-12 01:41:46 +01:00
|
|
|
width: 250px;
|
2010-08-02 12:06:21 +02:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
#right-column .box {
|
|
|
|
margin: 0 12px 12px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Nested tree */
|
|
|
|
.box ul.tree {}
|
|
|
|
.box ul.tree li {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
.box ul.tree li.folder {
|
|
|
|
background: #d5eefd;
|
|
|
|
font-size: 12px;
|
|
|
|
color: #29688c;
|
|
|
|
margin-bottom: 9px;
|
|
|
|
border: 1px solid #d5eefd;
|
|
|
|
padding: 2px 6px;
|
|
|
|
-moz-border-radius: 4px;
|
|
|
|
-webkit-border-radius: 4px;
|
|
|
|
}
|
|
|
|
.undocumented-modules {
|
|
|
|
clear: both;
|
|
|
|
padding-top: 10px;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module { margin: 10px -; }
|
|
|
|
|
2011-01-10 22:30:29 +01:00
|
|
|
/* Comments */
|
|
|
|
#comments {
|
|
|
|
clear: both;
|
2011-07-01 02:54:20 +02:00
|
|
|
padding-top: 20px;
|
2011-01-10 22:30:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#comments .notice {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2011-05-06 01:56:36 +02:00
|
|
|
/* Links to API */
|
|
|
|
#left-column a[href^="http://api."] {
|
|
|
|
padding: 2px;
|
|
|
|
font-family: Monaco, 'Bitstream Vera Sans Mono', Courier, monospace;
|
|
|
|
background: url(../../ssorgsites/images/external_link.png) no-repeat right 3px;
|
|
|
|
padding-right: 14px;
|
|
|
|
}
|
2010-08-02 12:06:21 +02:00
|
|
|
/**
|
|
|
|
* TOC
|
|
|
|
*/
|
|
|
|
|
|
|
|
.sidebar-box {
|
|
|
|
margin: 0 0 11px 0;
|
|
|
|
padding: 11px 15px;
|
|
|
|
background: #f4f4f4;
|
|
|
|
width: 220px;
|
2011-01-13 03:54:45 +01:00
|
|
|
border-radius: 3px;
|
|
|
|
-moz-border-radius: 3px;
|
|
|
|
-webkit-border-radius: 3px;
|
2010-08-02 12:06:21 +02:00
|
|
|
}
|
|
|
|
.sidebar-box ul { margin: 0; padding: 0;}
|
|
|
|
.sidebar-box h4 { font-size: 12px; margin-bottom: 11px;}
|
2010-10-29 01:19:30 +02:00
|
|
|
.sidebar-box ul li { list-style: none; }
|
2010-08-02 12:06:21 +02:00
|
|
|
.sidebar-box ul li .current { font-weight: bold;}
|
|
|
|
.sidebar-box ul li.h1 { margin-top: 11px; font-weight: bold;}
|
|
|
|
.sidebar-box ul li.h2,
|
|
|
|
.sidebar-box ul ul { margin-top: 8px;}
|
2010-10-29 01:19:30 +02:00
|
|
|
.sidebar-box ul li li { font-size: 11px; }
|
2010-08-02 12:06:21 +02:00
|
|
|
.sidebar-box ul li.h3,
|
2010-10-29 01:19:30 +02:00
|
|
|
.sidebar-box ul li li li { margin-left: 20px; font-size: 11px; margin-left: 20px;}
|
2010-08-02 12:06:21 +02:00
|
|
|
.sidebar-box ul li.h4,
|
2011-01-12 01:41:46 +01:00
|
|
|
.sidebar-box ul li li li li { margin-right: 30px; font-size: 11px; margin-left: 20px; }
|