2011-11-23 13:01:15 +00:00
|
|
|
@import "compass/css3/images";
|
|
|
|
@import "compass/css3/border-radius";
|
|
|
|
@import "compass/css3/text-shadow";
|
|
|
|
@import "compass/css3/box-shadow";
|
2011-11-08 14:34:25 +00:00
|
|
|
@import "helpers";
|
|
|
|
|
2011-11-23 13:01:15 +00:00
|
|
|
#submenu {
|
|
|
|
position: relative;
|
2011-11-16 00:39:16 +00:00
|
|
|
|
2011-11-23 13:01:15 +00:00
|
|
|
clear: both;
|
2011-11-16 00:39:16 +00:00
|
|
|
|
2011-11-23 13:01:15 +00:00
|
|
|
z-index: 990;
|
|
|
|
// overflow: hidden;
|
2011-11-16 00:39:16 +00:00
|
|
|
|
2011-11-23 13:01:15 +00:00
|
|
|
height: 58px;
|
2011-11-16 00:39:16 +00:00
|
|
|
|
2011-11-23 13:01:15 +00:00
|
|
|
margin: -1px 8px 0 8px;
|
2011-11-16 00:39:16 +00:00
|
|
|
|
2011-11-23 13:01:15 +00:00
|
|
|
@include border-top-right-radius(4px);
|
2011-11-16 00:39:16 +00:00
|
|
|
|
2011-11-23 13:01:15 +00:00
|
|
|
@include box-shadow(rgba(0, 0, 0, 0.3) 0px -1px 10px 0px, rgba(0, 0, 0, 0.2) 0px 4px 6px 4px, rgba(255, 255, 255, 0.4) 0 1px 0 0 inset);
|
|
|
|
// @include box-shadow(rgba(0, 0, 0, 0.3) 0px -1px 10px 3px, rgba(255, 255, 255, 0.4) 0 1px 0 0 inset);
|
2011-11-08 14:34:25 +00:00
|
|
|
|
2011-11-23 13:01:15 +00:00
|
|
|
@include background-image(linear-gradient(#2478ac, #1c5d86)); // # default = blue
|
2011-11-08 14:34:25 +00:00
|
|
|
|
|
|
|
& > ul {
|
2011-11-23 13:01:15 +00:00
|
|
|
height: 58px;
|
|
|
|
margin: 0px;
|
2011-11-08 14:34:25 +00:00
|
|
|
|
|
|
|
& > li {
|
|
|
|
float: left;
|
2011-11-23 13:01:15 +00:00
|
|
|
margin: 15px 7px 0 8px;
|
2011-11-08 14:34:25 +00:00
|
|
|
|
|
|
|
&.hoverable > a span {
|
|
|
|
em {
|
|
|
|
display: inline-block;
|
|
|
|
background: transparent image-url("locomotive/menu/icons.png") no-repeat 0 -16px;
|
|
|
|
width: 12px;
|
|
|
|
height: 7px;
|
|
|
|
position: relative;
|
|
|
|
top: 0px;
|
|
|
|
left: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > a {
|
2011-11-23 13:01:15 +00:00
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
@include border-radius(16px);
|
|
|
|
@include box-shadow(rgba(255, 255, 255, 0.2) 0 1px 0 0 inset, rgba(255, 255, 255, 0.1) 0 1px 0 0);
|
|
|
|
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.4);
|
|
|
|
border-top: 1px solid rgba(0, 0, 0, 0.3);
|
|
|
|
padding: 0px 16px 0px 16px;
|
|
|
|
line-height: 26px;
|
|
|
|
outline: none;
|
|
|
|
text-decoration: none;
|
2011-11-08 14:34:25 +00:00
|
|
|
|
2011-11-23 13:01:15 +00:00
|
|
|
span {
|
|
|
|
color: #fff;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: normal;
|
|
|
|
@include single-text-shadow(rgba(0, 0, 0, 1), 1px, 1px, 1px);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.9);
|
|
|
|
border-top: 1px solid rgba(0, 0, 0, 0.8);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.on, &:active {
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
|
|
border-top: 1px solid rgba(0, 0, 0, 0.4);
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
@include box-shadow(rgba(0, 0, 0, 0) 0 1px 0 0 inset, rgba(255, 255, 255, 0.2) 0 1px 0 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.hover {
|
|
|
|
background: #fff !important;
|
|
|
|
border-color: transparent !important;
|
|
|
|
border-color-bottom: #fff;
|
|
|
|
padding-bottom: 0px;
|
|
|
|
@include border-bottom-radius(0px); // !important is missing here
|
|
|
|
position: relative;
|
|
|
|
z-index: 998;
|
|
|
|
|
|
|
|
span {
|
|
|
|
color: #8b8d9a;
|
|
|
|
text-shadow: none;
|
|
|
|
@include box-shadow(transparent 0 0 0 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
span em {
|
|
|
|
background-position: -12px -16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > em {
|
|
|
|
@include absolute-position(bottom, 0px, right, -11px);
|
|
|
|
width: 13px;
|
|
|
|
height: 13px;
|
|
|
|
background: transparent image-url("locomotive/menu/popup/bottom-right-corner.png") no-repeat 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} // > a
|
|
|
|
|
|
|
|
} // > li
|
|
|
|
} // > ul
|
2011-11-08 14:34:25 +00:00
|
|
|
|
|
|
|
& > .action {
|
2011-11-16 00:39:16 +00:00
|
|
|
@include absolute-position(top, 0px, right, 12px);
|
2011-11-23 13:01:15 +00:00
|
|
|
height: 58px;
|
2011-11-08 14:34:25 +00:00
|
|
|
padding-left: 20px;
|
|
|
|
z-index: 1;
|
|
|
|
|
2011-11-23 13:01:15 +00:00
|
|
|
border-left: 1px solid rgba(0, 0, 0, 0.3);
|
|
|
|
@include box-shadow(rgba(255, 255, 255, 0.1) 1px 0 0 0 inset);
|
2011-11-16 00:39:16 +00:00
|
|
|
|
2011-11-23 13:01:15 +00:00
|
|
|
a {
|
2011-11-08 14:34:25 +00:00
|
|
|
display: inline-block;
|
|
|
|
|
2011-11-16 10:19:57 +00:00
|
|
|
height: 20px;
|
|
|
|
line-height: 20px;
|
|
|
|
|
2011-11-23 13:01:15 +00:00
|
|
|
margin: 17px 0 0 0;
|
2011-11-08 14:34:25 +00:00
|
|
|
padding: 0px 10px 0 15px;
|
|
|
|
|
2011-11-16 10:19:57 +00:00
|
|
|
@include border-radius(10px);
|
2011-11-23 13:01:15 +00:00
|
|
|
@include box-shadow(rgba(255, 255, 255, 0.2) 0 1px 0 0 inset, rgba(255, 255, 255, 0.1) 0 1px 0 0);
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.4);
|
|
|
|
border-top: 1px solid rgba(0, 0, 0, 0.3);
|
2011-11-16 10:19:57 +00:00
|
|
|
|
2011-11-08 14:34:25 +00:00
|
|
|
text-decoration: none;
|
2011-11-16 10:19:57 +00:00
|
|
|
font-size: 11px;
|
2011-11-08 14:34:25 +00:00
|
|
|
|
|
|
|
em {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
background: transparent image-url("locomotive/menu/icons.png") no-repeat 0 0px;
|
|
|
|
height: 11px;
|
|
|
|
width: 11px;
|
2011-11-16 10:19:57 +00:00
|
|
|
top: 2px;
|
2011-11-08 14:34:25 +00:00
|
|
|
left: -5px;
|
|
|
|
}
|
2011-11-16 10:19:57 +00:00
|
|
|
|
|
|
|
span {
|
2011-11-23 13:01:15 +00:00
|
|
|
color: #fff;
|
2011-11-16 10:19:57 +00:00
|
|
|
font-size: 11px;
|
2011-11-23 13:01:15 +00:00
|
|
|
@include single-text-shadow(rgba(0, 0, 0, 1), 1px, 1px, 1px);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.9);
|
|
|
|
border-top: 1px solid rgba(0, 0, 0, 0.8);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.on, &:active {
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
|
|
border-top: 1px solid rgba(0, 0, 0, 0.4);
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
@include box-shadow(rgba(0, 0, 0, 0) 0 1px 0 0 inset, rgba(255, 255, 255, 0.2) 0 1px 0 0);
|
2011-11-16 10:19:57 +00:00
|
|
|
}
|
2011-11-08 14:34:25 +00:00
|
|
|
}
|
|
|
|
}
|
2011-11-23 13:01:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.submenu-popup {
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
min-width: 250px;
|
|
|
|
z-index: 999;
|
2011-11-08 14:34:25 +00:00
|
|
|
|
2011-11-23 13:01:15 +00:00
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
.wrapper {
|
2011-11-08 14:34:25 +00:00
|
|
|
|
|
|
|
background: #fff;
|
2011-11-23 13:01:15 +00:00
|
|
|
|
|
|
|
@include box-shadow(rgba(0, 0, 0, 0.5) 0px 8px 10px 0px);
|
2011-11-08 14:34:25 +00:00
|
|
|
@include border-radius(16px);
|
|
|
|
@include border-top-left-radius(0px);
|
2011-11-23 13:01:15 +00:00
|
|
|
|
|
|
|
text-align: left;
|
2011-11-08 14:34:25 +00:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: #1f82bc;
|
|
|
|
text-decoration: none;
|
|
|
|
&:hover { text-decoration: underline; }
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
border-bottom: 1px dotted #bbbbbd;
|
|
|
|
padding-bottom: 6px;
|
|
|
|
margin: 0px 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inner { padding: 8px 16px; }
|
|
|
|
|
|
|
|
h2 {
|
2011-11-16 10:19:57 +00:00
|
|
|
font-size: 11px;
|
2011-11-08 14:34:25 +00:00
|
|
|
font-weight: bold;
|
|
|
|
color: #1e1f26;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 10px 0 0 0px;
|
|
|
|
|
|
|
|
a {
|
2011-11-16 10:19:57 +00:00
|
|
|
font-size: 13px;
|
2011-11-08 14:34:25 +00:00
|
|
|
background: transparent image-url("locomotive/menu/popup/add.png") no-repeat left 4px;
|
|
|
|
padding-left: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.edit {
|
|
|
|
padding-top: 0px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
background: transparent image-url("locomotive/menu/popup/bullet.png") no-repeat left 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-image: image-url("locomotive/menu/popup/bullet.png");
|
|
|
|
margin: 0px 0px 0 15px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
position: relative;
|
2011-11-16 10:19:57 +00:00
|
|
|
height: 24px;
|
|
|
|
line-height: 24px;
|
2011-11-08 14:34:25 +00:00
|
|
|
|
2011-11-16 10:19:57 +00:00
|
|
|
a { font-size: 11px; }
|
2011-11-08 14:34:25 +00:00
|
|
|
|
|
|
|
span {
|
2011-11-16 10:19:57 +00:00
|
|
|
@include absolute-position(top, -1px, right, 0px, inline);
|
2011-11-08 14:34:25 +00:00
|
|
|
color: #8b8d9a;
|
2011-11-16 10:19:57 +00:00
|
|
|
font-size: 11px;
|
2011-11-08 14:34:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.big-links {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin: 10px 0;
|
|
|
|
|
|
|
|
a {
|
|
|
|
@include border-radius(16px);
|
|
|
|
padding: 3px 10px;
|
|
|
|
background: #ebedf4;
|
|
|
|
font-weight: bold;
|
2011-11-16 10:19:57 +00:00
|
|
|
font-size: 13px;
|
2011-11-08 14:34:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
background: #ebedf4;
|
|
|
|
padding: 8px 16px;
|
|
|
|
@include border-bottom-radius(16px);
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #8b8d9a;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2011-11-23 13:01:15 +00:00
|
|
|
} // submenu-popup
|