wishthis/node_modules/fomantic-ui/dist/components/dropdown.css

2109 lines
50 KiB
CSS
Raw Normal View History

2022-01-13 13:00:31 +00:00
/*!
2022-10-10 08:26:02 +00:00
* # Fomantic-UI 2.9.0 - Dropdown
2022-01-13 13:00:31 +00:00
* http://github.com/fomantic/Fomantic-UI/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*******************************
Dropdown
*******************************/
.ui.dropdown {
cursor: pointer;
position: relative;
display: inline-block;
outline: none;
text-align: left;
-webkit-transition: width 0.1s ease, -webkit-box-shadow 0.1s ease;
transition: width 0.1s ease, -webkit-box-shadow 0.1s ease;
transition: box-shadow 0.1s ease, width 0.1s ease;
transition: box-shadow 0.1s ease, width 0.1s ease, -webkit-box-shadow 0.1s ease;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/*******************************
Content
*******************************/
/*--------------
Menu
---------------*/
.ui.dropdown .menu {
cursor: auto;
position: absolute;
display: none;
outline: none;
top: 100%;
min-width: -webkit-max-content;
min-width: -moz-max-content;
min-width: max-content;
margin: 0;
padding: 0 0;
background: #FFFFFF;
font-size: 1em;
text-shadow: none;
text-align: left;
-webkit-box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
border: 1px solid rgba(34, 36, 38, 0.15);
border-radius: 0.28571429rem;
-webkit-transition: opacity 0.1s ease;
transition: opacity 0.1s ease;
z-index: 11;
will-change: transform, opacity;
}
.ui.dropdown .menu > * {
white-space: nowrap;
}
/*--------------
Hidden Input
---------------*/
.ui.dropdown > input:not(.search):first-child,
.ui.dropdown > select {
display: none !important;
}
/*--------------
Dropdown Icon
---------------*/
.ui.dropdown:not(.labeled) > .dropdown.icon {
position: relative;
width: auto;
min-width: 1em;
font-size: 0.85714286em;
margin: 0 0 0 1em;
}
.ui.dropdown .menu > .item .dropdown.icon {
width: auto;
float: right;
margin: 0em 0 0 1em;
}
.ui.dropdown .menu > .item .dropdown.icon + .text {
margin-right: 1em;
}
/*--------------
Text
---------------*/
.ui.dropdown > .text {
display: inline-block;
-webkit-transition: none;
transition: none;
}
/*--------------
Menu Item
---------------*/
.ui.dropdown .menu > .item {
position: relative;
cursor: pointer;
display: block;
border: none;
height: auto;
min-height: 2.57142857rem;
text-align: left;
border-top: none;
line-height: 1em;
font-size: 1rem;
color: rgba(0, 0, 0, 0.87);
2022-06-08 10:36:39 +00:00
padding: 0.78571429rem 1.14285714rem;
2022-01-13 13:00:31 +00:00
text-transform: none;
font-weight: normal;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-touch-callout: none;
}
.ui.dropdown .menu > .item:first-child {
border-top-width: 0;
}
.ui.dropdown .menu > .item.vertical {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: reverse;
-ms-flex-direction: column-reverse;
flex-direction: column-reverse;
}
/*--------------
Floated Content
---------------*/
.ui.dropdown > .text > [class*="right floated"],
.ui.dropdown .menu .item > [class*="right floated"] {
float: right !important;
margin-right: 0 !important;
margin-left: 1em !important;
}
.ui.dropdown > .text > [class*="left floated"],
.ui.dropdown .menu .item > [class*="left floated"] {
float: left !important;
margin-left: 0 !important;
margin-right: 1em !important;
}
.ui.dropdown .menu .item > i.icon.floated,
.ui.dropdown .menu .item > .flag.floated,
.ui.dropdown .menu .item > .image.floated,
.ui.dropdown .menu .item > img.floated {
margin-top: 0em;
}
/*--------------
Menu Divider
---------------*/
.ui.dropdown .menu > .header {
margin: 1rem 0 0.75rem;
padding: 0 1.14285714rem;
font-weight: bold;
text-transform: uppercase;
}
.ui.dropdown .menu > .header:not(.ui) {
color: rgba(0, 0, 0, 0.85);
font-size: 0.78571429em;
}
.ui.dropdown .menu > .divider {
border-top: 1px solid rgba(34, 36, 38, 0.1);
height: 0;
margin: 0.5em 0;
}
.ui.dropdown .menu > .horizontal.divider {
border-top: none;
}
2022-06-08 10:36:39 +00:00
.ui.ui.ui.dropdown .menu > .input {
2022-01-13 13:00:31 +00:00
width: auto;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin: 1.14285714rem 0.78571429rem;
min-width: 10rem;
}
.ui.dropdown .menu > .header + .input {
margin-top: 0;
}
.ui.dropdown .menu > .input:not(.transparent) input {
padding: 0.5em 1em;
}
.ui.dropdown .menu > .input:not(.transparent) .button,
.ui.dropdown .menu > .input:not(.transparent) i.icon,
.ui.dropdown .menu > .input:not(.transparent) .label {
padding-top: 0.5em;
padding-bottom: 0.5em;
}
/*-----------------
Item Description
-------------------*/
.ui.dropdown > .text > .description,
.ui.dropdown .menu > .item > .description {
float: right;
margin: 0 0 0 1em;
color: rgba(0, 0, 0, 0.4);
}
.ui.dropdown .menu > .item.vertical > .description {
margin: 0;
}
/*-----------------
Item Text
-------------------*/
.ui.dropdown .menu > .item.vertical > .text {
margin-bottom: 0.25em;
}
/*-----------------
Message
-------------------*/
.ui.dropdown .menu > .message {
padding: 0.78571429rem 1.14285714rem;
font-weight: normal;
}
.ui.dropdown .menu > .message:not(.ui) {
color: rgba(0, 0, 0, 0.4);
}
/*--------------
Sub Menu
---------------*/
.ui.dropdown .menu .menu {
top: 0;
left: 100%;
right: auto;
margin: 0 -0.5em !important;
border-radius: 0.28571429rem !important;
z-index: 21 !important;
}
/* Hide Arrow */
2022-06-08 10:36:39 +00:00
.ui.dropdown .menu .menu::after {
2022-01-13 13:00:31 +00:00
display: none;
}
/*--------------
Sub Elements
---------------*/
/* Icons / Flags / Labels / Image */
.ui.dropdown > .text > i.icons,
.ui.dropdown > .text > i.icon,
.ui.dropdown > .text > .label,
.ui.dropdown > .text > .flag,
.ui.dropdown > .text > img,
.ui.dropdown > .text > .image {
margin-top: 0em;
}
.ui.dropdown .menu > .item > i.icons,
.ui.dropdown .menu > .item > i.icon,
.ui.dropdown .menu > .item > .label,
.ui.dropdown .menu > .item > .flag,
.ui.dropdown .menu > .item > .image,
.ui.dropdown .menu > .item > img {
margin-top: 0em;
}
.ui.dropdown > .text > i.icons,
.ui.dropdown > .text > i.icon,
.ui.dropdown > .text > .label,
.ui.dropdown > .text > .flag,
.ui.dropdown > .text > img,
.ui.dropdown > .text > .image,
.ui.dropdown .menu > .item > i.icons,
.ui.dropdown .menu > .item > i.icon,
.ui.dropdown .menu > .item > .label,
.ui.dropdown .menu > .item > .flag,
.ui.dropdown .menu > .item > .image,
.ui.dropdown .menu > .item > img {
margin-left: 0;
float: none;
margin-right: 0.78571429rem;
}
/*--------------
Image
---------------*/
.ui.dropdown > .text > img,
.ui.dropdown > .text > .image:not(.icon),
.ui.dropdown .menu > .item > .image:not(.icon),
.ui.dropdown .menu > .item > img {
display: inline-block;
vertical-align: top;
width: auto;
margin-top: -0.5em;
margin-bottom: -0.5em;
max-height: 2em;
}
/*******************************
Coupling
*******************************/
/*--------------
Menu
---------------*/
/* Remove Menu Item Divider */
2022-06-08 10:36:39 +00:00
.ui.dropdown .ui.menu > .item::before,
.ui.menu .ui.dropdown .menu > .item::before {
2022-01-13 13:00:31 +00:00
display: none;
}
/* Prevent Menu Item Border */
.ui.menu .ui.dropdown .menu .active.item {
border-left: none;
}
/* Automatically float dropdown menu right on last menu item */
.ui.menu .right.menu .dropdown:last-child > .menu:not(.left),
.ui.menu .right.dropdown.item > .menu:not(.left),
.ui.buttons > .ui.dropdown:last-child > .menu:not(.left) {
left: auto;
right: 0;
}
/*--------------
Label
---------------*/
/* Dropdown Menu */
.ui.label.dropdown .menu {
min-width: 100%;
}
/*--------------
Button
---------------*/
/* No Margin On Icon Button */
.ui.dropdown.icon.button > .dropdown.icon {
margin: 0;
}
2022-06-08 10:36:39 +00:00
.ui.dropdown.button .menu {
2022-01-13 13:00:31 +00:00
min-width: 100%;
}
2022-06-08 10:36:39 +00:00
.ui.dropdown.button:not(.pointing):not(.floating).active {
border-radius: 0.28571429rem 0.28571429rem 0 0;
}
.ui.dropdown.button:not(.pointing):not(.floating) > .menu {
border-radius: 0 0 0.28571429rem 0.28571429rem;
}
2022-01-13 13:00:31 +00:00
/*******************************
Types
*******************************/
select.ui.dropdown {
height: 38px;
padding: 0.5em;
border: 1px solid rgba(34, 36, 38, 0.15);
visibility: visible;
}
/*--------------
Selection
---------------*/
/* Displays like a select box */
.ui.selection.dropdown {
cursor: pointer;
word-wrap: break-word;
line-height: 1em;
white-space: normal;
outline: 0;
-webkit-transform: rotateZ(0deg);
transform: rotateZ(0deg);
min-width: 14em;
min-height: 2.71428571em;
background: #FFFFFF;
display: inline-block;
padding: 0.78571429em 3.2em 0.78571429em 1em;
color: rgba(0, 0, 0, 0.87);
-webkit-box-shadow: none;
box-shadow: none;
border: 1px solid rgba(34, 36, 38, 0.15);
border-radius: 0.28571429rem;
-webkit-transition: width 0.1s ease, -webkit-box-shadow 0.1s ease;
transition: width 0.1s ease, -webkit-box-shadow 0.1s ease;
transition: box-shadow 0.1s ease, width 0.1s ease;
transition: box-shadow 0.1s ease, width 0.1s ease, -webkit-box-shadow 0.1s ease;
}
.ui.selection.dropdown.visible,
.ui.selection.dropdown.active {
z-index: 10;
}
.ui.selection.dropdown > .search.icon,
.ui.selection.dropdown > .delete.icon,
.ui.selection.dropdown > .dropdown.icon {
cursor: pointer;
position: absolute;
width: auto;
height: auto;
line-height: 1.21428571em;
top: 0.78571429em;
right: 1em;
z-index: 3;
margin: -0.78571429em;
padding: 0.91666667em;
opacity: 0.8;
-webkit-transition: opacity 0.1s ease;
transition: opacity 0.1s ease;
}
/* Compact */
.ui.compact.selection.dropdown {
min-width: 0;
}
/* Selection Menu */
.ui.selection.dropdown .menu {
overflow-x: hidden;
overflow-y: auto;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-overflow-scrolling: touch;
border-top-width: 0 !important;
width: auto;
outline: none;
margin: 0 -1px;
min-width: calc(100% + 2px);
width: calc(100% + 2px);
border-radius: 0 0 0.28571429rem 0.28571429rem;
-webkit-box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
-webkit-transition: opacity 0.1s ease;
transition: opacity 0.1s ease;
}
2022-06-08 10:36:39 +00:00
.ui.selection.dropdown .menu::after,
.ui.selection.dropdown .menu::before {
2022-01-13 13:00:31 +00:00
display: none;
}
/*--------------
Message
---------------*/
.ui.selection.dropdown .menu > .message {
padding: 0.78571429rem 1.14285714rem;
}
@media only screen and (max-width: 767.98px) {
.ui.selection.dropdown.short .menu {
max-height: 6.01071429rem;
}
.ui.selection.dropdown[class*="very short"] .menu {
max-height: 4.00714286rem;
}
.ui.selection.dropdown .menu {
max-height: 8.01428571rem;
}
.ui.selection.dropdown.long .menu {
max-height: 16.02857143rem;
}
.ui.selection.dropdown[class*="very long"] .menu {
max-height: 24.04285714rem;
}
}
@media only screen and (min-width: 768px) {
.ui.selection.dropdown.short .menu {
max-height: 8.01428571rem;
}
.ui.selection.dropdown[class*="very short"] .menu {
max-height: 5.34285714rem;
}
.ui.selection.dropdown .menu {
max-height: 10.68571429rem;
}
.ui.selection.dropdown.long .menu {
max-height: 21.37142857rem;
}
.ui.selection.dropdown[class*="very long"] .menu {
max-height: 32.05714286rem;
}
}
@media only screen and (min-width: 992px) {
.ui.selection.dropdown.short .menu {
max-height: 12.02142857rem;
}
.ui.selection.dropdown[class*="very short"] .menu {
max-height: 8.01428571rem;
}
.ui.selection.dropdown .menu {
max-height: 16.02857143rem;
}
.ui.selection.dropdown.long .menu {
max-height: 32.05714286rem;
}
.ui.selection.dropdown[class*="very long"] .menu {
max-height: 48.08571429rem;
}
}
@media only screen and (min-width: 1920px) {
.ui.selection.dropdown.short .menu {
max-height: 16.02857143rem;
}
.ui.selection.dropdown[class*="very short"] .menu {
max-height: 10.68571429rem;
}
.ui.selection.dropdown .menu {
max-height: 21.37142857rem;
}
.ui.selection.dropdown.long .menu {
max-height: 42.74285714rem;
}
.ui.selection.dropdown[class*="very long"] .menu {
max-height: 64.11428571rem;
}
}
/* Menu Item */
.ui.selection.dropdown .menu > .item {
border-top: 1px solid #FAFAFA;
2022-06-08 10:36:39 +00:00
padding: 0.78571429rem 1.14285714rem;
2022-01-13 13:00:31 +00:00
white-space: normal;
word-wrap: normal;
}
/* User Item */
.ui.selection.dropdown .menu > .hidden.addition.item {
display: none;
}
2022-08-31 14:34:36 +00:00
/* User addition item */
.ui.dropdown > .menu > .stuck.addition.item:first-child {
position: sticky;
top: 0;
-webkit-box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
background: #FFFFFF;
z-index: 14;
}
2022-01-13 13:00:31 +00:00
/* Hover */
.ui.selection.dropdown:hover {
border-color: rgba(34, 36, 38, 0.35);
-webkit-box-shadow: none;
box-shadow: none;
}
/* Active */
2022-06-08 10:36:39 +00:00
.ui.selection.simple.dropdown:hover,
2022-01-13 13:00:31 +00:00
.ui.selection.active.dropdown {
border-color: #96C8DA;
-webkit-box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
}
2022-06-08 10:36:39 +00:00
.ui.selection.simple.dropdown:hover .menu,
2022-01-13 13:00:31 +00:00
.ui.selection.active.dropdown .menu {
border-color: #96C8DA;
-webkit-box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
}
/* Focus */
.ui.selection.dropdown:focus {
border-color: #96C8DA;
-webkit-box-shadow: none;
box-shadow: none;
}
.ui.selection.dropdown:focus .menu {
border-color: #96C8DA;
-webkit-box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
}
/* Visible */
.ui.selection.visible.dropdown > .text:not(.default) {
font-weight: normal;
color: rgba(0, 0, 0, 0.8);
}
/* Visible Hover */
.ui.selection.active.dropdown:hover {
border-color: #96C8DA;
-webkit-box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
}
.ui.selection.active.dropdown:hover .menu {
border-color: #96C8DA;
-webkit-box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
}
/* Dropdown Icon */
.ui.active.selection.dropdown > .dropdown.icon,
.ui.visible.selection.dropdown > .dropdown.icon {
opacity: '';
z-index: 3;
}
/* Connecting Border */
.ui.active.selection.dropdown {
border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
/* Empty Connecting Border */
.ui.active.empty.selection.dropdown {
border-radius: 0.28571429rem !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
.ui.active.empty.selection.dropdown .menu {
border: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
/* CSS specific to iOS devices or firefox mobile only */
@supports (-webkit-touch-callout: none) or (-webkit-overflow-scrolling: touch) or (-moz-appearance:none) {
@media (-moz-touch-enabled), (pointer: coarse) {
2022-06-08 10:36:39 +00:00
.ui.dropdown .scrollhint.menu:not(.hidden)::before {
2022-01-13 13:00:31 +00:00
-webkit-animation: scrollhint 2s ease 2;
animation: scrollhint 2s ease 2;
content: '';
z-index: 15;
display: block;
position: absolute;
opacity: 0;
right: 0.25em;
top: 0;
height: 100%;
border-right: 0.25em solid;
border-left: 0;
-webkit-border-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.75)), to(rgba(0, 0, 0, 0))) 1 100%;
-webkit-border-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)) 1 100%;
-o-border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)) 1 100%;
border-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.75)), to(rgba(0, 0, 0, 0))) 1 100%;
border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)) 1 100%;
}
2022-06-08 10:36:39 +00:00
.ui.inverted.dropdown .scrollhint.menu:not(.hidden)::before {
2022-01-13 13:00:31 +00:00
-webkit-border-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.75)), to(rgba(255, 255, 255, 0))) 1 100%;
-webkit-border-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0)) 1 100%;
-o-border-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0)) 1 100%;
border-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.75)), to(rgba(255, 255, 255, 0))) 1 100%;
border-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0)) 1 100%;
}
@-webkit-keyframes scrollhint {
0% {
opacity: 1;
top: 100%;
}
100% {
opacity: 0;
top: 0;
}
}
@keyframes scrollhint {
0% {
opacity: 1;
top: 100%;
}
100% {
opacity: 0;
top: 0;
}
}
}
}
/*--------------
Searchable
---------------*/
/* Search Selection */
.ui.search.dropdown {
min-width: '';
}
/* Search Dropdown */
.ui.search.dropdown > input.search {
background: none transparent !important;
border: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
cursor: text;
top: 0;
left: 1px;
width: 100%;
outline: none;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
padding: inherit;
}
/* Text Layering */
.ui.search.dropdown > input.search {
position: absolute;
z-index: 2;
}
.ui.search.dropdown > .text {
cursor: text;
position: relative;
left: 1px;
z-index: auto;
}
/* Search Selection */
.ui.search.selection.dropdown > input.search {
line-height: 1.21428571em;
padding: 0.67857143em 3.2em 0.67857143em 1em;
}
/* Used to size multi select input to character width */
.ui.search.selection.dropdown > span.sizer {
line-height: 1.21428571em;
padding: 0.67857143em 3.2em 0.67857143em 1em;
display: none;
white-space: pre;
}
/* Active/Visible Search */
.ui.search.dropdown.active > input.search,
.ui.search.dropdown.visible > input.search {
cursor: auto;
}
.ui.search.dropdown.active > .text,
.ui.search.dropdown.visible > .text {
pointer-events: none;
}
/* Filtered Text */
.ui.active.search.dropdown input.search:focus + .text i.icon,
.ui.active.search.dropdown input.search:focus + .text .flag {
opacity: 0.45;
}
.ui.active.search.dropdown input.search:focus + .text {
color: rgba(115, 115, 115, 0.87) !important;
}
.ui.search.dropdown.button > span.sizer {
display: none;
}
/* Search Menu */
.ui.search.dropdown .menu {
overflow-x: hidden;
overflow-y: auto;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-overflow-scrolling: touch;
}
@media only screen and (max-width: 767.98px) {
.ui.search.dropdown .menu {
max-height: 8.01428571rem;
}
}
@media only screen and (min-width: 768px) {
.ui.search.dropdown .menu {
max-height: 10.68571429rem;
}
}
@media only screen and (min-width: 992px) {
.ui.search.dropdown .menu {
max-height: 16.02857143rem;
}
}
@media only screen and (min-width: 1920px) {
.ui.search.dropdown .menu {
max-height: 21.37142857rem;
}
}
/* Clearable Selection */
.ui.dropdown > .remove.icon {
cursor: pointer;
font-size: 0.85714286em;
margin: -0.78571429em;
padding: 0.91666667em;
right: 2em;
top: 0.78571429em;
position: absolute;
opacity: 0.6;
z-index: 3;
}
.ui.selection.dropdown > .remove.icon {
right: 3em;
}
.ui.inline.dropdown > .remove.icon {
right: 2.2em;
}
.ui.clearable.dropdown .text,
.ui.clearable.dropdown a:last-of-type {
margin-right: 1.5em;
}
.ui.dropdown select.noselection ~ .remove.icon,
.ui.dropdown input[value=''] ~ .remove.icon,
.ui.dropdown input:not([value]) ~ .remove.icon,
.ui.dropdown.loading > .remove.icon {
display: none;
}
.ui.dropdown:not(.selection) > .remove.icon ~ .dropdown.icon {
margin-left: 1.5em;
}
.ui.dropdown:not(.selection) > .remove.icon {
margin-top: -1.35em;
}
/*--------------
Multiple
---------------*/
/* Multiple Selection */
.ui.ui.multiple.dropdown {
padding: 0.22619048em 3.2em 0.22619048em 0.35714286em;
}
.ui.multiple.dropdown .menu {
cursor: auto;
}
/* Selection Label */
.ui.multiple.dropdown > .label {
display: inline-block;
white-space: normal;
font-size: 1em;
padding: 0.35714286em 0.78571429em;
margin: 0.14285714rem 0.28571429rem 0.14285714rem 0;
-webkit-box-shadow: 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
box-shadow: 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
}
/* Dropdown Icon */
.ui.multiple.dropdown .dropdown.icon {
margin: '';
padding: '';
}
/* Text */
.ui.multiple.dropdown > .text {
position: static;
padding: 0;
max-width: 100%;
margin: 0.45238095em 0 0.45238095em 0.64285714em;
line-height: 1.21428571em;
}
.ui.multiple.dropdown > .text.default {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ui.multiple.dropdown > .label ~ input.search {
margin-left: 0.14285714em !important;
}
.ui.multiple.dropdown > .label ~ .text {
display: none;
}
.ui.multiple.dropdown > .label:not(.image) > img:not(.centered) {
margin-right: 0.78571429rem;
}
.ui.multiple.dropdown > .label:not(.image) > img.ui:not(.avatar) {
margin-bottom: 0.39285714rem;
}
.ui.multiple.dropdown > .image.label img {
margin: -0.35714286em 0.78571429em -0.35714286em -0.78571429em;
height: 1.71428571em;
}
/*-----------------
Multiple Search
-----------------*/
/* Multiple Search Selection */
.ui.multiple.search.dropdown,
.ui.multiple.search.dropdown > input.search {
cursor: text;
}
/* Prompt Text */
.ui.multiple.search.dropdown > .text {
display: inline-block;
position: absolute;
top: 0;
left: 0;
padding: inherit;
margin: 0.45238095em 0 0.45238095em 0.64285714em;
line-height: 1.21428571em;
}
.ui.multiple.search.dropdown > .label ~ .text {
display: none;
}
/* Search */
.ui.multiple.search.dropdown > input.search {
position: static;
padding: 0;
max-width: 100%;
margin: 0.45238095em 0 0.45238095em 0.64285714em;
width: 2.2em;
line-height: 1.21428571em;
}
.ui.multiple.search.dropdown.button {
min-width: 14em;
}
/*--------------
Inline
---------------*/
.ui.inline.dropdown {
cursor: pointer;
display: inline-block;
color: inherit;
}
.ui.inline.dropdown .dropdown.icon {
margin: 0 0.21428571em 0 0.21428571em;
vertical-align: baseline;
}
.ui.inline.dropdown > .text {
font-weight: bold;
}
.ui.inline.dropdown .menu {
cursor: auto;
margin-top: 0.21428571em;
border-radius: 0.28571429rem;
}
/*******************************
States
*******************************/
/*--------------------
Active
----------------------*/
/* Menu Item Active */
.ui.dropdown .menu .active.item {
background: transparent;
font-weight: bold;
color: rgba(0, 0, 0, 0.95);
-webkit-box-shadow: none;
box-shadow: none;
z-index: 12;
}
/*--------------------
Hover
----------------------*/
/* Menu Item Hover */
.ui.dropdown .menu > .item:hover {
background: rgba(0, 0, 0, 0.05);
color: rgba(0, 0, 0, 0.95);
z-index: 13;
}
/*--------------------
Default Text
----------------------*/
.ui.dropdown:not(.button) > .default.text,
.ui.default.dropdown:not(.button) > .text {
color: rgba(191, 191, 191, 0.87);
}
.ui.dropdown:not(.button) > input:focus ~ .default.text,
.ui.default.dropdown:not(.button) > input:focus ~ .text {
color: rgba(115, 115, 115, 0.87);
}
/*--------------------
Loading
---------------------*/
.ui.loading.dropdown > i.icon {
height: 1em !important;
}
.ui.loading.selection.dropdown > i.icon {
padding: 1.5em 1.28571429em !important;
}
2022-06-08 10:36:39 +00:00
.ui.loading.dropdown > i.icon::before {
2022-01-13 13:00:31 +00:00
position: absolute;
content: '';
top: 50%;
left: 50%;
margin: -0.64285714em 0 0 -0.64285714em;
width: 1.28571429em;
height: 1.28571429em;
border-radius: 500rem;
border: 0.2em solid rgba(0, 0, 0, 0.1);
}
2022-06-08 10:36:39 +00:00
.ui.loading.dropdown > i.icon::after {
2022-01-13 13:00:31 +00:00
position: absolute;
content: '';
top: 50%;
left: 50%;
-webkit-box-shadow: 0 0 0 1px transparent;
box-shadow: 0 0 0 1px transparent;
margin: -0.64285714em 0 0 -0.64285714em;
width: 1.28571429em;
height: 1.28571429em;
-webkit-animation: loader 0.6s infinite linear;
animation: loader 0.6s infinite linear;
border: 0.2em solid #767676;
border-radius: 500rem;
}
/* Coupling */
2022-06-08 10:36:39 +00:00
.ui.loading.dropdown.button > i.icon::before,
.ui.loading.dropdown.button > i.icon::after {
2022-01-13 13:00:31 +00:00
display: none;
}
.ui.loading.dropdown > .text {
-webkit-transition: none;
transition: none;
}
/* Used To Check Position */
.ui.dropdown .loading.menu {
display: block;
visibility: hidden;
z-index: -1;
}
.ui.dropdown > .loading.menu {
left: 0 !important;
right: auto !important;
}
.ui.dropdown > .menu .loading.menu {
left: 100% !important;
right: auto !important;
}
/*--------------------
Keyboard Select
----------------------*/
/* Selected Item */
.ui.dropdown.selected,
.ui.dropdown .menu .selected.item {
background: rgba(0, 0, 0, 0.03);
color: rgba(0, 0, 0, 0.95);
}
/*--------------------
Search Filtered
----------------------*/
/* Filtered Item */
.ui.dropdown > .filtered.text {
visibility: hidden;
}
.ui.dropdown .filtered.item {
display: none !important;
}
/*--------------------
States
----------------------*/
.ui.dropdown.error,
.ui.dropdown.error > .text,
.ui.dropdown.error > .default.text {
color: #9F3A38;
}
.ui.selection.dropdown.error {
background: #FFF6F6;
border-color: #E0B4B4;
}
.ui.selection.dropdown.error:hover {
border-color: #E0B4B4;
}
.ui.multiple.selection.error.dropdown > .label {
border-color: #E0B4B4;
}
.ui.dropdown.error > .menu,
.ui.dropdown.error > .menu .menu {
border-color: #E0B4B4;
}
.ui.dropdown.error > .menu > .item {
color: #9F3A38;
}
/* Item Hover */
.ui.dropdown.error > .menu > .item:hover {
background-color: #FBE7E7;
}
/* Item Active */
.ui.dropdown.error > .menu .active.item {
background-color: #FDCFCF;
}
.ui.dropdown.info,
.ui.dropdown.info > .text,
.ui.dropdown.info > .default.text {
color: #276F86;
}
.ui.selection.dropdown.info {
background: #F8FFFF;
border-color: #A9D5DE;
}
.ui.selection.dropdown.info:hover {
border-color: #A9D5DE;
}
.ui.multiple.selection.info.dropdown > .label {
border-color: #A9D5DE;
}
.ui.dropdown.info > .menu,
.ui.dropdown.info > .menu .menu {
border-color: #A9D5DE;
}
.ui.dropdown.info > .menu > .item {
color: #276F86;
}
/* Item Hover */
.ui.dropdown.info > .menu > .item:hover {
background-color: #e9f2fb;
}
/* Item Active */
.ui.dropdown.info > .menu .active.item {
background-color: #cef1fd;
}
.ui.dropdown.success,
.ui.dropdown.success > .text,
.ui.dropdown.success > .default.text {
color: #2C662D;
}
.ui.selection.dropdown.success {
background: #FCFFF5;
border-color: #A3C293;
}
.ui.selection.dropdown.success:hover {
border-color: #A3C293;
}
.ui.multiple.selection.success.dropdown > .label {
border-color: #A3C293;
}
.ui.dropdown.success > .menu,
.ui.dropdown.success > .menu .menu {
border-color: #A3C293;
}
.ui.dropdown.success > .menu > .item {
color: #2C662D;
}
/* Item Hover */
.ui.dropdown.success > .menu > .item:hover {
background-color: #e9fbe9;
}
/* Item Active */
.ui.dropdown.success > .menu .active.item {
background-color: #dafdce;
}
.ui.dropdown.warning,
.ui.dropdown.warning > .text,
.ui.dropdown.warning > .default.text {
color: #573A08;
}
.ui.selection.dropdown.warning {
background: #FFFAF3;
border-color: #C9BA9B;
}
.ui.selection.dropdown.warning:hover {
border-color: #C9BA9B;
}
.ui.multiple.selection.warning.dropdown > .label {
border-color: #C9BA9B;
}
.ui.dropdown.warning > .menu,
.ui.dropdown.warning > .menu .menu {
border-color: #C9BA9B;
}
.ui.dropdown.warning > .menu > .item {
color: #573A08;
}
/* Item Hover */
.ui.dropdown.warning > .menu > .item:hover {
background-color: #fbfbe9;
}
/* Item Active */
.ui.dropdown.warning > .menu .active.item {
background-color: #fdfdce;
}
/*--------------------
Clear
----------------------*/
.ui.dropdown > .remove.icon,
.ui.dropdown > .clear.dropdown.icon {
opacity: 0.6;
-webkit-transition: opacity 0.1s ease;
transition: opacity 0.1s ease;
}
.ui.dropdown > .remove.icon:hover,
.ui.dropdown > .clear.dropdown.icon:hover {
opacity: 1;
}
/*--------------------
Disabled
----------------------*/
/* Disabled */
.ui.disabled.dropdown,
.ui.dropdown .menu > .disabled.item {
cursor: default;
pointer-events: none;
opacity: 0.45;
}
/*--------------------
Read-Only
----------------------*/
.ui.read-only.dropdown {
cursor: default;
pointer-events: none;
}
/*******************************
Variations
*******************************/
/*--------------
Direction
---------------*/
/* Flyout Direction */
.ui.dropdown .menu {
left: 0;
}
/* Default Side (Right) */
.ui.dropdown .right.menu > .menu,
.ui.dropdown .menu .right.menu {
left: 100% !important;
right: auto !important;
border-radius: 0.28571429rem !important;
}
/* Leftward Opening Menu */
.ui.dropdown > .left.menu {
left: auto !important;
right: 0 !important;
}
.ui.dropdown > .left.menu .menu,
.ui.dropdown .menu .left.menu {
left: auto;
right: 100%;
margin: 0 -0.5em 0 0 !important;
border-radius: 0.28571429rem !important;
}
.ui.dropdown .item .left.dropdown.icon,
.ui.dropdown .left.menu .item .dropdown.icon {
width: auto;
float: left;
margin: 0em 0 0 0;
}
.ui.dropdown .item .left.dropdown.icon,
.ui.dropdown .left.menu .item .dropdown.icon {
width: auto;
float: left;
margin: 0em 0 0 0;
}
.ui.dropdown .item .left.dropdown.icon + .text,
.ui.dropdown .left.menu .item .dropdown.icon + .text {
margin-left: 1em;
margin-right: 0;
}
/*--------------
Upward
---------------*/
/* Upward Main Menu */
.ui.upward.dropdown > .menu {
top: auto;
bottom: 100%;
-webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.08);
box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.08);
}
/* Upward Sub Menu */
.ui.dropdown .upward.menu {
top: auto !important;
bottom: 0 !important;
}
/* Active Upward */
.ui.simple.upward.active.dropdown,
.ui.simple.upward.dropdown:hover {
2022-06-08 10:36:39 +00:00
border-radius: 0 0 0.28571429rem 0.28571429rem;
2022-01-13 13:00:31 +00:00
}
2022-06-08 10:36:39 +00:00
/* Button */
2022-01-13 13:00:31 +00:00
.ui.upward.dropdown.button:not(.pointing):not(.floating).active {
2022-06-08 10:36:39 +00:00
border-radius: 0 0 0.28571429rem 0.28571429rem;
}
.ui.upward.dropdown.button:not(.pointing):not(.floating) > .menu {
2022-01-13 13:00:31 +00:00
border-radius: 0.28571429rem 0.28571429rem 0 0;
}
/* Selection */
2022-06-08 10:36:39 +00:00
.ui.ui.upward.selection.dropdown .menu {
2022-01-13 13:00:31 +00:00
border-top-width: 1px !important;
border-bottom-width: 0 !important;
-webkit-box-shadow: 0 -2px 3px 0 rgba(0, 0, 0, 0.08);
box-shadow: 0 -2px 3px 0 rgba(0, 0, 0, 0.08);
2022-06-08 10:36:39 +00:00
border-radius: 0.28571429rem 0.28571429rem 0 0;
2022-01-13 13:00:31 +00:00
}
.ui.upward.selection.dropdown:hover {
-webkit-box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.05);
box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.05);
}
/* Active Upward */
.ui.active.upward.selection.dropdown {
border-radius: 0 0 0.28571429rem 0.28571429rem !important;
}
/* Visible Upward */
.ui.upward.selection.dropdown.visible {
-webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.08);
box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.08);
border-radius: 0 0 0.28571429rem 0.28571429rem !important;
}
/* Visible Hover Upward */
.ui.upward.active.selection.dropdown:hover {
-webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.05);
box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.05);
}
.ui.upward.active.selection.dropdown:hover .menu {
-webkit-box-shadow: 0 -2px 3px 0 rgba(0, 0, 0, 0.08);
box-shadow: 0 -2px 3px 0 rgba(0, 0, 0, 0.08);
}
/*--------------
Scrolling
---------------*/
/* Selection Menu */
.ui.scrolling.dropdown .menu,
.ui.dropdown .scrolling.menu {
overflow-x: hidden;
overflow-y: auto;
}
.ui.scrolling.dropdown .menu {
overflow-x: hidden;
overflow-y: auto;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-overflow-scrolling: touch;
min-width: 100% !important;
width: auto !important;
}
.ui.dropdown .scrolling.menu {
position: static;
overflow-y: auto;
border: none;
-webkit-box-shadow: none !important;
box-shadow: none !important;
border-radius: 0 !important;
margin: 0 !important;
min-width: 100% !important;
width: auto !important;
border-top: 1px solid rgba(34, 36, 38, 0.15);
}
.ui.scrolling.dropdown .menu .item.item.item,
.ui.dropdown .scrolling.menu > .item.item.item {
border-top: none;
}
.ui.scrolling.dropdown .menu .item:first-child,
.ui.dropdown .scrolling.menu .item:first-child {
border-top: none;
}
.ui.dropdown > .animating.menu .scrolling.menu,
.ui.dropdown > .visible.menu .scrolling.menu {
display: block;
}
/* Scrollbar in IE */
@media all and (-ms-high-contrast: none) {
.ui.scrolling.dropdown .menu,
.ui.dropdown .scrolling.menu {
min-width: calc(100% - 17px);
}
}
@media only screen and (max-width: 767.98px) {
.ui.scrolling.dropdown .menu,
.ui.dropdown .scrolling.menu {
max-height: 10.28571429rem;
}
}
@media only screen and (min-width: 768px) {
.ui.scrolling.dropdown .menu,
.ui.dropdown .scrolling.menu {
max-height: 15.42857143rem;
}
}
@media only screen and (min-width: 992px) {
.ui.scrolling.dropdown .menu,
.ui.dropdown .scrolling.menu {
max-height: 20.57142857rem;
}
}
@media only screen and (min-width: 1920px) {
.ui.scrolling.dropdown .menu,
.ui.dropdown .scrolling.menu {
max-height: 20.57142857rem;
}
}
/*--------------------
Labeled
---------------------*/
/* Regular Label on Left */
.ui.labeled.input:not([class*="corner labeled"]) .label:first-child + .dropdown {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-left-color: transparent;
}
/* Regular Label on Right */
.ui[class*="right labeled"].input > .dropdown:not(:last-child) {
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
border-right-color: transparent !important;
}
.ui[class*="right labeled"].input > .dropdown + .label {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
/*--------------
2022-06-08 10:36:39 +00:00
Columnar
---------------*/
2022-01-13 13:00:31 +00:00
.ui.column.dropdown > .menu {
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.ui.dropdown[class*="two column"] > .menu > .item {
width: 50%;
}
.ui.dropdown[class*="three column"] > .menu > .item {
width: 33%;
}
.ui.dropdown[class*="four column"] > .menu > .item {
width: 25%;
}
.ui.dropdown[class*="five column"] > .menu > .item {
width: 20%;
}
/*--------------
Simple
---------------*/
/* Displays without javascript */
2022-06-08 10:36:39 +00:00
.ui.simple.dropdown .menu::before,
.ui.simple.dropdown .menu::after {
2022-01-13 13:00:31 +00:00
display: none;
}
.ui.simple.dropdown .menu {
position: absolute;
/* IE hack to make dropdown icons appear inline */
display: -ms-inline-flexbox !important;
display: block;
overflow: hidden;
top: -9999px;
opacity: 0;
width: 0;
height: 0;
-webkit-transition: opacity 0.1s ease;
transition: opacity 0.1s ease;
margin-top: 0 !important;
}
2022-06-08 10:36:39 +00:00
.ui.simple.dropdown .upward.menu {
margin-bottom: 1.5em;
}
.ui.simple.selection.dropdown .upward.menu {
margin-bottom: 2.5em;
}
.ui.menu:not(.vertical) .ui.simple.dropdown.item .upward.menu {
margin-bottom: 2.8em;
}
2022-01-13 13:00:31 +00:00
.ui.simple.active.dropdown,
.ui.simple.dropdown:hover {
2022-06-08 10:36:39 +00:00
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
2022-01-13 13:00:31 +00:00
}
.ui.simple.active.dropdown > .menu,
.ui.simple.dropdown:hover > .menu {
2022-06-08 10:36:39 +00:00
overflow: auto;
2022-01-13 13:00:31 +00:00
width: auto;
height: auto;
top: 100%;
opacity: 1;
}
.ui.simple.dropdown > .menu > .item:active > .menu,
.ui.simple.dropdown .menu .item:hover > .menu {
2022-06-08 10:36:39 +00:00
overflow: auto;
2022-01-13 13:00:31 +00:00
width: auto;
height: auto;
top: 0 !important;
left: 100%;
opacity: 1;
}
.ui.simple.dropdown > .menu > .item:active > .left.menu,
.ui.simple.dropdown .menu .item:hover > .left.menu,
.right.menu .ui.simple.dropdown > .menu > .item:active > .menu:not(.right),
.right.menu .ui.simple.dropdown > .menu .item:hover > .menu:not(.right) {
left: auto;
right: 100%;
}
.ui.simple.disabled.dropdown:hover .menu {
display: none;
height: 0;
width: 0;
overflow: hidden;
}
/* Visible */
.ui.simple.visible.dropdown > .menu {
display: block;
}
/* Scrolling */
.ui.simple.scrolling.active.dropdown > .menu,
.ui.simple.scrolling.dropdown:hover > .menu {
overflow-x: hidden;
overflow-y: auto;
}
/*--------------
Fluid
---------------*/
.ui.fluid.dropdown {
display: block;
width: 100% !important;
min-width: 0;
}
.ui.fluid.dropdown > .dropdown.icon {
float: right;
}
/*--------------
Floating
---------------*/
2022-06-08 10:36:39 +00:00
.ui.floating.dropdown > .menu {
2022-01-13 13:00:31 +00:00
left: 0;
right: auto;
-webkit-box-shadow: 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15) !important;
box-shadow: 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15) !important;
border-radius: 0.28571429rem !important;
}
.ui.floating.dropdown > .menu {
border-radius: 0.28571429rem !important;
}
.ui:not(.upward).floating.dropdown > .menu {
margin-top: 0.5em;
}
.ui.upward.floating.dropdown > .menu {
margin-bottom: 0.5em;
}
/*--------------
Pointing
---------------*/
.ui.pointing.dropdown > .menu {
top: 100%;
margin-top: 0.78571429rem;
border-radius: 0.28571429rem;
}
2022-06-08 10:36:39 +00:00
.ui.pointing.dropdown > .menu:not(.hidden)::after {
2022-01-13 13:00:31 +00:00
display: block;
position: absolute;
pointer-events: none;
content: '';
visibility: visible;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
width: 0.5em;
height: 0.5em;
-webkit-box-shadow: -1px -1px 0 0 rgba(34, 36, 38, 0.15);
box-shadow: -1px -1px 0 0 rgba(34, 36, 38, 0.15);
background: #FFFFFF;
z-index: 2;
}
2022-06-08 10:36:39 +00:00
.ui.pointing.dropdown > .menu:not(.hidden)::after {
2022-01-13 13:00:31 +00:00
top: -0.25em;
left: 50%;
margin: 0 0 0 -0.25em;
}
/* Top Left Pointing */
.ui.top.left.pointing.dropdown > .menu {
top: 100%;
bottom: auto;
left: 0;
right: auto;
margin: 1em 0 0;
}
.ui.top.left.pointing.dropdown > .menu {
top: 100%;
bottom: auto;
left: 0;
right: auto;
margin: 1em 0 0;
}
2022-06-08 10:36:39 +00:00
.ui.top.left.pointing.dropdown > .menu::after {
2022-01-13 13:00:31 +00:00
top: -0.25em;
left: 1em;
right: auto;
margin: 0;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
/* Top Right Pointing */
.ui.top.right.pointing.dropdown > .menu {
top: 100%;
bottom: auto;
right: 0;
left: auto;
margin: 1em 0 0;
}
2022-06-08 10:36:39 +00:00
.ui.top.pointing.dropdown > .left.menu::after,
.ui.top.right.pointing.dropdown > .menu::after {
2022-01-13 13:00:31 +00:00
top: -0.25em;
left: auto !important;
right: 1em !important;
margin: 0;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
/* Left Pointing */
.ui.left.pointing.dropdown > .menu {
top: 0;
left: 100%;
right: auto;
margin: 0 0 0 1em;
}
2022-06-08 10:36:39 +00:00
.ui.left.pointing.dropdown > .menu::after {
2022-01-13 13:00:31 +00:00
top: 1em;
left: -0.25em;
margin: 0 0 0 0;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.ui.left:not(.top):not(.bottom).pointing.dropdown > .left.menu {
left: auto !important;
right: 100% !important;
margin: 0 1em 0 0;
}
2022-06-08 10:36:39 +00:00
.ui.left:not(.top):not(.bottom).pointing.dropdown > .left.menu::after {
2022-01-13 13:00:31 +00:00
top: 1em;
left: auto;
right: -0.25em;
margin: 0 0 0 0;
-webkit-transform: rotate(135deg);
transform: rotate(135deg);
}
/* Right Pointing */
.ui.right.pointing.dropdown > .menu {
top: 0;
left: auto;
right: 100%;
margin: 0 1em 0 0;
}
2022-06-08 10:36:39 +00:00
.ui.right.pointing.dropdown > .menu::after {
2022-01-13 13:00:31 +00:00
top: 1em;
left: auto;
right: -0.25em;
margin: 0 0 0 0;
-webkit-transform: rotate(135deg);
transform: rotate(135deg);
}
/* Bottom Pointing */
.ui.bottom.pointing.dropdown > .menu {
top: auto;
bottom: 100%;
left: 0;
right: auto;
margin: 0 0 1em;
}
2022-06-08 10:36:39 +00:00
.ui.bottom.pointing.dropdown > .menu::after {
2022-01-13 13:00:31 +00:00
top: auto;
bottom: -0.25em;
right: auto;
margin: 0;
-webkit-transform: rotate(-135deg);
transform: rotate(-135deg);
}
/* Reverse Sub-Menu Direction */
.ui.bottom.pointing.dropdown > .menu .menu {
top: auto !important;
bottom: 0 !important;
}
/* Bottom Left */
.ui.bottom.left.pointing.dropdown > .menu {
left: 0;
right: auto;
}
2022-06-08 10:36:39 +00:00
.ui.bottom.left.pointing.dropdown > .menu::after {
2022-01-13 13:00:31 +00:00
left: 1em;
right: auto;
}
/* Bottom Right */
.ui.bottom.right.pointing.dropdown > .menu {
right: 0;
left: auto;
}
2022-06-08 10:36:39 +00:00
.ui.bottom.right.pointing.dropdown > .menu::after {
2022-01-13 13:00:31 +00:00
left: auto;
right: 1em;
}
/* Upward pointing */
.ui.pointing.upward.dropdown .menu,
.ui.top.pointing.upward.dropdown .menu {
top: auto !important;
bottom: 100% !important;
margin: 0 0 0.78571429rem;
border-radius: 0.28571429rem;
}
2022-06-08 10:36:39 +00:00
.ui.pointing.upward.dropdown .menu::after,
.ui.top.pointing.upward.dropdown .menu::after {
2022-01-13 13:00:31 +00:00
top: 100% !important;
bottom: auto !important;
-webkit-box-shadow: 1px 1px 0 0 rgba(34, 36, 38, 0.15);
box-shadow: 1px 1px 0 0 rgba(34, 36, 38, 0.15);
margin: -0.25em 0 0;
}
/* Right Pointing Upward */
.ui.right.pointing.upward.dropdown:not(.top):not(.bottom) .menu {
top: auto !important;
bottom: 0 !important;
margin: 0 1em 0 0;
}
2022-06-08 10:36:39 +00:00
.ui.right.pointing.upward.dropdown:not(.top):not(.bottom) .menu::after {
2022-01-13 13:00:31 +00:00
top: auto !important;
bottom: 0 !important;
margin: 0 0 1em 0;
-webkit-box-shadow: -1px -1px 0 0 rgba(34, 36, 38, 0.15);
box-shadow: -1px -1px 0 0 rgba(34, 36, 38, 0.15);
}
/* Left Pointing Upward */
.ui.left.pointing.upward.dropdown:not(.top):not(.bottom) .menu {
top: auto !important;
bottom: 0 !important;
margin: 0 0 0 1em;
}
2022-06-08 10:36:39 +00:00
.ui.left.pointing.upward.dropdown:not(.top):not(.bottom) .menu::after {
2022-01-13 13:00:31 +00:00
top: auto !important;
bottom: 0 !important;
margin: 0 0 1em 0;
-webkit-box-shadow: -1px -1px 0 0 rgba(34, 36, 38, 0.15);
box-shadow: -1px -1px 0 0 rgba(34, 36, 38, 0.15);
}
/*--------------------
Sizes
---------------------*/
.ui.dropdown,
.ui.dropdown .menu > .item {
font-size: 1rem;
}
.ui.mini.dropdown,
.ui.mini.dropdown .menu > .item {
font-size: 0.78571429rem;
}
.ui.tiny.dropdown,
.ui.tiny.dropdown .menu > .item {
font-size: 0.85714286rem;
}
.ui.small.dropdown,
.ui.small.dropdown .menu > .item {
font-size: 0.92857143rem;
}
.ui.large.dropdown,
.ui.large.dropdown .menu > .item {
font-size: 1.14285714rem;
}
.ui.big.dropdown,
.ui.big.dropdown .menu > .item {
font-size: 1.28571429rem;
}
.ui.huge.dropdown,
.ui.huge.dropdown .menu > .item {
font-size: 1.42857143rem;
}
.ui.massive.dropdown,
.ui.massive.dropdown .menu > .item {
font-size: 1.71428571rem;
}
/*--------------
Inverted
---------------*/
/* General rules and basic dropdowns */
.ui.dropdown .inverted.menu,
.ui.inverted.dropdown .menu {
background: #1B1C1D;
-webkit-box-shadow: none;
box-shadow: none;
border: 1px solid rgba(255, 255, 255, 0.15);
}
.ui.dropdown .inverted.menu > .item,
.ui.inverted.dropdown .menu > .item {
color: rgba(255, 255, 255, 0.8);
}
.ui.dropdown .inverted.menu .active.item,
.ui.inverted.dropdown .menu .active.item {
background: transparent;
color: rgba(255, 255, 255, 0.8);
-webkit-box-shadow: none;
box-shadow: none;
}
.ui.dropdown .inverted.menu > .item:hover,
.ui.inverted.dropdown .menu > .item:hover {
background: rgba(255, 255, 255, 0.08);
color: rgba(255, 255, 255, 0.8);
}
.ui.inverted.dropdown.selected,
.ui.dropdown .inverted.menu .selected.item,
.ui.inverted.dropdown .menu .selected.item {
background: rgba(255, 255, 255, 0.15);
color: rgba(255, 255, 255, 0.8);
}
.ui.dropdown .inverted.menu > .header,
.ui.inverted.dropdown .menu > .header {
color: #FFFFFF;
}
.ui.inverted.dropdown > .text > .description,
.ui.dropdown .inverted.menu > .item > .description,
.ui.inverted.dropdown .menu > .item > .description {
color: rgba(255, 255, 255, 0.5);
}
.ui.dropdown .inverted.menu > .divider,
.ui.inverted.dropdown .menu > .divider {
border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.ui.dropdown .inverted.scrolling.menu,
.ui.inverted.dropdown .scrolling.menu {
border: none;
border-top: 1px solid rgba(255, 255, 255, 0.15);
}
/* Selection */
.ui.inverted.selection.dropdown {
border: 1px solid rgba(255, 255, 255, 0.15);
background: #1B1C1D;
color: rgba(255, 255, 255, 0.8);
}
.ui.inverted.selection.dropdown:hover {
border-color: rgba(255, 255, 255, 0.25);
-webkit-box-shadow: none;
box-shadow: none;
}
.ui.inverted.selection.dropdown input {
color: #FFFFFF;
}
.ui.inverted.selection.visible.dropdown > .text:not(.default) {
color: rgba(255, 255, 255, 0.9);
}
2022-06-08 10:36:39 +00:00
.ui.selection.simple.dropdown:hover .inverted.menu,
.ui.inverted.selection.simple.dropdown:hover .menu,
2022-01-13 13:00:31 +00:00
.ui.selection.active.dropdown .inverted.menu,
.ui.inverted.selection.active.dropdown .menu,
.ui.inverted.selection.active.dropdown:hover {
border-color: rgba(255, 255, 255, 0.15);
}
.ui.selection.dropdown .inverted.menu > .item,
.ui.inverted.selection.dropdown .menu > .item {
border-top: 1px solid #242526;
}
.ui.inverted.dropdown:not(.button) > .default.text,
.ui.inverted.default.dropdown:not(.button) > .text {
color: rgba(255, 255, 255, 0.5);
}
.ui.inverted.dropdown:not(.button) > input:focus ~ .default.text,
.ui.inverted.default.dropdown:not(.button) > input:focus ~ .text {
color: rgba(255, 255, 255, 0.7);
}
.ui.inverted.active.search.dropdown input.search:focus + .text i.icon,
.ui.inverted.active.search.dropdown input.search:focus + .text .flag {
opacity: 0.45;
}
.ui.inverted.active.search.dropdown input.search:focus + .text {
color: rgba(255, 255, 255, 0.7) !important;
}
.ui.dropdown .inverted.menu > .message:not(.ui),
.ui.inverted.dropdown .menu > .message:not(.ui) {
color: rgba(255, 255, 255, 0.5);
}
/* Fixing the border */
.ui.dropdown .inverted.menu > .item:first-child,
.ui.inverted.dropdown .menu > .item:first-child {
border-top-width: 0;
}
/* Labels */
.ui.inverted.multiple.dropdown > .label {
background-color: rgba(255, 255, 255, 0.7);
background-image: none;
color: #000000;
-webkit-box-shadow: 0 0 0 1px rgba(255, 255, 255, 0) inset;
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0) inset;
}
.ui.inverted.multiple.dropdown > .label:hover {
background-color: rgba(255, 255, 255, 0.9);
border-color: rgba(255, 255, 255, 0.9);
background-image: none;
color: #000000;
}
.ui.inverted.multiple.dropdown > .label > .close.icon,
.ui.inverted.multiple.dropdown > .label > .delete.icon {
opacity: 0.6;
}
.ui.inverted.multiple.dropdown > .label > .close.icon:hover,
.ui.inverted.multiple.dropdown > .label > .delete.icon:hover {
opacity: 0.8;
}
/* Selection for form elements */
.ui.inverted.dropdown textarea::-webkit-selection,
.ui.inverted.dropdown input::-webkit-selection {
background-color: rgba(255, 255, 255, 0.25);
color: rgba(255, 255, 255, 0.8);
}
.ui.inverted.dropdown textarea::-moz-selection,
.ui.inverted.dropdown input::-moz-selection {
background-color: rgba(255, 255, 255, 0.25);
color: rgba(255, 255, 255, 0.8);
}
2022-06-08 10:36:39 +00:00
.ui.inverted.dropdown textarea::-moz-selection, .ui.inverted.dropdown input::-moz-selection {
background-color: rgba(255, 255, 255, 0.25);
color: rgba(255, 255, 255, 0.8);
}
2022-01-13 13:00:31 +00:00
.ui.inverted.dropdown textarea::selection,
.ui.inverted.dropdown input::selection {
background-color: rgba(255, 255, 255, 0.25);
color: rgba(255, 255, 255, 0.8);
}
/* Scrollbars */
.ui.dropdown .inverted.menu::-webkit-scrollbar-track,
.ui.inverted.dropdown .menu::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1);
}
.ui.dropdown .inverted.menu::-webkit-scrollbar-thumb,
.ui.inverted.dropdown .menu::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.25);
}
.ui.dropdown .inverted.menu::-webkit-scrollbar-thumb:window-inactive,
.ui.inverted.dropdown .menu::-webkit-scrollbar-thumb:window-inactive {
background: rgba(255, 255, 255, 0.15);
}
.ui.dropdown .inverted.menu::-webkit-scrollbar-thumb:hover,
.ui.inverted.dropdown .menu::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.35);
}
2022-06-08 10:36:39 +00:00
.ui.dropdown .inverted.menu,
.ui.inverted.dropdown .menu {
/* IE11 */
scrollbar-face-color: #656565;
scrollbar-shadow-color: #656565;
scrollbar-track-color: #323232;
scrollbar-arrow-color: #323232;
/* firefox : first color thumb, second track */
scrollbar-color: rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.1);
}
.ui.pointing.dropdown > .inverted.menu::after,
.ui.inverted.pointing.dropdown > .menu::after {
2022-01-13 13:00:31 +00:00
background: #1B1C1D;
-webkit-box-shadow: -1px -1px 0 0 rgba(255, 255, 255, 0.15);
box-shadow: -1px -1px 0 0 rgba(255, 255, 255, 0.15);
}
/*******************************
Theme Overrides
*******************************/
/* Dropdown Carets */
@font-face {
font-family: 'Dropdown';
2022-10-10 08:26:02 +00:00
src: url(data:application/font-woff;base64,d09GRk9UVE8AAASEAAsAAAAABwQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAC5AAAAU8AAAHrSr22AUZGVE0AAARQAAAAHAAAAByNrZ/TR0RFRgAABDQAAAAcAAAAIAAnABhPUy8yAAABYAAAAEIAAABgTadXCGNtYXAAAAKEAAAAVAAAAWQFcOKQaGVhZAAAAQgAAAAyAAAANg+j805oaGVhAAABPAAAABsAAAAkAwcBDWhtdHgAAARsAAAAFgAAAB4EAQASbWF4cAAAAVgAAAAGAAAABgAIUABuYW1lAAABpAAAAN8AAAG2rSbAM3Bvc3QAAALYAAAADAAAACAAAwAAeJxjYGRgYADiKjtG3nh+m68M3EwMIHCBwT0CRN9PyHYCUp6Mqox5QJqDASwNAMNOBrgAAHicY2BkYGB88P8BkFRlYACTjAyogB0AWWsDFgAAAFAAAAgAAHicY2Bm+Mg4gYGVgYHRhzGNgYHBHUp/ZZBkaGFABYwCSJyANNcUBgcGhg+3GB/8fwCUfMCgAFIDV6AAhIwAUbEMSQAAeJx1zTEKwkAUBNBJjIoKIggW2mwvBEVvIAgiNhY2VjEuQUh2YY2FeACPYOltvIH3cZJ8ywQS3p/d+QEwwAce/o8v9tDGUOzTU3GDXokD+ihuooeHuMX8Je5ijC9bXtCRP1T20Kcq+/RE3KAX4oDeipsYIRa3mD/FXSzxLtZeeGyR8bUwHGObWUvsoZHghhQRHEed3NLI1d+vyw/c43DleZErzBFixli768UaNQ9n9d11OedsJdxiyk0RZ40zsxPu/G7K7k66IUvW5CrRRrso12d1uqtNbHfcF+IHrnU+mwB4nGNgYGBmgGAZBkYGEIgD8hjBfBYGJyDNxcDBwASEjAwKH279//v/P1iVwofrYDbj/8dgPkQvGwMPkGRhYAWy2MHCbEDMxIAXMOOXHvIAAINhDt14nGNgZsALAAB9AAR4nE2Pv0rEQBCHZ3J7d4vGqEcOFaKC/zolZ6OWwmElNj6ClYWmyivcblyzE+RaK8EHsPMxBBtrwUdwA1fobpI7ZWBYfux8fD8ExgAR+fVVcpMkt4AeIAzLLSi3sdzxyt1WucqU31I+25iDtcvej1Kzh99V7+a19NoRPC1GAEsRvCxHwCP87MG8I7WgDRwWoAcrEMGmnT3YT+N0kB7G6Vk8PHLr2K0Tt04HB3FjMhUCQIESM7xDhfeYA3dcz5IZdOAcHuAD14MgeAu+zTNTRV5oTUR5obgZdwpVZFqQzEfKTiaE4JNwEralHGUuErnQNjE2oYxUwS0ldBTSxI3L7cOyKo60ib0lezSl1Rw+GXdq1pQiH03SdzKka4ymosLQTMcedSuIlEJUMqNcUi0jdIP5Ysb++leqLtSI/NWSTS0xq0WyYajQXPSVP/cLitO4NgB4nGNgZGBg4AFiAQYJBiYgzQLEIJoRggEFbQBAAAAAAQAAAADeTO04AAAAANAAR1gAAAAA32BrQnicY2BAAEYQVoVghu0MQgwMAAc/ARcAAA==) format('woff');
2022-01-13 13:00:31 +00:00
font-weight: normal;
font-style: normal;
}
.ui.dropdown > .dropdown.icon {
font-family: 'Dropdown';
line-height: 1;
height: 1em;
width: 1.23em;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
font-weight: normal;
font-style: normal;
text-align: center;
}
.ui.dropdown > .dropdown.icon {
width: auto;
}
2022-06-08 10:36:39 +00:00
.ui.dropdown > .dropdown.icon::before {
2022-01-13 13:00:31 +00:00
content: '\f0d7';
}
/* Sub Menu */
2022-06-08 10:36:39 +00:00
.ui.dropdown .menu .item .dropdown.icon::before {
2022-01-13 13:00:31 +00:00
content: '\f0da' /*rtl:'\f0d9'*/;
}
2022-06-08 10:36:39 +00:00
.ui.dropdown .item .left.dropdown.icon::before,
.ui.dropdown .left.menu .item .dropdown.icon::before {
2022-01-13 13:00:31 +00:00
content: "\f0d9" /*rtl:"\f0da"*/;
}
/* Vertical Menu Dropdown */
2022-06-08 10:36:39 +00:00
.ui.vertical.menu .dropdown.item > .dropdown.icon::before {
2022-01-13 13:00:31 +00:00
content: "\f0da" /*rtl:"\f0d9"*/;
}
/* Icons for Reference
.dropdown.down.icon {
content: "\f0d7";
}
.dropdown.up.icon {
content: "\f0d8";
}
.dropdown.left.icon {
content: "\f0d9";
}
.dropdown.icon.icon {
content: "\f0da";
}
*/
/*******************************
User Overrides
*******************************/