Refactored Docs.

pull/473/head
Alper Ebicoglu 6 years ago
parent 528c87a26d
commit e7ee271ee3

@ -43,18 +43,23 @@
<div class="docs-top">
<nav class="navbar navbar-logo">
<a class="navbar-brand w-100" href="/">
@Model.ProjectName<br>
<strong class="display-block">
Documents
</strong>
</a>
<a href="@Model.Document.Project.MainWebsiteUrl" class="go-back-site">
<i class="fa fa-chevron-left"></i>
Back to Website
</a>
@if (!Model.ProjectName.IsNullOrWhiteSpace())
{
<a class="navbar-brand w-100" href="/">
@Model.ProjectName<br>
<strong class="display-block">
Documents
</strong>
</a>
}
@if (!Model.Document.Project.MainWebsiteUrl.IsNullOrWhiteSpace())
{
<a href="@Model.Document.Project.MainWebsiteUrl" class="go-back-site">
<i class="fa fa-chevron-left"></i>
Back to Website
</a>
}
<div class="for-mobile">
<div class="navbar-light">
@ -127,7 +132,7 @@
<div class="docs-inner-anchors mt-2">
<nav class="navbar p-0 pt-2" data-toggle="toc">
<h5 class="inner-title">In this article</h5>
<h5>In this article</h5>
</nav>
<div class="row">

@ -158,13 +158,6 @@
#docsContainer strong {
font-weight: 500;
}
#docsContainer .bd-search .form-control:focus {
border-color: #28c;
box-shadow: none;
}
#docsContainer #bd-docs-nav .doc-hidden {
display: none;
}
#docsContainer nav[data-toggle='toc'] .nav {
flex-direction: column;
}
@ -178,89 +171,4 @@
#docsContainer nav[data-toggle='toc'] .nav > li > a:focus {
color: #28c;
border-left: 1px solid #28c;
}
.header-back-container .cse .gsc-control-cse,
.header-back-container .gsc-control-cse {
background-color: transparent !important;
border: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
.header-back-container table.gsc-search-box td.gsc-input {
padding-right: 0 !important;
}
.header-back-container .cse table.gsc-search-box td.gsc-input,
.header-back-container table.gsc-search-box td.gsc-input {
padding-right: 0 !important;
}
.header-back-container div.gsc-control-cse td.gsib_a {
line-height: 1.5rem !important;
}
.header-back-container td.gsc-input div.gsc-input-box {
height: 2rem !important;
}
.header-back-container table.gsc-search-box td.gsc-input input,
.header-back-container table.gsc-search-box td.gsc-input input {
background: white !important;
text-indent: 0 !important;
}
.header-back-container .cse table.gsc-search-box td.gsc-input input input::-webkit-input-placeholder,
.header-back-container table.gsc-search-box td.gsc-input input::-webkit-input-placeholder {
/* Chrome/Opera/Safari */
color: gray;
text-indent: -3.5em !important;
}
.header-back-container .cse table.gsc-search-box td.gsc-input input input::-moz-placeholder,
.header-back-container table.gsc-search-box td.gsc-input input::-moz-placeholder {
/* Firefox 19+ */
color: gray;
text-indent: -3.5em !important;
}
.header-back-container .cse table.gsc-search-box td.gsc-input input input:-ms-input-placeholder,
.header-back-container table.gsc-search-box td.gsc-input input:-ms-input-placeholder {
/* IE 10+ */
color: gray;
text-indent: -3.5em !important;
}
.header-back-container .cse table.gsc-search-box td.gsc-input input input:-moz-placeholder,
.header-back-container table.gsc-search-box td.gsc-input input:-moz-placeholder {
/* Firefox 18- */
color: gray;
text-indent: -3.5em !important;
}
.header-back-container .cse table.gsc-search-box td.gsc-input input input:-placeholder-shown,
.header-back-container table.gsc-search-box td.gsc-input input:-placeholder-shown {
color: gray;
text-indent: -3.5em !important;
}
.header-back-container .gsc-clear-button {
display: none !important;
}
.header-back-container .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
background-color: #d6d6d6 !important;
}
.header-back-container .gsc-results .gsc-cursor-box .gsc-cursor-page {
font-size: 17px !important;
border: 1px solid gray !important;
padding: 3px !important;
text-decoration: none !important;
}
.header-back-container .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
font-weight: normal !important;
}
.header-back-container .gsc-cursor-page:hover {
text-decoration: underline !important;
font-weight: bold !important;
}
.header-back-container .gcsc-branding {
display: none !important;
}
.header-back-container .gsc-adBlock {
display: none !important;
}
.header-back-container .category-info h3.category-title {
display: inline-block;
}
.header-back-container .category-info span {
float: right;
}

@ -203,23 +203,10 @@
font-weight: 500;
}
.bd-search .form-control:focus {
border-color: #28c;
box-shadow: none;
}
#bd-docs-nav {
.doc-hidden {
display: none;
}
}
nav[data-toggle='toc'] .nav {
flex-direction: column;
}
nav[data-toggle='toc'] .nav > .active > a, nav[data-toggle='toc'] .nav > .active:hover > a, nav[data-toggle='toc'] .nav > .active:focus > a {
color: #28c;
border-left: 2px solid #28c;
@ -230,106 +217,3 @@
border-left: 1px solid #28c;
}
}
.header-back-container {
.cse .gsc-control-cse,
.gsc-control-cse {
background-color: transparent !important;
border: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
table.gsc-search-box td.gsc-input {
padding-right: 0 !important;
}
.cse table.gsc-search-box td.gsc-input, table.gsc-search-box td.gsc-input {
padding-right: 0 !important;
}
div.gsc-control-cse td.gsib_a {
line-height: 1.5rem !important;
}
td.gsc-input {
div.gsc-input-box {
height: 2rem !important;
}
}
table.gsc-search-box td.gsc-input input,
table.gsc-search-box td.gsc-input input {
background: white !important;
text-indent: 0 !important;
}
.cse table.gsc-search-box td.gsc-input input,
table.gsc-search-box td.gsc-input {
input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
color: gray;
text-indent: -3.5em !important;
}
input::-moz-placeholder { /* Firefox 19+ */
color: gray;
text-indent: -3.5em !important;
}
input:-ms-input-placeholder { /* IE 10+ */
color: gray;
text-indent: -3.5em !important;
}
input:-moz-placeholder { /* Firefox 18- */
color: gray;
text-indent: -3.5em !important;
}
input:-placeholder-shown {
color: gray;
text-indent: -3.5em !important;
}
}
.gsc-clear-button {
display: none !important;
}
.gsc-results .gsc-cursor-box .gsc-cursor-current-page {
background-color: #d6d6d6 !important;
}
.gsc-results .gsc-cursor-box .gsc-cursor-page {
font-size: 17px !important;
border: 1px solid gray !important;
padding: 3px !important;
text-decoration: none !important;
}
.gsc-results .gsc-cursor-box .gsc-cursor-current-page {
font-weight: normal !important;
}
.gsc-cursor-page:hover {
text-decoration: underline !important;
font-weight: bold !important
}
.gcsc-branding {
display: none !important;
}
.gsc-adBlock {
display: none !important;
}
.category-info h3.category-title {
display: inline-block;
}
.category-info span {
float: right;
}
}

File diff suppressed because one or more lines are too long

@ -369,9 +369,6 @@
max-width: 300px;
float: left;
}
.inner-title {
}
}
.scroll-top-btn {

Loading…
Cancel
Save