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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
environment_indicator
Merge requests
!54
Resolve
#3457688
"Sub module version"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Resolve
#3457688
"Sub module version"
issue/environment_indicator-3457688:3457688-sub-module-version
into
4.x
Overview
1
Commits
19
Pipelines
12
Changes
9
All threads resolved!
Hide all comments
Open
Chris Green
requested to merge
issue/environment_indicator-3457688:3457688-sub-module-version
into
4.x
9 months ago
Overview
1
Commits
19
Pipelines
12
Changes
9
All threads resolved!
Hide all comments
Expand
Closes
#3457688
0
0
Merge request reports
Compare
4.x
version 12
86753c0a
1 week ago
version 11
ff07a487
1 week ago
version 10
37d61481
1 week ago
version 9
31c273f8
5 months ago
version 8
ae54e3bf
5 months ago
version 7
680b96f4
5 months ago
version 6
2a7da76b
5 months ago
version 5
a00920af
5 months ago
version 4
82ef0ece
5 months ago
version 3
f546b507
6 months ago
version 2
26dff51f
6 months ago
version 1
dbab533d
9 months ago
4.x (HEAD)
and
latest version
latest version
cf7245be
19 commits,
10 hours ago
version 12
86753c0a
18 commits,
1 week ago
version 11
ff07a487
17 commits,
1 week ago
version 10
37d61481
16 commits,
1 week ago
version 9
31c273f8
15 commits,
5 months ago
version 8
ae54e3bf
14 commits,
5 months ago
version 7
680b96f4
13 commits,
5 months ago
version 6
2a7da76b
12 commits,
5 months ago
version 5
a00920af
11 commits,
5 months ago
version 4
82ef0ece
10 commits,
5 months ago
version 3
f546b507
9 commits,
6 months ago
version 2
26dff51f
8 commits,
6 months ago
version 1
dbab533d
7 commits,
9 months ago
9 files
+
548
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
modules/environment_indicator_navigation/css/style.css
0 → 100644
+
45
−
0
Options
/* 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