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.
 
 
 

1167 lines
29 KiB

/*
* # Semantic Menu
* http://github.com/quirkyinc/semantic
*
*
* Copyright 2013 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
* Released: April 17 2013
*/
/*******************************
Standard
*******************************/
/*--------------
Menu
---------------*/
.ui.menu {
background-color: #FFFFFF;
font-size: 0px;
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
-webkit-border-radius: 0.325rem;
-moz-border-radius: 0.325rem;
border-radius: 0.325rem;
}
.ui.menu:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.ui.menu > .item:first-child {
border-radius: 0.325em 0px 0px 0.325em;
}
.ui.menu > .item:last-child {
border-radius: 0px 0.325em 0.325em 0px;
}
.ui.menu .item,
.ui.menu .item > a {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
vertical-align: middle;
line-height: 1em;
min-height: 1.25em;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
-webkit-transition: opacity 0.1s linear, background 0.1s linear, box-shadow 0.1s linear;
-moz-transition: opacity 0.1s linear, background 0.1s linear, box-shadow 0.1s linear;
-o-transition: opacity 0.1s linear, background 0.1s linear, box-shadow 0.1s linear;
-ms-transition: opacity 0.1s linear, background 0.1s linear, box-shadow 0.1s linear;
transition: opacity 0.1s linear, background 0.1s linear, box-shadow 0.1s linear;
}
/*--------------
Colors
---------------*/
/* Text Color */
.ui.menu .item .header {
color: rgba(50, 50, 50, 0.95);
}
.ui.menu .item,
.ui.menu .item > a {
color: rgba(0, 0, 0, 0.75);
}
.ui.menu .item > a:hover {
background-color: rgba(0, 0, 0, 0.03);
color: rgba(0, 0, 0, 0.8);
}
.ui.menu .item .item,
.ui.menu .item .item > a {
color: rgba(30, 30, 30, 0.8);
}
.ui.menu .item .item .item,
.ui.menu .item .item .item > a {
color: rgba(30, 30, 30, 0.6);
}
.ui.menu .dropdown.item .menu .item,
.ui.menu .dropdown.item .menu .item a {
color: rgba(0, 0, 0, 0.75);
}
/* Hover */
.ui.menu .item .menu a.item:hover,
.ui.menu .item .menu a.item.hover,
.ui.menu .item .menu .link.item:hover,
.ui.menu .item .menu .link.item.hover {
color: rgba(35, 35, 35, 0.95);
}
.ui.menu .dropdown.item .menu .item a:hover {
color: rgba(0, 0, 0, 0.9);
}
/* Active */
.ui.menu .active.item,
.ui.menu .active.item a {
color: rgba(0, 0, 0, 0.95);
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
}
/*--------------
Items
---------------*/
.ui.menu .item {
position: relative;
display: inline-block;
padding: 0.75em 0.95em;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-moz-user-select: -moz-none;
-khtml-user-select: none;
user-select: none;
}
.ui.menu .item > a {
display: block;
margin: -0.75em -0.95em;
padding: 0.75em 0.95em;
}
.ui.menu .menu.left,
.ui.menu .item.left {
float: left;
}
.ui.menu .menu.right,
.ui.menu .item.right {
float: right;
}
/*--------------
Borders
---------------*/
.ui.menu .item:before {
position: absolute;
content: '';
top: 0%;
right: 0px;
width: 1px;
height: 100%;
background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
background-image: linear-gradient(top, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
}
.ui.menu .menu.right .item:before,
.ui.menu .item.right:before {
right: auto;
left: 0px;
}
/*--------------
Text Content
---------------*/
.ui.menu .text.item > *,
.ui.menu .item > p:only-child {
line-height: 1.3;
color: rgba(0, 0, 0, 0.6);
}
.ui.menu .item > p:first-child {
margin-top: 0px;
}
.ui.menu .item > p:only-child {
margin: 0px;
}
/*--------------
Form Content
---------------*/
.ui.menu input {
padding-top: 0.55em;
padding-bottom: 0.55em;
}
/*--------------
Header
---------------*/
.ui.menu .header.item {
background-color: rgba(0, 0, 0, 0.04);
margin: 0em;
}
.ui.vertical.menu .header.item {
padding-top: 1em;
padding-bottom: 1em;
font-weight: bold;
-webkit-box-shadow: 0em -0.1em 0em 0em rgba(0, 0, 0, 0.1) inset;
-moz-box-shadow: 0em -0.1em 0em 0em rgba(0, 0, 0, 0.1) inset;
box-shadow: 0em -0.1em 0em 0em rgba(0, 0, 0, 0.1) inset;
}
/*--------------
Dropdowns
---------------*/
.ui.menu .dropdown.item .menu .item {
color: rgba(0, 0, 0, 0.75);
}
.ui.menu .dropdown.item .menu .item:before {
display: none;
}
/*--------------
Labels
---------------*/
.ui.menu .item > .label,
.ui.menu .item > a > .label {
font-size: 0.9em;
margin: -0.3em 0em -0.3em 0.3em;
padding: 0.1em 0.5em;
vertical-align: baseline;
}
/*--------------
Images
---------------*/
.ui.menu .item > img:only-child {
display: block;
max-width: 100%;
margin: 0em auto;
}
/*******************************
States
*******************************/
/*--------------
Hover
---------------*/
/* Pseudo states cautiously used for convenience */
.ui.link.menu .item:hover,
.ui.menu .item.hover,
.ui.menu .link.item:hover,
.ui.menu a.item:hover,
.ui.menu .dropdown.item .menu .item.hover,
.ui.menu .dropdown.item .menu .item:hover {
cursor: pointer;
background-color: rgba(0, 0, 0, 0.02);
}
.ui.menu .dropdown.item.hover,
.ui.menu .dropdown.item:hover {
-webkit-border-bottom-right-radius: 0em;
-moz-border-bottom-right-radius: 0em;
border-bottom-right-radius: 0em;
-webkit-border-bottom-left-radius: 0em;
-moz-border-bottom-left-radius: 0em;
border-bottom-left-radius: 0em;
}
/* Darken Labels */
.ui.menu .item:hover .label,
.ui.menu .item.hover .label {
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0, 0, 0, 0.05)), to(rgba(0, 0, 0, 0.05)));
background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%);
background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%);
background-image: -o-linear-gradient(rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%);
background-image: linear-gradient(rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%);
}
/*--------------
Down
---------------*/
.ui.link.menu .item:active,
.ui.menu .item.down,
.ui.menu .link.item:active,
.ui.menu a.item:active,
.ui.menu .item > a:active,
.ui.menu .dropdown.item .menu .item.down,
.ui.menu .dropdown.item .menu .item:active {
background-color: rgba(0, 0, 0, 0.05);
}
/*--------------
Active
---------------*/
.ui.menu .active.item {
padding-top: 0.55em;
border-top: 0.2em solid rgba(50, 50, 50, 0.8);
color: rgba(0, 0, 0, 0.95);
background-color: rgba(0, 0, 0, 0.01);
}
.ui.vertical.menu .active.item {
border-top: none;
border-left: 0.2em solid rgba(50, 50, 50, 0.8);
padding-top: 0.75em;
padding-left: 0.75em;
-webkit-border-radius: 0em;
-moz-border-radius: 0em;
border-radius: 0em;
}
.ui.vertical.menu > .active.item:first-child,
.ui.vertical.menu > .active.item:last-child {
-webkit-border-radius: 0em 0.325em 0.325em 0em;
-moz-border-radius: 0em 0.325em 0.325em 0em;
border-radius: 0em 0.325em 0.325em 0em;
}
.ui.vertical.menu .active.item .menu .active.item {
border-left: none;
}
.ui.vertical.menu .active.item .menu .active.item {
padding-left: 1.5rem;
}
.ui.vertical.menu .item .menu .active.item {
padding-left: 1.3rem;
}
/*--------------
Disabled
---------------*/
.ui.menu .item.disabled,
.ui.menu .item.disabled:hover,
.ui.menu .item.disabled.hover {
cursor: default;
opacity: 0.3;
background-color: transparent;
}
/*******************************
Variations
*******************************/
/*--------------
Vertical
---------------*/
.ui.vertical.menu .item {
display: block;
border-left: none;
border-right: none;
}
.ui.vertical.menu > .item:first-child {
border-radius: 0.325em 0.325em 0px 0px;
}
.ui.vertical.menu > .item:last-child {
border-radius: 0px 0px 0.325em 0.325em;
}
.ui.vertical.menu .item > .icon {
float: right;
width: 1.22em;
margin: 0em 0em 0em 0.5em;
}
/*--- Border ---*/
.ui.vertical.menu .item:before {
position: absolute;
content: '';
top: 0%;
left: 0px;
width: 100%;
height: 1px;
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.1) 1.5em, rgba(0, 0, 0, 0.03) 100%);
background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.1) 1.5em, rgba(0, 0, 0, 0.03) 100%);
background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.1) 1.5em, rgba(0, 0, 0, 0.03) 100%);
background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.1) 1.5em, rgba(0, 0, 0, 0.03) 100%);
background-image: linear-gradient(left, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.1) 1.5em, rgba(0, 0, 0, 0.03) 100%);
}
.ui.vertical.menu .item:first-child:before {
background-image: none;
}
/*--- Dropdown ---*/
.ui.vertical.menu .dropdown.item > i {
float: right;
}
.ui.vertical.menu .dropdown.item .menu {
top: 0%;
left: 100%;
margin: 0em;
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.ui.vertical.menu .dropdown.item .menu .item {
font-size: 0.9em;
padding: 0.75em 1em;
}
.ui.vertical.menu .dropdown.item .menu .item .icon {
margin-right: 0em;
}
/*--- Sub Menu ---*/
.ui.vertical.menu .item > .menu {
margin: 0.5em -0.95em 0em;
}
.ui.vertical.menu .item > .menu > .item {
padding: 0.5rem 1.5rem;
font-size: 0.85em;
}
.ui.vertical.menu .item > .menu > .item:before {
display: none;
}
.ui.vertical.menu .item > .menu > .item > a {
margin: -0.5rem -1.5rem;
padding: 0.5rem 1.5rem;
}
/*--------------
Tiered
---------------*/
.ui.tiered.menu > .menu > .item {
color: rgba(0, 0, 0, 0.5);
}
.ui.tiered.menu > .menu > .item:hover,
.ui.tiered.menu > .menu > .item.hover {
color: rgba(0, 0, 0, 0.8);
}
.ui.tiered.menu .item.active {
box-shadow: 0px 1px 0px 0px #FBFBFB;
color: rgba(0, 0, 0, 0.8);
}
.ui.tiered.menu .sub.menu {
background-color: rgba(0, 0, 0, 0.01);
border-radius: 0em;
border-top: 1px solid rgba(0, 0, 0, 0.1);
box-shadow: none;
color: #FFFFFF;
}
.ui.tiered.menu .sub.menu .item {
font-size: 0.9rem;
}
.ui.tiered.menu .sub.menu .item:before {
background-image: none;
}
.ui.tiered.menu .sub.menu .active.item {
padding-top: 0.75em;
background-color: transparent;
border-radius: 0 0 0 0;
border-top: medium none;
box-shadow: none;
color: rgba(0, 0, 0, 0.7);
}
/* Inverted */
.ui.inverted.tiered.menu > .menu > .item {
color: rgba(255, 255, 255, 0.5);
}
.ui.inverted.tiered.menu .sub.menu {
background-color: rgba(0, 0, 0, 0.2);
}
.ui.inverted.tiered.menu .sub.menu .item {
color: rgba(255, 255, 255, 0.6);
}
.ui.inverted.tiered.menu > .menu > .item:hover,
.ui.inverted.tiered.menu > .menu > .item.hover {
color: rgba(255, 255, 255, 0.9);
}
.ui.inverted.tiered.menu > .sub.menu > .active.item,
.ui.inverted.tiered.menu > .menu > .active.item {
color: #ffffff;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
/*--------------
Colors
---------------*/
/*--- Light Colors ---*/
.ui.menu .green.active.item,
.ui.green.menu .active.item {
border-color: #A1CF64;
color: #A1CF64;
}
.ui.menu .red.active.item,
.ui.red.menu .active.item {
border-color: #EF4D6D;
color: #EF4D6D;
}
.ui.menu .blue.active.item,
.ui.blue.menu .active.item {
border-color: #6ECFF5;
color: #6ECFF5;
}
.ui.menu .purple.active.item,
.ui.purple.menu .active.item {
border-color: #564F8A;
color: #564F8A;
}
.ui.menu .orange.active.item,
.ui.orange.menu .active.item {
border-color: #F05940;
color: #F05940;
}
.ui.menu .teal.active.item,
.ui.teal.menu .active.item {
border-color: #00B5AD;
color: #00B5AD;
}
/*--------------
Inverted
---------------*/
.ui.inverted.menu {
background-color: #333333;
box-shadow: none;
}
.ui.inverted.menu .header.item {
margin: 0em;
background-color: rgba(255, 255, 255, 0.15);
-webkit-box-shadow: 0px -0.1em 0px 0px rgba(255, 255, 255, 0.1) inset;
-moz-box-shadow: 0px -0.1em 0px 0px rgba(255, 255, 255, 0.1) inset;
box-shadow: 0px -0.1em 0px 0px rgba(255, 255, 255, 0.1) inset;
}
.ui.inverted.menu .item,
.ui.inverted.menu .item > a {
color: #FFFFFF;
}
.ui.inverted.menu .item .item,
.ui.inverted.menu .item .item > a {
color: rgba(255, 255, 255, 0.8);
}
.ui.inverted.menu .item .item > a:hover {
background-color: rgba(255, 255, 255, 0.03);
color: rgba(255, 255, 255, 0.9);
}
.ui.inverted.menu .dropdown.item .menu .item,
.ui.inverted.menu .dropdown.item .menu .item a {
color: rgba(0, 0, 0, 0.75);
}
.ui.inverted.menu .item > p:only-child {
color: rgba(255, 255, 255, 0.75);
}
/*--- Border ---*/
.ui.inverted.menu .item:before {
background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%);
background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%);
background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%);
background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%);
background-image: linear-gradient(top, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%);
}
.ui.vertical.inverted.menu .item:before {
background-image: -webkit-linear-gradient(left, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%);
background-image: -moz-linear-gradient(left, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%);
background-image: -o-linear-gradient(left, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%);
background-image: -ms-linear-gradient(left, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%);
background-image: linear-gradient(left, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%);
}
/*--- Hover ---*/
.ui.link.inverted.menu .item:hover,
.ui.inverted.menu .item.hover,
.ui.inverted.menu .link.item:hover,
.ui.inverted.menu a.item:hover,
.ui.inverted.menu .dropdown.item.hover,
.ui.inverted.menu .dropdown.item:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.ui.inverted.menu a.item:hover,
.ui.inverted.menu .item.hover,
.ui.inverted.menu .item > a:hover,
.ui.inverted.menu .item .menu a.item:hover,
.ui.inverted.menu .item .menu a.item.hover,
.ui.inverted.menu .item .menu .link.item:hover,
.ui.inverted.menu .item .menu .link.item.hover {
color: #ffffff;
}
/*--- Down ---*/
.ui.inverted.menu .item.down,
.ui.inverted.menu a.item:active,
.ui.inverted.menu .item > a:active,
.ui.inverted.menu .item.down,
.ui.inverted.menu .dropdown.item:active,
.ui.inverted.menu .link.item:active,
.ui.inverted.menu a.item:active {
background-color: rgba(255, 255, 255, 0.15);
}
/*--- Active ---*/
.ui.inverted.menu .active.item {
border-top: none;
padding-top: 0.75em;
border-color: transparent;
background-color: rgba(255, 255, 255, 0.2);
}
.ui.inverted.menu .active.item,
.ui.inverted.menu .active.item a {
color: #ffffff;
}
/*--- Pointers ---*/
.ui.inverted.pointing.menu .active.item:after {
background-color: #505050;
box-shadow: none;
}
.ui.inverted.pointing.menu .active.item:hover:after {
background-color: #3B3B3B;
}
/*--------------
Inverted Colors
---------------*/
/*--- Light Colors ---*/
.ui.grey.menu {
background-color: #F0F0F0;
}
/*--- Inverted Colors ---*/
.ui.inverted.green.menu {
background-color: #A1CF64;
}
.ui.inverted.green.pointing.menu .active.item:after {
background-color: #A1CF64;
}
.ui.inverted.red.menu {
background-color: #EF4D6D;
}
.ui.inverted.red.pointing.menu .active.item:after {
background-color: #F16883;
}
.ui.inverted.blue.menu {
background-color: #6ECFF5;
}
.ui.inverted.blue.pointing.menu .active.item:after {
background-color: #6ECFF5;
}
.ui.inverted.purple.menu {
background-color: #564F8A;
}
.ui.inverted.purple.pointing.menu .active.item:after {
background-color: #564F8A;
}
.ui.inverted.orange.menu {
background-color: #F05940;
}
.ui.inverted.orange.pointing.menu .active.item:after {
background-color: #F05940;
}
.ui.inverted.teal.menu {
background-color: #00B5AD;
}
.ui.inverted.teal.pointing.menu .active.item:after {
background-color: #00B5AD;
}
/*--------------
Text Menu
---------------*/
.ui.text.menu {
background-color: transparent;
margin: 0rem -1rem;
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.ui.text.menu > .item {
opacity: 0.6;
margin: 0em 1em;
padding: 0em;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
color: rgba(0, 0, 0, 0.6);
-webkit-transition: opacity 0.1s linear
;
-moz-transition: opacity 0.1s linear
;
-o-transition: opacity 0.1s linear
;
-ms-transition: opacity 0.1s linear
;
transition: opacity 0.1s linear
;
}
.ui.text.menu > .item:before {
display: none;
}
.ui.text.menu .header.item {
background-color: transparent;
opacity: 1;
color: rgba(50, 50, 50, 0.8);
font-size: 0.9rem;
padding: 0em;
text-transform: uppercase;
font-weight: bold;
}
.ui.text.menu .header.item > a {
background-color: transparent;
}
/*--- fluid text ---*/
.ui.text.item.menu .item {
margin: 0em;
}
/*--- vertical text ---*/
.ui.vertical.text.menu {
margin: 1rem 0em;
}
.ui.vertical.text.menu .item {
float: left;
clear: left;
margin: 0.3em 0em;
}
.ui.vertical.text.menu .item > .icon {
float: none;
margin: 0em 0.3em 0em 0em;
}
.ui.vertical.text.menu .header.item {
margin: 0.8em 0em;
}
/*--- hover ---*/
.ui.text.menu .item.hover,
.ui.text.menu .item:hover {
opacity: 1;
background-color: transparent;
}
/*--- active ---*/
.ui.text.menu .active.item {
background-color: transparent;
padding: 0em;
border: none;
opacity: 1;
font-weight: bold;
}
/* disable variations */
.ui.text.pointing.menu .active.item:after {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.ui.text.attached.menu {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
/* colors */
.ui.green.text.menu .active.item {
color: #A1CF64;
}
.ui.red.text.menu .active.item {
color: #EF4D6D;
}
.ui.blue.text.menu .active.item {
color: #6ECFF5;
}
.ui.purple.text.menu .active.item {
color: #564F8A;
}
.ui.orange.text.menu .active.item {
color: #F05940;
}
.ui.teal.text.menu .active.item {
color: #00B5AD;
}
/*--------------
Secondary
---------------*/
.ui.secondary.menu {
background-color: transparent;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
}
.ui.secondary.menu > .item {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
border: none;
margin: 0em 0.25em;
padding: 0.5em 1em;
-webkit-border-radius: 0.325em;
-moz-border-radius: 0.325em;
border-radius: 0.325em;
}
.ui.secondary.menu > .item:before {
display: none;
}
.ui.secondary.menu .header.item {
background-color: transparent;
border-right: 0.1em solid rgba(0, 0, 0, 0.1);
-webkit-border-radius: 0em;
-moz-border-radius: 0em;
border-radius: 0em;
}
/* active */
.ui.secondary.menu > .active.item {
border-top: none;
background-color: rgba(0, 0, 0, 0.08);
}
.ui.secondary.vertical.menu > .active.item {
-webkit-border-radius: 0.325em;
-moz-border-radius: 0.325em;
border-radius: 0.325em;
}
.ui.secondary.inverted.menu > .active.item {
background-color: rgba(255, 255, 255, 0.2);
}
/* disable variations */
.ui.secondary.item.menu > .item {
margin: 0em;
}
.ui.secondary.attached.menu {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
/*---------------------
Secondary Pointing
-----------------------*/
.ui.secondary.pointing.menu {
border-bottom: 0.2rem solid rgba(0, 0, 0, 0.1);
}
.ui.secondary.pointing.menu > .item {
padding: 0.6em 0.95em;
margin: 0em;
color: rgba(0, 0, 0, 0.5);
-webkit-border-radius: 0em;
-moz-border-radius: 0em;
border-radius: 0em;
}
.ui.secondary.pointing.menu > .item:after {
display: none;
}
/* Hover */
.ui.secondary.pointing.menu > .item.hover,
.ui.secondary.pointing.menu > .item:hover {
background-color: transparent;
color: rgba(0, 0, 0, 0.7);
}
/* Down */
.ui.secondary.pointing.menu > .item:active,
.ui.secondary.pointing.menu > .item.down {
background-color: transparent;
box-shadow: 0px 0.2em 0px 0px rgba(0, 0, 0, 0.2);
}
/* Active */
.ui.secondary.pointing.menu > .item.active {
background-color: transparent;
box-shadow: 0px 0.2em 0px 0px rgba(0, 0, 0, 0.4);
color: rgba(0, 0, 0, 0.85);
}
/*------- Vertical------- */
.ui.secondary.vertical.pointing.menu {
border: none;
border-right: 0.2rem solid rgba(0, 0, 0, 0.1);
}
.ui.secondary.vertical.menu > .item {
border: none;
margin: 0.2em 0em;
padding: 0.6em 0.8em;
-webkit-border-radius: 0.325em;
-moz-border-radius: 0.325em;
border-radius: 0.325em;
}
.ui.secondary.vertical.menu > .header.item {
-webkit-border-radius: 0em;
-moz-border-radius: 0em;
border-radius: 0em;
}
.ui.secondary.vertical.pointing.menu > .item {
margin: 0em;
-webkit-border-radius: 0em;
-moz-border-radius: 0em;
border-radius: 0em;
}
/* Down */
.ui.secondary.vertical.pointing.menu > .item:active,
.ui.secondary.vertical.pointing.menu > .item.down {
box-shadow: 0.2em 0em 0em 0em rgba(0, 0, 0, 0.2);
}
/* Active */
.ui.secondary.vertical.pointing.menu > .item.active {
box-shadow: 0.2em 0em 0em 0em rgba(0, 0, 0, 0.4);
}
/*------- Inverted------- */
.ui.secondary.inverted.pointing.menu {
border-bottom: 0.2rem solid rgba(255, 255, 255, 0.1);
}
.ui.secondary.inverted.pointing.menu > .item {
color: rgba(255, 255, 255, 0.7);
}
/* Hover */
.ui.secondary.inverted.pointing.menu > .item.hover,
.ui.secondary.inverted.pointing.menu > .item:hover {
color: rgba(255, 255, 255, 0.85);
}
/* Down */
.ui.secondary.inverted.pointing.menu > .item:active,
.ui.secondary.inverted.pointing.menu > .item.down {
box-shadow: 0em 0.2em 0em 0em rgba(255, 255, 255, 0.4);
}
/* Active */
.ui.secondary.inverted.pointing.menu > .item.active {
box-shadow: 0em 0.2em 0em 0em rgba(255, 255, 255, 0.8);
color: #ffffff;
}
/*--------------
Icon Only
---------------*/
.ui.secondary.inverted.vertical.pointing.menu {
border-right: 0.2rem solid rgba(255, 255, 255, 0.1);
}
/* Down */
.ui.secondary.inverted.vertical.pointing.menu .item:active,
.ui.secondary.inverted.vertical.pointing.menu .item.down {
box-shadow: 0.2em 0em 0em 0em rgba(255, 255, 255, 0.2);
}
/* Active */
.ui.secondary.inverted.vertical.pointing.menu .item.active {
box-shadow: 0.2em 0em 0em 0em rgba(255, 255, 255, 0.4);
}
/*--------------
Icon Only
---------------*/
.ui.icon.menu,
.ui.vertical.icon.menu {
width: auto;
display: inline-block;
min-height: 0em;
}
.ui.icon.menu .item {
text-align: center;
color: rgba(60, 60, 60, 0.7);
}
.ui.icon.menu .item .icon {
display: block;
float: none;
margin: 0em auto;
color: #3c3c3c;
}
.ui.icon.menu .icon:before {
opacity: 1;
}
/* Item Icon Only */
.ui.menu .icon.item .icon {
margin: 0em;
}
/*--- inverted ---*/
.ui.inverted.icon.menu .item {
color: rgba(255, 255, 255, 0.8);
}
.ui.inverted.icon.menu .icon {
color: #ffffff;
}
/*--------------
Labeled Icon
---------------*/
.ui.labeled.icon.menu {
text-align: center;
}
.ui.labeled.icon.menu .icon {
display: block;
font-size: 1.5em;
margin: 0em auto 0.3em;
}
/*--------------
Fitted
---------------*/
.ui.fitted.menu .item,
.ui.fitted.menu .item > a,
.ui.fitted.menu .item .menu .item,
.ui.fitted.menu .item .menu .item > a,
.ui.menu .fitted.item,
.ui.menu .fitted.item > a {
padding-top: 0em;
padding-bottom: 0em;
}
/*--------------
Tight
---------------*/
.ui.tight.menu .item,
.ui.tight.menu .item > a,
.ui.tight.menu .item .menu .item,
.ui.tight.menu .item .menu .item > a,
.ui.menu .tight.item,
.ui.menu .tight.item > a {
padding: 0em;
}
/*--------------
Borderless
---------------*/
.ui.borderless.menu .item:before,
.ui.borderless.menu .item > a:before,
.ui.borderless.menu .item .menu .item:before,
.ui.borderless.menu .item .menu .item > a:before,
.ui.menu .borderless.item:before,
.ui.menu .borderless.item > a:before {
background-image: none;
}
/*-------------------
Compact
--------------------*/
.ui.compact.menu {
display: inline-block;
}
.ui.vertical.compact.menu {
width: auto !important;
}
/*-------------------
Fluid
--------------------*/
.ui.menu.fluid,
.ui.vertical.menu.fluid {
width: 100%;
}
/*-------------------
Evenly Sized
--------------------*/
.ui.item.menu,
.ui.item.menu .item {
width: 100%;
padding-left: 0px !important;
padding-right: 0px !important;
text-align: center;
}
.ui.menu.two.item .item {
width: 50%;
}
.ui.menu.three.item .item {
width: 33.333%;
}
.ui.menu.four.item .item {
width: 25%;
}
.ui.menu.five.item .item {
width: 20%;
}
.ui.menu.six.item .item {
width: 16.666%;
}
.ui.menu.seven.item .item {
width: 14.285%;
}
.ui.menu.eight.item .item {
width: 12.500%;
}
.ui.menu.nine.item .item {
width: 11.11%;
}
.ui.menu.ten.item .item {
width: 10.0%;
}
.ui.menu.eleven.item .item {
width: 9.09%;
}
.ui.menu.twelve.item .item {
width: 8.333%;
}
/*--------------
Fixed
---------------*/
.ui.menu.fixed {
position: fixed;
z-index: 10;
width: 100%;
border: none;
}
.ui.menu.fixed,
.ui.menu.fixed .item:first-child,
.ui.menu.fixed .item:last-child {
-webkit-border-radius: 0px !important;
-moz-border-radius: 0px !important;
border-radius: 0px !important;
}
.ui.menu.fixed.top {
top: 0px;
left: 0px;
right: auto;
bottom: auto;
}
.ui.menu.fixed.right {
top: 0px;
right: 0px;
left: auto;
bottom: auto;
width: auto;
height: 100%;
}
.ui.menu.fixed.bottom {
bottom: 0px;
left: 0px;
top: auto;
right: auto;
}
.ui.menu.fixed.left {
top: 0px;
left: 0px;
right: auto;
bottom: auto;
width: auto;
height: 100%;
}
/*-------------------
Pointing
--------------------*/
.ui.pointing.menu .active.item:after {
position: absolute;
bottom: -0.35em;
left: 50%;
content: "";
margin-left: -0.3em;
width: 0.6em;
height: 0.6em;
border: none;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
border-right: 1px solid rgba(0, 0, 0, 0.1);
background-image: none;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
transform: rotate(45deg);
z-index: 2;
-webkit-transition: background 0.1s linear
;
-moz-transition: background 0.1s linear
;
-o-transition: background 0.1s linear
;
-ms-transition: background 0.1s linear
;
transition: background 0.1s linear
;
}
.ui.vertical.pointing.menu .active.item:after {
position: absolute;
top: 50%;
right: -0.4em;
bottom: auto;
left: auto;
border: none;
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-right: 1px solid rgba(0, 0, 0, 0.1);
margin-top: -0.3em;
}
/* Colors */
.ui.pointing.menu .active.item:after {
background-color: #FCFCFC;
}
.ui.pointing.menu .active.item.hover:after,
.ui.pointing.menu .active.item:hover:after {
background-color: #FAFAFA;
}
.ui.pointing.menu .active.item.down:after,
.ui.pointing.menu .active.item:active:after {
background-color: #F0F0F0;
}
/*--------------
Attached
---------------*/
.ui.menu.attached {
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
/* avoid rgba multiplying */
-moz-box-shadow: 0px 0px 0px 1px #DDDDDD;
-webkit-box-shadow: 0px 0px 0px 1px #DDDDDD;
box-shadow: 0px 0px 0px 1px #DDDDDD;
}
.ui.top.attached.menu {
-moz-border-radius: 0.325em 0.325em 0px 0px;
-webkit-border-radius: 0.325em 0.325em 0px 0px;
border-radius: 0.325em 0.325em 0px 0px;
}
.ui.menu.bottom.attached {
-moz-border-radius: 0px 0px 0.325em 0.325em;
-webkit-border-radius: 0px 0px 0.325em 0.325em;
border-radius: 0px 0px 0.325em 0.325em;
}
/*--------------
Sizes
---------------*/
.ui.tiny.menu .item {
font-size: 0.875rem;
padding: 0.5em 0.75em;
}
.ui.tiny.menu .item > a {
display: block;
margin: -0.5em -0.75em;
padding: 0.5em 0.75em;
}
.ui.tiny.vertical.menu {
width: 9rem;
}
.ui.small.menu .item {
font-size: 0.875rem;
}
.ui.small.vertical.menu {
width: 13rem;
}
.ui.menu .item {
font-size: 1rem;
}
.ui.vertical.menu {
width: 15rem;
}
.ui.large.menu .item {
font-size: 1.125rem;
}
.ui.large.vertical.menu {
width: 18rem;
}