wishthis/semantic/dist/components/message.css
2023-08-17 11:47:40 +02:00

618 lines
14 KiB
CSS

/*!
* # Fomantic-UI 2.9.2 - Message
* https://github.com/fomantic/Fomantic-UI/
*
*
* Released under the MIT license
* https://opensource.org/licenses/MIT
*
*/
/*******************************
Message
*******************************/
.ui.message {
position: relative;
min-height: 1em;
margin: 1em 0;
background: #f8f8f9;
padding: 1em 1.5em;
line-height: 1.4285em;
color: rgba(0, 0, 0, 0.87);
transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
border-radius: 0.28571429rem;
box-shadow: 0 0 0 1px rgba(34, 36, 38, 0.22) inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.message:first-child {
margin-top: 0;
}
.ui.message:last-child {
margin-bottom: 0;
}
/* --------------
Content
--------------- */
/* Header */
.ui.message .header {
display: block;
font-family: 'Raleway', sans-serif;
font-weight: bold;
margin: -0.14285714em 0 0 0;
}
/* Default font size */
.ui.message .header:not(.ui) {
font-size: 1.14285714em;
}
/* Paragraph */
.ui.message p {
opacity: 0.85;
margin: 0.75em 0;
}
.ui.message p:first-child {
margin-top: 0;
}
.ui.message p:last-child {
margin-bottom: 0;
}
.ui.message .header + p {
margin-top: 0.25em;
}
/* List */
.ui.message .list:not(.ui) {
text-align: left;
padding: 0;
opacity: 0.85;
list-style-position: inside;
margin: 0.5em 0 0;
}
.ui.message .list:not(.ui):first-child {
margin-top: 0;
}
.ui.message .list:not(.ui):last-child {
margin-bottom: 0;
}
.ui.message .list:not(.ui) li {
position: relative;
list-style-type: none;
margin: 0 0 0.3em 1em;
padding: 0;
}
.ui.message .list:not(.ui) li::before {
position: absolute;
content: "•";
left: -1em;
height: 100%;
vertical-align: baseline;
}
.ui.message .list:not(.ui) li:last-child {
margin-bottom: 0;
}
/* Icon */
.ui.icon.message > .icons,
.ui.icon.message > i.icon {
margin-right: 0.6em;
}
.ui.icon.message > .icons:last-child,
.ui.icon.message > i.icon:last-child {
margin: 0 0 0 0.6em;
}
/* Close Icon */
.ui.message > .close.icon {
cursor: pointer;
position: absolute;
margin: 0;
top: 0.78575em;
right: 0.5em;
opacity: 0.7;
transition: opacity 0.1s ease;
}
.ui.message > .close.icon:hover {
opacity: 1;
}
/* First / Last Element */
.ui.message > :first-child {
margin-top: 0;
}
.ui.message > :last-child {
margin-bottom: 0;
}
/*******************************
Coupling
*******************************/
.ui.dropdown .menu > .message {
margin: 0 -1px;
}
/*******************************
States
*******************************/
/* --------------
Visible
--------------- */
.ui.visible.visible.visible.visible.message {
display: block;
}
.ui.icon.visible.visible.visible.visible.message {
display: flex;
}
/* --------------
Hidden
--------------- */
.ui.hidden.hidden.hidden.hidden.message {
display: none;
}
/*******************************
Variations
*******************************/
.ui.centered.message,
.ui.center.aligned.message {
text-align: center;
justify-content: center;
}
.ui.centered.message > .content,
.ui.center.aligned.message > .content {
flex: 0 0 auto;
}
.ui.right.aligned.message {
text-align: right;
}
/* --------------
Compact
--------------- */
.ui.compact.message {
display: inline-block;
}
.ui.compact.icon.message {
display: inline-flex;
width: auto;
}
/* --------------
Attached
--------------- */
.ui.attached.message {
margin-bottom: -1px;
border-radius: 0.28571429rem 0.28571429rem 0 0;
box-shadow: 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
margin-left: -1px;
margin-right: -1px;
}
.ui.attached + .ui.attached.message:not(.top):not(.bottom) {
margin-top: -1px;
border-radius: 0;
}
.ui.bottom.attached.message {
margin-top: -1px;
border-radius: 0 0 0.28571429rem 0.28571429rem;
box-shadow: 0 0 0 1px rgba(34, 36, 38, 0.15) inset, 0 1px 2px 0 rgba(34, 36, 38, 0.15);
}
.ui.bottom.attached.message:not(:last-child) {
margin-bottom: 1em;
}
.ui.attached.icon.message {
width: auto;
}
/* --------------
Icon
--------------- */
.ui.icon.message {
display: flex;
width: 100%;
align-items: center;
}
.ui.icon.message > .icons,
.ui.icon.message > i.icon:not(.close) {
display: block;
flex: 0 0 auto;
width: auto;
line-height: 1;
vertical-align: middle;
font-size: 3em;
opacity: 0.8;
}
.ui.icon.message > .content {
display: block;
flex: 1 1 auto;
vertical-align: middle;
}
.ui.icon.message > .icons + .content,
.ui.icon.message > i.icon:not(.close) + .content {
padding-left: 0;
}
.ui.icon.message > i.circular {
width: 1em;
}
/* --------------
Floating
--------------- */
.ui.floating.message {
box-shadow: 0 0 0 1px rgba(34, 36, 38, 0.22) inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
/* --------------
Colors
--------------- */
/* --------------
Types
--------------- */
/* Colors */
.ui.positive.message {
background-color: #fcfff5;
color: #2c662d;
}
.ui.positive.message,
.ui.attached.positive.message {
box-shadow: 0 0 0 1px #a3c293 inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.positive.message {
box-shadow: 0 0 0 1px #a3c293 inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.positive.message .header {
color: #1a531b;
}
.ui.inverted.positive.message,
.ui.inverted.positive.message .header {
color: #a3c293;
}
.ui.negative.message {
background-color: #fff6f6;
color: #9f3a38;
}
.ui.negative.message,
.ui.attached.negative.message {
box-shadow: 0 0 0 1px #e0b4b4 inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.negative.message {
box-shadow: 0 0 0 1px #e0b4b4 inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.negative.message .header {
color: #912d2b;
}
.ui.inverted.negative.message,
.ui.inverted.negative.message .header {
color: #e0b4b4;
}
.ui.error.message {
background-color: #fff6f6;
color: #9f3a38;
}
.ui.error.message,
.ui.attached.error.message {
box-shadow: 0 0 0 1px #e0b4b4 inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.error.message {
box-shadow: 0 0 0 1px #e0b4b4 inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.error.message .header {
color: #912d2b;
}
.ui.inverted.error.message,
.ui.inverted.error.message .header {
color: #ecd1d1;
}
.ui.info.message {
background-color: #f8ffff;
color: #276f86;
}
.ui.info.message,
.ui.attached.info.message {
box-shadow: 0 0 0 1px #a9d5de inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.info.message {
box-shadow: 0 0 0 1px #a9d5de inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.info.message .header {
color: #0e566c;
}
.ui.inverted.info.message,
.ui.inverted.info.message .header {
color: #c6e3e9;
}
.ui.success.message {
background-color: #fcfff5;
color: #2c662d;
}
.ui.success.message,
.ui.attached.success.message {
box-shadow: 0 0 0 1px #a3c293 inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.success.message {
box-shadow: 0 0 0 1px #a3c293 inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.success.message .header {
color: #1a531b;
}
.ui.inverted.success.message,
.ui.inverted.success.message .header {
color: #b9d1ad;
}
.ui.warning.message {
background-color: #fffaf3;
color: #573a08;
}
.ui.warning.message,
.ui.attached.warning.message {
box-shadow: 0 0 0 1px #c9ba9b inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.warning.message {
box-shadow: 0 0 0 1px #c9ba9b inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.warning.message .header {
color: #794b02;
}
.ui.inverted.warning.message,
.ui.inverted.warning.message .header {
color: #d7ccb5;
}
.ui.primary.message {
background-color: #dff0ff;
color: rgba(255, 255, 255, 0.9);
}
.ui.primary.message,
.ui.attached.primary.message {
box-shadow: 0 0 0 1px #6435c9 inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.primary.message {
box-shadow: 0 0 0 1px #6435c9 inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.primary.message .header {
color: rgba(242, 242, 242, 0.9);
}
.ui.secondary.message {
background-color: #f4f4f4;
color: rgba(255, 255, 255, 0.9);
}
.ui.secondary.message,
.ui.attached.secondary.message {
box-shadow: 0 0 0 1px #1b1c1d inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.secondary.message {
box-shadow: 0 0 0 1px #1b1c1d inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.secondary.message .header {
color: rgba(242, 242, 242, 0.9);
}
.ui.red.message {
background-color: #ffe8e6;
color: #db2828;
}
.ui.red.message,
.ui.attached.red.message {
box-shadow: 0 0 0 1px #db2828 inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.red.message {
box-shadow: 0 0 0 1px #db2828 inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.red.message .header {
color: #c82121;
}
.ui.orange.message {
background-color: #ffedde;
color: #f2711c;
}
.ui.orange.message,
.ui.attached.orange.message {
box-shadow: 0 0 0 1px #f2711c inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.orange.message {
box-shadow: 0 0 0 1px #f2711c inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.orange.message .header {
color: #e7640d;
}
.ui.yellow.message {
background-color: #fff8db;
color: #b58105;
}
.ui.yellow.message,
.ui.attached.yellow.message {
box-shadow: 0 0 0 1px #b58105 inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.yellow.message {
box-shadow: 0 0 0 1px #b58105 inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.yellow.message .header {
color: #9c6f04;
}
.ui.olive.message {
background-color: #fbfdef;
color: #8abc1e;
}
.ui.olive.message,
.ui.attached.olive.message {
box-shadow: 0 0 0 1px #8abc1e inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.olive.message {
box-shadow: 0 0 0 1px #8abc1e inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.olive.message .header {
color: #7aa61a;
}
.ui.green.message {
background-color: #e5f9e7;
color: #1ebc30;
}
.ui.green.message,
.ui.attached.green.message {
box-shadow: 0 0 0 1px #1ebc30 inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.green.message {
box-shadow: 0 0 0 1px #1ebc30 inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.green.message .header {
color: #1aa62a;
}
.ui.teal.message {
background-color: #e1f7f7;
color: #10a3a3;
}
.ui.teal.message,
.ui.attached.teal.message {
box-shadow: 0 0 0 1px #10a3a3 inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.teal.message {
box-shadow: 0 0 0 1px #10a3a3 inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.teal.message .header {
color: #0e8c8c;
}
.ui.blue.message {
background-color: #dff0ff;
color: #2185d0;
}
.ui.blue.message,
.ui.attached.blue.message {
box-shadow: 0 0 0 1px #2185d0 inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.blue.message {
box-shadow: 0 0 0 1px #2185d0 inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.blue.message .header {
color: #1e77ba;
}
.ui.violet.message {
background-color: #eae7ff;
color: #6435c9;
}
.ui.violet.message,
.ui.attached.violet.message {
box-shadow: 0 0 0 1px #6435c9 inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.violet.message {
box-shadow: 0 0 0 1px #6435c9 inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.violet.message .header {
color: #5a30b5;
}
.ui.purple.message {
background-color: #f6e7ff;
color: #a333c8;
}
.ui.purple.message,
.ui.attached.purple.message {
box-shadow: 0 0 0 1px #a333c8 inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.purple.message {
box-shadow: 0 0 0 1px #a333c8 inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.purple.message .header {
color: #922eb4;
}
.ui.pink.message {
background-color: #ffe3fb;
color: #e03997;
}
.ui.pink.message,
.ui.attached.pink.message {
box-shadow: 0 0 0 1px #e03997 inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.pink.message {
box-shadow: 0 0 0 1px #e03997 inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.pink.message .header {
color: #dd238b;
}
.ui.brown.message {
background-color: #f1e2d3;
color: #a5673f;
}
.ui.brown.message,
.ui.attached.brown.message {
box-shadow: 0 0 0 1px #a5673f inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.brown.message {
box-shadow: 0 0 0 1px #a5673f inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.brown.message .header {
color: #935b38;
}
.ui.grey.message {
background-color: #f4f4f4;
color: #767676;
}
.ui.grey.message,
.ui.attached.grey.message {
box-shadow: 0 0 0 1px #767676 inset, 0 0 0 0 rgba(0, 0, 0, 0);
}
.ui.floating.grey.message {
box-shadow: 0 0 0 1px #767676 inset, 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.ui.grey.message .header {
color: #696969;
}
.ui.black.message {
background-color: #1b1c1d;
color: rgba(255, 255, 255, 0.9);
}
.ui.black.message .header {
color: rgba(255, 255, 255, 0.9);
}
.ui.inverted.message {
background-color: #1b1c1d;
color: rgba(255, 255, 255, 0.9);
}
/* --------------
Sizes
--------------- */
.ui.message {
font-size: 1em;
}
.ui.mini.message {
font-size: 0.78571429em;
}
.ui.tiny.message {
font-size: 0.85714286em;
}
.ui.small.message {
font-size: 0.92857143em;
}
.ui.large.message {
font-size: 1.14285714em;
}
.ui.big.message {
font-size: 1.28571429em;
}
.ui.huge.message {
font-size: 1.42857143em;
}
.ui.massive.message {
font-size: 1.71428571em;
}
/*******************************
Theme Overrides
*******************************/
/*******************************
Site Overrides
*******************************/