mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-18 17:16:08 +10:00
Make flash messages fixed and sticked to bottom
This commit is contained in:
@@ -89,7 +89,7 @@ $ ->
|
||||
if (flash = $(".flash-container")).length > 0
|
||||
flash.click -> $(@).fadeOut()
|
||||
flash.show()
|
||||
setTimeout (-> flash.fadeOut()), 9000
|
||||
setTimeout (-> flash.fadeOut()), 3000
|
||||
|
||||
# Disable form buttons while a form is submitting
|
||||
$('body').on 'ajax:complete, ajax:beforeSend, submit', 'form', (e) ->
|
||||
|
||||
@@ -51,6 +51,10 @@ table a code {
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
opacity: 0.8;
|
||||
|
||||
.flash-notice {
|
||||
background: #49C;
|
||||
|
||||
Reference in New Issue
Block a user