Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[DOCS] Fix css (#26642)

Andrzej Kopytkocd7e0e584994
diff --git a/docs/sphinx_setup/_static/css/custom.css b/docs/sphinx_setup/_static/css/custom.css
index 3f57eb122b2..452565eb372 100644
--- a/docs/sphinx_setup/_static/css/custom.css
+++ b/docs/sphinx_setup/_static/css/custom.css
@@ -375,7 +375,7 @@ div.admonition.note {
}
details.sd-dropdown summary.sd-card-header+div.sd-summary-content {
- background-color: #F8F8F8;
+ background-color: rgb(242, 248, 251);
}
details.sd-dropdown summary.sd-card-header {
@@ -418,6 +418,10 @@ details.sd-dropdown summary.sd-card-header:hover {
background-image: url('media/union-up.svg');
}
+div.highlight {
+ margin-bottom: 1.15rem;
+}
+
.highlight .err {
border: none;
color: inherit;
@@ -747,6 +751,30 @@ details.sd-dropdown summary.sd-card-header:hover {
background-color: rgba(0, 0, 0, 0.4);
}
+/* The Modal (filters modal) */
+.modal-filter {
+ display: none;
+ position: fixed;
+ z-index: 2;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ overflow: auto;
+ background-color: rgb(0, 0, 0);
+ background-color: rgba(0, 0, 0, 0.4);
+}
+
+/* Modal Content/Box */
+.modal-filters-content {
+ background-color: #fefefe;
+ margin: 5% auto;
+ padding: 36px;
+ border: 1px solid #888;
+ width: 50%;
+ border-radius: var(--bs-modal-border-radius)
+}
+
.modal-content {
overflow: auto;
background-color: #fefefe;
@@ -756,6 +784,7 @@ details.sd-dropdown summary.sd-card-header:hover {
width: 95%;
max-width: 1140px;
max-height: 85%;
+ border-radius: var(--bs-modal-border-radius)
}
.modal-content h2 {
@@ -800,6 +829,7 @@ details.sd-dropdown summary.sd-card-header:hover {
display: grid;
padding-top: .5rem;
grid-template-columns: 1fr;
+ overflow: auto;
}
.modal-content-grid-container .column {
@@ -819,6 +849,20 @@ details.sd-dropdown summary.sd-card-header:hover {
margin-left: -14px;
}
+.modal-content-grid-item h5 {
+ display: inline-block;
+ font-weight: 530;
+ margin: 0;
+ margin-left: 22px;
+}
+
+.modal-filters-content h5 {
+ display: inline-block;
+ font-weight: 530;
+ margin: 0;
+ margin-left: 22px;
+}
+
h1 {
display: block;
font-size: 1.9em;
@@ -968,6 +1012,17 @@ h5 {
}
}
+.show-allcheckbox {
+ cursor: pointer;
+ float: left;
+}
+
+.close:hover,
+.close:focus {
+ color: black;
+ text-decoration: none;
+ cursor: pointer;
+}
/* Modal buttons */
.modal-close {
@@ -993,9 +1048,11 @@ h5 {
}
.build-graphs-btn {
+ border: 1.5px solid black;
border-color: #0054AE;
background-color: #0054AE;
color: #fff;
+ padding: 4px 10px;
}
.build-graphs-btn:disabled {
@@ -1005,10 +1062,14 @@ h5 {
.clear-all-btn {
cursor: pointer;
+ padding: 0;
+ /* Disabled Clear All button. It is temporary solution */
+ display: none;
}
.clear-all-btn-content {
border: 1.5px solid black;
+ display: none;
padding: 6px 10px;
}
@@ -1028,10 +1089,34 @@ h5 {
content: url('media/edit-settings.svg');
}
+.arrow-back-icon {
+ content: url('media/arrow-back.svg');
+}
+
+.filters-label {
+ position: absolute;
+ font-weight: 400;
+ font-size: small;
+ /* top: -2px; */
+ right: 0px;
+ width: 90px;
+}
+
+.show-filter {
+ cursor: pointer;
+ position: relative;
+ float: right;
+}
+
+.show-filters-icon {
+ content: url('media/show-filters.svg');
+}
+
.close-btn {
- padding: 4px 16px;
- border-color: #0054AE;
- background-color: #0054AE;
+ padding: 12px 24px;
+ cursor: pointer;
+ /* border-color: #0054AE;
+ background-color: #0054AE; */
color: #fefefe;
float: right;
align-self: flex-start;