wishthis/node_modules/fomantic-ui/dist/components/nag.css

291 lines
4.9 KiB
CSS
Raw Normal View History

2022-01-13 13:00:31 +00:00
/*!
* # Fomantic-UI 2.9.3 - Nag
2023-08-17 09:47:40 +00:00
* https://github.com/fomantic/Fomantic-UI/
2022-01-13 13:00:31 +00:00
*
*
* Released under the MIT license
2023-08-17 09:47:40 +00:00
* https://opensource.org/licenses/MIT
2022-01-13 13:00:31 +00:00
*
*/
/*******************************
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;
2023-08-17 09:47:40 +00:00
background: #909090;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
2022-01-13 13:00:31 +00:00
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;
2023-08-17 09:47:40 +00:00
color: #fff;
2022-01-13 13:00:31 +00:00
}
.ui.nag > .close.icon {
cursor: pointer;
opacity: 0.4;
position: absolute;
top: 50%;
right: 1em;
font-size: 1em;
margin: -0.5em 0 0;
2023-08-17 09:47:40 +00:00
color: #fff;
2022-01-13 13:00:31 +00:00
transition: opacity 0.2s ease;
}
.ui.nag:not(.overlay):not(.fixed) {
border-radius: 0.28571429rem;
}
/*******************************
States
*******************************/
/* Hover */
.ui.nag:hover {
2023-08-17 09:47:40 +00:00
background: #909090;
2022-01-13 13:00:31 +00:00
opacity: 1;
}
.ui.nag > .close:hover {
opacity: 1;
}
/*******************************
Variations
*******************************/
2023-08-17 09:47:40 +00:00
/* --------------
Static
--------------- */
2022-01-13 13:00:31 +00:00
.ui.overlay.nags,
.ui.overlay.nag {
position: absolute;
}
2023-08-17 09:47:40 +00:00
/* --------------
Fixed
--------------- */
2022-01-13 13:00:31 +00:00
.ui.fixed.nags,
.ui.fixed.nag {
position: fixed;
}
2023-08-17 09:47:40 +00:00
/* --------------
Bottom
--------------- */
2022-01-13 13:00:31 +00:00
.ui.bottom.nags,
.ui.bottom.nag {
border-radius: 0.28571429rem 0.28571429rem 0 0;
top: auto;
bottom: 0;
}
2023-08-17 09:47:40 +00:00
/* --------------
Inverted
--------------- */
2022-01-13 13:00:31 +00:00
.ui.inverted.nags .nag,
.ui.inverted.nag {
2023-08-17 09:47:40 +00:00
background-color: #f3f4f5;
2022-01-13 13:00:31 +00:00
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);
}
2023-08-17 09:47:40 +00:00
/* -------------------
Sizes
-------------------- */
2022-01-13 13:00:31 +00:00
.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;
}
2023-08-17 09:47:40 +00:00
/* --------------
2022-01-13 13:00:31 +00:00
Colors
-------------- */
.ui.primary.nag {
2023-08-17 09:47:40 +00:00
background-color: #2185d0;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.primary.nag {
2023-08-17 09:47:40 +00:00
background-color: #54c8ff;
2022-01-13 13:00:31 +00:00
}
.ui.secondary.nag {
2023-08-17 09:47:40 +00:00
background-color: #1b1c1d;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.secondary.nag {
background-color: #545454;
}
.ui.red.nag {
2023-08-17 09:47:40 +00:00
background-color: #db2828;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.red.nag {
2023-08-17 09:47:40 +00:00
background-color: #ff695e;
2022-01-13 13:00:31 +00:00
}
.ui.orange.nag {
2023-08-17 09:47:40 +00:00
background-color: #f2711c;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.orange.nag {
2023-08-17 09:47:40 +00:00
background-color: #ff851b;
2022-01-13 13:00:31 +00:00
}
.ui.yellow.nag {
2023-08-17 09:47:40 +00:00
background-color: #fbbd08;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.yellow.nag {
2023-08-17 09:47:40 +00:00
background-color: #ffe21f;
2022-01-13 13:00:31 +00:00
}
.ui.olive.nag {
2023-08-17 09:47:40 +00:00
background-color: #b5cc18;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.olive.nag {
2023-08-17 09:47:40 +00:00
background-color: #d9e778;
2022-01-13 13:00:31 +00:00
}
.ui.green.nag {
2023-08-17 09:47:40 +00:00
background-color: #21ba45;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.green.nag {
2023-08-17 09:47:40 +00:00
background-color: #2ecc40;
2022-01-13 13:00:31 +00:00
}
.ui.teal.nag {
2023-08-17 09:47:40 +00:00
background-color: #00b5ad;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.teal.nag {
2023-08-17 09:47:40 +00:00
background-color: #6dffff;
2022-01-13 13:00:31 +00:00
}
.ui.blue.nag {
2023-08-17 09:47:40 +00:00
background-color: #2185d0;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.blue.nag {
2023-08-17 09:47:40 +00:00
background-color: #54c8ff;
2022-01-13 13:00:31 +00:00
}
.ui.violet.nag {
2023-08-17 09:47:40 +00:00
background-color: #6435c9;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.violet.nag {
2023-08-17 09:47:40 +00:00
background-color: #a291fb;
2022-01-13 13:00:31 +00:00
}
.ui.purple.nag {
2023-08-17 09:47:40 +00:00
background-color: #a333c8;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.purple.nag {
2023-08-17 09:47:40 +00:00
background-color: #dc73ff;
2022-01-13 13:00:31 +00:00
}
.ui.pink.nag {
2023-08-17 09:47:40 +00:00
background-color: #e03997;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.pink.nag {
2023-08-17 09:47:40 +00:00
background-color: #ff8edf;
2022-01-13 13:00:31 +00:00
}
.ui.brown.nag {
2023-08-17 09:47:40 +00:00
background-color: #a5673f;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.brown.nag {
2023-08-17 09:47:40 +00:00
background-color: #d67c1c;
2022-01-13 13:00:31 +00:00
}
.ui.grey.nag {
background-color: #767676;
}
.ui.inverted.grey.nag {
2023-08-17 09:47:40 +00:00
background-color: #dcddde;
2022-01-13 13:00:31 +00:00
}
.ui.black.nag {
2023-08-17 09:47:40 +00:00
background-color: #1b1c1d;
2022-01-13 13:00:31 +00:00
color: rgba(255, 255, 255, 0.9);
}
.ui.inverted.black.nag {
background-color: #545454;
}
.ui.inverted.black.nag .title {
2023-08-17 09:47:40 +00:00
color: #fff;
2022-01-13 13:00:31 +00:00
}
/*******************************
2023-08-17 09:47:40 +00:00
Groups
*******************************/
2022-01-13 13:00:31 +00:00
.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
*******************************/