Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
37cf2eb6
Commit
37cf2eb6
authored
Aug 10, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More readable notice/alert messages
parent
11ecf007
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
10 deletions
+21
-10
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+19
-8
app/views/layouts/_flash.html.haml
app/views/layouts/_flash.html.haml
+2
-2
No files found.
app/assets/stylesheets/common.scss
View file @
37cf2eb6
...
...
@@ -46,15 +46,26 @@ table a code {
/** FLASH message **/
.flash-container
{
display
:
none
;
.alert
{
cursor
:
pointer
;
margin
:
0
;
text-align
:
center
;
border-radius
:
0
;
cursor
:
pointer
;
margin
:
0
;
text-align
:
center
;
border-radius
:
0
;
color
:
#fff
;
span
{
font-size
:
14px
;
}
span
{
font-size
:
14px
;
}
.flash-notice
{
background
:
#49C
;
padding
:
10px
;
text-shadow
:
0
1px
1px
#178
;
}
.flash-alert
{
background
:
#C67
;
text-shadow
:
0
1px
1px
#945
;
padding
:
10px
;
}
}
...
...
app/views/layouts/_flash.html.haml
View file @
37cf2eb6
.flash-container
-
if
alert
.
alert.alert-error
.
flash-alert
%span
=
alert
-
elsif
notice
.
alert.alert-info
.
flash-notice
%span
=
notice
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment