2019-05-28 22:12:50 +02:00
|
|
|
*,
|
|
|
|
*:after,
|
|
|
|
*:before {
|
2016-05-23 20:09:15 +02:00
|
|
|
box-sizing: border-box;
|
2014-02-16 12:28:06 +01:00
|
|
|
}
|
|
|
|
|
2016-05-23 20:09:15 +02:00
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2014-02-16 12:28:06 +01:00
|
|
|
}
|
|
|
|
|
2018-02-25 23:02:09 +01:00
|
|
|
/* ============================================================================
|
2014-02-16 12:28:06 +01:00
|
|
|
Docs Body & Page Structure
|
2018-02-25 23:02:09 +01:00
|
|
|
============================================================================ */
|
2014-02-16 12:28:06 +01:00
|
|
|
|
2018-02-26 22:46:36 +01:00
|
|
|
html {
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
@media (--viewport-large) {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-28 22:12:50 +02:00
|
|
|
html,
|
|
|
|
body {
|
2014-02-16 12:28:06 +01:00
|
|
|
height: 100%;
|
2015-07-21 22:40:13 +02:00
|
|
|
background-color: #fff;
|
2018-02-25 20:12:18 +01:00
|
|
|
color: var(--text);
|
2014-02-16 12:28:06 +01:00
|
|
|
}
|
|
|
|
|
2016-05-23 20:09:15 +02:00
|
|
|
.Columns {
|
|
|
|
&__left {
|
2018-02-25 20:12:18 +01:00
|
|
|
background-color: var(--sidebar-background);
|
2014-02-16 12:43:16 +01:00
|
|
|
}
|
|
|
|
|
2016-05-23 20:09:15 +02:00
|
|
|
&__right {
|
|
|
|
&__content {
|
2015-07-21 22:40:13 +02:00
|
|
|
padding: 10px;
|
2016-05-05 23:43:37 +02:00
|
|
|
background-color: #fff;
|
2014-02-16 12:43:16 +01:00
|
|
|
}
|
|
|
|
}
|
2014-02-16 12:28:06 +01:00
|
|
|
}
|
2014-02-16 12:43:16 +01:00
|
|
|
|
2019-08-10 22:48:18 +02:00
|
|
|
@media (max-width: 768px) {
|
|
|
|
// mobile friendly sub-nav
|
2019-08-11 15:15:11 +02:00
|
|
|
html:not(.no-js) .Collapsible__content {
|
2019-08-10 22:48:18 +02:00
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
transition: height 400ms ease-in-out;
|
|
|
|
}
|
2018-02-25 23:02:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.Collapsible__trigger {
|
|
|
|
margin: 12px;
|
|
|
|
padding: 7px 10px;
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
@include kill-background-image;
|
|
|
|
@include kill-box-shadow;
|
|
|
|
|
|
|
|
&__bar {
|
|
|
|
display: block;
|
|
|
|
width: 18px;
|
|
|
|
height: 2px;
|
|
|
|
margin-top: 2px;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
background-color: var(--sidebar-collapsible--hamburger-color);
|
2016-05-23 20:09:15 +02:00
|
|
|
}
|
2014-02-16 12:43:16 +01:00
|
|
|
|
2018-02-25 23:02:09 +01:00
|
|
|
&:hover {
|
2019-05-28 22:12:50 +02:00
|
|
|
background-color: var(
|
|
|
|
--sidebar-collapsible--hamburger-hover-background
|
|
|
|
);
|
2015-07-21 22:40:13 +02:00
|
|
|
|
2018-02-25 20:12:18 +01:00
|
|
|
@include kill-box-shadow;
|
2016-08-06 00:14:15 +02:00
|
|
|
|
2018-02-25 23:02:09 +01:00
|
|
|
.Collapsible__trigger__bar {
|
|
|
|
background-color: var(--sidebar-collapsible--hamburger-hover-color);
|
2016-05-23 20:09:15 +02:00
|
|
|
}
|
|
|
|
}
|
2015-07-21 22:40:13 +02:00
|
|
|
}
|
|
|
|
|
2018-02-25 23:02:09 +01:00
|
|
|
@media screen and (min-width: 769px) {
|
2015-07-21 22:40:13 +02:00
|
|
|
body {
|
|
|
|
//Needed only for floating code blocks
|
2018-02-25 23:02:09 +01:00
|
|
|
background-color: var(--content-floating-blocks-background);
|
2015-07-21 22:40:13 +02:00
|
|
|
}
|
|
|
|
|
2016-05-23 20:09:15 +02:00
|
|
|
.Navbar {
|
2016-05-05 23:43:37 +02:00
|
|
|
position: fixed;
|
2017-02-23 23:15:07 +01:00
|
|
|
z-index: 1030;
|
2016-05-05 23:43:37 +02:00
|
|
|
width: 100%;
|
2015-07-21 22:40:13 +02:00
|
|
|
}
|
|
|
|
|
2016-05-23 20:09:15 +02:00
|
|
|
.Collapsible {
|
2017-02-23 23:15:07 +01:00
|
|
|
&__trigger {
|
|
|
|
display: none !important;
|
2016-05-23 20:09:15 +02:00
|
|
|
}
|
2014-02-16 12:43:16 +01:00
|
|
|
|
2016-05-23 20:09:15 +02:00
|
|
|
&__content {
|
|
|
|
display: block !important;
|
|
|
|
}
|
2015-07-21 22:40:13 +02:00
|
|
|
}
|
|
|
|
|
2016-05-23 20:09:15 +02:00
|
|
|
.Columns {
|
|
|
|
height: 100%;
|
2015-07-21 22:40:13 +02:00
|
|
|
|
2018-02-25 23:02:09 +01:00
|
|
|
&:after,
|
|
|
|
&:before {
|
2016-05-23 20:09:15 +02:00
|
|
|
content: " ";
|
|
|
|
display: table;
|
2015-07-21 22:40:13 +02:00
|
|
|
}
|
|
|
|
|
2018-02-25 23:02:09 +01:00
|
|
|
&:after {
|
2016-05-23 20:09:15 +02:00
|
|
|
clear: both;
|
|
|
|
}
|
2015-07-21 22:40:13 +02:00
|
|
|
|
2019-05-28 22:12:50 +02:00
|
|
|
&__left,
|
|
|
|
&__right {
|
2016-05-23 20:09:15 +02:00
|
|
|
position: relative;
|
|
|
|
min-height: 1px;
|
|
|
|
float: left;
|
|
|
|
overflow: auto;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2015-07-21 22:40:13 +02:00
|
|
|
|
2016-05-23 20:09:15 +02:00
|
|
|
&__left {
|
|
|
|
width: 25%;
|
2018-02-25 23:02:09 +01:00
|
|
|
border-right: 1px solid var(--sidebar-border);
|
2016-05-05 23:43:37 +02:00
|
|
|
overflow-x: hidden;
|
2015-07-21 22:40:13 +02:00
|
|
|
}
|
|
|
|
|
2016-05-23 20:09:15 +02:00
|
|
|
&__right {
|
|
|
|
width: 75%;
|
2016-08-06 00:14:15 +02:00
|
|
|
|
2016-05-23 20:09:15 +02:00
|
|
|
&__content {
|
2017-02-23 23:15:07 +01:00
|
|
|
padding: 0 20px 20px;
|
2016-05-05 23:43:37 +02:00
|
|
|
min-height: 100%;
|
2015-07-21 22:40:13 +02:00
|
|
|
}
|
|
|
|
}
|
2014-02-16 12:43:16 +01:00
|
|
|
}
|
2014-02-16 12:28:06 +01:00
|
|
|
}
|