From 1c1fdcbd7accc42c8330893c4fa59cd47156350f Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 21 Feb 2019 15:07:04 +0000 Subject: [PATCH] trivial: Fix indentation This was all over the shop. Fix it. Change-Id: I3c4b12d95624fbfe4b2c2db535e381b6bce5d511 Signed-off-by: Stephen Finucane --- www/static/common/css/deprecated-badge.css | 54 +++++++++++----------- www/static/common/css/search.css | 15 +++--- 2 files changed, 35 insertions(+), 34 deletions(-) diff --git a/www/static/common/css/deprecated-badge.css b/www/static/common/css/deprecated-badge.css index 11b04aff10..27ca871c0a 100644 --- a/www/static/common/css/deprecated-badge.css +++ b/www/static/common/css/deprecated-badge.css @@ -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%; + } } diff --git a/www/static/common/css/search.css b/www/static/common/css/search.css index 6b80e6fe1a..bad051dbfe 100644 --- a/www/static/common/css/search.css +++ b/www/static/common/css/search.css @@ -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; } -} \ No newline at end of file +}