mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13:24:10 +01:00
a67cb611de
Fix - docs: `dt-api column().index()` incorrect return type was documented
377 lines
6.6 KiB
CSS
377 lines
6.6 KiB
CSS
|
|
@import url(http://fonts.googleapis.com/css?family=Raleway:100);
|
|
|
|
body {
|
|
font: 90%/1.45em "Helvetica Neue", HelveticaNeue, Arial, Helvetica, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: #333;
|
|
background-color: #fff;
|
|
}
|
|
|
|
body.dt-example-bootstrap {
|
|
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
|
font-size: 14px;
|
|
line-height: 1.42857143;
|
|
}
|
|
|
|
div.container {
|
|
max-width: 980px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
h1 {
|
|
font-family: 'HelveticaNeue-UltraLight', 'Helvetica Neue UltraLight', 'Raleway', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
|
font-weight: 100;
|
|
letter-spacing: 1px;
|
|
font-size: 3em;
|
|
line-height: 1em;
|
|
}
|
|
|
|
h1 span {
|
|
font-size: 0.5em;
|
|
line-height: 1em;
|
|
}
|
|
|
|
a {
|
|
cursor: pointer;
|
|
color: #3174c7;
|
|
text-decoration: none;
|
|
}
|
|
|
|
p > a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
div.toc ul {
|
|
color: #4E6CA3;
|
|
list-style-type: none;
|
|
padding-left: 0;
|
|
}
|
|
|
|
div.toc li {
|
|
padding: 0.2em 1em;
|
|
border-left: 4px solid transparent;
|
|
border-bottom: 1px solid #e6e6e6;
|
|
}
|
|
|
|
div.toc li.active {
|
|
border-left: 4px solid #458ae0;
|
|
}
|
|
|
|
|
|
div.toc li:first-child {
|
|
border-top: 1px solid #efefef;
|
|
}
|
|
|
|
div.toc li:last-child {
|
|
border-bottom: 1px solid #efefef;
|
|
}
|
|
|
|
|
|
div.epilogue {
|
|
text-align: center;
|
|
}
|
|
|
|
p.copyright {
|
|
font-size: 0.8em;
|
|
padding-bottom: 2em;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.clear {
|
|
clear: both;
|
|
height: 0;
|
|
}
|
|
|
|
|
|
div.info {
|
|
margin-bottom: 2em;
|
|
|
|
-webkit-column-count: 2;
|
|
-moz-column-count: 2;
|
|
-ms-column-count: 2;
|
|
-o-column-count: 2;
|
|
column-count: 2;
|
|
|
|
|
|
-webkit-column-rule: 1px solid #F3F3F3;
|
|
-moz-column-rule: 1px solid #F3F3F3;
|
|
-ms-column-rule: 1px solid #F3F3F3;
|
|
-o-column-rule: 1px solid #F3F3F3;
|
|
column-rule: 1px solid #F3F3F3;
|
|
}
|
|
|
|
div.info > * {
|
|
-webkit-column-break-inside: avoid;
|
|
break-inside: avoid;
|
|
}
|
|
|
|
div.info li {
|
|
margin-top: 0.75em;
|
|
}
|
|
|
|
div.info p:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
div.footer {
|
|
position: relative;
|
|
margin-top: 3em;
|
|
border-top: 1px solid #999;
|
|
background-color: #eee;
|
|
}
|
|
|
|
div.footer > div.liner {
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
div.footer > div.gradient {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 6px;
|
|
|
|
background: -moz-linear-gradient(top, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.2)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
|
|
background: -webkit-linear-gradient(top, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
|
|
background: -o-linear-gradient(top, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
|
|
background: -ms-linear-gradient(top, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
|
|
background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* W3C */
|
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
|
|
}
|
|
|
|
div.toc {
|
|
-webkit-column-count: 2;
|
|
-moz-column-count: 2;
|
|
-ms-column-count: 2;
|
|
-o-column-count: 2;
|
|
column-count: 2;
|
|
}
|
|
|
|
div.toc-group {
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
|
|
div.box {
|
|
overflow: auto;
|
|
height: 8em;
|
|
padding: 1em;
|
|
color: #444;
|
|
background-color: #fcfcfc;
|
|
border: 1px solid #e0e0e0;
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
|
|
code {
|
|
font-family: "Source Code Pro", Consolas, Menlo, Monaco, "Courier New", monospace;
|
|
padding: 1px 4px;
|
|
font-size: 0.8em;
|
|
|
|
color: #444;
|
|
background-color: #fcfcfc;
|
|
|
|
border: 1px solid #e0e0e0;
|
|
-webkit-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
code:after {
|
|
display: inline-block;
|
|
border-left: 1px solid rgba( 0, 0, 0, 0.2 );
|
|
margin-left: 4px;
|
|
padding-left: 4px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
a code {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
code.option {
|
|
color: #D14; /* red */
|
|
background-color: #fcf6f8;
|
|
border: 1px solid #f7d6df;
|
|
white-space: nowrap;
|
|
}
|
|
code.option:after { content: 'Option'; }
|
|
|
|
code.path {
|
|
color: #095c05; /* dark green */
|
|
background-color: #eef7ed;
|
|
border: 1px solid #8ccb89;
|
|
white-space: nowrap;
|
|
}
|
|
code.path:after { content: 'Path'; }
|
|
|
|
code.tag {
|
|
color: #c29f00; /* yellow */
|
|
background-color: #fff9d7;
|
|
border: 1px solid #ffe700;
|
|
white-space: nowrap;
|
|
}
|
|
code.tag:after { content: 'Tag'; }
|
|
|
|
code.api {
|
|
color: #0c199c; /* dark blue */
|
|
background-color: #f4f5fc;
|
|
border: 1px solid #c6cbe9;
|
|
white-space: nowrap;
|
|
}
|
|
code.api:after { content: 'API'; }
|
|
|
|
code.type {
|
|
color: #d119cf; /* pink */
|
|
background-color: #faebfa;
|
|
border: 1px solid #f3aef2;
|
|
white-space: nowrap;
|
|
}
|
|
code.type:after { content: 'Type'; }
|
|
|
|
code.event {
|
|
color: #2a839e; /* deep aqua */
|
|
background-color: #f5fafb;
|
|
border: 1px solid #a8ddec;
|
|
white-space: nowrap;
|
|
}
|
|
code.event:after { content: 'Event'; }
|
|
|
|
code.string {
|
|
color: #c05f1d; /* brown */
|
|
background-color: #f5eee9;
|
|
border: 1px solid #dfc4b2;
|
|
white-space: nowrap;
|
|
}
|
|
code.string:after { content: 'String'; }
|
|
|
|
code.field {
|
|
color: #ad1ee8; /* purple */
|
|
background-color: #f9f1fc;
|
|
border: 1px solid #ebc9f7;
|
|
white-space: nowrap;
|
|
}
|
|
code.field:after { content: 'Field'; }
|
|
|
|
code.button {
|
|
color: #464e50; /* grey */
|
|
background-color: #f2f7f9;
|
|
border: 1px solid #b8c3c5;
|
|
white-space: nowrap;
|
|
}
|
|
code.button:after { content: 'Button'; }
|
|
|
|
code.multiline {
|
|
display: inline-block;
|
|
width: 95%;
|
|
}
|
|
|
|
div.syntaxhighlighter code:after {
|
|
display: none;
|
|
}
|
|
|
|
|
|
ul.tabs {
|
|
position: relative;
|
|
top: 1px;
|
|
height: 40px;
|
|
margin: 20px 20px 0 0;
|
|
}
|
|
|
|
|
|
ul.tabs li {
|
|
display: block;
|
|
float: left;
|
|
padding: 0 15px;
|
|
height: 40px;
|
|
font-size: 1.2em;
|
|
margin: 0 5px;
|
|
cursor: pointer;
|
|
line-height: 40px;
|
|
color: #121e32;
|
|
border: 1px solid white;
|
|
border-bottom: none;
|
|
margin-top: -1px;
|
|
}
|
|
|
|
ul.tabs li.active {
|
|
border: 1px solid #ccc;
|
|
border-bottom: 1px solid white;
|
|
margin-top: 0;
|
|
border-top-left-radius: 5px;
|
|
border-top-right-radius: 5px;
|
|
}
|
|
|
|
ul.tabs li:hover {
|
|
background-color: #fafafa;
|
|
}
|
|
|
|
ul.tabs li.active:hover {
|
|
background-color: white;
|
|
}
|
|
|
|
div.tabs {
|
|
clear: both;
|
|
margin-top: -1px;
|
|
}
|
|
|
|
div.tabs>div {
|
|
padding: 15px;
|
|
border: 1px solid #ccc;
|
|
display: none;
|
|
border-radius: 5px;
|
|
box-shadow: 2px 2px 2px #bbb;
|
|
}
|
|
|
|
div.tabs>div h1 {
|
|
border-bottom: none;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
div.tabs > div > p:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
div.column_half {
|
|
float: left;
|
|
width: 49%;
|
|
padding-right: 1%;
|
|
}
|
|
|
|
|
|
@media only screen and (max-width : 979px) {
|
|
div.container,
|
|
div.footer {
|
|
padding: 0 1em;
|
|
}
|
|
}
|
|
|
|
@media
|
|
screen and (max-width : 767px),
|
|
screen and (max-width : 768px) and (orientation: portrait) {
|
|
div.info {
|
|
-webkit-column-count: 1;
|
|
-moz-column-count: 1;
|
|
-ms-column-count: 1;
|
|
-o-column-count: 1;
|
|
column-count: 1;
|
|
}
|
|
|
|
div.toc {
|
|
-webkit-column-count: 1;
|
|
-moz-column-count: 1;
|
|
-ms-column-count: 1;
|
|
-o-column-count: 1;
|
|
column-count: 1;
|
|
}
|
|
|
|
h1 span {
|
|
display: block;
|
|
}
|
|
}
|
|
|