wishthis/semantic/dist/components/popup.css

1185 lines
27 KiB
CSS
Raw Normal View History

2022-03-15 09:43:53 +00:00
/*!
2023-12-19 14:45:49 +00:00
* # Fomantic-UI 2.9.3 - Popup
2023-08-17 09:47:40 +00:00
* https://github.com/fomantic/Fomantic-UI/
2022-03-15 09:43:53 +00:00
*
*
* Released under the MIT license
2023-08-17 09:47:40 +00:00
* https://opensource.org/licenses/MIT
2022-03-15 09:43:53 +00:00
*
*/
/*******************************
Popup
*******************************/
.ui.popup {
display: none;
position: absolute;
top: 0;
right: 0;
/* Fixes content being squished when inline (moz only) */
min-width: -webkit-min-content;
min-width: min-content;
z-index: 1900;
2023-08-17 09:47:40 +00:00
border: 1px solid #d4d4d5;
2022-03-15 09:43:53 +00:00
line-height: 1.4285em;
max-width: 250px;
2023-08-17 09:47:40 +00:00
background: #fff;
2022-03-15 09:43:53 +00:00
padding: 0.833em 1em;
font-weight: normal;
font-style: normal;
color: rgba(0, 0, 0, 0.87);
2022-08-05 09:25:53 +00:00
border-radius: 0.28571429rem;
2023-08-17 09:47:40 +00:00
box-shadow: 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
2022-03-15 09:43:53 +00:00
}
.ui.popup > .header {
padding: 0;
font-family: 'Raleway', sans-serif;
2022-08-05 09:25:53 +00:00
font-size: 1.14285714em;
2022-03-15 09:43:53 +00:00
line-height: 1.2;
font-weight: bold;
}
.ui.popup > .header + .content {
2022-08-05 09:25:53 +00:00
padding-top: 0.5em;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
.ui.popup::before {
2022-03-15 09:43:53 +00:00
position: absolute;
2023-08-17 09:47:40 +00:00
content: "";
2022-08-05 09:25:53 +00:00
width: 0.71428571em;
height: 0.71428571em;
2023-08-17 09:47:40 +00:00
background: #fff;
transform: rotate(45deg);
2022-03-15 09:43:53 +00:00
z-index: 1901;
2023-08-17 09:47:40 +00:00
box-shadow: 1px 1px 0 0 #bababc;
2022-03-15 09:43:53 +00:00
}
/*******************************
Types
*******************************/
2023-08-17 09:47:40 +00:00
/* --------------
Tooltip
--------------- */
2022-03-15 09:43:53 +00:00
/* Content */
[data-tooltip] {
position: relative;
}
/* Arrow */
2022-08-05 09:25:53 +00:00
[data-tooltip]::before {
2022-03-15 09:43:53 +00:00
pointer-events: none;
position: absolute;
2023-08-17 09:47:40 +00:00
content: "";
2022-03-15 09:43:53 +00:00
font-size: 1rem;
2022-08-05 09:25:53 +00:00
width: 0.71428571em;
height: 0.71428571em;
2023-08-17 09:47:40 +00:00
background: #fff;
transform: rotate(45deg);
2022-03-15 09:43:53 +00:00
z-index: 1901;
2023-08-17 09:47:40 +00:00
box-shadow: 1px 1px 0 0 #bababc;
2022-03-15 09:43:53 +00:00
}
/* Popup */
2022-08-05 09:25:53 +00:00
[data-tooltip]::after {
2022-03-15 09:43:53 +00:00
pointer-events: none;
content: attr(data-tooltip);
position: absolute;
text-transform: none;
text-align: left;
text-shadow: none;
white-space: nowrap;
font-size: 1rem;
2023-08-17 09:47:40 +00:00
border: 1px solid #d4d4d5;
2022-03-15 09:43:53 +00:00
line-height: 1.4285em;
max-width: none;
2023-08-17 09:47:40 +00:00
background: #fff;
2022-03-15 09:43:53 +00:00
padding: 0.833em 1em;
font-weight: normal;
font-style: normal;
color: rgba(0, 0, 0, 0.87);
2022-08-05 09:25:53 +00:00
border-radius: 0.28571429rem;
2023-08-17 09:47:40 +00:00
box-shadow: 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
2022-03-15 09:43:53 +00:00
z-index: 1900;
}
/* Default Position (Top Center) */
2022-08-05 09:25:53 +00:00
[data-tooltip]:not([data-position])::before {
2022-03-15 09:43:53 +00:00
top: auto;
right: auto;
bottom: 100%;
left: 50%;
2023-08-17 09:47:40 +00:00
background: #fff;
2022-08-05 09:25:53 +00:00
margin-left: -0.07142857rem;
margin-bottom: 0.14285714rem;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-tooltip]:not([data-position])::after {
2022-03-15 09:43:53 +00:00
left: 50%;
2023-08-17 09:47:40 +00:00
transform: translateX(-50%);
2022-03-15 09:43:53 +00:00
bottom: 100%;
2022-08-05 09:25:53 +00:00
margin-bottom: 0.5em;
2022-03-15 09:43:53 +00:00
}
/* Animation */
2022-08-05 09:25:53 +00:00
[data-tooltip]::before,
[data-tooltip]::after {
2022-03-15 09:43:53 +00:00
pointer-events: none;
visibility: hidden;
opacity: 0;
transition: transform 0.1s ease, opacity 0.1s ease;
}
2022-08-05 09:25:53 +00:00
[data-tooltip]::before {
2023-08-17 09:47:40 +00:00
transform: rotate(45deg) scale(0) !important;
transform-origin: center top;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-tooltip]::after {
2023-08-17 09:47:40 +00:00
transform-origin: center bottom;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
2022-03-15 09:43:53 +00:00
visibility: visible;
pointer-events: auto;
opacity: 1;
}
2022-08-05 09:25:53 +00:00
[data-tooltip]:hover::before {
2023-08-17 09:47:40 +00:00
transform: rotate(45deg) scale(1) !important;
2022-03-15 09:43:53 +00:00
}
/* Animation Position */
2022-08-05 09:25:53 +00:00
[data-tooltip]::after,
[data-tooltip][data-position="top center"]::after,
[data-tooltip][data-position="bottom center"]::after {
2023-08-17 09:47:40 +00:00
transform: translateX(-50%) scale(0) !important;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-tooltip]:hover::after,
[data-tooltip][data-position="bottom center"]:hover::after {
2023-08-17 09:47:40 +00:00
transform: translateX(-50%) scale(1) !important;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-position="left center"]::after,
[data-tooltip][data-position="right center"]::after {
2023-08-17 09:47:40 +00:00
transform: translateY(-50%) scale(0) !important;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-position="left center"]:hover::after,
[data-tooltip][data-position="right center"]:hover::after {
2023-08-17 09:47:40 +00:00
transform: translateY(-50%) scale(1) !important;
2022-03-15 09:43:53 +00:00
-moz-transform: translateY(-50%) scale(1.0001) !important;
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-position="top left"]::after,
[data-tooltip][data-position="top right"]::after,
[data-tooltip][data-position="bottom left"]::after,
[data-tooltip][data-position="bottom right"]::after {
2023-08-17 09:47:40 +00:00
transform: scale(0) !important;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-position="top left"]:hover::after,
[data-tooltip][data-position="top right"]:hover::after,
[data-tooltip][data-position="bottom left"]:hover::after,
[data-tooltip][data-position="bottom right"]:hover::after {
2023-08-17 09:47:40 +00:00
transform: scale(1) !important;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-variation~="fixed"]::after {
2022-03-15 09:43:53 +00:00
white-space: normal;
width: 250px;
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-variation*="wide fixed"]::after {
2022-03-15 09:43:53 +00:00
width: 350px;
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-variation*="very wide fixed"]::after {
2022-03-15 09:43:53 +00:00
width: 550px;
}
@media only screen and (max-width: 767.98px) {
2022-08-05 09:25:53 +00:00
[data-tooltip][data-variation~="fixed"]::after {
2022-03-15 09:43:53 +00:00
width: 250px;
}
}
2023-08-17 09:47:40 +00:00
/* --------------
Inverted
--------------- */
2022-03-15 09:43:53 +00:00
/* Arrow */
2022-08-05 09:25:53 +00:00
[data-tooltip][data-inverted]::before {
2023-08-17 09:47:40 +00:00
box-shadow: none !important;
2022-03-15 09:43:53 +00:00
}
/* Arrow Position */
2022-08-05 09:25:53 +00:00
[data-tooltip][data-inverted]::before {
2023-08-17 09:47:40 +00:00
background: #1b1c1d;
2022-03-15 09:43:53 +00:00
}
2023-08-17 09:47:40 +00:00
/* Popup */
2022-08-05 09:25:53 +00:00
[data-tooltip][data-inverted]::after {
2023-08-17 09:47:40 +00:00
background: #1b1c1d;
color: #fff;
2022-03-15 09:43:53 +00:00
border: none;
2023-08-17 09:47:40 +00:00
box-shadow: none;
2022-03-15 09:43:53 +00:00
}
2023-08-17 09:47:40 +00:00
/* --------------
Position
--------------- */
2022-08-05 09:25:53 +00:00
[data-position~="top"][data-tooltip]::before {
2023-08-17 09:47:40 +00:00
background: #fff;
2022-03-15 09:43:53 +00:00
}
/* Top Center */
2022-08-05 09:25:53 +00:00
[data-position="top center"][data-tooltip]::after {
2022-03-15 09:43:53 +00:00
top: auto;
right: auto;
left: 50%;
bottom: 100%;
2023-08-17 09:47:40 +00:00
transform: translateX(-50%);
2022-08-05 09:25:53 +00:00
margin-bottom: 0.5em;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-position="top center"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
top: auto;
right: auto;
bottom: 100%;
left: 50%;
2023-08-17 09:47:40 +00:00
background: #fff;
2022-08-05 09:25:53 +00:00
margin-left: -0.07142857rem;
margin-bottom: 0.14285714rem;
2022-03-15 09:43:53 +00:00
}
/* Top Left */
2022-08-05 09:25:53 +00:00
[data-position="top left"][data-tooltip]::after {
2022-03-15 09:43:53 +00:00
top: auto;
right: auto;
left: 0;
bottom: 100%;
2022-08-05 09:25:53 +00:00
margin-bottom: 0.5em;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-position="top left"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
top: auto;
right: auto;
bottom: 100%;
left: 1em;
2022-08-05 09:25:53 +00:00
margin-left: -0.07142857rem;
margin-bottom: 0.14285714rem;
2022-03-15 09:43:53 +00:00
}
/* Top Right */
2022-08-05 09:25:53 +00:00
[data-position="top right"][data-tooltip]::after {
2022-03-15 09:43:53 +00:00
top: auto;
left: auto;
right: 0;
bottom: 100%;
2022-08-05 09:25:53 +00:00
margin-bottom: 0.5em;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-position="top right"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
top: auto;
left: auto;
bottom: 100%;
right: 1em;
2022-08-05 09:25:53 +00:00
margin-left: -0.07142857rem;
margin-bottom: 0.14285714rem;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-position~="bottom"][data-tooltip]::before {
2023-08-17 09:47:40 +00:00
background: #fff;
box-shadow: -1px -1px 0 0 #bababc;
2022-03-15 09:43:53 +00:00
}
/* Bottom Center */
2022-08-05 09:25:53 +00:00
[data-position="bottom center"][data-tooltip]::after {
2022-03-15 09:43:53 +00:00
bottom: auto;
right: auto;
left: 50%;
top: 100%;
2023-08-17 09:47:40 +00:00
transform: translateX(-50%);
2022-08-05 09:25:53 +00:00
margin-top: 0.5em;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-position="bottom center"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
bottom: auto;
right: auto;
top: 100%;
left: 50%;
2022-08-05 09:25:53 +00:00
margin-left: -0.07142857rem;
margin-top: 0.30714286em;
2022-03-15 09:43:53 +00:00
}
/* Bottom Left */
2022-08-05 09:25:53 +00:00
[data-position="bottom left"][data-tooltip]::after {
2022-03-15 09:43:53 +00:00
left: 0;
top: 100%;
2022-08-05 09:25:53 +00:00
margin-top: 0.5em;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-position="bottom left"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
bottom: auto;
right: auto;
top: 100%;
left: 1em;
2022-08-05 09:25:53 +00:00
margin-left: -0.07142857rem;
margin-top: 0.14285714rem;
2022-03-15 09:43:53 +00:00
}
/* Bottom Right */
2022-08-05 09:25:53 +00:00
[data-position="bottom right"][data-tooltip]::after {
2022-03-15 09:43:53 +00:00
right: 0;
top: 100%;
2022-08-05 09:25:53 +00:00
margin-top: 0.5em;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-position="bottom right"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
bottom: auto;
left: auto;
top: 100%;
right: 1em;
2022-08-05 09:25:53 +00:00
margin-left: -0.14285714rem;
margin-top: 0.07142857rem;
2022-03-15 09:43:53 +00:00
}
/* Left Center */
2022-08-05 09:25:53 +00:00
[data-position="left center"][data-tooltip]::after {
2022-03-15 09:43:53 +00:00
right: 100%;
top: 50%;
2022-08-05 09:25:53 +00:00
margin-right: 0.5em;
2023-08-17 09:47:40 +00:00
transform: translateY(-50%);
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-position="left center"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
right: 100%;
top: 50%;
2022-08-05 09:25:53 +00:00
margin-top: -0.14285714rem;
margin-right: -0.07142857rem;
2023-08-17 09:47:40 +00:00
background: #fff;
box-shadow: 1px -1px 0 0 #bababc;
2022-03-15 09:43:53 +00:00
}
/* Right Center */
2022-08-05 09:25:53 +00:00
[data-position="right center"][data-tooltip]::after {
2022-03-15 09:43:53 +00:00
left: 100%;
top: 50%;
2022-08-05 09:25:53 +00:00
margin-left: 0.5em;
2023-08-17 09:47:40 +00:00
transform: translateY(-50%);
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-position="right center"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
left: 100%;
top: 50%;
2022-08-05 09:25:53 +00:00
margin-top: -0.07142857rem;
margin-left: 0.14285714rem;
2023-08-17 09:47:40 +00:00
background: #fff;
box-shadow: -1px 1px 0 0 #bababc;
2022-03-15 09:43:53 +00:00
}
/* Inverted Arrow Color */
2022-08-05 09:25:53 +00:00
[data-inverted][data-position~="bottom"][data-tooltip]::before {
2023-08-17 09:47:40 +00:00
background: #1b1c1d;
box-shadow: -1px -1px 0 0 #bababc;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-inverted][data-position="left center"][data-tooltip]::before {
2023-08-17 09:47:40 +00:00
background: #1b1c1d;
box-shadow: 1px -1px 0 0 #bababc;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-inverted][data-position="right center"][data-tooltip]::before {
2023-08-17 09:47:40 +00:00
background: #1b1c1d;
box-shadow: -1px 1px 0 0 #bababc;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-inverted][data-position~="top"][data-tooltip]::before {
2023-08-17 09:47:40 +00:00
background: #1b1c1d;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-position~="bottom"][data-tooltip]::before {
2023-08-17 09:47:40 +00:00
transform-origin: center bottom;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-position~="bottom"][data-tooltip]::after {
2023-08-17 09:47:40 +00:00
transform-origin: center top;
2022-08-05 09:25:53 +00:00
}
[data-position="bottom center"][data-tooltip]::before {
2023-08-17 09:47:40 +00:00
transform-origin: center top;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-position="left center"][data-tooltip]::before {
2023-08-17 09:47:40 +00:00
transform-origin: top center;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-position="left center"][data-tooltip]::after {
2023-08-17 09:47:40 +00:00
transform-origin: right center;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-position="right center"][data-tooltip]::before {
2023-08-17 09:47:40 +00:00
transform-origin: right center;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-position="right center"][data-tooltip]::after {
2023-08-17 09:47:40 +00:00
transform-origin: left center;
2022-03-15 09:43:53 +00:00
}
2023-08-17 09:47:40 +00:00
/* --------------
Basic
--------------- */
2022-08-05 09:25:53 +00:00
[data-tooltip][data-variation~="basic"]::before {
2022-03-15 09:43:53 +00:00
display: none;
}
2023-08-17 09:47:40 +00:00
[data-tooltip][data-variation~="multiline"]::after {
white-space: pre-line;
}
2022-03-15 09:43:53 +00:00
2023-08-17 09:47:40 +00:00
/* --------------
2022-03-15 09:43:53 +00:00
Spacing
2023-08-17 09:47:40 +00:00
--------------- */
2022-03-15 09:43:53 +00:00
.ui.popup {
margin: 0;
}
/* Extending from Top */
.ui.top.popup {
2022-08-05 09:25:53 +00:00
margin: 0 0 0.71428571em;
2022-03-15 09:43:53 +00:00
}
.ui.top.left.popup {
2023-08-17 09:47:40 +00:00
transform-origin: left bottom;
2022-03-15 09:43:53 +00:00
}
.ui.top.center.popup {
2023-08-17 09:47:40 +00:00
transform-origin: center bottom;
2022-03-15 09:43:53 +00:00
}
.ui.top.right.popup {
2023-08-17 09:47:40 +00:00
transform-origin: right bottom;
2022-03-15 09:43:53 +00:00
}
/* Extending from Vertical Center */
.ui.left.center.popup {
2022-08-05 09:25:53 +00:00
margin: 0 0.71428571em 0 0;
2023-08-17 09:47:40 +00:00
transform-origin: right 50%;
2022-03-15 09:43:53 +00:00
}
.ui.right.center.popup {
2022-08-05 09:25:53 +00:00
margin: 0 0 0 0.71428571em;
2023-08-17 09:47:40 +00:00
transform-origin: left 50%;
2022-03-15 09:43:53 +00:00
}
/* Extending from Bottom */
.ui.bottom.popup {
2022-08-05 09:25:53 +00:00
margin: 0.71428571em 0 0;
2022-03-15 09:43:53 +00:00
}
.ui.bottom.left.popup {
2023-08-17 09:47:40 +00:00
transform-origin: left top;
2022-03-15 09:43:53 +00:00
}
.ui.bottom.center.popup {
2023-08-17 09:47:40 +00:00
transform-origin: center top;
2022-03-15 09:43:53 +00:00
}
.ui.bottom.right.popup {
2023-08-17 09:47:40 +00:00
transform-origin: right top;
2022-03-15 09:43:53 +00:00
}
2023-08-17 09:47:40 +00:00
/* --------------
Pointer
--------------- */
2022-03-15 09:43:53 +00:00
2023-08-17 09:47:40 +00:00
/* --- Below --- */
2022-08-05 09:25:53 +00:00
.ui.bottom.center.popup::before {
margin-left: -0.30714286em;
top: -0.30714286em;
2022-03-15 09:43:53 +00:00
left: 50%;
right: auto;
bottom: auto;
2023-08-17 09:47:40 +00:00
box-shadow: -1px -1px 0 0 #bababc;
2022-03-15 09:43:53 +00:00
}
.ui.bottom.left.popup {
margin-left: 0;
}
2023-08-17 09:47:40 +00:00
/* rtl:rename */
2022-08-05 09:25:53 +00:00
.ui.bottom.left.popup::before {
top: -0.30714286em;
2022-03-15 09:43:53 +00:00
left: 1em;
right: auto;
bottom: auto;
margin-left: 0;
2023-08-17 09:47:40 +00:00
box-shadow: -1px -1px 0 0 #bababc;
2022-03-15 09:43:53 +00:00
}
.ui.bottom.right.popup {
margin-right: 0;
}
2023-08-17 09:47:40 +00:00
/* rtl:rename */
2022-08-05 09:25:53 +00:00
.ui.bottom.right.popup::before {
top: -0.30714286em;
2022-03-15 09:43:53 +00:00
right: 1em;
bottom: auto;
left: auto;
margin-left: 0;
2023-08-17 09:47:40 +00:00
box-shadow: -1px -1px 0 0 #bababc;
2022-03-15 09:43:53 +00:00
}
2023-08-17 09:47:40 +00:00
/* --- Above --- */
2022-08-05 09:25:53 +00:00
.ui.top.center.popup::before {
2022-03-15 09:43:53 +00:00
top: auto;
right: auto;
2022-08-05 09:25:53 +00:00
bottom: -0.30714286em;
2022-03-15 09:43:53 +00:00
left: 50%;
2022-08-05 09:25:53 +00:00
margin-left: -0.30714286em;
2022-03-15 09:43:53 +00:00
}
.ui.top.left.popup {
margin-left: 0;
}
2023-08-17 09:47:40 +00:00
/* rtl:rename */
2022-08-05 09:25:53 +00:00
.ui.top.left.popup::before {
bottom: -0.30714286em;
2022-03-15 09:43:53 +00:00
left: 1em;
top: auto;
right: auto;
margin-left: 0;
}
.ui.top.right.popup {
margin-right: 0;
}
2023-08-17 09:47:40 +00:00
/* rtl:rename */
2022-08-05 09:25:53 +00:00
.ui.top.right.popup::before {
bottom: -0.30714286em;
2022-03-15 09:43:53 +00:00
right: 1em;
top: auto;
left: auto;
margin-left: 0;
}
2023-08-17 09:47:40 +00:00
/* --- Left Center --- */
2022-03-15 09:43:53 +00:00
2023-08-17 09:47:40 +00:00
/* rtl:rename */
2022-08-05 09:25:53 +00:00
.ui.left.center.popup::before {
2022-03-15 09:43:53 +00:00
top: 50%;
2022-08-05 09:25:53 +00:00
right: -0.30714286em;
2022-03-15 09:43:53 +00:00
bottom: auto;
left: auto;
2022-08-05 09:25:53 +00:00
margin-top: -0.30714286em;
2023-08-17 09:47:40 +00:00
box-shadow: 1px -1px 0 0 #bababc;
2022-03-15 09:43:53 +00:00
}
2023-08-17 09:47:40 +00:00
/* --- Right Center --- */
2022-03-15 09:43:53 +00:00
2023-08-17 09:47:40 +00:00
/* rtl:rename */
2022-08-05 09:25:53 +00:00
.ui.right.center.popup::before {
2022-03-15 09:43:53 +00:00
top: 50%;
2022-08-05 09:25:53 +00:00
left: -0.30714286em;
2022-03-15 09:43:53 +00:00
bottom: auto;
right: auto;
2022-08-05 09:25:53 +00:00
margin-top: -0.30714286em;
2023-08-17 09:47:40 +00:00
box-shadow: -1px 1px 0 0 #bababc;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
.ui.right.center.popup::before,
.ui.left.center.popup::before {
2023-08-17 09:47:40 +00:00
background: #fff;
2022-03-15 09:43:53 +00:00
}
/* Arrow Color By Location */
2022-08-05 09:25:53 +00:00
.ui.bottom.popup::before {
2023-08-17 09:47:40 +00:00
background: #fff;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
.ui.top.popup::before {
2023-08-17 09:47:40 +00:00
background: #fff;
2022-03-15 09:43:53 +00:00
}
/* Inverted Arrow Color */
2022-08-05 09:25:53 +00:00
.ui.inverted.bottom.popup::before {
2023-08-17 09:47:40 +00:00
background: #1b1c1d;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
.ui.inverted.right.center.popup::before,
.ui.inverted.left.center.popup::before {
2023-08-17 09:47:40 +00:00
background: #1b1c1d;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
.ui.inverted.top.popup::before {
2023-08-17 09:47:40 +00:00
background: #1b1c1d;
2022-03-15 09:43:53 +00:00
}
/*******************************
Coupling
*******************************/
/* Immediate Nested Grid */
2023-08-17 09:47:40 +00:00
.ui.ui.ui.popup > .ui.grid:not(.padded) {
2022-03-15 09:43:53 +00:00
width: calc(100% + 1.75rem);
margin: -0.7rem -0.875rem;
}
/*******************************
States
*******************************/
.ui.loading.popup {
2023-08-17 09:47:40 +00:00
cursor: default;
pointer-events: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
.ui.loading.popup * {
opacity: 0.3;
}
.ui.loading.popup::after {
position: absolute;
content: "";
top: 50%;
left: 50%;
margin: -1em 0 0 -1em;
width: 2em;
height: 2em;
animation: loader 0.6s infinite linear;
border: 0.2em solid #767676;
border-radius: 500rem;
box-shadow: 0 0 0 1px transparent;
visibility: visible;
z-index: 101;
}
.ui.invisible.popup {
2022-03-15 09:43:53 +00:00
display: block;
2023-08-17 09:47:40 +00:00
visibility: hidden !important;
2022-03-15 09:43:53 +00:00
z-index: -1;
}
.ui.animating.popup,
.ui.visible.popup {
display: block;
}
.ui.visible.popup {
2023-08-17 09:47:40 +00:00
transform: translateZ(0);
2022-03-15 09:43:53 +00:00
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
/*******************************
Variations
*******************************/
2023-08-17 09:47:40 +00:00
/* --------------
Basic
--------------- */
2022-08-05 09:25:53 +00:00
.ui.basic.popup::before {
2022-03-15 09:43:53 +00:00
display: none;
}
.ui.fixed.popup {
width: 250px;
}
2023-08-17 09:47:40 +00:00
/* --------------
Wide
--------------- */
2022-03-15 09:43:53 +00:00
.ui.wide.popup {
max-width: 350px;
}
.ui.wide.popup.fixed {
width: 350px;
}
.ui[class*="very wide"].popup {
max-width: 550px;
}
.ui[class*="very wide"].popup.fixed {
width: 550px;
}
@media only screen and (max-width: 767.98px) {
.ui.wide.popup,
.ui[class*="very wide"].popup {
max-width: 250px;
}
.ui.wide.popup.fixed,
.ui[class*="very wide"].popup.fixed {
width: 250px;
}
}
2023-08-17 09:47:40 +00:00
/* --------------
Fluid
--------------- */
2022-03-15 09:43:53 +00:00
.ui.fluid.popup {
width: 100%;
max-width: none;
}
2023-08-17 09:47:40 +00:00
/* --------------
Colors
--------------- */
2022-03-15 09:43:53 +00:00
2023-08-17 09:47:40 +00:00
/* Inverted colors */
2022-03-15 09:43:53 +00:00
.ui.inverted.popup {
2023-08-17 09:47:40 +00:00
background: #1b1c1d;
color: #fff;
2022-03-15 09:43:53 +00:00
border: none;
2023-08-17 09:47:40 +00:00
box-shadow: none;
2022-03-15 09:43:53 +00:00
}
.ui.inverted.popup .header {
2023-08-17 09:47:40 +00:00
background: none;
color: #fff;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
.ui.inverted.popup::before {
2023-08-17 09:47:40 +00:00
background-color: #1b1c1d;
box-shadow: none !important;
}
.ui.ui.ui.primary.popup::before,
.ui.primary.popup,
[data-tooltip][data-variation~="primary"]::after,
[data-tooltip][data-variation~="primary"]::before {
background: #6435c9;
color: #fff;
border: none;
}
.ui.ui.ui.primary.loading.popup::before,
.ui.primary.loading.popup {
background: #c1adea;
}
.ui.ui.ui.primary.popup::before,
[data-tooltip][data-variation~="primary"]::before {
box-shadow: none;
}
.ui.ui.ui.inverted.primary.popup::before,
.ui.inverted.primary.popup,
[data-tooltip][data-inverted][data-variation~="primary"]::after,
[data-tooltip][data-inverted][data-variation~="primary"]::before {
background: #a291fb;
color: #1b1c1d;
}
.ui.ui.ui.inverted.primary.loading.popup::before,
.ui.inverted.primary.loading.popup {
background: #2d09ea;
}
.ui.ui.ui.secondary.popup::before,
.ui.secondary.popup,
[data-tooltip][data-variation~="secondary"]::after,
[data-tooltip][data-variation~="secondary"]::before {
background: #1b1c1d;
color: #fff;
border: none;
}
.ui.ui.ui.secondary.loading.popup::before,
.ui.secondary.loading.popup {
background: #65696c;
}
.ui.ui.ui.secondary.popup::before,
[data-tooltip][data-variation~="secondary"]::before {
box-shadow: none;
}
.ui.ui.ui.inverted.secondary.popup::before,
.ui.inverted.secondary.popup,
[data-tooltip][data-inverted][data-variation~="secondary"]::after,
[data-tooltip][data-inverted][data-variation~="secondary"]::before {
background: #545454;
color: #1b1c1d;
}
.ui.ui.ui.inverted.secondary.loading.popup::before,
.ui.inverted.secondary.loading.popup {
background: #080808;
}
.ui.ui.ui.red.popup::before,
.ui.red.popup,
[data-tooltip][data-variation~="red"]::after,
[data-tooltip][data-variation~="red"]::before {
background: #db2828;
color: #fff;
border: none;
}
.ui.ui.ui.red.loading.popup::before,
.ui.red.loading.popup {
background: #f1abab;
}
.ui.ui.ui.red.popup::before,
[data-tooltip][data-variation~="red"]::before {
box-shadow: none;
}
.ui.ui.ui.inverted.red.popup::before,
.ui.inverted.red.popup,
[data-tooltip][data-inverted][data-variation~="red"]::after,
[data-tooltip][data-inverted][data-variation~="red"]::before {
background: #ff695e;
color: #1b1c1d;
}
.ui.ui.ui.inverted.red.loading.popup::before,
.ui.inverted.red.loading.popup {
background: #c40d00;
}
.ui.ui.ui.orange.popup::before,
.ui.orange.popup,
[data-tooltip][data-variation~="orange"]::after,
[data-tooltip][data-variation~="orange"]::before {
background: #f2711c;
color: #fff;
border: none;
}
.ui.ui.ui.orange.loading.popup::before,
.ui.orange.loading.popup {
background: #faccad;
}
.ui.ui.ui.orange.popup::before,
[data-tooltip][data-variation~="orange"]::before {
box-shadow: none;
}
.ui.ui.ui.inverted.orange.popup::before,
.ui.inverted.orange.popup,
[data-tooltip][data-inverted][data-variation~="orange"]::after,
[data-tooltip][data-inverted][data-variation~="orange"]::before {
background: #ff851b;
color: #1b1c1d;
}
.ui.ui.ui.inverted.orange.loading.popup::before,
.ui.inverted.orange.loading.popup {
background: #813c00;
}
.ui.ui.ui.yellow.popup::before,
.ui.yellow.popup,
[data-tooltip][data-variation~="yellow"]::after,
[data-tooltip][data-variation~="yellow"]::before {
background: #fbbd08;
color: #fff;
border: none;
}
.ui.ui.ui.yellow.loading.popup::before,
.ui.yellow.loading.popup {
background: #fde59f;
}
.ui.ui.ui.yellow.popup::before,
[data-tooltip][data-variation~="yellow"]::before {
box-shadow: none;
}
.ui.ui.ui.inverted.yellow.popup::before,
.ui.inverted.yellow.popup,
[data-tooltip][data-inverted][data-variation~="yellow"]::after,
[data-tooltip][data-inverted][data-variation~="yellow"]::before {
background: #ffe21f;
color: #1b1c1d;
}
.ui.ui.ui.inverted.yellow.loading.popup::before,
.ui.inverted.yellow.loading.popup {
background: #857400;
}
.ui.ui.ui.olive.popup::before,
.ui.olive.popup,
[data-tooltip][data-variation~="olive"]::after,
[data-tooltip][data-variation~="olive"]::before {
background: #b5cc18;
color: #fff;
border: none;
}
.ui.ui.ui.olive.loading.popup::before,
.ui.olive.loading.popup {
background: #e4f18c;
}
.ui.ui.ui.olive.popup::before,
[data-tooltip][data-variation~="olive"]::before {
box-shadow: none;
}
.ui.ui.ui.inverted.olive.popup::before,
.ui.inverted.olive.popup,
[data-tooltip][data-inverted][data-variation~="olive"]::after,
[data-tooltip][data-inverted][data-variation~="olive"]::before {
background: #d9e778;
color: #1b1c1d;
}
.ui.ui.ui.inverted.olive.loading.popup::before,
.ui.inverted.olive.loading.popup {
background: #97a81e;
}
.ui.ui.ui.green.popup::before,
.ui.green.popup,
[data-tooltip][data-variation~="green"]::after,
[data-tooltip][data-variation~="green"]::before {
background: #21ba45;
color: #fff;
border: none;
}
.ui.ui.ui.green.loading.popup::before,
.ui.green.loading.popup {
background: #8aeaa0;
}
.ui.ui.ui.green.popup::before,
[data-tooltip][data-variation~="green"]::before {
box-shadow: none;
}
.ui.ui.ui.inverted.green.popup::before,
.ui.inverted.green.popup,
[data-tooltip][data-inverted][data-variation~="green"]::after,
[data-tooltip][data-inverted][data-variation~="green"]::before {
background: #2ecc40;
color: #1b1c1d;
}
.ui.ui.ui.inverted.green.loading.popup::before,
.ui.inverted.green.loading.popup {
background: #124f19;
}
.ui.ui.ui.teal.popup::before,
.ui.teal.popup,
[data-tooltip][data-variation~="teal"]::after,
[data-tooltip][data-variation~="teal"]::before {
background: #00b5ad;
color: #fff;
border: none;
}
.ui.ui.ui.teal.loading.popup::before,
.ui.teal.loading.popup {
background: #4ffff7;
}
.ui.ui.ui.teal.popup::before,
[data-tooltip][data-variation~="teal"]::before {
box-shadow: none;
}
.ui.ui.ui.inverted.teal.popup::before,
.ui.inverted.teal.popup,
[data-tooltip][data-inverted][data-variation~="teal"]::after,
[data-tooltip][data-inverted][data-variation~="teal"]::before {
background: #6dffff;
color: #1b1c1d;
}
.ui.ui.ui.inverted.teal.loading.popup::before,
.ui.inverted.teal.loading.popup {
background: #00d3d3;
}
.ui.ui.ui.blue.popup::before,
.ui.blue.popup,
[data-tooltip][data-variation~="blue"]::after,
[data-tooltip][data-variation~="blue"]::before {
background: #2185d0;
color: #fff;
border: none;
}
.ui.ui.ui.blue.loading.popup::before,
.ui.blue.loading.popup {
background: #9bcbef;
}
.ui.ui.ui.blue.popup::before,
[data-tooltip][data-variation~="blue"]::before {
box-shadow: none;
}
.ui.ui.ui.inverted.blue.popup::before,
.ui.inverted.blue.popup,
[data-tooltip][data-inverted][data-variation~="blue"]::after,
[data-tooltip][data-inverted][data-variation~="blue"]::before {
background: #54c8ff;
color: #1b1c1d;
}
.ui.ui.ui.inverted.blue.loading.popup::before,
.ui.inverted.blue.loading.popup {
background: #007eba;
}
.ui.ui.ui.violet.popup::before,
.ui.violet.popup,
[data-tooltip][data-variation~="violet"]::after,
[data-tooltip][data-variation~="violet"]::before {
background: #6435c9;
color: #fff;
border: none;
}
.ui.ui.ui.violet.loading.popup::before,
.ui.violet.loading.popup {
background: #c1adea;
}
.ui.ui.ui.violet.popup::before,
[data-tooltip][data-variation~="violet"]::before {
box-shadow: none;
}
.ui.ui.ui.inverted.violet.popup::before,
.ui.inverted.violet.popup,
[data-tooltip][data-inverted][data-variation~="violet"]::after,
[data-tooltip][data-inverted][data-variation~="violet"]::before {
background: #a291fb;
color: #1b1c1d;
}
.ui.ui.ui.inverted.violet.loading.popup::before,
.ui.inverted.violet.loading.popup {
background: #2d09ea;
}
.ui.ui.ui.purple.popup::before,
.ui.purple.popup,
[data-tooltip][data-variation~="purple"]::after,
[data-tooltip][data-variation~="purple"]::before {
background: #a333c8;
color: #fff;
border: none;
}
.ui.ui.ui.purple.loading.popup::before,
.ui.purple.loading.popup {
background: #daabe9;
}
.ui.ui.ui.purple.popup::before,
[data-tooltip][data-variation~="purple"]::before {
box-shadow: none;
}
.ui.ui.ui.inverted.purple.popup::before,
.ui.inverted.purple.popup,
[data-tooltip][data-inverted][data-variation~="purple"]::after,
[data-tooltip][data-inverted][data-variation~="purple"]::before {
background: #dc73ff;
color: #1b1c1d;
}
.ui.ui.ui.inverted.purple.loading.popup::before,
.ui.inverted.purple.loading.popup {
background: #a300d9;
}
.ui.ui.ui.pink.popup::before,
.ui.pink.popup,
[data-tooltip][data-variation~="pink"]::after,
[data-tooltip][data-variation~="pink"]::before {
background: #e03997;
color: #fff;
border: none;
}
.ui.ui.ui.pink.loading.popup::before,
.ui.pink.loading.popup {
background: #f5bddc;
}
.ui.ui.ui.pink.popup::before,
[data-tooltip][data-variation~="pink"]::before {
box-shadow: none;
}
.ui.ui.ui.inverted.pink.popup::before,
.ui.inverted.pink.popup,
[data-tooltip][data-inverted][data-variation~="pink"]::after,
[data-tooltip][data-inverted][data-variation~="pink"]::before {
background: #ff8edf;
color: #1b1c1d;
}
.ui.ui.ui.inverted.pink.loading.popup::before,
.ui.inverted.pink.loading.popup {
background: #f400af;
}
.ui.ui.ui.brown.popup::before,
.ui.brown.popup,
[data-tooltip][data-variation~="brown"]::after,
[data-tooltip][data-variation~="brown"]::before {
background: #a5673f;
color: #fff;
border: none;
}
.ui.ui.ui.brown.loading.popup::before,
.ui.brown.loading.popup {
background: #dbb8a2;
}
.ui.ui.ui.brown.popup::before,
[data-tooltip][data-variation~="brown"]::before {
box-shadow: none;
}
.ui.ui.ui.inverted.brown.popup::before,
.ui.inverted.brown.popup,
[data-tooltip][data-inverted][data-variation~="brown"]::after,
[data-tooltip][data-inverted][data-variation~="brown"]::before {
background: #d67c1c;
color: #1b1c1d;
}
.ui.ui.ui.inverted.brown.loading.popup::before,
.ui.inverted.brown.loading.popup {
background: #4f2e0a;
}
.ui.ui.ui.grey.popup::before,
.ui.grey.popup,
[data-tooltip][data-variation~="grey"]::after,
[data-tooltip][data-variation~="grey"]::before {
background: #767676;
color: #fff;
border: none;
}
.ui.ui.ui.grey.loading.popup::before,
.ui.grey.loading.popup {
background: #c3c3c3;
}
.ui.ui.ui.grey.popup::before,
[data-tooltip][data-variation~="grey"]::before {
box-shadow: none;
}
.ui.ui.ui.inverted.grey.popup::before,
.ui.inverted.grey.popup,
[data-tooltip][data-inverted][data-variation~="grey"]::after,
[data-tooltip][data-inverted][data-variation~="grey"]::before {
background: #dcddde;
color: #1b1c1d;
}
.ui.ui.ui.inverted.grey.loading.popup::before,
.ui.inverted.grey.loading.popup {
background: #8d9194;
}
.ui.ui.ui.black.popup::before,
.ui.black.popup,
[data-tooltip][data-variation~="black"]::after,
[data-tooltip][data-variation~="black"]::before {
background: #1b1c1d;
color: #fff;
border: none;
}
.ui.ui.ui.black.loading.popup::before,
.ui.black.loading.popup {
background: #65696c;
}
.ui.ui.ui.black.popup::before,
[data-tooltip][data-variation~="black"]::before {
box-shadow: none;
}
.ui.ui.ui.inverted.black.popup::before,
.ui.inverted.black.popup,
[data-tooltip][data-inverted][data-variation~="black"]::after,
[data-tooltip][data-inverted][data-variation~="black"]::before {
background: #545454;
color: #1b1c1d;
}
.ui.ui.ui.inverted.black.loading.popup::before,
.ui.inverted.black.loading.popup {
background: #080808;
2022-03-15 09:43:53 +00:00
}
2023-08-17 09:47:40 +00:00
/* --------------
Flowing
--------------- */
2022-03-15 09:43:53 +00:00
.ui.flowing.popup {
max-width: none;
}
2023-08-17 09:47:40 +00:00
/* --------------
2022-03-15 09:43:53 +00:00
Sizes
2023-08-17 09:47:40 +00:00
--------------- */
2022-03-15 09:43:53 +00:00
.ui.popup {
font-size: 1rem;
}
.ui.mini.popup {
2022-08-05 09:25:53 +00:00
font-size: 0.78571429rem;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-variation~="mini"]::before,
[data-tooltip][data-variation~="mini"]::after {
font-size: 0.78571429rem;
2022-03-15 09:43:53 +00:00
}
.ui.tiny.popup {
2022-08-05 09:25:53 +00:00
font-size: 0.85714286rem;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-variation~="tiny"]::before,
[data-tooltip][data-variation~="tiny"]::after {
font-size: 0.85714286rem;
2022-03-15 09:43:53 +00:00
}
.ui.small.popup {
2022-08-05 09:25:53 +00:00
font-size: 0.92857143rem;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-variation~="small"]::before,
[data-tooltip][data-variation~="small"]::after {
font-size: 0.92857143rem;
2022-03-15 09:43:53 +00:00
}
.ui.large.popup {
2022-08-05 09:25:53 +00:00
font-size: 1.14285714rem;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-variation~="large"]::before,
[data-tooltip][data-variation~="large"]::after {
font-size: 1.14285714rem;
2022-03-15 09:43:53 +00:00
}
.ui.big.popup {
2022-08-05 09:25:53 +00:00
font-size: 1.28571429rem;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-variation~="big"]::before,
[data-tooltip][data-variation~="big"]::after {
font-size: 1.28571429rem;
2022-03-15 09:43:53 +00:00
}
.ui.huge.popup {
2022-08-05 09:25:53 +00:00
font-size: 1.42857143rem;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-variation~="huge"]::before,
[data-tooltip][data-variation~="huge"]::after {
font-size: 1.42857143rem;
2022-03-15 09:43:53 +00:00
}
.ui.massive.popup {
2022-08-05 09:25:53 +00:00
font-size: 1.71428571rem;
2022-03-15 09:43:53 +00:00
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-variation~="massive"]::before,
[data-tooltip][data-variation~="massive"]::after {
font-size: 1.71428571rem;
2022-03-15 09:43:53 +00:00
}
/*******************************
Theme Overrides
*******************************/
/*******************************
User Overrides
*******************************/