|
2 | 2 | <transition name="fade"> |
3 | 3 | <div |
4 | 4 | v-if="isOpen" |
5 | | - class="menu bg-black pt-xlarge pb-large pl-small pr-small"> |
| 5 | + class="menu bg-black pt-xlarge pb-large pr-small" style="padding-left: 3.75rem"> |
6 | 6 | <transition :name="docsOpen ? 'fade-left' : 'fade-right'" mode="out-in"> |
7 | | - <div v-if="!docsOpen" key="1" class="mt-medium"> |
| 7 | + <div v-if="!docsOpen" key="1" class="mt-small"> |
8 | 8 | <div |
9 | 9 | v-for="item in $tm('navbar.items')" |
10 | 10 | :key="item.name"> |
|
17 | 17 | </div> |
18 | 18 | <div> |
19 | 19 | <button |
20 | | - class="flex middle mt-medium mb-small color-white font-title type-uppercase" |
21 | | - style="margin-left: -0.5rem;" |
| 20 | + class="flex middle mt-medium color-white font-title type-uppercase" |
| 21 | + style="margin-left: -0.5rem" |
22 | 22 | @click="docsOpen = true"> |
23 | 23 | <chevron-icon direction="right" color="white" size="2rem" /> |
24 | 24 | <div> |
|
28 | 28 | </div> |
29 | 29 | </div> |
30 | 30 | <div v-else key="3" class="mt-medium"> |
| 31 | + <button class="type-uppercase font-title flex middle mb-medium" style="margin-left: -0.5rem" @click="docsOpen = false"> |
| 32 | + <chevron-icon direction="left" color="white" size="2rem" /> |
| 33 | + {{ $t('navbar.dropdownDocs.name') }} |
| 34 | + </button> |
31 | 35 | <div |
32 | 36 | v-for="({ name, url, description }, i) in $tm('navbar.dropdownDocs.items')" |
33 | 37 | :key="name"> |
34 | 38 | <div class="flex middle"> |
35 | | - <a :href="url"> |
| 39 | + <a :href="url" class="line-height-1"> |
36 | 40 | {{ name }} |
37 | 41 | </a> |
38 | 42 | </div> |
|
47 | 51 | <div |
48 | 52 | class="navbar row between bg-black color-white" |
49 | 53 | :class="isOpen ? 'open' : ''"> |
50 | | - <transition :name="docsOpen ? 'fade-left' : 'fade-right'" mode="out-in"> |
51 | | - <button |
52 | | - v-if="docsOpen" |
53 | | - class="color-white font-title type-uppercase ml-2xsmall" |
54 | | - @click="docsOpen = false"> |
55 | | - <div class="flex middle"> |
56 | | - <chevron-icon direction="left" color="white" size="2rem" /> |
57 | | - <div> |
58 | | - {{ $t('navbar.dropdownDocs.name') }} |
59 | | - </div> |
60 | | - </div> |
61 | | - </button> |
62 | | - <div |
63 | | - v-else |
64 | | - class="flex middle"> |
65 | | - <robot-icon size="2rem" class="ml-small" @click="scrollTo(null, 400)" /> |
66 | | - <div |
67 | | - class="font-title ml-xsmall"> |
68 | | - ROBOT FRAMEWORK |
69 | | - </div> |
| 54 | + <div class="flex middle"> |
| 55 | + <robot-icon size="2rem" class="ml-small" @click="scrollTo(null, 400)" /> |
| 56 | + <div class="font-title ml-xsmall"> |
| 57 | + ROBOT FRAMEWORK |
70 | 58 | </div> |
71 | | - </transition> |
| 59 | + </div> |
72 | 60 | <button |
73 | 61 | class="hamburger" |
74 | 62 | :class="isOpen ? 'open' : ''" |
|
0 commit comments