*,
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
}
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 60px;
}
input[placeholder] {text-overflow:ellipsis;}
input::-moz-placeholder {text-overflow:ellipsis;}
input:-moz-placeholder {text-overflow:ellipsis;}
input:-ms-input-placeholder {text-overflow:ellipsis;}
:focus::-webkit-input-placeholder {color: transparent}
:focus::-moz-placeholder {color: transparent}
:focus:-moz-placeholder {color: transparent}
:focus:-ms-input-placeholder {color: transparent}
label {
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
textarea {
resize: vertical;
}
address {
font-style: normal;
}
input:focus,
textarea:focus {
outline: none;
}
img {
height: auto;
max-width: 100%;
width: auto\9;
}
.video {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
}
.video iframe,
.video object,
.video embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.break-word {
word-wrap: break-word;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
ol {
counter-reset: list1;
li:before {
counter-increment: list1;
content: counter(list1) '. ';
}
ol {
counter-reset: list2;
li:before {
counter-increment: list2;
content: counter(list1) '.' counter(list2) '. ';
}
ol {
counter-reset: list3;
li:before {
counter-increment: list3;
content: counter(list1) '.' counter(list2) '.' counter(list3) '. ';
}
}
}
}
@-webkit-viewport {
width: device-width;
zoom: 1.0;
}
@-moz-viewport {
width: device-width;
zoom: 1.0;
}
@-ms-viewport {
width: device-width;
zoom: 1.0;
}
@-o-viewport {
width: device-width;
zoom: 1.0;
}
@viewport {
width: device-width;
zoom: 1.0;
}
.absolute.center,
.fixed.center {
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.center, .right.left{
margin:auto
}
.top { top:0 }
.right { right: 0 }
.bottom { bottom: 0 }
.left { left: 0 }
.btn-disabled {
background: #ccc !important;
cursor: not-allowed !important;
background: #ccc !important;
}
.btn-disabled:hover {
-webkit-box-shadow:none !important;
box-shadow:none !important;
background: #ccc !important;
}
.img-gray {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
filter: gray; /* IE 6-9 */
-webkit-transition: all 1s;
-moz-transition: all 1s;
-o-transition: all 1s;
transition: all 1s;
}
.img-color:hover {
-webkit-filter: none;
-moz-filter: none;
-ms-filter: none;
-o-filter: none;
filter: none;
filter: none; /* IE 6-9 */
}
.parallax {
background-size: cover;
background-attachment: fixed;
background-position: center center;
background-repeat: no-repeat;
}
.bg-cover {
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}
@mixin word-wrap() {
-ms-word-break: break-all;
word-break: break-all;
word-break: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
<html lang="ru"></html>
.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.like-inline:after {
content: '\A';
white-space: pre;
}
dl
dt Артикул
dd 1729110
dt Рост
dd 164
.ib {
display: inline-block;
vertical-align: top;
zoom: 1;
*display: inline;
}
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
button {
cursor: pointer;
}
input, textarea, button {
outline: none;
}
input, button {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.inner {
width: 100%;
display: table;
}
.inner:after {
width: 100%;
clear: both;
display: block;
content: ' ';
}
* html .inner {
margin-left: -3px;
}
::-webkit-input-placeholder { color: #000000; opacity: .45; }
:-moz-placeholder { color: #000000; opacity: .45; }
::-moz-placeholder { color: #000000; opacity: .45; }
:-ms-input-placeholder { color: #000000; opacity: .45; }
.disable-hover {
pointer-events: none;
}
.vertical-middle {
white-space: nowrap;
> *{
display: inline-block;
vertical-align: middle;
white-space: normal;
}
&:after{
content: '';
display: inline-block;
height: 100%;
width: 0;
vertical-align: middle;
}
}
.justi {
text-align: justify;
display: block;
&:after {
content:'';
display: inline-block;
width: 100%;
height: 0;
visibility: hidden;
}
}