2017-01-21 07:34:32 +03:00
|
|
|
/* Specifically override browser styles */
|
2016-12-22 13:17:14 +03:00
|
|
|
input, textarea, select, button {
|
|
|
|
font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
|
|
|
|
}
|
|
|
|
.select2-container-multi .select2-choices .select2-search-field input, .select2-search input, .ui-widget {
|
|
|
|
font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif !important;
|
|
|
|
}
|
|
|
|
|
2017-01-21 07:34:32 +03:00
|
|
|
/* Simple selector to allow easy overriding */
|
|
|
|
select,
|
|
|
|
button,
|
|
|
|
input,
|
|
|
|
textarea {
|
2016-12-22 13:17:14 +03:00
|
|
|
width: 130px;
|
2017-01-21 07:34:32 +03:00
|
|
|
min-height: 32px;
|
|
|
|
box-sizing: border-box;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
|
2017-01-21 07:34:32 +03:00
|
|
|
/* Default global values */
|
|
|
|
select,
|
|
|
|
button, .button,
|
|
|
|
input:not([type='range']),
|
|
|
|
textarea,
|
|
|
|
#quota, .pager li a {
|
2016-12-22 13:17:14 +03:00
|
|
|
margin: 3px 3px 3px 0;
|
2017-01-21 07:34:32 +03:00
|
|
|
padding: 7px 6px;
|
2016-12-22 13:17:14 +03:00
|
|
|
font-size: 13px;
|
|
|
|
background-color: #fff;
|
|
|
|
color: #333;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
outline: none;
|
|
|
|
border-radius: 3px;
|
2017-01-21 07:34:32 +03:00
|
|
|
&:not(:disabled):not(.disabled):not(.primary) {
|
|
|
|
&:hover, &.hover, &:focus, &.focus {
|
|
|
|
border-color: #0082c9;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
&:active,
|
|
|
|
&.active {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
&:active,
|
|
|
|
&.active {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&:disabled,
|
|
|
|
&.disabled {
|
|
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
|
|
color: #999;
|
|
|
|
cursor: default;
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
|
|
|
/* Primary action button, use sparingly */
|
|
|
|
&.primary {
|
|
|
|
border: 1px solid #0082c9;
|
|
|
|
background-color: #00a2e9;
|
|
|
|
color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
&:not(:disabled):not(.disabled) {
|
|
|
|
&:hover, &.hover, &:focus, &.focus {
|
|
|
|
background-color: #0092d9;
|
|
|
|
}
|
|
|
|
&:active,
|
|
|
|
&.active {
|
|
|
|
background-color: #00a2e9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:disabled,
|
|
|
|
&.disabled {
|
|
|
|
background-color: #00a2e9;
|
|
|
|
color: #bbb;
|
|
|
|
}
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-21 07:34:32 +03:00
|
|
|
/* Specific override */
|
2016-12-22 13:17:14 +03:00
|
|
|
input {
|
2017-01-21 07:34:32 +03:00
|
|
|
&:not([type='radio']):not([type='checkbox']):not([type='range']):not([type='submit']):not([type='button']):not([type='reset']):not([type='color']):not([type='file']):not([type='image']) {
|
2016-12-22 13:17:14 +03:00
|
|
|
-webkit-appearance: textfield;
|
|
|
|
-moz-appearance: textfield;
|
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&[type='radio'],
|
|
|
|
&[type='checkbox'],
|
|
|
|
&[type='file'],
|
|
|
|
&[type='image'] {
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
/* Color input doesn't respect the initial height
|
|
|
|
so we need to set a custom one */
|
|
|
|
&[type='color'] {
|
|
|
|
margin: 3px;
|
|
|
|
padding: 0 2px;
|
|
|
|
min-height: 30px;
|
|
|
|
width: 40px;
|
|
|
|
cursor: pointer;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&[type='hidden'] {
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&[type='time'] {
|
|
|
|
width: initial;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 'Click' inputs */
|
|
|
|
select,
|
|
|
|
button,
|
|
|
|
.button,
|
|
|
|
input[type='button'],
|
|
|
|
input[type='submit'],
|
|
|
|
input[type='reset'] {
|
|
|
|
padding: 6px 12px;
|
|
|
|
width: auto;
|
|
|
|
min-height: 34px;
|
|
|
|
cursor: pointer;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background-color: #fafafa;
|
|
|
|
box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, 0.15);
|
|
|
|
&:active,
|
|
|
|
&.active {
|
|
|
|
box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.15);
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Buttons */
|
|
|
|
button,
|
|
|
|
.button,
|
|
|
|
input[type='button'],
|
|
|
|
input[type='submit'],
|
|
|
|
input[type='reset'] {
|
|
|
|
font-weight: bold;
|
|
|
|
/* Get rid of the ugly firefox dotted line */
|
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
}
|
|
|
|
textarea {
|
|
|
|
color: #555;
|
|
|
|
cursor: text;
|
|
|
|
font-family: inherit;
|
|
|
|
height: auto;
|
|
|
|
&:not(:disabled):not(.disabled) {
|
|
|
|
&:active, &.active, &:hover, &.hover, &:focus, &.focus {
|
|
|
|
border-color: #ddd !important;
|
|
|
|
background-color: #fff !important;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-21 07:34:32 +03:00
|
|
|
/* Override the ugly select arrow */
|
|
|
|
select {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
appearance: none;
|
|
|
|
background: url('../img/actions/triangle-s.svg') no-repeat right 4px center;
|
|
|
|
background-color: inherit;
|
|
|
|
outline: 0;
|
|
|
|
padding-right: 24px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Various Fixes */
|
|
|
|
button img,
|
|
|
|
.button img {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
#header .button {
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
#quota {
|
|
|
|
color: #555;
|
|
|
|
}
|
|
|
|
select,
|
|
|
|
.button.multiselect {
|
|
|
|
font-weight: 400;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
|
2017-01-21 07:34:32 +03:00
|
|
|
/* Radio & Checkboxes */
|
2016-12-22 13:17:14 +03:00
|
|
|
input {
|
2017-01-21 07:34:32 +03:00
|
|
|
&[type='checkbox'],
|
|
|
|
&[type='radio'] {
|
|
|
|
&.radio,
|
2016-12-22 13:17:14 +03:00
|
|
|
&.checkbox {
|
|
|
|
position: absolute;
|
|
|
|
left: -10000px;
|
|
|
|
top: auto;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
overflow: hidden;
|
2017-01-21 07:34:32 +03:00
|
|
|
+ label {
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
&:disabled + label,
|
|
|
|
&:disabled + label:before {
|
|
|
|
cursor: default;
|
|
|
|
}
|
2016-12-22 13:17:14 +03:00
|
|
|
+ label:before {
|
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
2017-01-21 07:34:32 +03:00
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
2016-12-22 13:17:14 +03:00
|
|
|
vertical-align: middle;
|
2017-01-21 07:34:32 +03:00
|
|
|
border-radius: 50%;
|
|
|
|
margin: 3px;
|
|
|
|
border: 1px solid #888;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&:not(:disabled):not(:checked) + label:hover:before,
|
|
|
|
&:focus + label:before {
|
|
|
|
border-color: #0082c9;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&:checked + label:before,
|
|
|
|
&.checkbox:indeterminate + label:before {
|
|
|
|
/* ^ :indeterminate have a strange behavior on radio,
|
|
|
|
so we respecified the checkbox class again to be safe */
|
|
|
|
box-shadow: inset 0px 0px 0px 2px #fff;
|
|
|
|
background-color: #0082c9;
|
|
|
|
border-color: #0082c9
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
&:disabled + label:before {
|
2017-01-21 07:34:32 +03:00
|
|
|
background-color: #ccc !important; /* override other status */
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
&:checked:disabled + label:before {
|
2017-01-21 07:34:32 +03:00
|
|
|
box-shadow: inset 0px 0px 0px 2px #fff;
|
|
|
|
border-color: #aaa;
|
|
|
|
background-color: #bbb;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&.checkbox {
|
2016-12-22 13:17:14 +03:00
|
|
|
+ label:before {
|
2017-01-21 07:34:32 +03:00
|
|
|
border-radius: 1px;
|
|
|
|
height: 11px;
|
|
|
|
width: 11px;
|
|
|
|
box-shadow: none !important;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&:checked + label,
|
|
|
|
&:indeterminate + label {
|
|
|
|
position: relative;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&:checked + label:after,
|
|
|
|
&:indeterminate + label:after {
|
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&:checked + label:after {
|
|
|
|
width: 7px;
|
|
|
|
height: 3px;
|
|
|
|
border: 1px solid #fff;
|
|
|
|
top: 7px;
|
|
|
|
left: 5px;
|
|
|
|
border-width: 0 0 2px 2px;
|
|
|
|
transform: rotate(-45deg);
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&:indeterminate + label:after {
|
|
|
|
width: 9px;
|
|
|
|
height: 3px;
|
|
|
|
top: 9px;
|
|
|
|
left: 5px;
|
|
|
|
background-color: #fff;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
&:indeterminate:disabled + label:before {
|
2017-01-21 07:34:32 +03:00
|
|
|
border-color: #888;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&.radio--white,
|
|
|
|
&.checkbox--white {
|
2016-12-22 13:17:14 +03:00
|
|
|
+ label:before {
|
2017-01-21 07:34:32 +03:00
|
|
|
border-color: #aaa;
|
|
|
|
}
|
|
|
|
&:not(:disabled):not(:checked) + label:hover:before,
|
|
|
|
&:focus + label:before {
|
|
|
|
border-color: #fff;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&:checked + label:before,
|
|
|
|
&.checkbox:indeterminate + label:before {
|
|
|
|
/* ^ :indeterminate have a strange behavior on radio,
|
|
|
|
so we respecified the checkbox class again to be safe */
|
|
|
|
box-shadow: inset 0px 0px 0px 2px #000;
|
|
|
|
background-color: #eee;
|
|
|
|
border-color: #eee
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
&:disabled + label:before {
|
2017-01-21 07:34:32 +03:00
|
|
|
background-color: #666 !important; /* override other status */
|
|
|
|
border-color: #999 !important; /* override other status */
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
&:checked:disabled + label:before {
|
2017-01-21 07:34:32 +03:00
|
|
|
box-shadow: inset 0px 0px 0px 2px #000;
|
|
|
|
border-color: #666;
|
|
|
|
background-color: #222;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&.checkbox--white {
|
|
|
|
&:checked + label:after {
|
|
|
|
border-color: #000;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&:checked:disabled + label:after {
|
|
|
|
border-color: #aaa;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&:indeterminate + label:after {
|
|
|
|
background-color: #000;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&:indeterminate:disabled + label:after {
|
|
|
|
background-color: #aaa;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-21 07:34:32 +03:00
|
|
|
/* Select2 overriding. Merged to core with vendor stylesheet */
|
|
|
|
.select2-drop {
|
2016-12-22 13:17:14 +03:00
|
|
|
margin-top: -2px;
|
|
|
|
&.select2-drop-active {
|
|
|
|
border-color: #ddd;
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 8px;
|
|
|
|
vertical-align: middle;
|
|
|
|
img {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.select2-search input {
|
|
|
|
width: calc(100% - 14px);
|
|
|
|
min-height: auto;
|
|
|
|
background: url('../img/actions/search.svg') no-repeat right center !important;
|
|
|
|
background-origin: content-box !important;
|
|
|
|
}
|
|
|
|
.select2-results {
|
|
|
|
max-height: 250px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
.select2-result-label {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
span {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
.select2-result,
|
|
|
|
.select2-no-results,
|
|
|
|
.select2-searching {
|
2016-12-22 13:17:14 +03:00
|
|
|
position: relative;
|
|
|
|
display: list-item;
|
|
|
|
padding: 12px;
|
|
|
|
background-color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
color: #222;
|
|
|
|
}
|
|
|
|
.select2-result {
|
|
|
|
&.select2-selected {
|
|
|
|
background-color: #f8f8f8;
|
|
|
|
}
|
|
|
|
&.select2-highlighted {
|
|
|
|
background-color: #f8f8f8;
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
.select2-chosen,
|
|
|
|
#select2-drop {
|
|
|
|
.avatar,
|
|
|
|
.avatar img {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
2016-12-22 13:17:14 +03:00
|
|
|
.select2-container-multi {
|
2017-01-21 07:34:32 +03:00
|
|
|
.select2-choices,
|
|
|
|
&.select2-container-active .select2-choices {
|
2016-12-22 13:17:14 +03:00
|
|
|
box-shadow: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
background: #fff;
|
|
|
|
color: #555;
|
|
|
|
box-sizing: content-box;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
margin: 0;
|
|
|
|
padding: 2px 0;
|
|
|
|
min-height: auto;
|
2017-01-21 07:34:32 +03:00
|
|
|
.select2-search-choice {
|
|
|
|
line-height: 20px;
|
|
|
|
padding-left: 5px;
|
|
|
|
&.select2-search-choice-focus,
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
& {
|
|
|
|
background-image: none;
|
|
|
|
background-color: #fff;
|
|
|
|
color: #333;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
.select2-search-choice-close {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
.select2-search-field input {
|
|
|
|
line-height: 20px;
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.select2-container {
|
|
|
|
margin: 3px 3px 3px 0;
|
|
|
|
&.select2-container-multi .select2-choices {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
li {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.select2-choice {
|
2017-01-21 07:34:32 +03:00
|
|
|
box-shadow: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
background: #fff;
|
|
|
|
color: #555;
|
|
|
|
box-sizing: content-box;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
margin: 0;
|
|
|
|
padding: 2px 0;
|
|
|
|
padding-left: 6px;
|
|
|
|
min-height: auto;
|
|
|
|
.select2-search-choice {
|
|
|
|
line-height: 20px;
|
|
|
|
padding-left: 5px;
|
|
|
|
background-image: none;
|
|
|
|
background-color: #f8f8f8;
|
|
|
|
border-color: #f8f8f8;
|
|
|
|
.select2-search-choice-close {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
&.select2-search-choice-focus,
|
|
|
|
&:hover {
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
border-color: #f0f0f0;
|
|
|
|
}
|
|
|
|
}
|
2016-12-22 13:17:14 +03:00
|
|
|
.select2-arrow {
|
|
|
|
background: none;
|
|
|
|
border-radius: 0;
|
|
|
|
border: none;
|
|
|
|
b {
|
|
|
|
background: url('../img/actions/triangle-s.svg') no-repeat center !important;
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
&:hover .select2-arrow b,
|
|
|
|
&:focus .select2-arrow b,
|
|
|
|
&:active .select2-arrow b {
|
2016-12-22 13:17:14 +03:00
|
|
|
opacity: .7;
|
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
.select2-search-field input {
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-21 07:34:32 +03:00
|
|
|
/* Select menus - TODO: move to jquery-ui-fixes.css
|
|
|
|
----------------------------------*/
|
2016-12-22 13:17:14 +03:00
|
|
|
.ui-menu {
|
|
|
|
padding: 0;
|
|
|
|
.ui-menu-item a {
|
|
|
|
&.ui-state-focus, &.ui-state-active {
|
|
|
|
font-weight: inherit;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-widget-content {
|
|
|
|
background: #fff;
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-corner-all {
|
|
|
|
border-radius: 0;
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
border-bottom-right-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
|
|
|
|
border: none;
|
|
|
|
background: #f8f8f8;
|
|
|
|
}
|
|
|
|
|
2017-01-21 07:34:32 +03:00
|
|
|
/* Animation */
|
2016-12-22 13:17:14 +03:00
|
|
|
@keyframes shake {
|
2017-01-21 07:34:32 +03:00
|
|
|
10%,
|
|
|
|
90% {
|
|
|
|
transform: translate(-1px);
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
20%,
|
|
|
|
80% {
|
|
|
|
transform: translate(2px);
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
30%,
|
|
|
|
50%,
|
|
|
|
70% {
|
|
|
|
transform: translate(-4px);
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
2017-01-21 07:34:32 +03:00
|
|
|
40%,
|
2016-12-22 13:17:14 +03:00
|
|
|
60% {
|
2017-01-21 07:34:32 +03:00
|
|
|
transform: translate(4px);
|
2016-12-22 13:17:14 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.shake {
|
|
|
|
animation-name: shake;
|
2017-01-21 07:34:32 +03:00
|
|
|
animation-duration: .7s;
|
2016-12-22 13:17:14 +03:00
|
|
|
animation-timing-function: ease-out;
|
|
|
|
}
|