Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
environment_indicator
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
environment_indicator
Merge requests
!54
Could not authenticate you from Jwt because "Can't verify csrf token authenticity.".
Resolve
#3457688
"Sub module version"
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Open
Resolve
#3457688
"Sub module version"
issue/environment_indicator-3457688:3457688-sub-module-version
into
4.x
Overview
1
Commits
20
Pipelines
13
Changes
9
All threads resolved!
Hide all comments
Open
Resolve #3457688 "Sub module version"
Chris Green
requested to merge
issue/environment_indicator-3457688:3457688-sub-module-version
into
4.x
Jul 30, 2024
Overview
1
Commits
20
Pipelines
13
Changes
9
All threads resolved!
Hide all comments
Closes
#3457688
0
0
Merge request reports
Compare
4.x
version 13
cf7245be
2 months ago
version 12
86753c0a
3 months ago
version 11
ff07a487
3 months ago
version 10
37d61481
3 months ago
version 9
31c273f8
7 months ago
version 8
ae54e3bf
8 months ago
version 7
680b96f4
8 months ago
version 6
2a7da76b
8 months ago
version 5
a00920af
8 months ago
version 4
82ef0ece
8 months ago
version 3
f546b507
8 months ago
version 2
26dff51f
9 months ago
version 1
dbab533d
Jul 30, 2024
4.x (base)
and
latest version
latest version
cac63aa8
20 commits,
2 months ago
version 13
cf7245be
19 commits,
2 months ago
version 12
86753c0a
18 commits,
3 months ago
version 11
ff07a487
17 commits,
3 months ago
version 10
37d61481
16 commits,
3 months ago
version 9
31c273f8
15 commits,
7 months ago
version 8
ae54e3bf
14 commits,
8 months ago
version 7
680b96f4
13 commits,
8 months ago
version 6
2a7da76b
12 commits,
8 months ago
version 5
a00920af
11 commits,
8 months ago
version 4
82ef0ece
10 commits,
8 months ago
version 3
f546b507
9 commits,
8 months ago
version 2
26dff51f
8 commits,
9 months ago
version 1
dbab533d
7 commits,
Jul 30, 2024
9 files
+
548
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
modules/environment_indicator_navigation/css/style.css
0 → 100644
+
45
−
0
View file @ cac63aa8
Edit in single-file editor
Open in Web IDE
/* Active environment button background and font colors. */
.admin-toolbar
.toolbar-button.toolbar-button--environment-indicator
,
.admin-toolbar
.toolbar-button.toolbar-button--environment-indicator-label
{
color
:
var
(
--env-indicator-fg-color
);
background-color
:
var
(
--env-indicator-bg-color
);
}
/* Collapsed button label display */
html
:not
([
data-admin-toolbar
=
"expanded"
])
.toolbar-button--environment-indicator
{
padding-inline
:
var
(
--admin-toolbar-space-8
);
height
:
var
(
--admin-toolbar-space-40
);
}
html
:not
([
data-admin-toolbar
=
"expanded"
])
.toolbar-button--collapsible.toolbar-button--environment-indicator
.toolbar-button__label
{
clip
:
unset
;
clip-path
:
unset
;
position
:
relative
;
height
:
var
(
--admin-toolbar-space-40
);
width
:
calc
(
40px
-
(
2
*
var
(
--admin-toolbar-space-8
)));
opacity
:
1
;
line-height
:
var
(
--admin-toolbar-space-40
);
font-variation-settings
:
"wght"
500
;
}
/* Add fade effect to collapsed button label */
html
:not
([
data-admin-toolbar
=
"expanded"
])
.toolbar-button--environment-indicator
.toolbar-button__label
{
--mask
:
linear-gradient
(
to
right
,
rgba
(
0
,
0
,
0
,
1
)
0
,
rgba
(
0
,
0
,
0
,
1
)
60%
,
rgba
(
0
,
0
,
0
,
0
)
99%
,
rgba
(
0
,
0
,
0
,
0
)
0
)
100%
50%
/
100%
100%
repeat-x
;
-webkit-mask
:
var
(
--mask
);
mask
:
var
(
--mask
);
}
/* Left environment indicator */
.admin-toolbar
{
margin-left
:
var
(
--admin-toolbar-space-8
);
}
.admin-toolbar
::before
{
height
:
100%
;
width
:
var
(
--admin-toolbar-space-12
);
content
:
''
;
position
:
absolute
;
display
:
block
;
top
:
0
;
left
:
calc
(
-1
*
var
(
--admin-toolbar-space-8
));
background-color
:
var
(
--env-indicator-bg-color
);
}
Loading