wishthis/node_modules/fomantic-ui/dist/components/nag.css
2022-05-29 11:24:36 +02:00

300 lines
5.1 KiB
CSS

/*!
* # Fomantic-UI 2.8.8 - Nag
* http://github.com/fomantic/Fomantic-UI/
*
*
* Released under the MIT license
* http://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: #777777;
-webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
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;
-webkit-transition: 0.2s background ease;
transition: 0.2s background ease;
}
a.ui.nag {
cursor: pointer;
}
.ui.nag > .title {
display: inline-block;
margin: 0 0.5em;
color: #FFFFFF;
}
.ui.nag > .close.icon {
cursor: pointer;
opacity: 0.4;
position: absolute;
top: 50%;
right: 1em;
font-size: 1em;
margin: -0.5em 0 0;
color: #FFFFFF;
-webkit-transition: opacity 0.2s ease;
transition: opacity 0.2s ease;
}
.ui.nag:not(.overlay):not(.fixed) {
border-radius: 0.28571429rem;
}
/*******************************
States
*******************************/
/* Hover */
.ui.nag:hover {
background: #777777;
opacity: 1;
}
.ui.nag > .close:hover {
opacity: 1;
}
/*******************************
Variations
*******************************/
/*--------------
Static
---------------*/
.ui.overlay.nags,
.ui.overlay.nag {
position: absolute;
display: block;
}
/*--------------
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: #FFFFFF;
}
/*******************************
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
*******************************/