Files
fuelux/assets/css/docs.css

996 lines
19 KiB
CSS

/*
* Scaffolding
*
* Update the basics of our documents to prep for docs content.
*
* anchor blue: #293f54
* primary blue: #1378b7
* slate gray: #F0F1F2
*
*/
body {
position: relative; /* For scrollyspy */
color: #525354;
margin-top: 40px;
}
.bg-danger {
padding: 15px;
}
a {
color: #8fa5b7;
}
a:hover,
a:focus
{
color: #436078;
}
dt {
margin-top: 10px;
}
dd {
margin-left: 40px;
}
/* make room for the nav bar */
h1[id],
h2[id],
h3[id],
h4[id],
h5[id],
h6[id],
dt[id]{
padding-top: 60px;
margin-top: -40px;
}
.header-anchor {
position: absolute;
opacity: 0;
padding: 0 5px 0 10px;
height: 100%;
width: 20px;
color: #000;
-webkit-transition: opacity 0.3s ease-in-out 0s;
-moz-transition: opacity 0.3s ease-in-out 0s;
transition: opacity 0.3s ease-in-out 0s;
}
.header-anchor .glyphicon {
top 0;
}
h1 .header-anchor {
left: -40px;
}
h2 .header-anchor {
left: -35px;
}
h3 .header-anchor {
left: -30px;
}
h4 .header-anchor {
left: -26px;
}
h5 .header-anchor {
left: -23px;
}
h6 .header-anchor {
left: -21px;
}
dt .header-anchor {
left: -16px;
}
h1:hover .header-anchor,
h2:hover .header-anchor,
h3:hover .header-anchor,
h4:hover .header-anchor,
h5:hover .header-anchor,
h6:hover .header-anchor,
dt:hover .header-anchor{
opacity: 1;
}
/* Keep code small in tables on account of limited space */
/*.table code {
font-size: 13px;
font-weight: normal;
}*/
/* Outline button for use within the docs */
.btn-outline {
color: #293f54;
background-color: transparent;
border-color: #293f54;
}
.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active {
color: #eee;
background-color: #293f54;
border-color: #293f54;
}
/* Inverted outline button (white on dark) */
.btn-outline-inverse {
color: #333;
background-color: transparent;
border-color: #293f54;
}
.btn-outline-inverse:hover,
.btn-outline-inverse:focus,
.btn-outline-inverse:active {
color: #eee;
text-shadow: none;
background-color: #293f54;
border-color: #293f54;
}
/*
* Main navigation
*
*/
.fu-docs-nav {
margin-bottom: 0;
background-color: #293f54;
border-bottom: 0;
}
.fu-home-nav .fu-nav-b {
display: none;
}
.fu-docs-nav .navbar-nav > li > a {
color: #fff;
}
.fu-docs-nav .navbar-brand {
color: #fff;
font-weight: 500;
}
.fu-docs-nav .navbar-nav > li > a:hover,
.fu-docs-nav .navbar-nav > .active > a,
.fu-docs-nav .navbar-nav > .active > a:hover {
color: #fff;
background-color: #1f2f3f;
}
.fu-docs-nav .nav > li > a:focus {
background-color: #3e5265;
}
.fu-docs-nav .navbar-toggle .icon-bar {
background-color: #eee;
}
.fu-docs-nav .navbar-header .navbar-toggle {
border-color: #fff;
}
.fu-docs-nav .navbar-header .navbar-toggle:hover,
.fu-docs-nav .navbar-header .navbar-toggle:focus {
background-color: #1f2f3f;
border-color: #f9f9f9;
}
/*
* Footer
*
* Separated section of content at the bottom of all pages, save the homepage.
*/
.fu-footer {
padding-top: 40px;
padding-bottom: 40px;
margin-top: 100px;
color: #777;
text-align: center;
border-top: 1px solid #e5e5e5;
}
.footer-links {
margin-top: 20px;
padding-left: 0;
color: #999;
}
.footer-links li {
display: inline;
padding: 0 2px;
}
.footer-links li:first-child {
padding-left: 0;
}
@media (min-width: 768px) {
.fu-footer p {
margin-bottom: 0;
}
}
/*
* Social buttons
*
* Twitter and GitHub social action buttons (for homepage and footer).
*/
.fu-social {
margin-bottom: 20px;
text-align: center;
}
.fu-social-buttons {
display: inline-block;
margin-bottom: 0;
padding-left: 0;
list-style: none;
}
.fu-social-buttons li {
display: inline-block;
line-height: 1;
padding: 5px 8px;
}
.fu-social-buttons .twitter-follow-button {
width: 210px !important;
}
.fu-social-buttons .twitter-share-button {
width: 98px !important;
}
/* Style the GitHub buttons via CSS instead of inline attributes */
.github-btn {
border: 0;
overflow: hidden;
}
/*
* Homepage
*
* Tweaks to the custom homepage and the masthead (main jumbotron).
*/
.fu-logo {
margin: 0 auto 30px;
}
/* Share masthead with page headers */
.fu-masthead,
.fu-header {
/*color: #333;*/
position: relative;
padding: 30px 15px;
text-align: center;
text-shadow: 0 1px 0 rgba(0,0,0,.1);
background-color: #F0F1F2;
}
/* Masthead (headings and download button) */
.fu-masthead .fu-booticon {
margin: 0 auto 30px;
}
.fu-masthead h1 {
color: #fff;
font-weight: 300;
line-height: 1;
}
.fu-masthead .lead {
color: #333;
font-size: 20px;
margin: 0 auto 30px;
}
.fu-masthead .lead:last-child {
margin-bottom: 0;
}
.fu-masthead .btn {
width: 100%;
padding: 15px 30px;
font-size: 20px;
}
@media (min-width: 480px) {
.fu-masthead .btn {
width: auto;
}
}
@media (min-width: 768px) {
.fu-masthead {
padding-top: 80px;
padding-bottom: 80px;
}
.fu-masthead h1 {
font-size: 60px;
}
.fu-masthead .lead {
font-size: 24px;
}
}
@media (min-width: 992px) {
.fu-masthead .lead {
width: 80%;
font-size: 30px;
}
}
/*
* Page headers
*
* Jumbotron-esque headers at the top of every page that's not the homepage.
*/
/* Page headers */
.fu-header {
margin-bottom: 40px;
font-size: 20px;
}
.fu-header h1 {
margin-top: 0;
color: #f59031;
}
.fu-header p {
margin-bottom: 0;
font-weight: 300;
line-height: 1.4;
color: #293f54;
}
.fu-header .container {
position: relative;
}
@media (min-width: 768px) {
.fu-header {
padding-top: 60px;
padding-bottom: 60px;
font-size: 24px;
text-align: left;
}
.fu-header h1 {
font-size: 60px;
line-height: 1;
}
}
@media (min-width: 992px) {
.fu-header h1,
.fu-header p {
margin-right: 380px;
}
}
/*
* Homepage featurettes
*
* Reasons to use Fuel UX and more.
*/
.fu-featurette {
padding-top: 40px;
padding-bottom: 40px;
font-size: 16px;
line-height: 1.5;
color: #555;
text-align: center;
background-color: #fff;
border-bottom: 1px solid #e5e5e5;
}
.fu-featurette + .fu-footer {
margin-top: 0;
border-top: 0;
}
.fu-featurette-title {
font-size: 30px;
font-weight: normal;
color: #293f54;
margin-bottom: 5px;
}
.half-rule {
width: 100px;
margin: 40px auto;
}
.fu-featurette h3 {
font-weight: normal;
color: #293f54;
margin-bottom: 5px;
}
.fu-featurette-img {
display: block;
margin-bottom: 20px;
color: #333;
}
.fu-featurette-img:hover {
text-decoration: none;
color: #428bca;
}
.fu-featurette-img img {
display: block;
margin-bottom: 15px;
}
/*
* Side navigation
*
* Scrollspy and affixed enhanced navigation to highlight sections and secondary
* sections of docs content.
*/
/* By default it's not affixed in mobile views, so undo that */
.fu-sidebar.affix {
position: static;
}
@media (min-width: 768px) {
.fu-sidebar {
padding-left: 20px;
}
}
/* First level of nav */
.fu-sidenav {
margin-top: 20px;
margin-bottom: 20px;
}
/* All levels of nav */
.fu-sidebar .nav > li > a {
display: block;
font-size: 13px;
font-weight: 500;
color: #999;
padding: 4px 20px;
}
.fu-sidebar .nav > li > a:hover,
.fu-sidebar .nav > li > a:focus {
padding-left: 19px;
color: #f59031;
text-decoration: none;
background-color: transparent;
border-left: 1px solid #f59031;
}
.fu-sidebar .nav > .active > a,
.fu-sidebar .nav > .active:hover > a,
.fu-sidebar .nav > .active:focus > a {
padding-left: 18px;
font-weight: bold;
color: #f59031;
background-color: transparent;
border-left: 2px solid #f59031;
}
/* Nav: second level (shown on .active) */
.fu-sidebar .nav .nav {
display: none; /* Hide by default, but at >768px, show it */
padding-bottom: 10px;
}
.fu-sidebar .nav .nav > li > a {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 30px;
font-size: 12px;
font-weight: normal;
}
.fu-sidebar .nav .nav > li > a:hover,
.fu-sidebar .nav .nav > li > a:focus {
padding-left: 29px;
}
.fu-sidebar .nav .nav > .active > a,
.fu-sidebar .nav .nav > .active:hover > a,
.fu-sidebar .nav .nav > .active:focus > a {
font-weight: 500;
padding-left: 28px;
}
/* Show and affix the side nav when space allows it */
@media (min-width: 992px) {
.fu-sidebar .nav > .active > ul {
display: block;
}
/* Widen the fixed sidebar */
.fu-sidebar.affix,
.fu-sidebar.affix-bottom {
width: 213px;
}
.fu-sidebar.affix {
position: fixed; /* Undo the static from mobile first approach */
top: 20px;
}
.fu-sidebar.affix-bottom {
position: absolute; /* Undo the static from mobile first approach */
}
.fu-sidebar.affix-bottom .fu-sidenav,
.fu-sidebar.affix .fu-sidenav {
margin-top: 0;
margin-bottom: 0;
}
}
@media (min-width: 1200px) {
/* Widen the fixed sidebar again */
.fu-sidebar.affix-bottom,
.fu-sidebar.affix {
width: 263px;
}
}
/*
* Docs sections
*
* Content blocks for each component or feature.
*/
/* Space things out */
.fu-docs-section {
margin-bottom: 60px;
}
.fu-docs-section:last-child {
margin-bottom: 0;
}
/*
* Pygments - Manni CSS
*
* This stuff will probably be in a separate css file that we merge later on
*/
.hll { background-color: #ffffcc }
/*{ background: #f0f3f3; }*/
.c { color: #999; } /* Comment */
.err { color: #AA0000; background-color: #FFAAAA } /* Error */
.k { color: #006699; } /* Keyword */
.o { color: #555555 } /* Operator */
.cm { color: #0099FF; font-style: italic } /* Comment.Multiline */
.cp { color: #009999 } /* Comment.Preproc */
.c1 { color: #999; } /* Comment.Single */
.cs { color: #999; } /* Comment.Special */
.gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
.ge { font-style: italic } /* Generic.Emph */
.gr { color: #FF0000 } /* Generic.Error */
.gh { color: #003300; } /* Generic.Heading */
.gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
.go { color: #AAAAAA } /* Generic.Output */
.gp { color: #000099; } /* Generic.Prompt */
.gs { } /* Generic.Strong */
.gu { color: #003300; } /* Generic.Subheading */
.gt { color: #99CC66 } /* Generic.Traceback */
.kc { color: #006699; } /* Keyword.Constant */
.kd { color: #006699; } /* Keyword.Declaration */
.kn { color: #006699; } /* Keyword.Namespace */
.kp { color: #006699 } /* Keyword.Pseudo */
.kr { color: #006699; } /* Keyword.Reserved */
.kt { color: #007788; } /* Keyword.Type */
.m { color: #FF6600 } /* Literal.Number */
.s { color: #d44950 } /* Literal.String */
.na { color: #4f9fcf } /* Name.Attribute */
.nb { color: #336666 } /* Name.Builtin */
.nc { color: #00AA88; } /* Name.Class */
.no { color: #336600 } /* Name.Constant */
.nd { color: #9999FF } /* Name.Decorator */
.ni { color: #999999; } /* Name.Entity */
.ne { color: #CC0000; } /* Name.Exception */
.nf { color: #CC00FF } /* Name.Function */
.nl { color: #9999FF } /* Name.Label */
.nn { color: #00CCFF; } /* Name.Namespace */
.nt { color: #2f6f9f; } /* Name.Tag */
.nv { color: #003333 } /* Name.Variable */
.ow { color: #000000; } /* Operator.Word */
.w { color: #bbbbbb } /* Text.Whitespace */
.mf { color: #FF6600 } /* Literal.Number.Float */
.mh { color: #FF6600 } /* Literal.Number.Hex */
.mi { color: #FF6600 } /* Literal.Number.Integer */
.mo { color: #FF6600 } /* Literal.Number.Oct */
.sb { color: #CC3300 } /* Literal.String.Backtick */
.sc { color: #CC3300 } /* Literal.String.Char */
.sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
.s2 { color: #CC3300 } /* Literal.String.Double */
.se { color: #CC3300; } /* Literal.String.Escape */
.sh { color: #CC3300 } /* Literal.String.Heredoc */
.si { color: #AA0000 } /* Literal.String.Interpol */
.sx { color: #CC3300 } /* Literal.String.Other */
.sr { color: #33AAAA } /* Literal.String.Regex */
.s1 { color: #CC3300 } /* Literal.String.Single */
.ss { color: #FFCC33 } /* Literal.String.Symbol */
.bp { color: #336666 } /* Name.Builtin.Pseudo */
.vc { color: #003333 } /* Name.Variable.Class */
.vg { color: #003333 } /* Name.Variable.Global */
.vi { color: #003333 } /* Name.Variable.Instance */
.il { color: #FF6600 } /* Literal.Number.Integer.Long */
.css .o,
.css .o + .nt,
.css .nt + .nt { color: #999; }
/*
* Callouts
*
* Not quite alerts, but custom and helpful notes for folks reading the docs.
* Requires a base and modifier class.
*/
/* Common styles for all types */
.fu-callout {
margin: 20px 0;
padding: 0 20px 60px 40px;/* no padding on top because of scrollspy/navbar hack, extra padding on left and bottom to try and even things out */
border-left: 3px solid #eee;
}
.fu-callout h4 {
margin-top: 0;
margin-bottom: 5px;
}
.fu-callout p:last-child {
margin-bottom: 0;
}
.fu-callout code {
background-color: #fff;
border-radius: 3px;
}
/* Variations */
.fu-callout-danger {
background-color: #fdf7f7;
border-color: #d9534f;
}
.fu-callout-danger h4 {
color: #d9534f;
}
.fu-callout-warning {
background-color: #fcf8f2;
border-color: #f0ad4e;
}
.fu-callout-warning h4 {
color: #f0ad4e;
}
.fu-callout-info {
background-color: #f4f8fa;
border-color: #5bc0de;
}
.fu-callout-info h4 {
color: #5bc0de;
}
/*
* Examples
*
* Isolated sections of example content for each component or feature. Usually
* followed by a code snippet.
*/
.fu-example {
position: relative;
padding: 45px 15px 15px;
margin: 0 -15px 15px;
background-color: #fafafa;
box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
border-color: #e5e5e5 #eee #eee;
border-style: solid;
border-width: 1px 0;
}
/* Echo out a label for the example */
.fu-example:after {
content: "Example";
position: absolute;
top: 15px;
left: 15px;
font-size: 12px;
font-weight: bold;
color: #bbb;
text-transform: uppercase;
letter-spacing: 1px;
}
/* Tweak display of the code snippets when following an example */
.fu-example + .highlight {
margin: -15px -15px 15px;
border-radius: 0;
border-width: 0 0 1px;
}
/* Make the examples and snippets not full-width */
@media (min-width: 768px) {
.fu-example {
margin-left: 0;
margin-right: 0;
background-color: #fff;
border-width: 1px;
border-color: #ddd;
border-radius: 4px 4px 0 0;
box-shadow: none;
}
.fu-example + .highlight {
margin-top: -16px;
margin-left: 0;
margin-right: 0;
border-width: 1px;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
}
/* Undo width of container */
.fu-example .container {
width: auto;
}
/* Tweak content of examples for optimum awesome */
.fu-example > p:last-child,
.fu-example > ul:last-child,
.fu-example > ol:last-child,
.fu-example > blockquote:last-child,
.fu-example > .form-control:last-child,
.fu-example > .table:last-child,
.fu-example > .navbar:last-child,
.fu-example > .jumbotron:last-child,
.fu-example > .alert:last-child,
.fu-example > .panel:last-child,
.fu-example > .list-group:last-child,
.fu-example > .well:last-child,
.fu-example > .progress:last-child,
.fu-example > .table-responsive:last-child > .table {
margin-bottom: 0;
}
.fu-example > p > .close {
float: none;
}
/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
color: #293f54;
}
.fu-example-type .table .type-info {
color: #999;
vertical-align: middle;
}
.fu-example-type .table td {
padding: 15px 0;
border-color: #eee;
}
.fu-example-type .table tr:first-child td {
border-top: 0;
}
.fu-example-type h1,
.fu-example-type h2,
.fu-example-type h3,
.fu-example-type h4,
.fu-example-type h5,
.fu-example-type h6 {
margin: 0;
}
/* Contextual background colors */
.fu-example-bg-classes p {
padding: 15px;
}
/* Images */
.fu-example > .img-circle,
.fu-example > .img-rounded,
.fu-example > .img-thumbnail {
margin: 5px;
}
/* Tables */
.fu-example > .table-responsive > .table {
background-color: #fff;
}
/* Buttons */
.fu-example > .btn,
.fu-example > .btn-group {
margin-top: 5px;
margin-bottom: 5px;
}
.fu-example > .btn-toolbar + .btn-toolbar {
margin-top: 10px;
}
/* Forms */
.fu-example-control-sizing select,
.fu-example-control-sizing input[type="text"] + input[type="text"] {
margin-top: 10px;
}
.fu-example-form .input-group {
margin-bottom: 10px;
}
.fu-example > textarea.form-control {
resize: vertical;
}
/* List groups */
.fu-example > .list-group {
max-width: 400px;
}
/* =======================================================
* FuelUX Components
*
* ======================================================= */
.highlight {
padding: 9px 14px;
margin-bottom: 14px;
background-color: #f7f7f9;
border: 1px solid #e1e1e8;
border-radius: 4px;
}
.highlight pre {
padding: 0;
margin-top: 0;
margin-bottom: 0;
background-color: transparent;
border: 0;
white-space: nowrap;
}
.highlight pre code {
font-size: inherit;
color: #333; /* Effectively the base text color */
}
.highlight pre .lineno {
display: inline-block;
width: 22px;
padding-right: 5px;
margin-right: 10px;
text-align: right;
color: #bebec5;
}
.fuelux .checkbox.highlight,
.fuelux .checkbox-custom.highlight,
.fuelux .radio.highlight,
.fuelux .radio-custom.highlight
{
margin-bottom: 10px;
background-color: transparent;
border: none;
border-radius: 0;
}
.checkboxToggleCLASS,
.radioToggleCLASS,
#checkboxToggleID,
#radioToggleID {
margin: 15px 0 0 0;
}
.pillbox {
border: 1px solid #bbb;
margin-bottom: 10px;
border-radius: 4px;
}
/* Example schedulers */
.fu-example.fu-example-scheduler {
background-color: #f5f5f5;
}
/*.fu-example.fu-example-scheduler .end-after > .sr-only,
.fu-example.fu-example-scheduler .end-on-date > .sr-only {
display: inline !important;
position: static !important;
}*/
.fu-example.fu-example-scheduler .end-after .spinbox {
display: inline-block !important;
}
.fu-example.fu-example-scheduler .scheduler .repeat-panel {
display: block !important;
}
.fu-example-scheduler .scheduler .scheduler-end {
display: block !important;
}
.fu-example-scheduler .scheduler .scheduler-end .end-option-panel {
display: block !important;
}
.fu-example.fu-example-scheduler .repeat-end {
display: block !important;
}
.thumbnail.repeater-thumbnail {
color: #fff;
}
.truncate-highlight {
background-color: #F7F7F9;
border: 1px solid #E1E1E8;
border-radius: 4px;
height: 400px;
margin-bottom: 14px;
overflow-y: auto;
padding: 9px 14px;
}
.truncate-highlight > .highlight {
background: none;
border: none;
border-radius: 4px;
margin: 0;
padding: 0;
}
/* =======================================================
* MC Theme demo
*
* ======================================================= */
.mctheme-container {
background-color: #4F4F4F;
min-height: 800px;
color: #fff;
width: 100%;
box-shadow: inset 0 8px 8px -8px #000, inset 0 -8px 8px -8px #000;
padding-top: 40px;
padding-bottom: 40px;
}
.mctheme-container a {
color: #F8DE6E;
}
.mctheme-container h2 {
color: #E98300;
text-align: center;
}
.mctheme-container .lead {
color: #fff;
text-align: center;
}
.mctheme-container .example-lead {
color: #efefef;
margin-bottom: 20px;
font-size: 16px;
font-weight: 300;
line-height: 1.4;
margin-bottom: 30px;
}
.mctheme-container h3 {
color: #F8DE6E;
margin-top: 50px;
margin-bottom: 20px;
}
.mctheme-content {
max-width: 900px;
margin-right: auto;
margin-left: auto;
}
.mctheme-container .btn {
border: 1px solid #F8DE6E;
}
.mctheme-container .btn:hover {
border-color: transparent;
background-color: #F8DE6E;
color: #4F4F4F;
}
@media (max-width: 900px) {
.mctheme-content {
margin-left: 20px;
margin-right: 20px;
}
}
.frame {
width: 100%;
height: 700px;
border: 1px solid #ededed;
box-shadow: 2px 2px 6px #2d2d2d;
}
img,
object {
max-width: 100%;
}