-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Sidebar and top menu fixes - Fixed bug with active state on top menu - Add sidebar filling from HUGO config - commented for a while - Banner - redefined string values of appearing to boolean, for consistence * Update base font-size Set basic font-size 16px Simplify sidebar ul selector Fix overview page props --------- Co-authored-by: atarakanovdes <atarakanov@kontur.io>
- Loading branch information
1 parent
d756dde
commit 86ad68e
Showing
16 changed files
with
352 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,123 @@ | ||
@font-face { | ||
font-family: "fa-regular-400"; | ||
src: url("/fonts/fa-regular-400.eot"); | ||
src: url("/fonts/fa-regular-400.woff") format("woff"), | ||
url("/fonts/fa-regular-400.otf") format("opentype"), | ||
url("/fonts/fa-regular-400.svg#filename") format("svg"); | ||
font-family: "fa-regular-400"; | ||
src: url("/fonts/fa-regular-400.eot"); | ||
src: | ||
url("/fonts/fa-regular-400.woff") format("woff"), | ||
url("/fonts/fa-regular-400.otf") format("opentype"), | ||
url("/fonts/fa-regular-400.svg#filename") format("svg"); | ||
} | ||
|
||
|
||
/* displaying the left border of the follow section for the footer */ | ||
.follow-us { | ||
border-left-style: solid; | ||
border-left-color: white; | ||
border-left-style: solid; | ||
border-left-color: white; | ||
} | ||
|
||
.sidebar { | ||
position: sticky; | ||
overflow-y: scroll; | ||
top: 100px; | ||
max-height: calc(100vh - 175px); | ||
padding-bottom: 30px; | ||
} | ||
|
||
::-webkit-scrollbar { | ||
width: 5px; | ||
} | ||
::-webkit-scrollbar-thumb { | ||
background: rgb(225, 225, 225); | ||
} | ||
|
||
.sidebar ul { | ||
list-style: none; | ||
margin-left: 0rem; | ||
padding-left: 1rem; | ||
list-style-type: none !important; | ||
} | ||
|
||
/** | ||
* Hidden fallback | ||
*/ | ||
[hidden] { | ||
display: none; | ||
visibility: hidden; | ||
} | ||
|
||
/** | ||
* Styling top level items | ||
*/ | ||
.sidebar > ul { | ||
padding-right: 2rem; | ||
} | ||
|
||
.sidebar li a, | ||
.sidebar label { | ||
display: inline-block; | ||
padding: 0.5rem 1rem; | ||
text-decoration: none; | ||
color: #000000; | ||
transition: all 0.025s ease-in; | ||
border-radius: 5px; | ||
width: 100%; | ||
} | ||
|
||
.sidebar li::marker { | ||
margin-left: 2rem; | ||
margin-right: 0rem; | ||
} | ||
|
||
.text-nowrap { | ||
white-space: nowrap; | ||
} | ||
.sidebar li .has-child { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
} | ||
|
||
.sidebar li .has-child .drop-arrow { | ||
max-width: 26px; | ||
padding: 0.5rem; | ||
} | ||
|
||
.sidebar li:has(.is-active) a { | ||
color: black; | ||
} | ||
.sidebar .has-active > .has-child a, | ||
.sidebar .is-active > a { | ||
/* background: #d5e39b3d; */ | ||
font-weight: bold; | ||
} | ||
.sidebar li .is-active > a { | ||
background: linear-gradient(to right, #589732, #93b022); | ||
color: #fff; | ||
font-weight: bold; | ||
} | ||
.sidebar li a:hover { | ||
background: #ededed; | ||
color: black; | ||
} | ||
.sidebar li .is-active > a:hover { | ||
background: linear-gradient(to right, #589732, #93b022); | ||
color: #fff; | ||
font-weight: bold; | ||
opacity: 0.9; | ||
} | ||
|
||
.sidebar label { | ||
cursor: pointer; | ||
} | ||
|
||
.sidebar li:has(> ul) { | ||
} | ||
|
||
/* .sidebar li:has(>ul)>a::after { | ||
content: url(../img/arrow.svg); | ||
border-color: none; | ||
transform: rotate(0deg); | ||
right: 2.75rem; | ||
position: absolute; | ||
} */ | ||
.sidebar .external-link a::after { | ||
content: url(../img/eva_external-link-fill.svg); | ||
margin-left: 0.5rem; | ||
margin-top: 0.25rem; | ||
position: absolute; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
a.is-active > span { | ||
border-bottom: solid gray 1px; | ||
.is-active > a > span, | ||
.is-active > span { | ||
border-bottom: solid #589632 3px; | ||
margin-bottom: -3px; | ||
} | ||
|
||
.is-semi-transparent { | ||
opacity:0.9; | ||
opacity: 0.9; | ||
} | ||
|
||
#menu > div > a > span:hover { | ||
border-bottom: solid 1px; | ||
color: black; | ||
} |
2 changes: 1 addition & 1 deletion
2
themes/hugo-bulma-blocks-theme/assets/sass/bulma/base/generic.sass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.