Skip to content

Instantly share code, notes, and snippets.

.current-page-ancestor,
.current-menu-ancestor,
.current-menu-parent,
.current-page-parent,
.current_page_parent,
.current_page_ancestor,
.current-menu-item,
.current_page_item {
}
@mixin drop-down($background: #fff, $textColor: #383736, $borderColor: $brand-primary) {
display: inline-block;
border: none;
position: relative;
background-color: $background;
margin-right: 13px;
> span {
color: #333;
padding: 10px 42px 10px 15px;
font-size: 16px;
// image caption rwd bg remove
if ($('html').hasClass('fancybox-lock')) {
var photo = $(".fancybox-image");
var caption = $(".fancy_texts");
if (photo.width() < caption.width()) {
caption.css("background-color", "transparent");
caption.css("padding-left", "0");
caption.css("padding-right", "0");
}
}
::-webkit-input-placeholder {
color: $brand-primary;
}
:-moz-placeholder { /* Firefox 18- */
color: $brand-primary;
}
::-moz-placeholder { /* Firefox 19+ */
color: $brand-primary;
}
:-ms-input-placeholder {
&:before, &:after {
content: "";
position: absolute;
display: block;
margin: auto;
left: 0;
right: 0;
top: 1px;
bottom: 0;
width: 15px;
&:after {
content:"";
display:table;
clear:both;
}
ul {
>li {
position: relative;
&::before {
display: inline-block;
content: '';
height: 6px;
width: 6px;
background-color: $brand-primary;
position: absolute;
display: inline-block;
overflow: hidden;
text-indent: -9999px;
&:after {
content: '';
display: inline-block;
margin-left: 7px;
height: 0;
border-style: solid;
border-width: 5px 0 5px 5px;
border-color: transparent transparent transparent $pink;
}