Browse Source

Merge "trivial: Fix indentation"

changes/01/639801/1
Zuul 2 years ago
committed by Gerrit Code Review
parent
commit
5a0adccdb6
2 changed files with 35 additions and 34 deletions
  1. +28
    -26
      www/static/common/css/deprecated-badge.css
  2. +7
    -8
      www/static/common/css/search.css

+ 28
- 26
www/static/common/css/deprecated-badge.css View File

@ -1,19 +1,19 @@
/* deprecated badge css */
.deprecated-badge {
padding: 5px;
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.46);
-webkit-font-smoothing: subpixel-antialiased;
padding: 5px;
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.46);
-webkit-font-smoothing: subpixel-antialiased;
}
.deprecated-badge a, .deprecated-badge p {
text-decoration: none;
position: relative;
margin-top: 8px;
text-decoration: none;
position: relative;
margin-top: 8px;
}
.deprecated-badge .docs-dropdown {
display: inline-block;
display: inline-block;
}
.deprecated-badge .docs-dropdown > a {
@ -23,36 +23,38 @@
.deprecated-badge .docs-dropdown .dropdown-menu a {
padding: 5px 25px;
margin-top: 0px; }
margin-top: 0px;
}
.deprecated-badge .docs-dropdown > .dropdown-menu > li.current {
padding: 5px 25px;
text-align: left; }
text-align: left;
}
.deprecated-badge a:hover {
text-decoration: underline;
text-decoration: underline;
}
.deprecated-badge.fixed {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
}
.deprecated-badge p {
display: inline-block;
display: inline-block;
}
a.deprecated-badge-right {
float: right;
display: none;
font-size: 0.9em;
float: right;
display: none;
font-size: 0.9em;
}
.deprecated-badge.fixed a.deprecated-badge-right {
display: inline-block;
display: inline-block;
}
.navbar-default{
@ -115,19 +117,19 @@ a.deprecated-badge-right {
}
.deprecated-badge-maintained .deprecated-badge-close-button{
color: #000000 !important;
color: #000000 !important;
}
.deprecated-badge-development .deprecated-badge-close-button{
color: #000000 !important;
color: #000000 !important;
}
.deprecated-badge-current .deprecated-badge-close-button{
color: white !important;
color: white !important;
}
@media (max-width: 767px), only screen and (max-device-width: 1024px) {
.deprecated-badge .deprecated-badge-close-button{
left:97%;
}
.deprecated-badge .deprecated-badge-close-button{
left:97%;
}
}

+ 7
- 8
www/static/common/css/search.css View File

@ -1,26 +1,25 @@
/*hide close button*/
.ossw-search-bar-close {
display: none !important;
display: none !important;
}
#search-bar-input{
width: 98% !important;
margin-top: 10px !important;
width: 98% !important;
margin-top: 10px !important;
}
.search-container-mobile
{
.search-container-mobile {
display: none !important;
position: relative !important;
width: 100% !important;
}
@media (max-width: 767px), only screen and (max-device-width: 1024px) {
.search-container-mobile
{
.search-container-mobile {
display: block !important;
}
.search-container {
display: none !important;
}
}
}

Loading…
Cancel
Save