This repository has been archived on 2024-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
calcifer/web/semantic/dist/components/message.css

464 lines
8.5 KiB
CSS
Raw Normal View History

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