Skip to content

Commit 70a3f56

Browse files
Merge pull request #63 from sachbearbeiter/main
Adjustments for Kirby 5 dark mode
2 parents 5b21598 + 2ff6b03 commit 70a3f56

File tree

7 files changed

+5
-13
lines changed

7 files changed

+5
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Or when using Kirby Query language
7272

7373
If you want full control over your menu and want to customize the markup, you can copy the navigation.php and navigation_item.php files from the plugin's snippets directory to your /site/snippets directory, and customize them there.
7474
This is the recommended way of markup customization.
75-
For example, to add class="navigation-item navigation-item-X" to each link item, where X is the depth level of the given link, you can add the following line to your copy of navigation_item.php:
75+
For example, to add class="navigation-item navigation-item-X" to each link item, where X is the depth level of the given link, you can add the following line to your copy of navigation_item.php:
7676

7777
```php
7878
$attributes['class']='navigation-item navigation-item-' . $depth;

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"menu",
1111
"field"
1212
],
13-
"version": "5.0.3",
13+
"version": "5.0.4",
1414
"license": "MIT",
1515
"homepage": "https://github.com/chrisbeluga/kirby-navigation",
1616
"authors": [
@@ -30,7 +30,7 @@
3030
{
3131
"name": "Immo Seebörger",
3232
"homepage": "https://diesachbearbeiter.de/"
33-
}
33+
}
3434
],
3535
"require": {
3636
"php": ">=8.1.0 <8.5.0",

index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Field.vue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -490,10 +490,6 @@ export default {
490490
.navigation-field {
491491
.k-field-depth {
492492
text-align: right;
493-
494-
strong {
495-
color: #000;
496-
}
497493
}
498494
499495
.k-field-header {
@@ -514,7 +510,6 @@ export default {
514510
515511
.k-menu-title {
516512
opacity: 1;
517-
color: #fff;
518513
width: 100%;
519514
display: block;
520515
margin-bottom: 8px;
@@ -610,7 +605,6 @@ export default {
610605
left: 26px;
611606
right: 0;
612607
bottom: 0;
613-
background: #e6e6e6;
614608
transition: all 0.3s ease-in-out;
615609
}
616610

src/components/Lists/Default.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ export default {
109109
width: 100%;
110110
border-top: 0;
111111
display: flex;
112-
background: #e6e6e6;
113112
border: 1px solid #ccc;
114113
flex-direction: column;
115114
margin-top: 5px;

src/components/Lists/Modal.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export default {
2222
.k-form-input {
2323
width: 100%;
2424
display: flex;
25-
background: #fff;
2625
position: relative;
2726
margin-bottom: 2px;
2827

0 commit comments

Comments
 (0)