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.
927 lines
22 KiB
927 lines
22 KiB
/*
|
|
* # Semantic Menu - Flat
|
|
* 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: 5px;
|
|
-moz-border-radius: 5px;
|
|
border-radius: 5px;
|
|
}
|
|
.ui.menu:after {
|
|
content: ".";
|
|
display: block;
|
|
height: 0;
|
|
clear: both;
|
|
visibility: hidden;
|
|
}
|
|
.ui.menu > .item:first-child {
|
|
border-radius: 5px 0px 0px 5px;
|
|
}
|
|
.ui.menu > .item:last-child {
|
|
border-radius: 0px 5px 5px 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: 1.2em;
|
|
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(80, 80, 80, 0.95);
|
|
}
|
|
.ui.menu .item > a:hover {
|
|
background-color: rgba(0, 0, 0, 0.03);
|
|
color: rgba(30, 30, 30, 0.95);
|
|
}
|
|
.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 .item.active,
|
|
.ui.menu .item.active 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;
|
|
}
|
|
.ui.menu .item > p:first-child {
|
|
margin-top: 0px;
|
|
}
|
|
.ui.menu .item > p:only-child {
|
|
margin: 0px;
|
|
}
|
|
/*--------------
|
|
Header
|
|
---------------*/
|
|
.ui.menu .header.item {
|
|
background-color: rgba(0, 0, 0, 0.15);
|
|
font-weight: bold;
|
|
-webkit-box-shadow: 0 -0.1em 0 0 rgba(0, 0, 0, 0.1) inset;
|
|
-moz-box-shadow: 0 -0.1em 0 0 rgba(0, 0, 0, 0.1) inset;
|
|
box-shadow: 0 -0.1em 0 0 rgba(0, 0, 0, 0.1) inset;
|
|
}
|
|
/*--------------
|
|
Dropdowns
|
|
---------------*/
|
|
.ui.menu .dropdown.item {
|
|
box-shadow: none !important;
|
|
z-index: 10;
|
|
}
|
|
.ui.menu .dropdown.item .menu {
|
|
overflow: hidden;
|
|
height: 0px;
|
|
width: 0px;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0px;
|
|
background-color: #FFFFFF;
|
|
opacity: 0;
|
|
-moz-border-radius: 0px 0px 5px 5px;
|
|
-webkit-border-radius: 0px 0px 5px 5px;
|
|
border-radius: 0px 0px 5px 5px;
|
|
-webkit-transition: opacity 0.2s ease-out;
|
|
-moz-transition: opacity 0.2s ease-out;
|
|
-o-transition: opacity 0.2s ease-out;
|
|
-ms-transition: opacity 0.2s ease-out;
|
|
transition: opacity 0.2s ease-out;
|
|
z-index: 11;
|
|
}
|
|
.ui.menu .dropdown.item .menu .item {
|
|
border: none;
|
|
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
font-size: 0.9em;
|
|
display: block;
|
|
color: rgba(0, 0, 0, 0.75);
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
.ui.menu .dropdown.item .menu .item.active {
|
|
font-weight: bold;
|
|
}
|
|
.ui.menu .dropdown.item .menu .item:first-child {
|
|
border-top: none;
|
|
}
|
|
.ui.menu .dropdown.item:last-child .menu {
|
|
left: auto;
|
|
right: 0px;
|
|
}
|
|
/*--------------
|
|
Labels
|
|
---------------*/
|
|
.ui.menu .item > .label,
|
|
.ui.menu .item > a > .label {
|
|
font-size: 0.9em;
|
|
line-height: 1.33;
|
|
margin: -0.2em 0.6em;
|
|
padding: 0.2em 0.6em;
|
|
vertical-align: top;
|
|
text-transform: none;
|
|
}
|
|
.ui.vertical.menu .item > .label,
|
|
.ui.vertical.menu .item > a > .label {
|
|
display: block;
|
|
float: right;
|
|
}
|
|
/*--------------
|
|
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.hover,
|
|
.ui.menu .dropdown.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);
|
|
}
|
|
/* Dropdown Display */
|
|
.ui.menu .dropdown.item:hover .menu {
|
|
display: block;
|
|
overflow: visible;
|
|
min-width: 150px;
|
|
width: 100%;
|
|
height: auto;
|
|
opacity: 1;
|
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
border-top: none;
|
|
-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
|
|
-moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
|
|
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
|
|
}
|
|
/*--------------
|
|
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 .item.active {
|
|
border-top: 0.2em solid #999999;
|
|
padding-top: 0.55em;
|
|
color: rgba(0, 0, 0, 0.95);
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
}
|
|
.ui.vertical.menu .item.active {
|
|
border-top: none;
|
|
border-left: 0.2em solid #999999;
|
|
padding-top: 0.75em;
|
|
padding-left: 0.75em;
|
|
}
|
|
.ui.vertical.menu .item.active .menu .item.active {
|
|
border-left: none;
|
|
}
|
|
.ui.vertical.menu .item .menu .item.active {
|
|
padding-top: 0.5em;
|
|
padding-left: 1.3em;
|
|
}
|
|
/*--------------
|
|
Disabled
|
|
---------------*/
|
|
.ui.menu .item.disabled,
|
|
.ui.menu .item.disabled:hover,
|
|
.ui.menu .item.disabled.hover {
|
|
cursor: default;
|
|
opacity: 0.3;
|
|
background-color: transparent;
|
|
}
|
|
/*******************************
|
|
Variations
|
|
*******************************/
|
|
/*--------------
|
|
Inverted
|
|
---------------*/
|
|
.ui.inverted.menu {
|
|
background-color: #333333;
|
|
box-shadow: none;
|
|
}
|
|
.ui.inverted.menu .header.item {
|
|
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);
|
|
}
|
|
/*--- 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 ---*/
|
|
/*--- Down ---*/
|
|
.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.1);
|
|
-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1) inset;
|
|
-moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1) inset;
|
|
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1) inset;
|
|
}
|
|
.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.05);
|
|
}
|
|
.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;
|
|
}
|
|
/*--- Active ---*/
|
|
.ui.inverted.menu .item.active {
|
|
border-color: transparent;
|
|
background-color: rgba(255, 255, 255, 0.15);
|
|
}
|
|
.ui.inverted.menu .item.active,
|
|
.ui.inverted.menu .item.active a {
|
|
color: #ffffff;
|
|
}
|
|
/*--- Pointers ---*/
|
|
.ui.inverted.pointing.menu .item.active:after {
|
|
background-color: #505050;
|
|
box-shadow: none;
|
|
}
|
|
.ui.inverted.pointing.menu .item.active:hover:after {
|
|
background-color: #3B3B3B;
|
|
}
|
|
/*--------------
|
|
Colors
|
|
---------------*/
|
|
/*--- Light Colors ---*/
|
|
.ui.grey.menu {
|
|
background-color: #F0F0F0;
|
|
}
|
|
/*--- Inverted Colors ---*/
|
|
.ui.inverted.green.menu {
|
|
background-color: #A1CF64;
|
|
}
|
|
.ui.inverted.green.pointing.menu .item.active:after {
|
|
background-color: #A1CF64;
|
|
}
|
|
.ui.inverted.red.menu {
|
|
background-color: #EF4D6D;
|
|
}
|
|
.ui.inverted.red.pointing.menu .item.active:after {
|
|
background-color: #F16883;
|
|
}
|
|
.ui.inverted.blue.menu {
|
|
background-color: #6ECFF5;
|
|
}
|
|
.ui.inverted.blue.pointing.menu .item.active:after {
|
|
background-color: #6ECFF5;
|
|
}
|
|
.ui.inverted.purple.menu {
|
|
background-color: #564F8A;
|
|
}
|
|
.ui.inverted.purple.pointing.menu .item.active:after {
|
|
background-color: #564F8A;
|
|
}
|
|
.ui.inverted.orange.menu {
|
|
background-color: #F05940;
|
|
}
|
|
.ui.inverted.orange.pointing.menu .item.active:after {
|
|
background-color: #F05940;
|
|
}
|
|
.ui.inverted.teal.menu {
|
|
background-color: #00B5AD;
|
|
}
|
|
.ui.inverted.teal.pointing.menu .item.active:after {
|
|
background-color: #00B5AD;
|
|
}
|
|
/*--------------
|
|
Text Menu
|
|
---------------*/
|
|
.ui.text.menu {
|
|
background-color: transparent;
|
|
-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: 0.35em 0.5em;
|
|
padding: 0em;
|
|
-webkit-border-radius: 0px;
|
|
-moz-border-radius: 0px;
|
|
border-radius: 0px;
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
-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;
|
|
margin: 0em 0.5em 0em 0em;
|
|
padding: 0.35em 0.5em;
|
|
opacity: 1;
|
|
color: rgba(50, 50, 50, 0.8);
|
|
font-size: 0.9rem;
|
|
text-transform: uppercase;
|
|
font-weight: bold;
|
|
}
|
|
/*--- fluid text ---*/
|
|
.ui.fluid.text.menu {
|
|
margin: 0em;
|
|
}
|
|
/*--- vertical text ---*/
|
|
.ui.vertical.text.menu .item {
|
|
float: left;
|
|
clear: left;
|
|
}
|
|
.ui.vertical.text.menu .header.item {
|
|
margin: 0em 0em 0.5em 0em;
|
|
padding: 0.35em 0.5em;
|
|
}
|
|
/*--- 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 item.active: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;
|
|
}
|
|
/*--------------
|
|
Basic
|
|
---------------*/
|
|
.ui.basic.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.basic.menu .item {
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
-webkit-border-radius: 0px;
|
|
-moz-border-radius: 0px;
|
|
border-radius: 0px;
|
|
}
|
|
.ui.basic.menu .item:before {
|
|
display: none;
|
|
}
|
|
/* disable variations */
|
|
.ui.basic.pointing.menu item.active:after {
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
.ui.basic.attached.menu {
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
/*--------------
|
|
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 .icon {
|
|
display: block;
|
|
margin: 0em auto;
|
|
color: #3c3c3c;
|
|
}
|
|
.ui.icon.menu .icon:before {
|
|
opacity: 1;
|
|
}
|
|
/*--- 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;
|
|
}
|
|
/*--------------
|
|
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;
|
|
}
|
|
/*--- 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 {
|
|
width: auto;
|
|
top: 0%;
|
|
left: 100%;
|
|
margin: 0px 0px 0px 1px;
|
|
-moz-border-radius: 0px 5px 5px 0px;
|
|
-webkit-border-radius: 0px 5px 5px 0px;
|
|
border-radius: 0px 5px 5px 0px;
|
|
border-left: none;
|
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
font-size: 1em;
|
|
}
|
|
.ui.vertical.menu .dropdown.item .menu .item {
|
|
font-size: 1em;
|
|
}
|
|
/*--- Sub Menu ---*/
|
|
.ui.vertical.menu .item > .menu {
|
|
margin: 0.5em -1em 0em;
|
|
}
|
|
.ui.vertical.menu .item > .menu > .item > .icon {
|
|
margin-right: 0.7em;
|
|
}
|
|
.ui.vertical.menu .item > .menu > .item {
|
|
padding: 0.5em 1.5em;
|
|
font-size: 0.85em;
|
|
}
|
|
.ui.vertical.menu .item > .menu > .item:before {
|
|
display: none;
|
|
}
|
|
.ui.vertical.menu .item > .menu > .item > a {
|
|
margin: -0.5em -1.5em;
|
|
padding: 0.5em 1.5em;
|
|
}
|
|
/*--------------
|
|
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 .item.active: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 .item.active: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 .item.active:after {
|
|
background-color: #F3F3F3;
|
|
}
|
|
.ui.pointing.menu .item.active.hover:after,
|
|
.ui.pointing.menu .item.active:hover:after {
|
|
background-color: #FAFAFA;
|
|
}
|
|
.ui.pointing.menu .item.active.down:after,
|
|
.ui.pointing.menu .item.active: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: 5px 5px 0px 0px;
|
|
-webkit-border-radius: 5px 5px 0px 0px;
|
|
border-radius: 5px 5px 0px 0px;
|
|
}
|
|
.ui.menu.bottom.attached {
|
|
-moz-border-radius: 0px 0px 5px 5px;
|
|
-webkit-border-radius: 0px 0px 5px 5px;
|
|
border-radius: 0px 0px 5px 5px;
|
|
}
|
|
/*---------------------
|
|
Stateful Dropdown
|
|
----------------------*/
|
|
.ui.menu .dynamic.dropdown.item:hover .menu {
|
|
display: none;
|
|
}
|
|
.ui.menu .dynamic.dropdown.item.hover .menu {
|
|
display: block;
|
|
}
|
|
/*--------------
|
|
Sizes
|
|
---------------*/
|
|
.ui.small.menu .item {
|
|
font-size: 0.875rem;
|
|
min-height: 1.2em;
|
|
}
|
|
.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;
|
|
min-height: 1.35em;
|
|
}
|
|
.ui.large.vertical.menu {
|
|
width: 18rem;
|
|
}
|