wishthis/semantic/dist/components/popup.css

818 lines
18 KiB
CSS
Raw Normal View History

2022-03-15 09:43:53 +00:00
/*!
2022-08-31 14:40:59 +00:00
* # Fomantic-UI 2.9.0-beta.311+116f84b - Popup
2022-03-15 09:43:53 +00:00
* http://github.com/fomantic/Fomantic-UI/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*******************************
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: -moz-min-content;
min-width: min-content;
z-index: 1900;
border: 1px solid #D4D4D5;
line-height: 1.4285em;
max-width: 250px;
background: #FFFFFF;
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;
2022-03-15 09:43:53 +00:00
-webkit-box-shadow: 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
}
.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;
content: '';
2022-08-05 09:25:53 +00:00
width: 0.71428571em;
height: 0.71428571em;
2022-03-15 09:43:53 +00:00
background: #FFFFFF;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
z-index: 1901;
-webkit-box-shadow: 1px 1px 0 0 #bababc;
box-shadow: 1px 1px 0 0 #bababc;
}
/*******************************
Types
*******************************/
/*--------------
Tooltip
---------------*/
/* 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;
content: '';
font-size: 1rem;
2022-08-05 09:25:53 +00:00
width: 0.71428571em;
height: 0.71428571em;
2022-03-15 09:43:53 +00:00
background: #FFFFFF;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
z-index: 1901;
-webkit-box-shadow: 1px 1px 0 0 #bababc;
box-shadow: 1px 1px 0 0 #bababc;
}
/* 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;
border: 1px solid #D4D4D5;
line-height: 1.4285em;
max-width: none;
background: #FFFFFF;
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;
2022-03-15 09:43:53 +00:00
-webkit-box-shadow: 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
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%;
background: #FFFFFF;
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%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
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;
-webkit-transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
transition: transform 0.1s ease, opacity 0.1s ease;
transition: transform 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease;
}
2022-08-05 09:25:53 +00:00
[data-tooltip]::before {
2022-03-15 09:43:53 +00:00
-webkit-transform: rotate(45deg) scale(0) !important;
transform: rotate(45deg) scale(0) !important;
-webkit-transform-origin: center top;
transform-origin: center top;
}
2022-08-05 09:25:53 +00:00
[data-tooltip]::after {
2022-03-15 09:43:53 +00:00
-webkit-transform-origin: center bottom;
transform-origin: center bottom;
}
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 {
2022-03-15 09:43:53 +00:00
-webkit-transform: rotate(45deg) scale(1) !important;
transform: rotate(45deg) scale(1) !important;
}
/* 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 {
2022-03-15 09:43:53 +00:00
-webkit-transform: translateX(-50%) scale(0) !important;
transform: translateX(-50%) scale(0) !important;
}
2022-08-05 09:25:53 +00:00
[data-tooltip]:hover::after,
[data-tooltip][data-position="bottom center"]:hover::after {
2022-03-15 09:43:53 +00:00
-webkit-transform: translateX(-50%) scale(1) !important;
transform: translateX(-50%) scale(1) !important;
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-position="left center"]::after,
[data-tooltip][data-position="right center"]::after {
2022-03-15 09:43:53 +00:00
-webkit-transform: translateY(-50%) scale(0) !important;
transform: translateY(-50%) scale(0) !important;
}
2022-08-05 09:25:53 +00:00
[data-tooltip][data-position="left center"]:hover::after,
[data-tooltip][data-position="right center"]:hover::after {
2022-03-15 09:43:53 +00:00
-webkit-transform: translateY(-50%) scale(1) !important;
transform: translateY(-50%) scale(1) !important;
-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 {
2022-03-15 09:43:53 +00:00
-webkit-transform: scale(0) !important;
transform: scale(0) !important;
}
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 {
2022-03-15 09:43:53 +00:00
-webkit-transform: scale(1) !important;
transform: scale(1) !important;
}
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;
}
}
/*--------------
Inverted
---------------*/
/* Arrow */
2022-08-05 09:25:53 +00:00
[data-tooltip][data-inverted]::before {
2022-03-15 09:43:53 +00:00
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
/* Arrow Position */
2022-08-05 09:25:53 +00:00
[data-tooltip][data-inverted]::before {
2022-03-15 09:43:53 +00:00
background: #1B1C1D;
}
/* Popup */
2022-08-05 09:25:53 +00:00
[data-tooltip][data-inverted]::after {
2022-03-15 09:43:53 +00:00
background: #1B1C1D;
color: #FFFFFF;
border: none;
-webkit-box-shadow: none;
box-shadow: none;
}
/*--------------
Position
---------------*/
2022-08-05 09:25:53 +00:00
[data-position~="top"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
background: #FFFFFF;
}
/* 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%;
-webkit-transform: translateX(-50%);
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%;
background: #FFFFFF;
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 {
2022-03-15 09:43:53 +00:00
background: #FFFFFF;
-webkit-box-shadow: -1px -1px 0 0 #bababc;
box-shadow: -1px -1px 0 0 #bababc;
}
/* 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%;
-webkit-transform: translateX(-50%);
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;
2022-03-15 09:43:53 +00:00
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
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;
2022-03-15 09:43:53 +00:00
background: #FFFFFF;
-webkit-box-shadow: 1px -1px 0 0 #bababc;
box-shadow: 1px -1px 0 0 #bababc;
}
/* 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;
2022-03-15 09:43:53 +00:00
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
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;
2022-03-15 09:43:53 +00:00
background: #FFFFFF;
-webkit-box-shadow: -1px 1px 0 0 #bababc;
box-shadow: -1px 1px 0 0 #bababc;
}
/* Inverted Arrow Color */
2022-08-05 09:25:53 +00:00
[data-inverted][data-position~="bottom"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
background: #1B1C1D;
-webkit-box-shadow: -1px -1px 0 0 #bababc;
box-shadow: -1px -1px 0 0 #bababc;
}
2022-08-05 09:25:53 +00:00
[data-inverted][data-position="left center"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
background: #1B1C1D;
-webkit-box-shadow: 1px -1px 0 0 #bababc;
box-shadow: 1px -1px 0 0 #bababc;
}
2022-08-05 09:25:53 +00:00
[data-inverted][data-position="right center"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
background: #1B1C1D;
-webkit-box-shadow: -1px 1px 0 0 #bababc;
box-shadow: -1px 1px 0 0 #bababc;
}
2022-08-05 09:25:53 +00:00
[data-inverted][data-position~="top"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
background: #1B1C1D;
}
2022-08-05 09:25:53 +00:00
[data-position~="bottom"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
-webkit-transform-origin: center bottom;
transform-origin: center bottom;
}
2022-08-05 09:25:53 +00:00
[data-position~="bottom"][data-tooltip]::after {
-webkit-transform-origin: center top;
transform-origin: center top;
}
[data-position="bottom center"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
-webkit-transform-origin: center top;
transform-origin: center top;
}
2022-08-05 09:25:53 +00:00
[data-position="left center"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
-webkit-transform-origin: top center;
transform-origin: top center;
}
2022-08-05 09:25:53 +00:00
[data-position="left center"][data-tooltip]::after {
2022-03-15 09:43:53 +00:00
-webkit-transform-origin: right center;
transform-origin: right center;
}
2022-08-05 09:25:53 +00:00
[data-position="right center"][data-tooltip]::before {
2022-03-15 09:43:53 +00:00
-webkit-transform-origin: right center;
transform-origin: 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
-webkit-transform-origin: left center;
transform-origin: left center;
}
/*--------------
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;
}
/*--------------
Spacing
---------------*/
.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 {
-webkit-transform-origin: left bottom;
transform-origin: left bottom;
}
.ui.top.center.popup {
-webkit-transform-origin: center bottom;
transform-origin: center bottom;
}
.ui.top.right.popup {
-webkit-transform-origin: right bottom;
transform-origin: right bottom;
}
/* Extending from Vertical Center */
.ui.left.center.popup {
2022-08-05 09:25:53 +00:00
margin: 0 0.71428571em 0 0;
2022-03-15 09:43:53 +00:00
-webkit-transform-origin: right 50%;
transform-origin: right 50%;
}
.ui.right.center.popup {
2022-08-05 09:25:53 +00:00
margin: 0 0 0 0.71428571em;
2022-03-15 09:43:53 +00:00
-webkit-transform-origin: left 50%;
transform-origin: left 50%;
}
/* 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 {
-webkit-transform-origin: left top;
transform-origin: left top;
}
.ui.bottom.center.popup {
-webkit-transform-origin: center top;
transform-origin: center top;
}
.ui.bottom.right.popup {
-webkit-transform-origin: right top;
transform-origin: right top;
}
/*--------------
Pointer
---------------*/
/*--- 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;
-webkit-box-shadow: -1px -1px 0 0 #bababc;
box-shadow: -1px -1px 0 0 #bababc;
}
.ui.bottom.left.popup {
margin-left: 0;
}
/*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;
-webkit-box-shadow: -1px -1px 0 0 #bababc;
box-shadow: -1px -1px 0 0 #bababc;
}
.ui.bottom.right.popup {
margin-right: 0;
}
/*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;
-webkit-box-shadow: -1px -1px 0 0 #bababc;
box-shadow: -1px -1px 0 0 #bababc;
}
/*--- 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;
}
/*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;
}
/*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;
}
/*--- Left Center ---*/
/*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;
2022-03-15 09:43:53 +00:00
-webkit-box-shadow: 1px -1px 0 0 #bababc;
box-shadow: 1px -1px 0 0 #bababc;
}
/*--- Right Center ---*/
/*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;
2022-03-15 09:43:53 +00:00
-webkit-box-shadow: -1px 1px 0 0 #bababc;
box-shadow: -1px 1px 0 0 #bababc;
}
2022-08-05 09:25:53 +00:00
.ui.right.center.popup::before,
.ui.left.center.popup::before {
2022-03-15 09:43:53 +00:00
background: #FFFFFF;
}
/* Arrow Color By Location */
2022-08-05 09:25:53 +00:00
.ui.bottom.popup::before {
2022-03-15 09:43:53 +00:00
background: #FFFFFF;
}
2022-08-05 09:25:53 +00:00
.ui.top.popup::before {
2022-03-15 09:43:53 +00:00
background: #FFFFFF;
}
/* Inverted Arrow Color */
2022-08-05 09:25:53 +00:00
.ui.inverted.bottom.popup::before {
2022-03-15 09:43:53 +00:00
background: #1B1C1D;
}
2022-08-05 09:25:53 +00:00
.ui.inverted.right.center.popup::before,
.ui.inverted.left.center.popup::before {
2022-03-15 09:43:53 +00:00
background: #1B1C1D;
}
2022-08-05 09:25:53 +00:00
.ui.inverted.top.popup::before {
2022-03-15 09:43:53 +00:00
background: #1B1C1D;
}
/*******************************
Coupling
*******************************/
/* Immediate Nested Grid */
.ui.popup > .ui.grid:not(.padded) {
width: calc(100% + 1.75rem);
margin: -0.7rem -0.875rem;
}
/*******************************
States
*******************************/
.ui.loading.popup {
display: block;
visibility: hidden;
z-index: -1;
}
.ui.animating.popup,
.ui.visible.popup {
display: block;
}
.ui.visible.popup {
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
/*******************************
Variations
*******************************/
/*--------------
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;
}
/*--------------
Wide
---------------*/
.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;
}
}
/*--------------
Fluid
---------------*/
.ui.fluid.popup {
width: 100%;
max-width: none;
}
/*--------------
Colors
---------------*/
/* Inverted colors */
.ui.inverted.popup {
background: #1B1C1D;
color: #FFFFFF;
border: none;
-webkit-box-shadow: none;
box-shadow: none;
}
.ui.inverted.popup .header {
background-color: none;
color: #FFFFFF;
}
2022-08-05 09:25:53 +00:00
.ui.inverted.popup::before {
2022-03-15 09:43:53 +00:00
background-color: #1B1C1D;
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
/*--------------
Flowing
---------------*/
.ui.flowing.popup {
max-width: none;
}
/*--------------
Sizes
---------------*/
.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
*******************************/