Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Block Explorer UI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
Block Explorer UI
Commits
da15bc4a
Commit
da15bc4a
authored
3 months ago
by
Dima Rifai
Committed by
mcfarhat
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#409
- Styling for error message component
parent
3d56e60a
No related branches found
No related tags found
1 merge request
!509
Delrifai/#409 error handling for tofrom block
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
styles/theme.css
+57
-1
57 additions, 1 deletion
styles/theme.css
with
57 additions
and
1 deletion
styles/theme.css
+
57
−
1
View file @
da15bc4a
...
...
@@ -187,4 +187,60 @@ pre {
.autocomplete-result-highlight
{
color
:
var
(
--explorer-turquoise
);
}
/*End AutoCompleteInput Styles*/
\ No newline at end of file
/*End AutoCompleteInput Styles*/
/* Light and Dark Theme Error Component Styling */
.error-message
{
background
:
var
(
--error-bg
);
color
:
var
(
--error-text
);
padding
:
8px
15px
;
border-radius
:
8px
;
box-shadow
:
0
4px
8px
rgba
(
112
,
109
,
109
,
0.2
);
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
font-size
:
0.75rem
;
margin-top
:
10px
;
margin-left
:
2px
;
position
:
relative
;
max-width
:
250px
;
}
/* Close button styling */
.error-message
.close-btn
{
background
:
none
;
border
:
none
;
font-size
:
medium
;
cursor
:
pointer
;
padding
:
0
;
margin-left
:
10px
;
transition
:
transform
0.3s
ease
;
}
.error-message
.close-btn
:hover
{
transform
:
rotate
(
90deg
);
}
.error-message.hide
{
opacity
:
0
;
transform
:
translateY
(
-20px
);
}
/* Light Theme Error Background Gradient */
:root
{
--error-bg-light
:
linear-gradient
(
135deg
,
rgba
(
247
,
255
,
255
,
0.8
),
rgba
(
248
,
247
,
247
,
0.8
));
/* Light gray gradient */
--error-bg
:
var
(
--error-bg-light
);
}
/* Dark Theme Error Background Gradient */
.dark
{
--error-bg-dark
:
linear-gradient
(
135deg
,
rgba
(
159
,
149
,
149
,
0.8
),
rgba
(
104
,
100
,
100
,
0.8
));
/* Dark gray gradient */
--error-bg
:
var
(
--error-bg-dark
);
}
/* Apply the color scheme dynamically */
body
.dark
{
background-color
:
var
(
--background-start-rgb
);
}
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