From 349103eac58d0ace5b87620d6ede47c7694b0c1d Mon Sep 17 00:00:00 2001 From: Rohan Maharjan Date: Thu, 1 Aug 2024 13:31:42 +0545 Subject: [PATCH] fix : making all module logos same size --- .../work-in-repos/keyword-search.md | 2 +- src/css/custom.css | 51 +++++++++++++------ static/img/icon_ccm.svg | 21 ++++---- static/img/icon_cd.svg | 21 ++++---- static/img/icon_ce.svg | 21 ++++---- static/img/icon_cet.svg | 11 ++-- static/img/icon_ci.svg | 21 ++++---- static/img/icon_code.svg | 6 +-- static/img/icon_ff.svg | 34 +++++-------- static/img/icon_iacm.svg | 21 ++++---- static/img/icon_sei.svg | 21 ++++---- static/img/icon_srm.svg | 23 ++------- static/img/icon_ssca.svg | 25 ++++----- static/img/icon_sto.svg | 21 ++++---- 14 files changed, 135 insertions(+), 164 deletions(-) diff --git a/docs/code-repository/work-in-repos/keyword-search.md b/docs/code-repository/work-in-repos/keyword-search.md index 9aadc454160..60714d87850 100644 --- a/docs/code-repository/work-in-repos/keyword-search.md +++ b/docs/code-repository/work-in-repos/keyword-search.md @@ -54,7 +54,7 @@ You can use the **Repository** [search results filter](#search-results-filters) Within an account or organization keyword search you may also disable recursive search and only search the repositories within the respective account or organization itself. -:::Note +::: Note You can only search for code in repositories that you have permission to access. ::: diff --git a/src/css/custom.css b/src/css/custom.css index 65480adacc0..931bd637587 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -994,6 +994,10 @@ figure p { /*******************sidebar logo css start*******************/ + .menu__list-item-collapsible > a{ + height: 52px; + } + .sidebar-platform > div > a::before{ content: " "; display: inline-block; @@ -1001,7 +1005,8 @@ figure p { min-width: 24px; margin-right:16px; background-image: url("/img/logo.svg"); - background-size: cover; + background-size: contain; + background-repeat: no-repeat; } .sidebar-cr > div > a::before{ content: " "; @@ -1010,7 +1015,8 @@ figure p { min-width: 24px; margin-right:16px; background-image: url("/img/icon_code.svg"); - background-size: cover; + background-size: contain; + background-repeat: no-repeat; } .sidebar-ci > div > a::before{ content: " "; @@ -1019,7 +1025,8 @@ figure p { min-width: 24px; margin-right:16px; background-image: url("/img/icon_ci.svg"); - background-size: cover; + background-size: contain; + background-repeat: no-repeat; } .sidebar-cd > div > a::before{ content: " "; @@ -1028,16 +1035,18 @@ figure p { min-width: 24px; margin-right:16px; background-image: url("/img/icon_cd.svg"); - background-size: cover; + background-size: contain; + background-repeat: no-repeat; } .sidebar-iacm > div > a::before{ content: " "; display: inline-block; - height: 24px; + min-height: 24px; min-width: 24px; margin-right:16px; background-image: url("/img/icon_iacm.svg"); - background-size: cover; + background-size: contain; + background-repeat: no-repeat; } .sidebar-ff div > a::before{ content: " "; @@ -1046,7 +1055,8 @@ figure p { min-width: 24px; margin-right:16px; background-image: url("/img/icon_ff.svg"); - background-size: cover; + background-size: contain; + background-repeat: no-repeat; } .sidebar-ccm > div > a::before{ content: " "; @@ -1055,7 +1065,8 @@ figure p { min-width: 24px; margin-right:16px; background-image: url("/img/icon_ccm.svg"); - background-size: cover; + background-size: contain; + background-repeat: no-repeat; } .sidebar-sto > div > a::before{ content: " "; @@ -1064,7 +1075,8 @@ figure p { min-width: 24px; margin-right:16px; background-image: url("/img/icon_sto.svg"); - background-size: cover; + background-size: contain; + background-repeat: no-repeat; } .sidebar-ssca > div > a::before{ content: " "; @@ -1073,7 +1085,8 @@ figure p { min-width: 24px; margin-right:16px; background-image: url("/img/icon_ssca.svg"); - background-size: cover; + background-size: contain; + background-repeat: no-repeat; } .sidebar-ce > div > a::before{ content: " "; @@ -1082,7 +1095,8 @@ figure p { min-width: 24px; margin-right:16px; background-image: url("/img/icon_ce.svg"); - background-size: cover; + background-size: contain; + background-repeat: no-repeat; } .sidebar-srm > div > a::before{ content: " "; @@ -1091,7 +1105,8 @@ figure p { min-width: 24px; margin-right:16px; background-image: url("/img/icon_srm.svg"); - background-size: cover; + background-size: contain; + background-repeat: no-repeat; } .sidebar-cet > div > a::before{ content: " "; @@ -1100,7 +1115,8 @@ figure p { min-width: 24px; margin-right:16px; background-image: url("/img/icon_cet.svg"); - background-size: cover; + background-size: contain; + background-repeat: no-repeat; } .sidebar-idp > div > a::before{ content: " "; @@ -1109,7 +1125,8 @@ figure p { min-width: 24px; margin-right: 16px; background-image: url("/img/icon_idp.svg"); - background-size: cover; + background-size: contain; + background-repeat: no-repeat; } .sidebar-sei > div > a::before{ content: " "; @@ -1118,7 +1135,8 @@ figure p { min-width: 24px; margin-right: 16px; background-image: url("/img/icon_sei.svg"); - background-size: cover; + background-size: contain; + background-repeat: no-repeat; } .sidebar-smp > div > a::before{ content: " "; @@ -1127,7 +1145,8 @@ figure p { min-width: 24px; margin-right: 16px; background-image: url("/img/logo.svg"); - background-size: cover; + background-size: contain; + background-repeat: no-repeat; } diff --git a/static/img/icon_ccm.svg b/static/img/icon_ccm.svg index 819ac311158..0c3d161e312 100644 --- a/static/img/icon_ccm.svg +++ b/static/img/icon_ccm.svg @@ -1,12 +1,9 @@ - - - - - - - - - \ No newline at end of file + + + + + + + + + diff --git a/static/img/icon_cd.svg b/static/img/icon_cd.svg index 522bfc00e73..12efc079374 100644 --- a/static/img/icon_cd.svg +++ b/static/img/icon_cd.svg @@ -1,12 +1,9 @@ - - - - - - - - - \ No newline at end of file + + + + + + + + + diff --git a/static/img/icon_ce.svg b/static/img/icon_ce.svg index d25ca9bc309..2016ea03334 100644 --- a/static/img/icon_ce.svg +++ b/static/img/icon_ce.svg @@ -1,12 +1,9 @@ - - - - - - - - - \ No newline at end of file + + + + + + + + + diff --git a/static/img/icon_cet.svg b/static/img/icon_cet.svg index 0c522e4efb1..87d054e98b7 100644 --- a/static/img/icon_cet.svg +++ b/static/img/icon_cet.svg @@ -1,9 +1,10 @@ - - + + - - - + + + + diff --git a/static/img/icon_ci.svg b/static/img/icon_ci.svg index ccd2f73a33c..3cc51a84056 100644 --- a/static/img/icon_ci.svg +++ b/static/img/icon_ci.svg @@ -1,12 +1,9 @@ - - - - - - - - - \ No newline at end of file + + + + + + + + + diff --git a/static/img/icon_code.svg b/static/img/icon_code.svg index 62f7442bebc..dc76c5d2196 100644 --- a/static/img/icon_code.svg +++ b/static/img/icon_code.svg @@ -1,7 +1,7 @@ - - + + - + diff --git a/static/img/icon_ff.svg b/static/img/icon_ff.svg index d78c0fa12ea..500ad55d103 100644 --- a/static/img/icon_ff.svg +++ b/static/img/icon_ff.svg @@ -1,20 +1,14 @@ - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + diff --git a/static/img/icon_iacm.svg b/static/img/icon_iacm.svg index 6441a4f35df..aea6cbd8604 100644 --- a/static/img/icon_iacm.svg +++ b/static/img/icon_iacm.svg @@ -1,12 +1,9 @@ - - - - - - - - - \ No newline at end of file + + + + + + + + + diff --git a/static/img/icon_sei.svg b/static/img/icon_sei.svg index 23a813f6392..aab7eb8eabf 100644 --- a/static/img/icon_sei.svg +++ b/static/img/icon_sei.svg @@ -1,12 +1,9 @@ - - - - - - - - - \ No newline at end of file + + + + + + + + + diff --git a/static/img/icon_srm.svg b/static/img/icon_srm.svg index d3bc03ea53c..a2b42b47f26 100644 --- a/static/img/icon_srm.svg +++ b/static/img/icon_srm.svg @@ -1,20 +1,3 @@ - - - - - - - - - - - - - - \ No newline at end of file + + + diff --git a/static/img/icon_ssca.svg b/static/img/icon_ssca.svg index b6809a7ecf6..a5e622b11b1 100644 --- a/static/img/icon_ssca.svg +++ b/static/img/icon_ssca.svg @@ -1,15 +1,10 @@ - - - - - - - - - - \ No newline at end of file + + + + + + + + + + diff --git a/static/img/icon_sto.svg b/static/img/icon_sto.svg index 0cc3470f36f..83b900bebc7 100644 --- a/static/img/icon_sto.svg +++ b/static/img/icon_sto.svg @@ -1,12 +1,9 @@ - - - - - - - - - \ No newline at end of file + + + + + + + + +