Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
31124fd49510
Commit
37cf2eb6
authored
Aug 10, 2013
by
Dmitriy Zaporozhets
Browse files
More readable notice/alert messages
parent
eb5e49bf8379
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/assets/stylesheets/common.scss
View file @
31124fd4
...
...
@@ -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 @
31124fd4
.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