Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scroll_to_top
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
scroll_to_top
Merge requests
!13
Issue
#2968919
- Fix styles
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#2968919
- Fix styles
issue/scroll_to_top-2968919:2968919-css-validation-errors
into
8.x-1.x
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Viktor Holovachek
requested to merge
issue/scroll_to_top-2968919:2968919-css-validation-errors
into
8.x-1.x
10 months ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
Related to
#2968919
0
0
Merge request reports
Viewing commit
ce22a9b3
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ce22a9b3
Issue
#2968919
- Fix styles
· ce22a9b3
Viktor Holovachek
authored
10 months ago
scroll_to_top.module
+
1
−
1
Options
@@ -53,7 +53,7 @@ function scroll_to_top_preprocess_page(&$variables) {
// Background color on hover.
$bgcolor
=
"#back-top span#button { background-color: "
.
$config
->
get
(
'scroll_to_top_bg_color_out'
)
.
";}"
;
$bgcolor
.
=
" #back-top span#button:hover {opacity:1;filter:
alpha(
opacity
= 1
);background-color: "
.
$config
->
get
(
'scroll_to_top_bg_color_hover'
)
.
";}"
;
$bgcolor
.
=
" #back-top span#button:hover {opacity:1;filter:opacity
(100%
);background-color: "
.
$config
->
get
(
'scroll_to_top_bg_color_hover'
)
.
";}"
;
$css
=
$position
;
$css
.
=
$bgcolor
;
Loading