#template('colorThemeInit.vm') .xnotification-container{position:fixed;bottom:0;left:0;width:100%;text-align:center;z-index:1200;display:block!important}.xnotification-wrapper{padding-top:1px}.xnotification{cursor:pointer;display:inline;background:#333 2px center no-repeat;border:0;padding:0 6px;color:#fff;font-weight:bold;line-height:20px}#set($notificationCustommization = []) #set($discard = $notificationCustommization.add(['info',"$theme.notificationInfoColor",'#fff'])) #set($discard = $notificationCustommization.add(['warning',"$theme.notificationWarningColor ",'#330'])) #set($discard = $notificationCustommization.add(['error',"$theme.notificationErrorColor",'#fff'])) #set($discard = $notificationCustommization.add(['inprogress','#333','#fff','icons/xwiki/spinner-white.gif'])) #set($discard = $notificationCustommization.add(['done',"$theme.notificationSuccessColor",'#fff'])) #foreach($item in $notificationCustommization) #set($notificationType = $item.get(0)) #set($bgColor = $item.get(1)) #set($textColor = $item.get(2)) #set($imgUrl = '') #if($item.size()>= 4) #set($imgName = "$!item.get(3)") #if($imgName.indexOf("/")>= 0) #set($imgUrl = $xwiki.getSkinFile($imgName)) #else #set($imgExtension = '.png') #set($imgUrl = $xwiki.getSkinFile("icons/silk/$imgName$imgExtension")) #end #end .xnotification-${notificationType}{background-color:$bgColor;color:$textColor;border-color:$textColor;#if($imgUrl!= '') background-image:url($imgUrl);padding-left:22px;#end}#end