Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gin
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
gin
Commits
2a3db38e
Commit
2a3db38e
authored
1 year ago
by
Ben Mullins
Committed by
Sascha Eggenberger
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3377202
: messages close icon not visible in forced colors mode
parent
b54601e1
No related branches found
No related tags found
1 merge request
!288
Issue #3377202: messages close icon not visible in forced colors mode
Pipeline
#16383
passed
1 year ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dist/css/base/gin.css
+18
-0
18 additions, 0 deletions
dist/css/base/gin.css
styles/base/_messages.scss
+12
-0
12 additions, 0 deletions
styles/base/_messages.scss
with
30 additions
and
0 deletions
dist/css/base/gin.css
+
18
−
0
View file @
2a3db38e
...
...
@@ -3116,6 +3116,12 @@ a.button.button--danger:active:before {
right
:
0
;
}
@media
(
forced-colors
:
active
)
{
.messages
.messages__header
:before
{
background-color
:
linktext
!important
;
}
}
.messages
.button--dismiss
{
position
:
absolute
;
top
:
0
;
...
...
@@ -3173,6 +3179,12 @@ a.button.button--danger:active:before {
right
:
0
;
}
@media
(
forced-colors
:
active
)
{
.messages
.button--dismiss
.icon-close
{
background-color
:
buttonBorder
;
}
}
.messages--webform
.button--dismiss
{
display
:
none
;
}
...
...
@@ -3216,6 +3228,12 @@ a.button.button--danger:active:before {
mask-position
:
center
left
;
}
@media
(
forced-colors
:
active
)
{
.messages.messages--status
.messages__header
:before
{
background-color
:
buttonBorder
;
}
}
.messages.messages--status
.button--dismiss
.icon-close
:link
{
background-color
:
var
(
--gin-color-green-light
);
}
...
...
This diff is collapsed.
Click to expand it.
styles/base/_messages.scss
+
12
−
0
View file @
2a3db38e
...
...
@@ -49,6 +49,10 @@
left
:
0
;
width
:
1
.5rem
;
height
:
1
.5rem
;
@media
(
forced-colors
:
active
)
{
background-color
:
linktext
!
important
;
}
}
}
...
...
@@ -91,6 +95,10 @@
mask-repeat
:
no-repeat
;
mask-position
:
center
;
background-color
:
#fff
;
@media
(
forced-colors
:
active
)
{
background-color
:
buttonBorder
;
}
}
}
...
...
@@ -132,6 +140,10 @@
mask-image
:
icon
(
'status'
);
mask-repeat
:
no-repeat
;
mask-position
:
center
left
;
@media
(
forced-colors
:
active
)
{
background-color
:
buttonBorder
;
}
}
}
...
...
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