Files
openvino/docs/_static/css/custom.css
Karol Blaszczak fac45d79e4 Docs menu recreate structure step1 (#14526)
* Initial TOC config

TOC depth
prev-next btn
TOC initial links

* extensibility section

header changed to section
section populated

* media processing and CV lib

header changed to section
no content in the node article... needs to be added later

* openvino security

header turned into section
intro article used as the section parent

* ecosystem

header turned to section
section populated

* menu padding adjustment

* benchmarks and release notes

benchmarks moved to resources
release notes moved to top level
case studies link

* OpenVINO IR

IR articles put in a section
the parent article will require more content
2022-12-09 08:23:20 +08:00

717 lines
13 KiB
CSS

/* misc */
/* =================================================== */
.switcher-set {
margin-bottom:1rem;
}
main img {
cursor: pointer;
}
.doxyrest-title-code-block {
margin-bottom: 0;
}
main .searchForm {
margin-bottom: 2rem;
margin-top: 2rem;
}
/* navigation panels override */
/* =================================================== */
/* hide home item in the top bar */
ul#navbar-main-elements li:first-of-type {
display: none;
}
/* items on hover */
#bd-docs-nav div ul a:hover {
text-decoration: underline;
}
/* top bar items on hover */
ul#navbar-main-elements > li:hover {
text-decoration: underline;
}
/* first level items in the side menu */
#bd-docs-nav > div > ul > li > a {
color: #0068B5;
padding-bottom: 0;
}
/* second level items */
#bd-docs-nav > div > ul > li > ul {
padding-left: 0.5rem;
}
#bd-docs-nav div ul li ul li a {
padding-top: 0;
/*padding-bottom: 0; */
}
/* footer links */
/* =================================================== */
footer div.container div.footer-item p a {
float: left;
margin-right: 30px;
}
footer div.container div.footer-item p a:nth-child(1) {
margin-right: 50px;
}
footer div.container div.footer-item p:nth-child(2) {
clear: both;
}
/* doc version dropdown formatting override */
/* =================================================== */
[aria-labelledby="version-selector"] {
min-width: 125px!important;
overflow-x: hidden!important;
}
.sst-dropdown #version-selector {
min-width: 125px!important;
}
[aria-labelledby="version-selector"] .dropdown-item {
padding: 0.25rem 0.5rem!important;
}
/* Content in two columns */
/* =================================================== */
.row-two-col-content {
display: flex;
}
.column-two-col-content {
flex: 50%;
padding-right: 10px!important;
}
/* code reference text formatting override */
/* =================================================== */
code {
color: black !important;
font-weight: bold;
}
/* Table Sort Button */
/* =================================================== */
.sort-header {
cursor: pointer;
}
.sort-btn {
content: "";
background-image:url('media/arrow-small-opposite-v.svg');
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
display: inline-block;
height: 1.5rem;
width:1.5rem;
position:relative;
top:0.5rem;
}
.sort-btn.sort-active.ascending,
.sort-btn.sort-active {
background-size: 100% 70%;
}
.sort-btn.sort-active.ascending {
background-image: url('media/union-down.svg');
}
.sort-btn.sort-active {
background-image: url('media/union-up.svg');
}
div.highlight {
margin-bottom: 1.15rem;
}
.highlight .err {
border:none;
color:inherit;
}
.opt-notice-wrapper {
position: fixed;
bottom:0;
background: black;
width:100%;
text-align: center;
padding: 1rem;
z-index: 1000;
}
.opt-notice {
margin-bottom: 0;
position: absolute;
top: 50%;
transform: translateY(-50%);
text-align: center;
width:100%;
color: #fff;
}
/* Transition banner */
/* =================================================== */
.transition-banner {
top: 60px;
background: #76CEFF;
position: fixed;
text-align: center;
color: white;
z-index: 1001;
display: block;
padding:0 2rem;
font-size: var(--pst-sidebar-font-size);
border: none;
border-radius: 0;
font-weight: bold;
}
.transition-banner > p {
margin-bottom: 0;
}
.transition-banner .close {
padding: 0 1.25rem;
color: #000;
}
/* responsiveness */
/* =================================================== */
@media (max-width: 720px) {
.transition-banner {
margin-top: 2rem;
}
}
@media (min-width: 1200px) {
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
max-width: 1800px;
}
}
/* Performance Benchmark Graphs */
/* =================================================== */
.configure-graphs-header {
padding-left: 16px;
}
.configure-graphs-header h3 {
float: left;
}
.header-inactive {
color: lightgray;
}
.configure-graphs-btn {
padding: 4px 20px;
background-color: #0054AE;
border-color: #0054AE;
color: #fefefe;
}
.graph-chart-title-header {
font-size: 1.4rem;
line-height: 2rem;
color: #0054AE;
padding: 12px 0;
margin: 0;
}
.empty-chart-container {
height: 80px;
line-height: 80px;
width: 100%;
text-align: center;
background-color: #f3f3f3;
border-radius: 5px;
}
.graph-chart-title {
vertical-align: middle;
padding: 12px 0;
}
.chart-column-header-container {
padding-top: 8px;
display: flex;
flex-direction: row;
width: 100%;
}
.chart-column-title {
min-width: 20%;
flex-grow: 0 1;
}
.chart-column-title .icon {
margin-top: 6px;
margin-right: 8px;
flex-grow: 0;
float: left;
}
.chart-column-title .chart-header {
flex-grow: 1;
float: left;
}
.chart-column-title .title {
font-size: 1rem;
font-weight: 400;
}
.chart-column-title .subtitle {
font-size: .8rem;
color: gray;
}
.chart-labels-container {
width: 18%;
}
.chart-labels-container .title {
text-align: right;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: block;
font-size: .8rem;
line-height: 3.42rem;
color: gray;
}
.chevron-right-btn {
content: url('media/chevron-right.svg');
vertical-align: middle;
padding-left: 8px;
}
.chevron-down-btn {
content: url('media/chevron-down.svg');
vertical-align: middle;
padding-left: 8px;
}
.chart {
height: 500px;
padding:0;
}
.chart-placeholder {
overflow-y: scroll;
}
.build-benchmark-section {
background-color: #f9f9f9;
padding: 10px 30px 80px 30px;
display: flex;
flex-wrap: wrap;
}
.build-benchmark-section .title {
flex-grow: 1;
}
.build-benchmark-section h3 {
margin-top: 1rem;
}
.build-benchmark-section .btn-container {
display: block;
width: max-content;
align-self: center;
}
.build-benchmark-section img {
padding-top: 20px;
}
.platform-configurations {
font-size: larger;
display: flex;
flex-wrap: wrap;
}
.platform-configurations div {
margin-bottom: 30px;
}
.platform-configurations a {
padding-right: 24px;
}
.platform-configurations a img {
padding-right: 24px;
}
.efficiency-icon {
content: url('media/icon-efficiency.svg');
}
.latency-icon {
content: url('media/icon-latency.svg');
}
.throughput-icon {
content: url('media/icon-throughput.svg');
}
.value-icon {
content: url('media/icon-value.svg');
}
/* Modal */
/* The Close Button */
.modal-close {
color: #aaaaaa;
float: right;
font-size: 28px;
line-height: 24px;
padding-right: 4px;
}
.modal-close:hover,
.modal-close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
.clear-all-btn {
float: right;
cursor: pointer;
line-height: 4rem;
}
.clear-all-btn-content {
border: 1.5px solid black;
padding: 6px 10px;
}
.edit-settings-btn {
float: right;
color: #0054AE;
font-size: 1.05rem;
cursor: pointer;
line-height: 4rem;
display: none;
}
.edit-settings-text {
vertical-align: middle;
}
.edit-settings-icon {
vertical-align: middle;
content: url('media/edit-settings.svg');
}
.modal {
display: block;
position: fixed;
z-index: 1100;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
}
.modal .models-column-one label {
word-break: break-word;
}
.modal-content {
overflow: auto;
background-color: #fefefe;
margin: 3% auto;
padding: 36px;
border: 1px solid #888;
width: 95%;
max-height: 90%;
}
.modal-content h2 {
margin: 0 0 1rem;
}
.modal-content h3 {
margin-top: 20px;
}
.modal-line-divider {
width: 100%;
border-bottom: 1px solid lightgray;
padding-bottom: 1px;
}
.modal-header-grid-container {
display: grid;
padding: 12px 64px 2px 16px;
grid-template-columns: 40% 20% 20% 10% 10%;
column-gap: 16px;
}
.modal-content-grid-container {
display: grid;
padding-left: 24px;
padding-right: 64px;
padding-top: 8px;
grid-template-columns: 20% 20% 20% 20% 10% 10%;
column-gap: 12px;
font-size: .78rem;
}
.modal-content-grid-container .column {
min-width: 100px;
}
.modal-content-grid-container label {
margin-bottom: 0;
padding-right: 4px;
}
.modal-content-grid-container input {
background-color: #0054AE;
display: inline-block;
vertical-align: top;
margin-top: 4px;
margin-left: -14px;
}
.modal-header-grid-item h5 {
font-weight: 530;
margin: 0;
}
.modal-grid-item h5 {
margin: 0;
}
.modal-build-graphs-btn {
margin-bottom: 10px;
margin-right: 3px;
padding: 4px 16px;
float: right;
border-color: #0054AE;
background-color: #0054AE;
color: #fff;
}
.modal-build-graphs-btn:disabled {
border-color: #8C8C8C;
background-color: lightgray;
}
.modal-footer {
display: none;
padding: 0;
border: none;
width: 100%;
position: relative;
bottom: -16px;
left: 0;
}
.benchmark-graph-results-header {
padding-left: 16px;
}
.graph-row {
display: flex;
padding-top: 10px;
padding-bottom: 20px;
}
.graph-row-first-column {
width: 32%;
}
.graph-row-column {
width: 20%;
}
.close-btn {
padding: 4px 16px;
border-color: #0054AE;
background-color: #0054AE;
color: #fefefe;
float: right;
}
/* content formatting for the benchmark pages */
.picker-options {
margin: 15px 0;
}
.picker-options .option {
padding: 10px;
font-size: medium;
font-weight: bold;
cursor: pointer;
}
.picker-options .option.selected {
border-bottom: 2px solid #0068B5;
}
.picker-options .option.throughput::before {
content: url('media/icon-throughput.svg');
}
.picker-options .option.value::before {
content: url('media/icon-value.svg');
}
.picker-options .option.efficiency::before {
content: url('media/icon-efficiency.svg');
}
.picker-options .option.latency::before {
content: url('media/icon-latency.svg');
}
.picker-options p.selected {
display: block;
}
.picker-options p {
padding: 10px 0;
display: none;
border-top: #888 1px solid;
margin-top: 7px;
}
.selectable-box-container {
display: flex;
flex-direction: row;
padding: 0 0 8px 0;
}
.selectable-box {
border: 1px solid gray;
cursor: pointer;
flex-grow: 0;
font-size: .8rem;
font-weight: 600;
padding: 3px 10px;
color: black;
background-color: #fff;
}
.selectable-box.selected {
color: #fff;
background-color: #0054AE;
border-color:#0068B5;
}
.checkmark-container {
display: block;
position: relative;
padding-left: 20px;
margin-bottom: 12px;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Hide the browser's default checkbox */
.checkmark-container input {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}
/* Create a custom checkbox */
.checkmark {
position: absolute;
top: 2px;
left: 0;
height: 15px;
width: 15px;
border: #0054AE 2px solid;
}
.checkmark.radiobutton {
border-radius: 50%;
}
/* On mouse-over, add a grey background color */
.checkmark-container:hover input ~ .checkmark {
background-color: #ccc;
}
/* When the checkbox is checked, add a blue background */
.checkmark-container input:checked ~ .checkmark {
background-color: #0054AE;
}
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
content: "";
position: absolute;
display: none;
}
/* Show the checkmark when checked */
.checkmark-container input:checked ~ .checkmark:after {
display: block;
}
/* Style the checkmark/indicator */
.checkmark-container .checkmark:after {
left: 3px;
top: 0;
width: 5px;
height: 9px;
border: solid white;
border-width: 0 2px 2px 0;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
.checkmark-container .checkmark.radiobutton:after {
border-radius: 50%;
top: 3px;
left: 3px;
width: 5px;
height: 5px;
background: white;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
#performance-information-frequently-asked-questions section h2 {
cursor: pointer;
color: #0054AE;
font-size: larger;
margin-top: 12px;
}
#performance-information-frequently-asked-questions table tr:nth-child(even),
table#model-accuracy-and-perf-int8-fp32-table tr:nth-child(even),
table#model-accuracy-and-perf-int8-fp32-table .light-header {
background-color: #f9f9f9;
}
table#model-accuracy-and-perf-int8-fp32-table tr.header {
background-color: #e9eaeb;
}
table#model-accuracy-and-perf-int8-fp32-table td.data {
border-left: #e9eaeb solid 1px;
}
#performance-information-frequently-asked-questions table {
overflow: auto;
}
#performance-information-frequently-asked-questions table thead {
background-color: #e9eaeb;
}
#performance-information-frequently-asked-questions section h2::before {
content: url('media/chevron-right.svg');
vertical-align: -10px;
margin-left: -32px;
}
#performance-information-frequently-asked-questions section h2.expanded::before {
content: url('media/chevron-down.svg');
vertical-align: -10px;
}
#performance-information-frequently-asked-questions section p,
#performance-information-frequently-asked-questions section table {
display: none;
padding-left: 30px;
}