._notif { position: absolute; z-index: 2; top: 1rem; right: 1rem; width: 25rem; max-width: 90%; padding: .75rem 1rem; font-size: .75rem; color: white; text-shadow: 0 1px 1px rgba(black, .4); background: -webkit-linear-gradient(top, rgba(#3a3a3a, .9), rgba(#202020, .9)); background: linear-gradient(to bottom, rgba(#3a3a3a, .9), rgba(#202020, .9)); background-clip: padding-box; border: 1px solid black; border-radius: .25rem; box-shadow: inset 0 1px rgba(white, .1), // top inner glow inset 0 0 0 1px rgba(white, .1), // inner glow 0 1px 3px rgba(black, .5); // drop shadow transition: opacity .2s; opacity: 0; cursor: default; @extend %border-box, %user-select-none; &._in { opacity: 1; } } ._notif-title { margin: 0 0 .375rem; line-height: 1rem; font-size: inherit; } ._notif-text { margin-bottom: 0; } ._notif-link, ._notif-link:hover { color: inherit; text-decoration: underline; } ._notif-close { position: absolute; top: 0; right: 0; padding: .625rem; opacity: .9; cursor: pointer; &:before { @extend %icon, %icon-close-white; } } ._notif-news { width: 20rem; max-height: 85%; overflow-y: auto; > ._notif-title { margin: -.125rem 0 1em; text-align: center; } > ._news-row { line-height: 1.125rem; font-size: .6875rem; color: #bbb; + ._news-row { margin-top: .75rem; } } ._news-title { display: block; margin-bottom: .25rem; font-size: .75rem; font-weight: normal; color: white; } ._news-date { float: right; margin-left: 1rem; font-weight: bold; } code { display: inline-block; vertical-align: baseline; line-height: 0; margin: 0 .25rem; padding: 0; color: inherit; text-shadow: inherit; background: none; border: 0; box-shadow: none; } }