Skip to content

Commit 3f354e4

Browse files
Merge pull request #1119 from gooddata/snapshot-master-396b9956-to-rel/dev
[bot] Merge master/396b9956 into rel/dev
2 parents f398f9a + 396b995 commit 3f354e4

File tree

18 files changed

+106
-605
lines changed

18 files changed

+106
-605
lines changed

docs/assets/scss/_styles_project.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
@import "404";
2929
@import "parameters-block";
3030
@import "parameter";
31+
@import "skip-links";
3132
@import "heading-anchor";
3233

3334
#print {

docs/assets/scss/breadcrumbs.scss

Lines changed: 0 additions & 34 deletions
This file was deleted.

docs/assets/scss/code-select.scss

Lines changed: 0 additions & 132 deletions
This file was deleted.

docs/assets/scss/header.scss

Lines changed: 73 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
1+
// (C) 2023 GoodData Corporation
12
@import "variables/variables";
23

4+
.gd-docs-header {
5+
&-tag {
6+
display: block;
7+
margin-left: 30px;
8+
padding: 4px 10px;
9+
border-radius: 50px;
10+
color: $color-white;
11+
font-family: $gdfont-demibold;
12+
font-size: 14px;
13+
line-height: 19px;
14+
background: #94A1AE;
15+
}
16+
17+
&-breadcrumb {
18+
display: flex;
19+
align-items: center;
20+
color: #2F3336;
21+
font-size: 14px;
22+
line-height: 30px;
23+
opacity: 0.8;
24+
25+
svg {
26+
margin-right: 10px;
27+
}
28+
}
29+
}
30+
331
.gd-docs-header-nav {
432
position: fixed;
533
right: 0;
@@ -15,6 +43,24 @@
1543
overflow-y: auto;
1644
}
1745

46+
&__desktop {
47+
display: flex;
48+
min-width: 55px;
49+
nav {
50+
display: none;
51+
@include mq(large) {
52+
display: block;
53+
}
54+
}
55+
}
56+
57+
&__mobile {
58+
display: block;
59+
@include mq(large) {
60+
display: none;
61+
}
62+
}
63+
1864
&__first {
1965
top: 0;
2066
min-height: $header-first-nav-height;
@@ -42,12 +88,18 @@
4288
}
4389

4490
&__second &__left,
91+
&__desktop,
4592
&__second &__right {
46-
flex: 1 0 0;
93+
flex: 0 0 auto;
94+
95+
@include mq(x-large) {
96+
flex: 1 0 0;
97+
}
4798
}
4899

49100
&__second &__left {
50-
align-self: center;
101+
min-width: 55px;
102+
align-self: stretch;
51103
}
52104

53105
&__second &__center {
@@ -100,7 +152,7 @@
100152
line-height: 1.375;
101153
background-color: $color-shocking-pink;
102154
transition: $transition;
103-
155+
104156
&,
105157
&:hover,
106158
&:focus,
@@ -118,6 +170,10 @@
118170
& + & {
119171
margin-left: 1rem;
120172
}
173+
174+
svg {
175+
margin-right: 10px;
176+
}
121177
}
122178

123179
&__secondary,
@@ -155,7 +211,7 @@
155211
font-size: 14px;
156212
line-height: 1;
157213
height: 2rem;
158-
padding: .5rem 0.8rem;
214+
padding: 0.5rem 0.8rem;
159215

160216
&,
161217
&:hover,
@@ -180,11 +236,18 @@
180236
}
181237
}
182238

183-
184239
&__search {
240+
position: relative;
185241
align-items: center;
186242
justify-content: center;
187243
}
244+
245+
.gd-docs-edition-switch, .gd-docs-language-switch {
246+
@include mq(large) {
247+
display: flex;
248+
}
249+
display: none;
250+
}
188251
}
189252

190253
.td-search-input {
@@ -208,6 +271,10 @@
208271

209272
.gd-header-mobile-menu-trigger {
210273
margin-bottom: 0;
274+
border: none;
275+
&:focus-visible {
276+
border: 2px solid;
277+
}
211278
}
212279

213280
.search-result-close-button {
@@ -235,7 +302,7 @@
235302
}
236303

237304
&:hover,
238-
&:focus,
305+
&:focus,
239306
&:active {
240307
color: $color-black;
241308
}

docs/assets/scss/layout.scss

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)