Theme backoffice docs for v8 to clearly differentiate it from the v7 docs (#8010)

This commit is contained in:
Jan Skovgaard
2020-05-26 18:02:21 +02:00
committed by GitHub
parent cc04a1c8fe
commit 19f16c3b1f
2 changed files with 26 additions and 17 deletions

View File

@@ -16,7 +16,7 @@ gulp.task('docs', [], function (cb) {
var options = {
html5Mode: false,
startPage: '/api',
title: "Umbraco Backoffice UI API Documentation",
title: "Umbraco 8 Backoffice UI API Documentation",
dest: './api',
styles: ['./umb-docs.css'],
image: "https://our.umbraco.com/assets/images/logo.svg"
@@ -53,4 +53,4 @@ gulp.task('open:docs', function (cb) {
gulp.src(__filename)
.pipe(open(options));
cb();
});
});

View File

@@ -4,7 +4,7 @@ html {
}
body {
font-family: 'Segoe UI', Tahoma, Helvetica, sans-serif;
}
.container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
@@ -33,37 +33,43 @@ body {
font-family: inherit;
}
.navbar .container{
min-height: inherit;
display: flex;
align-items: center;
}
.navbar .brand {
display: block;
float: left;
padding: 10px 20px 10px;
margin-left: -20px;
font-size: 20px;
font-weight: 200;
color: rgba(0,0,0,.8);
color: white;
text-shadow: none;
}
.navbar-fixed-top .navbar-inner {
min-height: 50px;
background: #a3db78;
background: #3544b1;
}
.form-search .well {
background-color: #f5fbf1;
background-color: #f7f7f7;
}
.form-search > ul.nav > li.module {
background-color: #daf0c9;
background-color: #3544b1;
}
.breadcrumb {
background-color: #f5fbf1;
.form-search > ul.nav > li.module a {
color: white;
}
a {
color: #f36f21;
.form-search > ul.nav > li.section {
background-color: #ccc;
}
.breadcrumb {
background-color: #f7f7f7;
}
a:hover {
text-decoration: none;
color: rgba(0,0,0,.8);
@@ -87,9 +93,12 @@ a:hover {
color: #000;
}
.form-search > ul.nav > li.module > a:hover{
color: #fff;
}
.header img {
width: 50px;
margin-top: 5px;
}
.content .methods code {