/*! * # Fomantic-UI 2.9.2 - Nag * https://github.com/fomantic/Fomantic-UI/ * * * Released under the MIT license * https://opensource.org/licenses/MIT * */ /******************************* Nag *******************************/ .ui.nag { display: none; opacity: 0.95; position: relative; top: 0; left: 0; z-index: 999; min-height: 0; width: 100%; margin: 0; padding: 0.75em 1em; background: #909090; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2); font-size: 1rem; text-align: center; color: rgba(0, 0, 0, 0.87); border-radius: 0 0 0.28571429rem 0.28571429rem; transition: 0.2s background ease; } a.ui.nag { cursor: pointer; } .ui.nag > .title { display: inline-block; margin: 0 0.5em; color: #fff; } .ui.nag > .close.icon { cursor: pointer; opacity: 0.4; position: absolute; top: 50%; right: 1em; font-size: 1em; margin: -0.5em 0 0; color: #fff; transition: opacity 0.2s ease; } .ui.nag:not(.overlay):not(.fixed) { border-radius: 0.28571429rem; } /******************************* States *******************************/ /* Hover */ .ui.nag:hover { background: #909090; opacity: 1; } .ui.nag > .close:hover { opacity: 1; } /******************************* Variations *******************************/ /* -------------- Static --------------- */ .ui.overlay.nags, .ui.overlay.nag { position: absolute; } /* -------------- Fixed --------------- */ .ui.fixed.nags, .ui.fixed.nag { position: fixed; } /* -------------- Bottom --------------- */ .ui.bottom.nags, .ui.bottom.nag { border-radius: 0.28571429rem 0.28571429rem 0 0; top: auto; bottom: 0; } /* -------------- Inverted --------------- */ .ui.inverted.nags .nag, .ui.inverted.nag { background-color: #f3f4f5; color: rgba(0, 0, 0, 0.85); } .ui.inverted.nags .nag > .close, .ui.inverted.nag > .close { color: rgba(0, 0, 0, 0.6); } .ui.inverted.nags .nag > .title, .ui.inverted.nag > .title { color: rgba(0, 0, 0, 0.6); } /* ------------------- Sizes -------------------- */ .ui.mini.nag, .ui.mini.nags .nag { font-size: 0.78571429rem; } .ui.tiny.nag, .ui.tiny.nags .nag { font-size: 0.85714286rem; } .ui.small.nag, .ui.small.nags .nag { font-size: 0.92857143rem; } .ui.large.nag, .ui.large.nags .nag { font-size: 1.14285714rem; } .ui.big.nag, .ui.big.nags .nag { font-size: 1.28571429rem; } .ui.huge.nag, .ui.huge.nags .nag { font-size: 1.42857143rem; line-height: 1; } .ui.massive.nag, .ui.massive.nags .nag { font-size: 1.71428571rem; line-height: 1; } /* -------------- Colors -------------- */ .ui.primary.nag { background-color: #2185d0; } .ui.inverted.primary.nag { background-color: #54c8ff; } .ui.secondary.nag { background-color: #1b1c1d; } .ui.inverted.secondary.nag { background-color: #545454; } .ui.red.nag { background-color: #db2828; } .ui.inverted.red.nag { background-color: #ff695e; } .ui.orange.nag { background-color: #f2711c; } .ui.inverted.orange.nag { background-color: #ff851b; } .ui.yellow.nag { background-color: #fbbd08; } .ui.inverted.yellow.nag { background-color: #ffe21f; } .ui.olive.nag { background-color: #b5cc18; } .ui.inverted.olive.nag { background-color: #d9e778; } .ui.green.nag { background-color: #21ba45; } .ui.inverted.green.nag { background-color: #2ecc40; } .ui.teal.nag { background-color: #00b5ad; } .ui.inverted.teal.nag { background-color: #6dffff; } .ui.blue.nag { background-color: #2185d0; } .ui.inverted.blue.nag { background-color: #54c8ff; } .ui.violet.nag { background-color: #6435c9; } .ui.inverted.violet.nag { background-color: #a291fb; } .ui.purple.nag { background-color: #a333c8; } .ui.inverted.purple.nag { background-color: #dc73ff; } .ui.pink.nag { background-color: #e03997; } .ui.inverted.pink.nag { background-color: #ff8edf; } .ui.brown.nag { background-color: #a5673f; } .ui.inverted.brown.nag { background-color: #d67c1c; } .ui.grey.nag { background-color: #767676; } .ui.inverted.grey.nag { background-color: #dcddde; } .ui.black.nag { background-color: #1b1c1d; color: rgba(255, 255, 255, 0.9); } .ui.inverted.black.nag { background-color: #545454; } .ui.inverted.black.nag .title { color: #fff; } /******************************* Groups *******************************/ .ui.nags { top: 0; left: 0; width: 100%; } .ui.ui.nags .nag { border-radius: 0; } .ui.nags:not(.bottom) .nag:last-child { border-radius: 0 0 0.28571429rem 0.28571429rem; } .ui.bottom.nags .nag:first-child { border-radius: 0.28571429rem 0.28571429rem 0 0; } .ui.nags:not(.fixed):not(.overlay) .nag:first-child { border-radius: 0.28571429rem 0.28571429rem 0 0; } .ui.nags:not(.fixed):not(.overlay) .nag:only-child { border-radius: 0.28571429rem; } /******************************* Theme Overrides *******************************/ /******************************* User Overrides *******************************/