mirror of
https://github.com/docker/docs.git
synced 2026-03-28 06:49:00 +07:00
* First pass of tabs-based organization * Improvements * Second pass at tabs org * Move tab highlighting to Liquid instead of JS * Adding forwarding links for in-product TOCs * Move to pre-rendered left-navs instead of post-load JS for TOC sync * Optimizations and nosync-ing the Reference section * Optimizations, fix Cloud YAML * Make a "Sample applications" node * Update index.md * Tabs CSS fixes and 12-factor reposition * Theme Start (#1709) * Hooking up nav to real TOC data, formatting fixes * Fixing JS error * Layout updates, dark themes, tons o stuff (#1971) * Add cookie saving for day/night mode * Newsite tabs (#2004) * Layout updates, dark themes, tons o stuff * Update themes Theme updates + scaffolding * Update style.css * Update style-alt.css * Missing font fixes * Import Open Sans from Google * Font fix, archive removal in TOC, favicon, Feedback img fix * Oops, returning -webkit-font-smoothing: antialiased; * Add old favicon.ico * Make archives a non-tiered link * Reorder docs archive to newest-first, add local instructions * Commenting out day/night switch for now * Fix 'rate this page' * Rate this page fixes * Autocomplete and Docker Cloud fixes * Open tree to current page * Adding indentation for nav collapse in * Ensure left nav visibly displays the current topic * Update flex layout - adjust rescale - code block styles * add focus to search - force code block color (for now) - increase section max-width * increase content padding - add padding to toc for wrapping long strings. * grid adjustment - grid - content and wrapper adjustments for mobile * left/right sidebar adjustments - refine position on scroll for toc on landing - add default height to compensate for upcoming position absolute onScroll * side bar overflow - hidden on X-scroll * fix version button - override bstrap defaults * tabs + buttons * update landing svgs * fix sidebar height set to 100% on landing pre-affix * Update blurb about engine/editions on front page * add side menu to mobile collapse menu * update classnames * overall mobile tweaks * Right-nav highlighting and auto-scroll * Slightly slower right-nav highlighting, correct version * add toggle menus for small devices * Fixing JS error/Docker 1.13>17.03 * header updates * re-add fan to header * update transition time * Add first 20 words to Twitter card * fixed width of components - lockdown elements on rescale (wil need more TLC) * set max-width of content * Left and right nav resizing w/footer scroll and window resize * update links on landing page * Fix for overzealous resizing, JS redundancies * Fix for JS error on homepage * JS error fixes * toggle adjustments - wrap toggle button * add tab width * version button type * version button both headers * tabs - fix typo * landing page grid * components * Share images, JS fixes, Marketo removal * Anchor links fix * Fix for black space on mobile * Restore hamburger (partial) * Update run.md Minor grammar cleanup. * Update apparmor.md I'm a little confused about which one is better to be used here, a period (.) or a colon (:), as a command is given below. Or both are OK, and we only have to keep consistency in a single page. * Update apparmor.md Fixed the indentation for the codeblock (indented by 4 spaces). Thank you for your careful review. * Replacing service with secret * Update networking.md fix typo with triple "m" for command word * Update run.md Address PR feedback. * Update install instructions to latest version * Added "related topics" section * Add documentation for mem_swappiness * Update to new Docker version scheme (#1926) * mem_swappiness for current version and v1 * merge other changes, fix typo * There is no OpenSuSE and there never was though we had SuSE and S.u.S.E. * Add release notes for 1.12.6-cs9 (#2028) Signed-off-by: Brian Goff <cpuguy83@gmail.com> * need sudo to access key cache (#1931) * need sudo to access key cache * List other keyservers to try for cs-engine install (#2033) * List other keyservers to try for cs-engine install Sometimes ha.pool.sks-keyservers.net goes down, so let's provide some other keyservers to try in such cases. Signed-off-by: Brian Goff <cpuguy83@gmail.com> * Update work_issue.md (#2030) Change "re-start" to "restart". Though not included in "Prefered usages" in the documentation guide, but I think "restart" is better and used more frequently. Besides, some other docs here, such as "Keep containers alive during daemon downtime" of "Admin Guide", also use "restart". * Update create_pr.md (#2015) * Update work_issue.md (#2013) Change "id" to "ID" except for those in code. * Update set_up_dev.md (#2011) Add periods (.) in some steps. * Update set_up_dev.md (#2010) Apply Oxford Comma as described in the documentation guide. * Update create_pr.md (#2014) Delete an extra space. * Update trust_key_mng.md (#1883) * Update trust_key_mng.md * Update trust_key_mng.md I don‘t know how the whitespace appears, and it seems that it appears because something happened related to its original format (right-aligned pipe characters) and my change. Still unknown. Now I've deleted some redundant whitespace. * Update I don‘t know how the whitespace appears, and it seems that it appears because something happened related to its original format (right-aligned pipe characters) and my change. Still unknown. Now I've deleted some redundant whitespace. * Update content_trust.md (#1912) * Update content_trust.md * update deprecation policy Signed-off-by: Victor Vieux <victorvieux@gmail.com> * Update info about how to check whether Docker is running * Updated docs to reflect edge channel Signed-off-by: French Ben <frenchben@docker.com> * Updated wording for SP creation Signed-off-by: French Ben <frenchben@docker.com> * beta to edge, cloud features first draft added cloud images Signed-off-by: Victoria Bialas <victoria.bialas@docker.com> * Distinguish between cloud stack file and stack file * Added EE links Signed-off-by: French Ben <frenchben@docker.com> * Use variables Signed-off-by: French Ben <frenchben@docker.com> * Replace deprecated MAINTAINER with LABEL (#1445) Replace MAINTAINER instruction with LABEL as MAINTAINER was deprecated in https://github.com/docker/docker/pull/25466 * Updates for Docker CE and Docker EE * Updated DDC launch button Signed-off-by: French Ben <frenchben@docker.com> * added Docker Cloud topics for Mac and Windows Signed-off-by: Victoria Bialas <victoria.bialas@docker.com> * d4mac, d4win stable and beta release notes for 17.03.0 Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
547 lines
10 KiB
CSS
547 lines
10 KiB
CSS
/* FIXUP allcss.css */
|
|
/* @media screen and (max-width: 1199px) */
|
|
|
|
/*
|
|
*
|
|
* Tabs ***********************************************************************
|
|
*
|
|
*/
|
|
|
|
.tabs {
|
|
border-bottom: 0;
|
|
padding: 0px;
|
|
}
|
|
|
|
.tabs>li {
|
|
float: left;
|
|
list-style: none;
|
|
padding: 10px 0px 0px 0px;
|
|
}
|
|
|
|
.tabs>li>a {
|
|
color: #fff;
|
|
line-height: 3;
|
|
border: 0;
|
|
border-radius: 0;
|
|
padding: 0 20px 0px 20px;
|
|
float: left;
|
|
opacity: .8;
|
|
}
|
|
|
|
.tabs>li.active>a {
|
|
color: #fff;
|
|
border-bottom: 4px solid #fff;
|
|
opacity: 1;
|
|
-webkit-transition: all 0.2s ease;
|
|
-moz-transition: all 0.2s ease;
|
|
-o-transition: all 0.2s ease;
|
|
transition: all 0.2s ease;
|
|
font-weight: 500;
|
|
}
|
|
.tabs>li>a:hover {
|
|
border-bottom: 4px solid #fff;
|
|
opacity: 1;
|
|
-webkit-transition: all 0.2s ease;
|
|
-moz-transition: all 0.2s ease;
|
|
-o-transition: all 0.2s ease;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.tabs>li:hover {
|
|
color: #fff;
|
|
background-color: gray;
|
|
opacity: 1;
|
|
-webkit-transition: all 0.2s ease;
|
|
-moz-transition: all 0.2s ease;
|
|
-o-transition: all 0.2s ease;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.logo {
|
|
margin-top: 1px !important;
|
|
width: auto !important;
|
|
height: auto !important;
|
|
max-width: none !important;
|
|
}
|
|
.autocompleteSelected {
|
|
background-color: #f5f5f5;
|
|
}
|
|
.autocompleteList
|
|
{
|
|
list-style-type: none;
|
|
width: 400px;
|
|
padding: 0px 10px 0px 10px;
|
|
margin-bottom: 0px;
|
|
}
|
|
.autoCompleteResult {
|
|
border-bottom: 1px solid #6db9d1;
|
|
padding-bottom: 10px;
|
|
}
|
|
#autocompleteShowAll {
|
|
padding-bottom: 10px;
|
|
}
|
|
.autocompleteList li {
|
|
width: 380px;
|
|
border: 0px;
|
|
padding-right: 20px;
|
|
margin: 0px;
|
|
}
|
|
.autocompleteTitle {
|
|
/* font-weight: bold; */
|
|
padding-top: 10px !important;
|
|
}
|
|
.autocompleteUrl {
|
|
font-size: 9px;
|
|
color: green;
|
|
padding-left: 10px;
|
|
}
|
|
.autocompleteDescription {
|
|
padding-left: 10px;
|
|
font-size: 12px;
|
|
}
|
|
.autocompleteKeywords, .autocompleteBreadcrumb {
|
|
font-size: 9px;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
#autocompleteContainer {
|
|
position: relative;
|
|
}
|
|
|
|
#autocompleteResults {
|
|
display: none;
|
|
position: absolute;
|
|
z-index: 1;
|
|
top: 0;
|
|
right: 0;
|
|
background: #ffffff;
|
|
background-color: #FFFFFF;
|
|
width: 400px;
|
|
border-radius: 3px;
|
|
border: 1px solid #6db9d1;
|
|
}
|
|
|
|
.dockercon16 section.title_section, header.main-header::after {
|
|
background-position: initial;
|
|
}
|
|
/* Notes */
|
|
#DocumentationText p {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
#DocumentationText strong,
|
|
#DocumentationText b {
|
|
font-weight: 500;
|
|
line-height: inherit;
|
|
}
|
|
#DocumentationText blockquote {
|
|
font-size: 16px;
|
|
border-left: 4px solid #6db9d1;
|
|
padding: 6px;
|
|
background-color: #fafafa;
|
|
color: black !important;
|
|
}
|
|
#DocumentationText blockquote li div.highlighter-rouge {
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
#DocumentationText blockquote p {
|
|
color: black !important;
|
|
margin: 0;
|
|
padding: 10px 20px;
|
|
}
|
|
/*#DocumentationText blockquote p strong {
|
|
color: #6db9d1;
|
|
}*/
|
|
#DocumentationText blockquote ol, #DocumentationText blockquote ul {
|
|
padding-left: 20px !important;
|
|
}
|
|
#DocumentationText code {
|
|
border-width: 0px !important;
|
|
background-color: #f5f5f5 !important;
|
|
}
|
|
#DocumentationText thead {
|
|
background: rgb(200, 230, 239);
|
|
}
|
|
#DocumentationText thead th {
|
|
color: black;
|
|
font-weight: normal;
|
|
font-size: 1rem;
|
|
}
|
|
#DocumentationText {
|
|
padding: 20px !important;
|
|
}
|
|
#DocumentationText h2 {
|
|
font-size: 38px;
|
|
}
|
|
#DocumentationText h1,
|
|
#DocumentationText h2,
|
|
#DocumentationText h3,
|
|
#DocumentationText h4,
|
|
#DocumentationText h5,
|
|
#DocumentationText h6 {
|
|
color: #155A74;
|
|
font-weight: normal;
|
|
}
|
|
#DocumentationText,
|
|
#TableOfContentsSection {
|
|
color: black;
|
|
}
|
|
#DocumentationText a,
|
|
#RightColumnSection a {
|
|
color: #008AB5;
|
|
}
|
|
|
|
/* reset away from #008AB5 */
|
|
|
|
/* removed hard-coded color for button links pre new CSS from Design */
|
|
#DocumentationText a.button {
|
|
}
|
|
|
|
#DocumentationText .darkblue-btn {
|
|
color: #ffffff;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
/* hard coded color and other settings pre new CSS from Design */
|
|
#DocumentationText .secondary-btn,
|
|
button .secondary-btn {
|
|
border: 2px solid #1488c6;
|
|
color: #1488c6;
|
|
background: white;
|
|
margin-top: 15px;
|
|
font-size: 14px;
|
|
padding: 12px 30px 12px 30px;
|
|
text-decoration: none;
|
|
font-family: Open Sans, sans-serif;
|
|
font-weight: 700;
|
|
}
|
|
|
|
#DocumentationText button.secondary-btn {
|
|
background: transparent;
|
|
}
|
|
#DocumentationText .secondary-btn:hover,
|
|
button .secondary-btn:hover {
|
|
opacity: .8;
|
|
}
|
|
|
|
#DocumentationText table {
|
|
margin: 1.25rem 0;
|
|
width: 100%;
|
|
}
|
|
|
|
/* anchor links to reveal paragraph marker on hover */
|
|
|
|
a.anchorLink {
|
|
margin-left: 5px;
|
|
visibility: hidden;
|
|
}
|
|
|
|
h1:hover > a.anchorLink,
|
|
h2:hover > a.anchorLink,
|
|
h3:hover > a.anchorLink {
|
|
visibility: visible;
|
|
}
|
|
|
|
/* ========== Start sidebarnav ========== */
|
|
div.docsidebarnav_section.affix {
|
|
position: fixed;
|
|
z-index: 9999;
|
|
top: 0;
|
|
}
|
|
div.docsidebarnav_section.affix ul {
|
|
margin: 0 0 1.5rem 0;
|
|
}
|
|
.docsidebarnav_section {
|
|
left: 0;
|
|
padding: 0;
|
|
}
|
|
.docsidebarnav_section ul{
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: -25px 0 1.5rem 0;
|
|
position: absolute;
|
|
left: 0;
|
|
background-color: #fff;
|
|
padding: 0;
|
|
width: 270px;
|
|
width: 100%;
|
|
text-align: left;
|
|
overflow: hidden;
|
|
}
|
|
.docsidebarnav_section ul li{
|
|
display: block;
|
|
}
|
|
.docsidebarnav_section ul li a {
|
|
color: #fff;
|
|
font-size: 13px;
|
|
font-family: 'Geomanist Regular', sans-serif;
|
|
display: block;
|
|
width: 100%;
|
|
padding: 16px 5px 16px 20px;
|
|
line-height: 15px;
|
|
border-radius: 0;
|
|
background-color: #fff;
|
|
color: rgba(0, 0, 0, 0.7);
|
|
}
|
|
.docsidebarnav_section ul li a:hover {
|
|
background: rgba(0, 0, 0, 0.05);
|
|
}
|
|
.docsidebarnav_section ul li a,
|
|
.docsidebarnav_section ul li a:hover,
|
|
.docsidebarnav_section ul li a:focus
|
|
{
|
|
border-bottom: none;
|
|
text-decoration: none;
|
|
border-left: 2px solid rgba(188, 181, 185, 0.3);
|
|
}
|
|
.docsidebarnav_section ul li a.active {
|
|
cursor: default;
|
|
}
|
|
/* ========== End sidebarnav ========== */
|
|
.docsidebarnav_section a.expand-menu {
|
|
background-color: #fff;
|
|
}
|
|
|
|
.docsidebarnav_section a.expand-menu:hover {
|
|
background: rgba(0, 0, 0, 0.05);
|
|
}
|
|
.docsidebarnav_section a.expand-menu.active {
|
|
background-color: #fff;
|
|
}
|
|
.docsidebarnav_section .caret {float: right;
|
|
margin-right: 10px;
|
|
margin-top: 5px;}
|
|
.docsidebarnav_section.affix ul,
|
|
.docsidebarnav_section ul {position: initial;margin:initial !important;}
|
|
.nav-sub .currentPage,
|
|
.nav-sub .currentPage:hover {
|
|
color: rgb(20, 136, 198);
|
|
border-left: 2px solid rgb(20, 136, 198);
|
|
font-weight: 500;
|
|
}
|
|
.menu-closed .nav-sub {height: 0 !important;}
|
|
.menu-open .nav-sub {height: auto;}
|
|
div>.nav-sub>li {
|
|
margin: 0;
|
|
}
|
|
.docsidebarnav_section ul li a,
|
|
.nav-sub li a {padding-left: 1em;}
|
|
.nav-sub li li a {padding-left: 1.5em;}
|
|
.nav-sub li li li a {padding-left: 2em;}
|
|
.nav-sub li li li li a {padding-left: 2.5em;}
|
|
.nav-sub li li li li li a {padding-left: 3em;}
|
|
#DocumentationText pre {
|
|
margin: 20px 0 20px !important;
|
|
padding: 10px;
|
|
}
|
|
#DocumentationText li p {
|
|
margin-bottom: 0;
|
|
}
|
|
.docsidebarnav_section .menu-icon {
|
|
float: right;
|
|
color: #b7b9b5;
|
|
}
|
|
.menu-open .menu-icon:after {
|
|
content: "\e260";
|
|
margin: 0 5px;
|
|
font-family: 'Glyphicons Halflings';
|
|
}
|
|
.menu-closed .menu-icon:after {
|
|
content: "\e259";
|
|
margin: 0 5px;
|
|
font-family: 'Glyphicons Halflings';
|
|
}
|
|
.glyphicon-menu-down:before {
|
|
content: "\e259";
|
|
}
|
|
.glyphicon-menu-up:before {
|
|
content: "\e260";
|
|
}
|
|
|
|
/* TableOfContents */
|
|
.right_column_section {
|
|
padding: 0;
|
|
}
|
|
.rating-msg {
|
|
display: none !important;
|
|
}
|
|
#pd_rating_holder_8453675 {
|
|
vertical-align: bottom !important;
|
|
}
|
|
#rating_info_8453675 {
|
|
display: none !important;
|
|
}
|
|
|
|
#RightColumnSection {
|
|
padding: 0 !important;
|
|
}
|
|
|
|
#RightColumnSection ul {
|
|
padding-top: 5px;
|
|
list-style: none;
|
|
margin-left: 0;
|
|
}
|
|
.advisory {
|
|
color: #F04124;
|
|
margin: -20px -20px 20px -20px;
|
|
padding: 20px;
|
|
border-left: 4px solid;
|
|
}
|
|
|
|
/* search form */
|
|
.form-control:focus {
|
|
outline: 0;
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
.search-banner {
|
|
width: 100%;
|
|
align: center;
|
|
}
|
|
.search-form .algolia-autocomplete {
|
|
width: 100%;
|
|
padding-right: 54px;
|
|
}
|
|
.search-form .algolia-autocomplete .search-field, #st-search-input {
|
|
width: 100%;
|
|
}
|
|
.search-form{
|
|
max-width: 420px;
|
|
width: 100%;
|
|
margin: auto;
|
|
display: block;
|
|
position: relative;
|
|
padding: 0;
|
|
margin-bottom: 0px;
|
|
}
|
|
.search-form .search-field {
|
|
NOwidth: 280px;
|
|
NOmargin: auto;
|
|
height: 54px;
|
|
margin: 0px;
|
|
background-color: #fff;
|
|
border: none;
|
|
/* text-indent: 80px; */
|
|
transition: opacity 400ms;
|
|
color: #9098a2;
|
|
font-size: 14px;
|
|
padding: 10px;
|
|
border-radius: 0;
|
|
}
|
|
.search-form .search-submit {
|
|
width: 54px;
|
|
height: 54px;
|
|
position: absolute;
|
|
top: 0px;
|
|
/* left: .8rem; */
|
|
right: 0px;
|
|
border: 0;
|
|
text-indent: -9999px;
|
|
background-color: transparent;
|
|
background-image: url("/images/search-icon.png");
|
|
/* background-size: 38px 38px; */
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
/* border-right: 1px solid #e1e1e1; */
|
|
outline: none;
|
|
border-radius: 0;
|
|
}
|
|
|
|
/* end search */
|
|
|
|
/* begin reading_time */
|
|
|
|
span.reading-time {
|
|
font-style: italic;
|
|
font-size: 80%;
|
|
display: block;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
color: #999;
|
|
}
|
|
|
|
span.reading-time-label {
|
|
}
|
|
|
|
img.with-border {
|
|
border: 1px solid #eaeaea;
|
|
}
|
|
|
|
#search-div {
|
|
margin-top: 10px;
|
|
border: 1px solid #2294ca;
|
|
}
|
|
|
|
#side-toc {
|
|
background-color: #f5fdff;
|
|
border: 1px solid #2294ca;
|
|
padding: 10px;
|
|
margin-top: 20px;
|
|
width: 100%;
|
|
}
|
|
|
|
#feedback-links {
|
|
margin-top: 20px;
|
|
width: 100%;
|
|
}
|
|
|
|
#side-toc-contents,
|
|
#feedback-links {
|
|
list-style-type: none;
|
|
font-size: 80%;
|
|
}
|
|
|
|
#side-toc-contents ul,
|
|
#feedback-links ul {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#side-toc-contents li {
|
|
padding-bottom: 7px;
|
|
padding-top: 7px;
|
|
line-height: 1!important;
|
|
}
|
|
#side-toc-contents ul ul li {
|
|
padding-left: 14px;
|
|
}
|
|
#side-toc-title {
|
|
font-weight: bolder;
|
|
font-size: 90%;
|
|
color: #155A74;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
#site-generation {
|
|
font-size: 9px;
|
|
color: #999;
|
|
font-style: italic;
|
|
}
|
|
|
|
#top-nav {
|
|
float: left;
|
|
}
|
|
|
|
#start-tour-container {
|
|
padding-top: 10px;
|
|
padding-bottom: 0;
|
|
padding-right: 0;
|
|
float: right;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
}
|
|
#start-tour {
|
|
cursor: pointer;
|
|
color: #fff;
|
|
font-family: 'Geomanist', san-serif;
|
|
font-size: 1em;
|
|
line-height: 1.3;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
width: 110px;
|
|
float: right;
|
|
}
|
|
|
|
#start-tour:hover {
|
|
opacity: .8;
|
|
}
|