/* * # Semantic - Dropdown * http://github.com/semantic-org/semantic-ui/ * * * Copyright 2014 Contributor * Released under the MIT license * http://opensource.org/licenses/MIT * */ /******************************* Theme *******************************/ /* ███████╗███████╗███╗ ███╗ █████╗ ███╗ ██╗████████╗██╗ ██████╗ ██╗ ██╗██╗ ██╔════╝██╔════╝████╗ ████║██╔══██╗████╗ ██║╚══██╔══╝██║██╔════╝ ██║ ██║██║ ███████╗█████╗ ██╔████╔██║███████║██╔██╗ ██║ ██║ ██║██║ ██║ ██║██║ ╚════██║██╔══╝ ██║╚██╔╝██║██╔══██║██║╚██╗██║ ██║ ██║██║ ██║ ██║██║ ███████║███████╗██║ ╚═╝ ██║██║ ██║██║ ╚████║ ██║ ██║╚██████╗ ╚██████╔╝██║ ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ */ /******************************* Folders *******************************/ /* Path to theme packages */ /* Path to site override folder */ /******************************* Themes *******************************/ /* To override a theme for an individual element specify theme name below Be sure to update the user folder name (see README) */ /* Global */ /* Elements */ /* Collections */ /* Modules */ /* Views */ /******************************* Import Directives *******************************/ /*------------------ Load Default -------------------*/ /******************************* Site Settings *******************************/ /*------------------- Paths --------------------*/ /*------------------- Fonts --------------------*/ /*------------------- Site Colors --------------------*/ /*--- Colors ---*/ /*------------------- Page --------------------*/ /*------------------- Background Colors --------------------*/ /* Used for differentiating neutrals */ /* Used for differentiating layers */ /*------------------- Grid --------------------*/ /*------------------- Breakpoints --------------------*/ /******************************* Power-User *******************************/ /*------------------- Icons --------------------*/ /* Max Width of Icon */ /*------------------- Easing --------------------*/ /*--- Light Variations ---*/ /*--- Neutrals ---*/ /*--- Colored Backgrounds ---*/ /*--- Colored Text ---*/ /*--- Colored Headers ---*/ /*------------------- Emotive Colors --------------------*/ /* Mood */ /* Solid Background Color */ /* Status */ /* Darkened Headers */ /*------------------- Neutral Text --------------------*/ /*------------------- Brand Colors --------------------*/ /*------------------- Grid Columns --------------------*/ /*------------------- Borders --------------------*/ /*------------------- Sizes --------------------*/ /*------------------- Transitions --------------------*/ /******************************* States *******************************/ /*------------------- Disabled --------------------*/ /*------------------- Hover --------------------*/ /*--- Colors ---*/ /*--- Emotive ---*/ /*--- Neutrals ---*/ /*------------------- Down (:active) --------------------*/ /*--- Colors ---*/ /*--- Emotive ---*/ /*--- Neutrals ---*/ /*------------------- Active --------------------*/ /*--- Standard ---*/ /*--- Emotive ---*/ /*--- Neutrals ---*/ /******************************* Dropdown *******************************/ /*------------------- Element --------------------*/ /*------------------- Content --------------------*/ /* Icon */ /* Sub Menu Pointer Icon */ /* Current Text */ /* Menu */ /* Menu Item */ /* Menu Item Icon */ /* Sub Menu */ /*------------------- Types --------------------*/ /* Selection */ /* Selection Hover */ /* Inline */ /*------------------- States --------------------*/ /* Default Text */ /* Active Menu Item */ /* Menu Error */ /*------------------- Variations --------------------*/ /* Simple */ /* Floating */ /* Pointing */ /*------------------ Load Theme -------------------*/ /*------------------ Load Site -------------------*/ /******************************* User Global Variables *******************************/ /******************************* User Variable Overrides *******************************/ /*------------------ Override Mix-in -------------------*/ /******************************* Dropdown *******************************/ .ui.dropdown { cursor: pointer; position: relative; display: inline-block; line-height: 1; -webkit-transition: border-radius 0.1s ease, width 0.2s ease; transition: border-radius 0.1s ease, width 0.2s ease; tap-highlight-color: rgba(0, 0, 0, 0); } /******************************* Content *******************************/ /*-------------- Menu ---------------*/ .ui.dropdown .menu { cursor: auto; position: absolute; display: none; top: 100%; margin: 0em; padding: 0em 0em; background: #ffffff; min-width: 100%; white-space: nowrap; font-size: 1rem; text-shadow: none; box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1), 0 1px 4px 0 rgba(0, 0, 0, 0.15); border-radius: 0em 0em 0.325em 0.325em; -webkit-transition: opacity 0.2s ease; transition: opacity 0.2s ease; z-index: 11; will-change: transform, opacity; } /*-------------- Icon ---------------*/ .ui.dropdown > .dropdown.icon { width: auto; margin: 0em 0em 0em 1em; } .ui.dropdown .menu .item .dropdown.icon { width: auto; float: right; margin: 0em 0em 0em 0.5em; } /*-------------- Text ---------------*/ .ui.dropdown > .text { display: inline-block; vertical-align: top; -webkit-transition: color 0.2s ease; transition: color 0.2s ease; } /*-------------- Menu Item ---------------*/ .ui.dropdown .menu .item { cursor: pointer; display: block; border: none; height: auto; border-top: none; color: rgba(0, 0, 0, 0.8); padding: 0.85em 0.8em !important; font-size: 1rem; text-transform: none; font-weight: normal; text-align: left; box-shadow: none; -webkit-touch-callout: none; } .ui.dropdown .menu .item .icon { margin: 0em 0.75em 0em 0em; } .ui.dropdown .menu .item:first-child { border-top: none; } /*-------------- Item Image ---------------*/ .ui.dropdown .menu .item > img { height: 2.5em; display: inline-block; vertical-align: middle; margin-right: 0.5em; } /*-------------- Sub Menu ---------------*/ .ui.dropdown .menu .menu { top: 0% !important; left: 100% !important; right: auto !important; margin: 0em !important; border-radius: 0em 0.325em 0.325em 0em !important; } /* Hide Arrow */ .ui.dropdown .menu .menu:after { display: none; } /******************************* Coupling *******************************/ /* 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; } /* No Margin On Icon Button */ .ui.dropdown.icon.button > .dropdown.icon { margin: 0em; } /* Automatically float dropdown menu right on last menu item */ .ui.menu .right.menu .dropdown:last-child .menu, .ui.buttons > .ui.dropdown:last-child .menu { left: auto; right: 0em; } /******************************* Types *******************************/ /*-------------- Selection ---------------*/ /* Displays like a select box */ .ui.selection.dropdown { cursor: pointer; word-wrap: break-word; white-space: normal; outline: 0; background: #ffffff; display: inline-block; padding: 0.8em 1.1em; color: rgba(0, 0, 0, 0.8); box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important; border-radius: 0.325em !important; /* Matches selection dropdown height to input height */ border-top: 1px solid transparent; } .ui.selection.dropdown.active { -webkit-transform: rotateZ(0deg); transform: rotateZ(0deg); z-index: 10; } .ui.selection.dropdown select { display: none; } .ui.selection.dropdown > .dropdown.icon { opacity: 0.8; margin: 0em 0em 0em 1em; -webkit-transition: opacity 0.2s ease; transition: opacity 0.2s ease; } .ui.selection.dropdown .menu { overflow-x: hidden; overflow-y: auto; max-height: 312px; box-shadow: 0px 1px 0px 1px #e0e0e0; } .ui.selection.dropdown .menu:after, .ui.selection.dropdown .menu:before { display: none; } /* Hover */ .ui.selection.dropdown:hover { box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) !important; } .ui.selection.dropdown:hover .menu { box-shadow: 0px 1px 0px 1px #d3d3d3; } .ui.selection.dropdown:hover > .dropdown.icon { opacity: 1; } /* Connecting Border */ .ui.active.selection.dropdown, .ui.visible.selection.dropdown { border-bottom-left-radius: 0em !important; border-bottom-right-radius: 0em !important; } .ui.active.selection.dropdown > .dropdown.icon { opacity: 1; } /*-------------- 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.325em; } /******************************* States *******************************/ /* Dropdown Visible */ .ui.visible.dropdown > .menu { display: block; } /*-------------------- Hover ----------------------*/ /* Menu Item Hover */ .ui.dropdown .menu .item:hover { background-color: rgba(0, 0, 0, 0.03); z-index: 12; } /*-------------------- Active ----------------------*/ /* Menu Item Active */ .ui.dropdown .menu .active.item { background: rgba(0, 0, 0, 0.05); 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); } /*-------------------- Error ----------------------*/ .ui.dropdown.error, .ui.dropdown.error > .text, .ui.dropdown.error > .default.text { color: #a94442 !important; } .ui.selection.dropdown.error { background: #f2dede; box-shadow: 0px 0px 0px 1px #da9797 !important; } .ui.selection.dropdown.error:hover { box-shadow: 0px 0px 0px 1px #da9797 !important; } .ui.dropdown.error > .menu, .ui.dropdown.error > .menu .menu { box-shadow: 0px 0px 1px 1px #da9797 !important; } .ui.dropdown.error > .menu .item { color: #D95C5C !important; } /* Item Hover */ .ui.dropdown.error > .menu .item:hover { background-color: #FFF2F2 !important; } /* Item Active */ .ui.dropdown.error > .menu .active.item { background-color: #FDCFCF !important; } /******************************* Variations *******************************/ /*-------------- Direction ---------------*/ /* Flyout Direction */ .ui.dropdown .menu { left: 0px; } /*-------------- 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; } /*-------------- Fluid ---------------*/ .ui.fluid.dropdown { display: block; } .ui.fluid.dropdown > .dropdown.icon { float: right; } /*-------------- Floating ---------------*/ .ui.floating.dropdown .menu { left: 0; right: auto; margin-top: 0.5em !important; box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset, 0px 2px 5px 0px rgba(0, 0, 0, 0.15); border-radius: 0.325em; } /*-------------- Pointing ---------------*/ .ui.pointing.dropdown .menu { top: 100%; margin-top: 0.75em; border-radius: 0.325em; } .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; } /* Directions */ .ui.pointing.dropdown .menu:after { top: -0.25em; left: 50%; margin: 0em 0em 0em -0.25em; } .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); } .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); } .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); } .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); } /******************************* Overrides *******************************/ /* Dropdown Carets */ @font-face { font-family: 'Dropdown'; src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggjB5AAAAC8AAAAYGNtYXAPfuIIAAABHAAAAExnYXNwAAAAEAAAAWgAAAAIZ2x5Zjo82LgAAAFwAAABVGhlYWQA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AAAAAQAAAAAAAgAOAEcAAQAAAAAAAwAOACQAAQAAAAAABAAOAFUAAQAAAAAABQAWAA4AAQAAAAAABgAHADIAAQAAAAAACgA0AGMAAwABBAkAAQAOAAAAAwABBAkAAgAOAEcAAwABBAkAAwAOACQAAwABBAkABAAOAFUAAwABBAkABQAWAA4AAwABBAkABgAOADkAAwABBAkACgA0AGMAaQBjAG8AbQBvAG8AbgBWAGUAcgBzAGkAbwBuACAAMQAuADAAaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AbgBSAGUAZwB1AGwAYQByAGkAYwBvAG0AbwBvAG4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=) format('truetype'), url(data:application/font-woff;charset=utf-8;base64,d09GRk9UVE8AAAVwAAoAAAAABSgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAAAdkAAAHZLDXE/09TLzIAAALQAAAAYAAAAGAIIweQY21hcAAAAzAAAABMAAAATA9+4ghnYXNwAAADfAAAAAgAAAAIAAAAEGhlYWQAAAOEAAAANgAAADYAQ88baGhlYQAAA7wAAAAkAAAAJAMHAelobXR4AAAD4AAAACAAAAAgBLgAEm1heHAAAAQAAAAABgAAAAYACFAAbmFtZQAABAgAAAFFAAABRVcZpu5wb3N0AAAFUAAAACAAAAAgAAMAAAEABAQAAQEBCGljb21vb24AAQIAAQA6+BwC+BsD+BgEHgoAGVP/i4seCgAZU/+LiwwHi2v4lPh0BR0AAACIDx0AAACNER0AAAAJHQAAAdASAAkBAQgPERMWGyAlKmljb21vb25pY29tb29udTB1MXUyMHVGMEQ3dUYwRDh1RjBEOXVGMERBAAACAYkABgAIAgABAAQABwAKAA0AVgCfAOgBL/yUDvyUDvyUDvuUDvtvi/emFYuQjZCOjo+Pj42Qiwj3lIsFkIuQiY6Hj4iNhou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AYwBvAG0AbwBvAG4AUgBlAGcAdQBsAGEAcgBpAGMAbwBtAG8AbwBuAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) 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'*/; } /* 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 *******************************/