Skip to content

Instantly share code, notes, and snippets.

&:after {
content:"";
display:table;
clear:both;
}
&:before, &:after {
content: "";
position: absolute;
display: block;
margin: auto;
left: 0;
right: 0;
top: 1px;
bottom: 0;
width: 15px;
::-webkit-input-placeholder {
color: $brand-primary;
}
:-moz-placeholder { /* Firefox 18- */
color: $brand-primary;
}
::-moz-placeholder { /* Firefox 19+ */
color: $brand-primary;
}
:-ms-input-placeholder {
// 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");
}
}
@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;
.current-page-ancestor,
.current-menu-ancestor,
.current-menu-parent,
.current-page-parent,
.current_page_parent,
.current_page_ancestor,
.current-menu-item,
.current_page_item {
}