Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
darkmode
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
darkmode
Commits
61ff3878
Commit
61ff3878
authored
1 year ago
by
Oleksandr Tymoshchuk
Committed by
Bohdan Melnychuk
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3409828
: Add a z-index to the button so that it is not covered by the content
parent
5f6b6f77
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!11
refs #3409828: add z-index to the button
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
css/styles.css
+3
-0
3 additions, 0 deletions
css/styles.css
darkmode.libraries.yml
+4
-0
4 additions, 0 deletions
darkmode.libraries.yml
src/Plugin/Block/DarkmodeSwitcherBlock.php
+1
-0
1 addition, 0 deletions
src/Plugin/Block/DarkmodeSwitcherBlock.php
with
8 additions
and
0 deletions
css/styles.css
0 → 100644
+
3
−
0
View file @
61ff3878
button
.darkmode-toggle
{
z-index
:
9999
;
}
This diff is collapsed.
Click to expand it.
darkmode.libraries.yml
+
4
−
0
View file @
61ff3878
...
...
@@ -9,3 +9,7 @@ initiator:
-
core/drupal
-
darkmode/darkmodejs
-
core/once
darkmodecss
:
css
:
theme
:
css/styles.css
:
{}
This diff is collapsed.
Click to expand it.
src/Plugin/Block/DarkmodeSwitcherBlock.php
+
1
−
0
View file @
61ff3878
...
...
@@ -73,6 +73,7 @@ class DarkmodeSwitcherBlock extends BlockBase implements ContainerFactoryPluginI
],
'library'
=>
[
'darkmode/initiator'
,
'darkmode/darkmodecss'
,
],
],
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment