Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
@import "404";
@import "parameters-block";
@import "parameter";
@import "skip-links";
@import "heading-anchor";

#print {
Expand Down
34 changes: 0 additions & 34 deletions docs/assets/scss/breadcrumbs.scss

This file was deleted.

132 changes: 0 additions & 132 deletions docs/assets/scss/code-select.scss

This file was deleted.

79 changes: 73 additions & 6 deletions docs/assets/scss/header.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
// (C) 2023 GoodData Corporation
@import "variables/variables";

.gd-docs-header {
&-tag {
display: block;
margin-left: 30px;
padding: 4px 10px;
border-radius: 50px;
color: $color-white;
font-family: $gdfont-demibold;
font-size: 14px;
line-height: 19px;
background: #94A1AE;
}

&-breadcrumb {
display: flex;
align-items: center;
color: #2F3336;
font-size: 14px;
line-height: 30px;
opacity: 0.8;

svg {
margin-right: 10px;
}
}
}

.gd-docs-header-nav {
position: fixed;
right: 0;
Expand All @@ -15,6 +43,24 @@
overflow-y: auto;
}

&__desktop {
display: flex;
min-width: 55px;
nav {
display: none;
@include mq(large) {
display: block;
}
}
}

&__mobile {
display: block;
@include mq(large) {
display: none;
}
}

&__first {
top: 0;
min-height: $header-first-nav-height;
Expand Down Expand Up @@ -42,12 +88,18 @@
}

&__second &__left,
&__desktop,
&__second &__right {
flex: 1 0 0;
flex: 0 0 auto;

@include mq(x-large) {
flex: 1 0 0;
}
}

&__second &__left {
align-self: center;
min-width: 55px;
align-self: stretch;
}

&__second &__center {
Expand Down Expand Up @@ -100,7 +152,7 @@
line-height: 1.375;
background-color: $color-shocking-pink;
transition: $transition;

&,
&:hover,
&:focus,
Expand All @@ -118,6 +170,10 @@
& + & {
margin-left: 1rem;
}

svg {
margin-right: 10px;
}
}

&__secondary,
Expand Down Expand Up @@ -155,7 +211,7 @@
font-size: 14px;
line-height: 1;
height: 2rem;
padding: .5rem 0.8rem;
padding: 0.5rem 0.8rem;

&,
&:hover,
Expand All @@ -180,11 +236,18 @@
}
}


&__search {
position: relative;
align-items: center;
justify-content: center;
}

.gd-docs-edition-switch, .gd-docs-language-switch {
@include mq(large) {
display: flex;
}
display: none;
}
}

.td-search-input {
Expand All @@ -208,6 +271,10 @@

.gd-header-mobile-menu-trigger {
margin-bottom: 0;
border: none;
&:focus-visible {
border: 2px solid;
}
}

.search-result-close-button {
Expand Down Expand Up @@ -235,7 +302,7 @@
}

&:hover,
&:focus,
&:focus,
&:active {
color: $color-black;
}
Expand Down
19 changes: 0 additions & 19 deletions docs/assets/scss/layout.scss

This file was deleted.

Loading
Loading