• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Improvements to notices

Chris D

XenForo developer
Staff member
#61
We've made a small change here.

We have added a new option so that floating notices can be automatically dismissed after the display timer runs out:

upload_2015-7-1_13-23-46.png


The floating notice we added yesterday has had this applied, though the duration is currently quite high of 15 seconds. If you wish to try it but you've already dismissed the notice, you can restore all dismissed notices from your Preferences.
 

resonansER

Well-known member
#64
Please explain why don't apply css-style like that:
Code:
/*gradient css3 1 NOTIFICATION ENHANCEMENT*/
.shelley1 {
    background: url("@imagePath/xenforo/notices/shelley1gradientnotification.png") repeat-x scroll top #991706; /* Old browsers */
background: -moz-linear-gradient(top, #dd776a 0%, #ce4a35 2%, #bf3020 4%, #a82c19 29%, #992313 59%, #991706 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dd776a), color-stop(2%,#ce4a35), color-stop(4%,#bf3020), color-stop(29%,#a82c19), color-stop(59%,#992313), color-stop(100%,#991706)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #dd776a 0%,#ce4a35 2%,#bf3020 4%,#a82c19 29%,#992313 59%,#991706 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #dd776a 0%,#ce4a35 2%,#bf3020 4%,#a82c19 29%,#992313 59%,#991706 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #dd776a 0%,#ce4a35 2%,#bf3020 4%,#a82c19 29%,#992313 59%,#991706 100%); /* IE10+ */
background: linear-gradient(to bottom, #dd776a 0%,#ce4a35 2%,#bf3020 4%,#a82c19 29%,#992313 59%,#991706 100%); /* W3C */
    border: 1px solid #990F00;
    border-radius: 6px;
}

.shelley1 {
  color: #ffbe84!important;
  text-shadow: 0 0 0 transparent, 0 1px 2px #012331;
  border-bottom: 1px solid #872114;
  padding-bottom: 3px;
  margin-bottom: 3px;
  box-shadow: 0 0 0 transparent, 0 1px 0 #c9412f;
}

.shelley1 a:hover {
  -moz-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    -webkit-transition: all 0.3s ease-in-out 0s;
    opacity: 0.6;
}
/*gradient css3 1 NOTIFICATION ENHANCEMENT*/
?
 

Chris D

XenForo developer
Staff member
#65
If that code was written specifically for the Notifications add-on, it's unlikely to work with the new floating notices in XF 1.5.
 

dwdmadmac

Active member
#66
It will make little sense to have it, in its current form, installed in XF 1.5. It may stick around, though, in some form.
So for short, it is not really needed once 1.5 is final.

I read up on some more submitted post, I see what uses are needed for notifications. Great work, thanks for improve the core notice system! :)
 
Last edited:

BassMan

Well-known member
#77
I really like how notices works now. I use it for rotating banners:

notices.gif


And the floating feature is great too.

Great work XF team!
 

Amaury

Well-known member
#78
These are awesome, @Chris D!

I've already styled mine to suit! :D

KHF Notice.PNG


Code:
/* Notices */

.KHFlare .FloatingContainer .floatingItem.primary {
    color: @secondaryDarker;
    background-color: @secondaryLighter;
    border-color: @secondaryLighter;
}

/* Notices */
 
Last edited: