You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1085 lines
26 KiB
1085 lines
26 KiB
/*
|
|
* # Semantic UI - 1.8.1
|
|
* https://github.com/Semantic-Org/Semantic-UI
|
|
* http://www.semantic-ui.com/
|
|
*
|
|
* Copyright 2014 Contributors
|
|
* Released under the MIT license
|
|
* http://opensource.org/licenses/MIT
|
|
*
|
|
*/
|
|
|
|
|
|
|
|
/*******************************
|
|
Dropdown
|
|
*******************************/
|
|
|
|
.ui.dropdown {
|
|
cursor: pointer;
|
|
position: relative;
|
|
display: inline-block;
|
|
line-height: 1em;
|
|
tap-highlight-color: rgba(0, 0, 0, 0);
|
|
outline: none;
|
|
text-align: left;
|
|
-webkit-transition: border-radius 0.1s ease, width 0.2s ease;
|
|
transition: border-radius 0.1s ease, width 0.2s ease;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
Content
|
|
*******************************/
|
|
|
|
|
|
/*--------------
|
|
Menu
|
|
---------------*/
|
|
|
|
.ui.dropdown .menu {
|
|
cursor: auto;
|
|
position: absolute;
|
|
display: none;
|
|
outline: none;
|
|
top: 100%;
|
|
margin: 0em;
|
|
padding: 0em 0em;
|
|
background: #ffffff;
|
|
min-width: 100%;
|
|
white-space: nowrap;
|
|
font-size: 1rem;
|
|
text-shadow: none;
|
|
text-align: left;
|
|
box-shadow: 0px 1px 4px 0px rgba(39, 41, 43, 0.15);
|
|
border: 1px solid rgba(39, 41, 43, 0.15);
|
|
border-radius: 0em 0em 0.2857rem 0.2857rem;
|
|
-webkit-transition: opacity 0.2s ease;
|
|
transition: opacity 0.2s ease;
|
|
z-index: 11;
|
|
will-change: transform, opacity;
|
|
}
|
|
|
|
/*--------------
|
|
Hidden Input
|
|
---------------*/
|
|
|
|
.ui.dropdown > input[type="hidden"],
|
|
.ui.dropdown > select {
|
|
display: none !important;
|
|
}
|
|
|
|
/*--------------
|
|
Dropdown Icon
|
|
---------------*/
|
|
|
|
.ui.dropdown > .dropdown.icon {
|
|
width: auto;
|
|
margin: 0em 0em 0em 1em;
|
|
}
|
|
.ui.dropdown .menu > .item .dropdown.icon {
|
|
width: auto;
|
|
float: right;
|
|
margin: 0.2em 0em 0em 1em;
|
|
}
|
|
.ui.dropdown .menu > .item .dropdown.icon + .text {
|
|
margin-right: 1em;
|
|
}
|
|
|
|
/*--------------
|
|
Text
|
|
---------------*/
|
|
|
|
.ui.dropdown > .text {
|
|
display: inline-block;
|
|
-webkit-transition: color 0.2s ease;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
/*--------------
|
|
Menu Item
|
|
---------------*/
|
|
|
|
.ui.dropdown .menu > .item {
|
|
position: relative;
|
|
cursor: pointer;
|
|
display: block;
|
|
border: none;
|
|
height: auto;
|
|
border-top: none;
|
|
line-height: 1.2em;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
padding: 0.65rem 1.25rem !important;
|
|
font-size: 1rem;
|
|
text-transform: none;
|
|
font-weight: normal;
|
|
box-shadow: none;
|
|
-webkit-touch-callout: none;
|
|
}
|
|
.ui.dropdown .menu > .item:first-child {
|
|
border-top-width: 0px;
|
|
}
|
|
|
|
/*--------------
|
|
Floated Content
|
|
---------------*/
|
|
|
|
.ui.dropdown > .text > [class*="right floated"],
|
|
.ui.dropdown .menu .item > [class*="right floated"] {
|
|
float: right !important;
|
|
margin-right: 0em !important;
|
|
margin-left: 1em !important;
|
|
}
|
|
.ui.dropdown > .text > [class*="left floated"],
|
|
.ui.dropdown .menu .item > [class*="left floated"] {
|
|
float: left !important;
|
|
margin-left: 0em !important;
|
|
margin-right: 1em !important;
|
|
}
|
|
.ui.dropdown .menu .item > .icon.floated,
|
|
.ui.dropdown .menu .item > .flag.floated,
|
|
.ui.dropdown .menu .item > .image.floated,
|
|
.ui.dropdown .menu .item > img.floated {
|
|
margin-top: 0.2em;
|
|
}
|
|
|
|
/*--------------
|
|
Menu Divider
|
|
---------------*/
|
|
|
|
.ui.dropdown .menu > .header {
|
|
margin: 1rem 0rem 0.75rem;
|
|
padding: 0em 1.25rem;
|
|
color: rgba(0, 0, 0, 0.85);
|
|
font-size: 0.8em;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
}
|
|
.ui.dropdown .menu > .divider {
|
|
border-top: 1px solid rgba(0, 0, 0, 0.05);
|
|
height: 0em;
|
|
margin: 0.5em 0em;
|
|
}
|
|
.ui.dropdown .menu > .input {
|
|
margin: 0.75rem 1.25rem;
|
|
min-width: 200px;
|
|
}
|
|
.ui.dropdown .menu > .header + .input {
|
|
margin-top: 0em;
|
|
}
|
|
.ui.dropdown .menu > .input:not(.transparent) input {
|
|
padding: 0.5em 1em;
|
|
}
|
|
.ui.dropdown .menu > .input:not(.transparent) .button,
|
|
.ui.dropdown .menu > .input:not(.transparent) .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 {
|
|
margin: 0em 0em 0em 1em;
|
|
color: rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
/*--------------
|
|
Sub Menu
|
|
---------------*/
|
|
|
|
.ui.dropdown .menu .menu {
|
|
top: 0% !important;
|
|
left: 100% !important;
|
|
right: auto !important;
|
|
margin: 0em 0em 0em -0.5em !important;
|
|
border-radius: 0em 0.2857rem 0.2857rem 0em !important;
|
|
z-index: 21 !important;
|
|
}
|
|
|
|
/* Hide Arrow */
|
|
.ui.dropdown .menu .menu:after {
|
|
display: none;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
Coupling
|
|
*******************************/
|
|
|
|
|
|
/*--------------
|
|
Sub Elements
|
|
---------------*/
|
|
|
|
|
|
/* Icons / Flags / Labels / Image */
|
|
.ui.dropdown > .text > .icon,
|
|
.ui.dropdown > .text > .label,
|
|
.ui.dropdown > .text > .flag,
|
|
.ui.dropdown > .text > img,
|
|
.ui.dropdown > .text > .image {
|
|
margin-top: 0em;
|
|
}
|
|
.ui.dropdown .menu > .item > .icon,
|
|
.ui.dropdown .menu > .item > .label,
|
|
.ui.dropdown .menu > .item > .flag,
|
|
.ui.dropdown .menu > .item > .image,
|
|
.ui.dropdown .menu > .item > img {
|
|
margin-top: 0.2em;
|
|
}
|
|
.ui.dropdown > .text > .icon,
|
|
.ui.dropdown > .text > .label,
|
|
.ui.dropdown > .text > .flag,
|
|
.ui.dropdown > .text > img,
|
|
.ui.dropdown > .text > .image,
|
|
.ui.dropdown .menu > .item > .icon,
|
|
.ui.dropdown .menu > .item > .label,
|
|
.ui.dropdown .menu > .item > .flag,
|
|
.ui.dropdown .menu > .item > .image,
|
|
.ui.dropdown .menu > .item > img {
|
|
margin-left: 0em;
|
|
margin-right: 0.75em;
|
|
}
|
|
|
|
/*--------------
|
|
Image
|
|
---------------*/
|
|
|
|
.ui.dropdown > .text > img,
|
|
.ui.dropdown > .text > .image,
|
|
.ui.dropdown .menu > .item > .image,
|
|
.ui.dropdown .menu > .item > img {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
width: auto;
|
|
max-height: 2.5em;
|
|
}
|
|
|
|
/*--------------
|
|
Menu
|
|
---------------*/
|
|
|
|
|
|
/* Remove Menu Item Divider */
|
|
.ui.dropdown .ui.menu > .item:before,
|
|
.ui.menu .ui.dropdown .menu > .item:before {
|
|
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,
|
|
.ui.menu .right.dropdown.item .menu,
|
|
.ui.buttons > .ui.dropdown:last-child .menu {
|
|
left: auto;
|
|
right: 0em;
|
|
}
|
|
|
|
/*--------------
|
|
Button
|
|
---------------*/
|
|
|
|
|
|
/* No Margin On Icon Button */
|
|
.ui.dropdown.icon.button > .dropdown.icon {
|
|
margin: 0em;
|
|
}
|
|
.ui.dropdown.button:not(.pointing):not(.floating).active,
|
|
.ui.dropdown.button:not(.pointing):not(.floating).visible {
|
|
border-bottom-left-radius: 0em;
|
|
border-bottom-right-radius: 0em;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
Types
|
|
*******************************/
|
|
|
|
|
|
/*--------------
|
|
Selection
|
|
---------------*/
|
|
|
|
|
|
/* Displays like a select box */
|
|
.ui.selection.dropdown {
|
|
cursor: pointer;
|
|
word-wrap: break-word;
|
|
white-space: normal;
|
|
outline: 0;
|
|
-webkit-transform: rotateZ(0deg);
|
|
transform: rotateZ(0deg);
|
|
min-width: 180px;
|
|
background: #ffffff;
|
|
display: inline-block;
|
|
padding: 0.8em 1.1em;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
box-shadow: none;
|
|
border: 1px solid rgba(39, 41, 43, 0.15);
|
|
border-radius: 0.2857rem;
|
|
-webkit-transition: border-radius 0.1s ease, width 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
|
|
transition: border-radius 0.1s ease, width 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
|
|
}
|
|
.ui.selection.dropdown.visible,
|
|
.ui.selection.dropdown.active {
|
|
z-index: 10;
|
|
}
|
|
select.ui.dropdown {
|
|
height: 38px;
|
|
padding: 0em;
|
|
margin: 0em;
|
|
visibility: hidden;
|
|
}
|
|
.ui.selection.dropdown > .text {
|
|
margin-right: 2em;
|
|
}
|
|
.ui.selection.dropdown > .search.icon,
|
|
.ui.selection.dropdown > .delete.icon,
|
|
.ui.selection.dropdown > .dropdown.icon {
|
|
position: absolute;
|
|
top: auto;
|
|
margin: 0em;
|
|
width: auto;
|
|
right: 1.1em;
|
|
opacity: 0.8;
|
|
-webkit-transition: opacity 0.2s ease;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
/* Compact */
|
|
.ui.compact.selection.dropdown {
|
|
min-width: 0px;
|
|
}
|
|
|
|
/* 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: 0px !important;
|
|
width: auto;
|
|
margin: 0px -1px;
|
|
min-width: -webkit-calc(100% + 2px );
|
|
min-width: calc(100% + 2px );
|
|
outline: none;
|
|
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
|
|
-webkit-transition: box-shadow 0.2s ease, border 0.2s ease;
|
|
transition: box-shadow 0.2s ease, border 0.2s ease;
|
|
}
|
|
.ui.selection.dropdown .menu:after,
|
|
.ui.selection.dropdown .menu:before {
|
|
display: none;
|
|
}
|
|
@media only screen and (max-width: 767px) {
|
|
.ui.selection.dropdown .menu {
|
|
max-height: 7.7142rem;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 768px) {
|
|
.ui.selection.dropdown .menu {
|
|
max-height: 10.2856rem;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 992px) {
|
|
.ui.selection.dropdown .menu {
|
|
max-height: 15.4284rem;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1920px) {
|
|
.ui.selection.dropdown .menu {
|
|
max-height: 20.5712rem;
|
|
}
|
|
}
|
|
|
|
/* Menu Item */
|
|
.ui.selection.dropdown .menu > .item {
|
|
border-top: 1px solid rgba(0, 0, 0, 0.05);
|
|
padding-left: 1.1em !important;
|
|
|
|
/* Add in spacing for scroll bar */
|
|
padding-right: -webkit-calc(2.1em) !important;
|
|
padding-right: calc(2.1em) !important;
|
|
white-space: normal;
|
|
word-wrap: normal;
|
|
}
|
|
|
|
/* Hover */
|
|
.ui.selection.dropdown:hover {
|
|
border-color: rgba(39, 41, 43, 0.3);
|
|
box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
/* Disabled */
|
|
.ui.selection.dropdown.disabled,
|
|
.ui.selection.dropdown.disabled:hover {
|
|
cursor: default;
|
|
box-shadow: none;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
border: 1px solid rgba(39, 41, 43, 0.15);
|
|
opacity: 0.3 !important;
|
|
}
|
|
|
|
/* Visible Hover */
|
|
.ui.selection.visible.dropdown:hover {
|
|
border-color: rgba(39, 41, 43, 0.3);
|
|
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
|
|
}
|
|
.ui.selection.visible.dropdown:hover .menu {
|
|
border: 1px solid rgba(39, 41, 43, 0.3);
|
|
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Visible */
|
|
.ui.selection.dropdown.visible {
|
|
border-color: rgba(39, 41, 43, 0.15);
|
|
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
|
|
}
|
|
.ui.visible.selection.dropdown > .dropdown.icon {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Active Item */
|
|
.ui.selection.active.dropdown > .text:not(.default),
|
|
.ui.selection.visible.dropdown > .text:not(.default) {
|
|
font-weight: normal;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
/* Connecting Border */
|
|
.ui.active.selection.dropdown,
|
|
.ui.visible.selection.dropdown {
|
|
border-bottom-left-radius: 0em !important;
|
|
border-bottom-right-radius: 0em !important;
|
|
}
|
|
|
|
/*--------------
|
|
Searchable
|
|
---------------*/
|
|
|
|
|
|
/* Search Selection */
|
|
.ui.search.dropdown {
|
|
min-width: '';
|
|
}
|
|
|
|
/* Search Dropdown */
|
|
.ui.search.dropdown > input.search {
|
|
background: none transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
border-radius: 0em !important;
|
|
cursor: pointer;
|
|
top: 0em;
|
|
left: 0em;
|
|
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;
|
|
z-index: 3;
|
|
}
|
|
|
|
/* Search Selection */
|
|
.ui.search.selection.dropdown > input.search {
|
|
line-height: 1.2142em;
|
|
padding: 0.6929em 1.1em;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
.ui.active.search.dropdown > input.search:focus + .text {
|
|
color: rgba(0, 0, 0, 0.4) !important;
|
|
}
|
|
|
|
/* 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: 767px) {
|
|
.ui.search.dropdown .menu {
|
|
max-height: 7.7142rem;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 768px) {
|
|
.ui.search.dropdown .menu {
|
|
max-height: 10.2856rem;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 992px) {
|
|
.ui.search.dropdown .menu {
|
|
max-height: 15.4284rem;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1920px) {
|
|
.ui.search.dropdown .menu {
|
|
max-height: 20.5712rem;
|
|
}
|
|
}
|
|
|
|
/*--------------
|
|
Inline
|
|
---------------*/
|
|
|
|
.ui.inline.dropdown {
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
color: inherit;
|
|
}
|
|
.ui.inline.dropdown .dropdown.icon {
|
|
margin: 0em 0.5em 0em 0.25em;
|
|
vertical-align: top;
|
|
}
|
|
.ui.inline.dropdown > .text {
|
|
font-weight: bold;
|
|
}
|
|
.ui.inline.dropdown .menu {
|
|
cursor: auto;
|
|
margin-top: 0.25em;
|
|
border-radius: 0.2857rem;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
|
|
|
|
/*--------------------
|
|
Hover
|
|
----------------------*/
|
|
|
|
|
|
/* Menu Item Hover */
|
|
.ui.dropdown .menu > .item:hover {
|
|
background: rgba(0, 0, 0, 0.05);
|
|
color: rgba(0, 0, 0, 0.8);
|
|
z-index: 12;
|
|
}
|
|
|
|
/*--------------------
|
|
Active
|
|
----------------------*/
|
|
|
|
|
|
/* Menu Item Active */
|
|
.ui.dropdown .menu .active.item {
|
|
background: transparent;
|
|
font-weight: bold;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
box-shadow: none;
|
|
z-index: 12;
|
|
}
|
|
|
|
/*--------------------
|
|
Default Text
|
|
----------------------*/
|
|
|
|
.ui.dropdown > .default.text,
|
|
.ui.default.dropdown > .text {
|
|
color: rgba(179, 179, 179, 0.7);
|
|
}
|
|
.ui.dropdown:hover > .default.text,
|
|
.ui.default.dropdown:hover > .text {
|
|
color: rgba(140, 140, 140, 0.7);
|
|
}
|
|
|
|
/*--------------------
|
|
Loading
|
|
----------------------*/
|
|
|
|
.ui.loading.dropdown > .text {
|
|
-webkit-transition: none;
|
|
transition: none;
|
|
}
|
|
.ui.dropdown > .loading.menu {
|
|
display: block;
|
|
visibility: hidden;
|
|
z-index: -1;
|
|
}
|
|
|
|
/*--------------------
|
|
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.8);
|
|
}
|
|
|
|
/*--------------------
|
|
Search Filtered
|
|
----------------------*/
|
|
|
|
|
|
/* Filtered Item */
|
|
.ui.dropdown > .filtered.text {
|
|
visibility: hidden;
|
|
}
|
|
.ui.dropdown .filtered.item {
|
|
display: none;
|
|
}
|
|
|
|
/*--------------------
|
|
Error
|
|
----------------------*/
|
|
|
|
.ui.dropdown.error,
|
|
.ui.dropdown.error > .text,
|
|
.ui.dropdown.error > .default.text {
|
|
color: #a94442;
|
|
}
|
|
.ui.selection.dropdown.error {
|
|
background: #fff0f0;
|
|
border-color: #dbb1b1;
|
|
}
|
|
.ui.selection.dropdown.error:hover {
|
|
border-color: #dbb1b1;
|
|
}
|
|
.ui.dropdown.error > .menu,
|
|
.ui.dropdown.error > .menu .menu {
|
|
border-color: #dbb1b1;
|
|
}
|
|
.ui.dropdown.error > .menu > .item {
|
|
color: #d95c5c;
|
|
}
|
|
|
|
/* Item Hover */
|
|
.ui.dropdown.error > .menu > .item:hover {
|
|
background-color: #fff2f2;
|
|
}
|
|
|
|
/* Item Active */
|
|
.ui.dropdown.error > .menu .active.item {
|
|
background-color: #fdcfcf;
|
|
}
|
|
|
|
/*--------------------
|
|
Disabled
|
|
----------------------*/
|
|
|
|
|
|
/* Disabled */
|
|
.ui.disabled.dropdown {
|
|
cursor: default;
|
|
pointer-events: none;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
Variations
|
|
*******************************/
|
|
|
|
|
|
/*--------------
|
|
Direction
|
|
---------------*/
|
|
|
|
|
|
/* Flyout Direction */
|
|
.ui.dropdown .menu {
|
|
left: 0px;
|
|
}
|
|
|
|
/* Default Side (Right) */
|
|
.ui.dropdown .right.menu > .menu,
|
|
.ui.dropdown .menu .right.menu {
|
|
left: 100% !important;
|
|
right: auto !important;
|
|
}
|
|
|
|
/* Left Flyout Menu */
|
|
.ui.dropdown > .left.menu .menu,
|
|
.ui.dropdown .menu .left.menu {
|
|
left: auto !important;
|
|
right: 100% !important;
|
|
}
|
|
.ui.dropdown .item .left.dropdown.icon,
|
|
.ui.dropdown .left.menu .item .dropdown.icon {
|
|
width: auto;
|
|
float: left;
|
|
margin: 0.2em 0.75em 0em 0em;
|
|
}
|
|
.ui.dropdown .item .left.dropdown.icon,
|
|
.ui.dropdown .left.menu .item .dropdown.icon {
|
|
width: auto;
|
|
float: left;
|
|
margin: 0.2em 0.75em 0em 0em;
|
|
}
|
|
.ui.dropdown .item .left.dropdown.icon + .text,
|
|
.ui.dropdown .left.menu .item .dropdown.icon + .text {
|
|
margin-left: 1em;
|
|
}
|
|
|
|
/*--------------
|
|
Upward
|
|
---------------*/
|
|
|
|
.ui.upward.dropdown > .menu {
|
|
top: auto;
|
|
bottom: 100%;
|
|
box-shadow: 0px 0px 4px 0px rgba(39, 41, 43, 0.15);
|
|
border-radius: 0.2857rem 0.2857rem 0em 0em;
|
|
}
|
|
|
|
/* Active Upward */
|
|
.ui.simple.upward.active.dropdown,
|
|
.ui.simple.upward.dropdown:hover {
|
|
border-radius: 0.2857rem 0.2857rem 0em 0em !important;
|
|
}
|
|
.ui.upward.dropdown.button:not(.pointing):not(.floating).active,
|
|
.ui.upward.dropdown.button:not(.pointing):not(.floating).visible {
|
|
border-radius: 0.2857rem 0.2857rem 0em 0em;
|
|
}
|
|
|
|
/* Selection */
|
|
.ui.upward.selection.dropdown .menu {
|
|
border-top-width: 1px !important;
|
|
border-bottom-width: 0px !important;
|
|
}
|
|
.ui.upward.selection.dropdown:hover {
|
|
box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.05);
|
|
}
|
|
.ui.upward.selection.visible.dropdown:hover {
|
|
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.05);
|
|
}
|
|
.ui.active.upward.selection.dropdown,
|
|
.ui.visible.upward.selection.dropdown {
|
|
border-radius: 0em 0em 0.2857rem 0.2857rem !important;
|
|
}
|
|
.ui.upward.selection.dropdown.visible {
|
|
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
|
|
}
|
|
.ui.upward.selection.visible.dropdown:hover .menu {
|
|
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
/*--------------
|
|
Simple
|
|
---------------*/
|
|
|
|
|
|
/* Displays without javascript */
|
|
.ui.simple.dropdown .menu:before,
|
|
.ui.simple.dropdown .menu:after {
|
|
display: none;
|
|
}
|
|
.ui.simple.dropdown .menu {
|
|
position: absolute;
|
|
display: block;
|
|
overflow: hidden;
|
|
top: -9999px !important;
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
-webkit-transition: opacity 0.2s ease;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
.ui.simple.active.dropdown,
|
|
.ui.simple.dropdown:hover {
|
|
border-bottom-left-radius: 0em !important;
|
|
border-bottom-right-radius: 0em !important;
|
|
}
|
|
.ui.simple.active.dropdown > .menu,
|
|
.ui.simple.dropdown:hover > .menu {
|
|
overflow: visible;
|
|
width: auto;
|
|
height: auto;
|
|
top: 100% !important;
|
|
opacity: 1;
|
|
}
|
|
.ui.simple.dropdown > .menu > .item:active > .menu,
|
|
.ui.simple.dropdown:hover > .menu > .item:hover > .menu {
|
|
overflow: visible;
|
|
width: auto;
|
|
height: auto;
|
|
top: 0% !important;
|
|
left: 100% !important;
|
|
opacity: 1;
|
|
}
|
|
.ui.simple.disabled.dropdown:hover .menu {
|
|
display: none;
|
|
height: 0px;
|
|
width: 0px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Visible */
|
|
.ui.simple.visible.dropdown > .menu {
|
|
display: block;
|
|
}
|
|
|
|
/*--------------
|
|
Fluid
|
|
---------------*/
|
|
|
|
.ui.fluid.dropdown {
|
|
display: block;
|
|
width: 100%;
|
|
min-width: 0em;
|
|
}
|
|
.ui.fluid.dropdown > .dropdown.icon {
|
|
float: right;
|
|
}
|
|
|
|
/*--------------
|
|
Floating
|
|
---------------*/
|
|
|
|
.ui.floating.dropdown .menu {
|
|
left: 0;
|
|
right: auto;
|
|
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.15);
|
|
border-radius: 0.2857rem;
|
|
}
|
|
.ui.floating.dropdown > .menu {
|
|
margin-top: 0.5em !important;
|
|
}
|
|
|
|
/*--------------
|
|
Pointing
|
|
---------------*/
|
|
|
|
.ui.pointing.dropdown > .menu {
|
|
top: 100%;
|
|
margin-top: 0.75em;
|
|
border-radius: 0.2857rem;
|
|
}
|
|
.ui.pointing.dropdown > .menu:after {
|
|
display: block;
|
|
position: absolute;
|
|
pointer-events: none;
|
|
content: '';
|
|
visibility: visible;
|
|
-webkit-transform: rotate(45deg);
|
|
-ms-transform: rotate(45deg);
|
|
transform: rotate(45deg);
|
|
width: 0.5em;
|
|
height: 0.5em;
|
|
box-shadow: -1px -1px 0px 1px rgba(0, 0, 0, 0.1);
|
|
background: #ffffff;
|
|
z-index: 2;
|
|
}
|
|
.ui.pointing.dropdown > .menu:after {
|
|
top: -0.25em;
|
|
left: 50%;
|
|
margin: 0em 0em 0em -0.25em;
|
|
}
|
|
|
|
/* Top Left Pointing */
|
|
.ui.top.left.pointing.dropdown > .menu {
|
|
top: 100%;
|
|
bottom: auto;
|
|
left: 0%;
|
|
right: auto;
|
|
margin: 1em 0em 0em;
|
|
}
|
|
.ui.top.left.pointing.dropdown > .menu {
|
|
top: 100%;
|
|
bottom: auto;
|
|
left: 0%;
|
|
right: auto;
|
|
margin: 1em 0em 0em;
|
|
}
|
|
.ui.top.left.pointing.dropdown > .menu:after {
|
|
top: -0.25em;
|
|
left: 1em;
|
|
right: auto;
|
|
margin: 0em;
|
|
-webkit-transform: rotate(45deg);
|
|
-ms-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 0em 0em;
|
|
}
|
|
.ui.top.right.pointing.dropdown > .menu:after {
|
|
top: -0.25em;
|
|
left: auto;
|
|
right: 1em;
|
|
margin: 0em;
|
|
-webkit-transform: rotate(45deg);
|
|
-ms-transform: rotate(45deg);
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
/* Left Pointing */
|
|
.ui.left.pointing.dropdown > .menu {
|
|
top: 0%;
|
|
left: 100%;
|
|
right: auto;
|
|
margin: 0em 0em 0em 1em;
|
|
}
|
|
.ui.left.pointing.dropdown > .menu:after {
|
|
top: 1em;
|
|
left: -0.25em;
|
|
margin: 0em 0em 0em 0em;
|
|
-webkit-transform: rotate(-45deg);
|
|
-ms-transform: rotate(-45deg);
|
|
transform: rotate(-45deg);
|
|
}
|
|
|
|
/* Right Pointing */
|
|
.ui.right.pointing.dropdown > .menu {
|
|
top: 0%;
|
|
left: auto;
|
|
right: 100%;
|
|
margin: 0em 1em 0em 0em;
|
|
}
|
|
.ui.right.pointing.dropdown > .menu:after {
|
|
top: 1em;
|
|
left: auto;
|
|
right: -0.25em;
|
|
margin: 0em 0em 0em 0em;
|
|
-webkit-transform: rotate(135deg);
|
|
-ms-transform: rotate(135deg);
|
|
transform: rotate(135deg);
|
|
}
|
|
|
|
/* Bottom Pointing */
|
|
.ui.bottom.pointing.dropdown > .menu {
|
|
top: auto;
|
|
bottom: 100%;
|
|
left: 0%;
|
|
right: auto;
|
|
margin: 0em 0em 1em;
|
|
}
|
|
.ui.bottom.pointing.dropdown > .menu:after {
|
|
top: auto;
|
|
bottom: -0.25em;
|
|
right: auto;
|
|
margin: 0em;
|
|
-webkit-transform: rotate(-135deg);
|
|
-ms-transform: rotate(-135deg);
|
|
transform: rotate(-135deg);
|
|
}
|
|
|
|
/* Reverse Sub-Menu Direction */
|
|
.ui.bottom.pointing.dropdown > .menu .menu {
|
|
top: auto !important;
|
|
bottom: 0px !important;
|
|
}
|
|
|
|
/* Bottom Left */
|
|
.ui.bottom.left.pointing.dropdown > .menu {
|
|
left: 0%;
|
|
right: auto;
|
|
}
|
|
.ui.bottom.left.pointing.dropdown > .menu:after {
|
|
left: 1em;
|
|
right: auto;
|
|
}
|
|
|
|
/* Bottom Right */
|
|
.ui.bottom.right.pointing.dropdown > .menu {
|
|
right: 0%;
|
|
left: auto;
|
|
}
|
|
.ui.bottom.right.pointing.dropdown > .menu:after {
|
|
left: auto;
|
|
right: 1em;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
Theme Overrides
|
|
*******************************/
|
|
|
|
|
|
/* Dropdown Carets */
|
|
@font-face {
|
|
font-family: 'Dropdown';
|
|
src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggjB5AAAAC8AAAAYGNtYXAPfuIIAAABHAAAAExnYXNwAAAAEAAAAWgAAAAIZ2x5Zjo82LgAAAFwAAABVGhlYWQAQ88bAAACxAAAADZoaGVhAwcB6QAAAvwAAAAkaG10eAS4ABIAAAMgAAAAIGxvY2EBNgDeAAADQAAAABJtYXhwAAoAFgAAA1QAAAAgbmFtZVcZpu4AAAN0AAABRXBvc3QAAwAAAAAEvAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADw2gHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEADgAAAAKAAgAAgACAAEAIPDa//3//wAAAAAAIPDX//3//wAB/+MPLQADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAIABJQElABMAABM0NzY3BTYXFhUUDwEGJwYvASY1AAUGBwEACAUGBoAFCAcGgAUBEgcGBQEBAQcECQYHfwYBAQZ/BwYAAQAAAG4BJQESABMAADc0PwE2MzIfARYVFAcGIyEiJyY1AAWABgcIBYAGBgUI/wAHBgWABwaABQWABgcHBgUFBgcAAAABABIASQC3AW4AEwAANzQ/ATYXNhcWHQEUBwYnBi8BJjUSBoAFCAcFBgYFBwgFgAbbBwZ/BwEBBwQJ/wgEBwEBB38GBgAAAAABAAAASQClAW4AEwAANxE0NzYzMh8BFhUUDwEGIyInJjUABQYHCAWABgaABQgHBgVbAQAIBQYGgAUIBwWABgYFBwAAAAEAAAABAADZuaKOXw889QALAgAAAAAA0ABHWAAAAADQAEdYAAAAAAElAW4AAAAIAAIAAAAAAAAAAQAAAeD/4AAAAgAAAAAAASUAAQAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAABAAAAASUAAAElAAAAtwASALcAAAAAAAAACgAUAB4AQgBkAIgAqgAAAAEAAAAIABQAAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAOAAAAAQAAAAAAAgAOAEcAAQAAAAAAAwAOACQAAQAAAAAABAAOAFUAAQAAAAAABQAWAA4AAQAAAAAABgAHADIAAQAAAAAACgA0AGMAAwABBAkAAQAOAAAAAwABBAkAAgAOAEcAAwABBAkAAwAOACQAAwABBAkABAAOAFUAAwABBAkABQAWAA4AAwABBAkABgAOADkAAwABBAkACgA0AGMAaQBjAG8AbQBvAG8AbgBWAGUAcgBzAGkAbwBuACAAMQAuADAAaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AbgBSAGUAZwB1AGwAYQByAGkAYwBvAG0AbwBvAG4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=) format('truetype'), url(data:application/font-woff;charset=utf-8;base64,d09GRk9UVE8AAAVwAAoAAAAABSgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAAAdkAAAHZLDXE/09TLzIAAALQAAAAYAAAAGAIIweQY21hcAAAAzAAAABMAAAATA9+4ghnYXNwAAADfAAAAAgAAAAIAAAAEGhlYWQAAAOEAAAANgAAADYAQ88baGhlYQAAA7wAAAAkAAAAJAMHAelobXR4AAAD4AAAACAAAAAgBLgAEm1heHAAAAQAAAAABgAAAAYACFAAbmFtZQAABAgAAAFFAAABRVcZpu5wb3N0AAAFUAAAACAAAAAgAAMAAAEABAQAAQEBCGljb21vb24AAQIAAQA6+BwC+BsD+BgEHgoAGVP/i4seCgAZU/+LiwwHi2v4lPh0BR0AAACIDx0AAACNER0AAAAJHQAAAdASAAkBAQgPERMWGyAlKmljb21vb25pY29tb29udTB1MXUyMHVGMEQ3dUYwRDh1RjBEOXVGMERBAAACAYkABgAIAgABAAQABwAKAA0AVgCfAOgBL/yUDvyUDvyUDvuUDvtvi/emFYuQjZCOjo+Pj42Qiwj3lIsFkIuQiY6Hj4iNhouGi4aJh4eHCPsU+xQFiIiGiYaLhouHjYeOCPsU9xQFiI+Jj4uQCA77b4v3FBWLkI2Pjo8I9xT3FAWPjo+NkIuQi5CJjogI9xT7FAWPh42Hi4aLhomHh4eIiIaJhosI+5SLBYaLh42HjoiPiY+LkAgO+92d928Vi5CNkI+OCPcU9xQFjo+QjZCLkIuPiY6Hj4iNhouGCIv7lAWLhomHh4iIh4eJhouGi4aNiI8I+xT3FAWHjomPi5AIDvvdi+YVi/eUBYuQjZCOjo+Pj42Qi5CLkImOhwj3FPsUBY+IjYaLhouGiYeHiAj7FPsUBYiHhomGi4aLh42Hj4iOiY+LkAgO+JQU+JQViwwKAAAAAAMCAAGQAAUAAAFMAWYAAABHAUwBZgAAAPUAGQCEAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA8NoB4P/g/+AB4AAgAAAAAQAAAAAAAAAAAAAAIAAAAAAAAgAAAAMAAAAUAAMAAQAAABQABAA4AAAACgAIAAIAAgABACDw2v/9//8AAAAAACDw1//9//8AAf/jDy0AAwABAAAAAAAAAAAAAAABAAH//wAPAAEAAAABAAA5emozXw889QALAgAAAAAA0ABHWAAAAADQAEdYAAAAAAElAW4AAAAIAAIAAAAAAAAAAQAAAeD/4AAAAgAAAAAAASUAAQAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAABAAAAASUAAAElAAAAtwASALcAAAAAUAAACAAAAAAADgCuAAEAAAAAAAEADgAAAAEAAAAAAAIADgBHAAEAAAAAAAMADgAkAAEAAAAAAAQADgBVAAEAAAAAAAUAFgAOAAEAAAAAAAYABwAyAAEAAAAAAAoANABjAAMAAQQJAAEADgAAAAMAAQQJAAIADgBHAAMAAQQJAAMADgAkAAMAAQQJAAQADgBVAAMAAQQJAAUAFgAOAAMAAQQJAAYADgA5AAMAAQQJAAoANABjAGkAYwBvAG0AbwBvAG4AVgBlAHIAcwBpAG8AbgAgADEALgAwAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG4AUgBlAGcAdQBsAGEAcgBpAGMAbwBtAG8AbwBuAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('woff');
|
|
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;
|
|
}
|
|
.ui.dropdown > .dropdown.icon:before {
|
|
content: '\f0d7';
|
|
}
|
|
|
|
/* Sub Menu */
|
|
.ui.dropdown .menu .item .dropdown.icon:before {
|
|
content: '\f0da' /*rtl:'\f0d9'*/;
|
|
}
|
|
.ui.dropdown .item .left.dropdown.icon:before,
|
|
.ui.dropdown .left.menu .item .dropdown.icon:before {
|
|
content: "\f0d9" /*rtl:"\f0da"*/;
|
|
}
|
|
|
|
/* Vertical Menu Dropdown */
|
|
.ui.vertical.menu .dropdown.item > .dropdown.icon:before {
|
|
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
|
|
*******************************/
|
|
|