Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $mc: #8B9556;
- $mc-dark3: darken($mc, 30%);
- $mc-dark2: darken($mc, 20%);
- $mc-dark: darken($mc, 10%);
- $mc-light: lighten($mc, 10%);
- $mc-light2: lighten($mc, 20%);
- $mc-light3: lighten($mc, 30%);
- $sc: #6C5A49;
- $sc-dark3: darken($sc, 30%);
- $sc-dark2: darken($sc, 20%);
- $sc-dark: darken($sc, 10%);
- $sc-light: lighten($sc, 10%);
- $sc-light2: lighten($sc, 20%);
- $sc-light3: lighten($sc, 30%);
- $tc: #B2D433;
- $tc-dark3: darken($tc, 30%);
- $tc-dark2: darken($tc, 20%);
- $tc-dark: darken($tc, 10%);
- $tc-light: lighten($tc, 10%);
- $tc-light2: lighten($tc, 20%);
- $tc-light3: lighten($tc, 30%);
- $fc: #4F3198;
- $fc-dark3: darken($fc, 30%);
- $fc-dark2: darken($fc, 20%);
- $fc-dark: darken($fc, 10%);
- $fc-light: lighten($fc, 10%);
- $fc-light2: lighten($fc, 20%);
- $fc-light3: lighten($fc, 30%);
- $life-color: #f22;
- $xs: 0;
- $sm: 575px;
- $md: 768px;
- $lg: 992px;
- $xl: 1200px;
- $card-width: 120px;
- $card-height: 168px;
- @mixin xs {
- @media (min-width: $xs) {
- @content;
- }
- }
- @mixin sm {
- @media (min-width: $sm) {
- @content;
- }
- }
- @mixin md {
- @media (min-width: $md) {
- @content;
- }
- }
- @mixin lg {
- @media (min-width: $lg) {
- @content;
- }
- }
- @mixin xl {
- @media (min-width: $xl) {
- @content;
- }
- }
- @mixin maxxs {
- @media (max-width: $xs) {
- @content;
- }
- }
- @mixin maxsm {
- @media (max-width: $sm) {
- @content;
- }
- }
- @mixin maxmd {
- @media (max-width: $md) {
- @content;
- }
- }
- @mixin flexbox() {
- display: -webkit-box;
- display: -moz-box;
- display: -ms-flexbox;
- display: -webkit-flex;
- display: flex;
- }
- @mixin flex($values) {
- -webkit-box-flex: $values;
- -moz-box-flex: $values;
- -webkit-flex: $values;
- -ms-flex: $values;
- flex: $values;
- }
- @mixin order($val) {
- -webkit-box-ordinal-group: $val;
- -moz-box-ordinal-group: $val;
- -ms-flex-order: $val;
- -webkit-order: $val;
- order: $val;
- }
- @mixin transition($transition...) {
- -moz-transition: $transition;
- -o-transition: $transition;
- -webkit-transition: $transition;
- transition: $transition;
- }
- @mixin transition-property($property...) {
- -moz-transition-property: $property;
- -o-transition-property: $property;
- -webkit-transition-property: $property;
- transition-property: $property;
- }
- @mixin transition-duration($duration...) {
- -moz-transition-property: $duration;
- -o-transition-property: $duration;
- -webkit-transition-property: $duration;
- transition-property: $duration;
- }
- @mixin transition-timing-function($timing...) {
- -moz-transition-timing-function: $timing;
- -o-transition-timing-function: $timing;
- -webkit-transition-timing-function: $timing;
- transition-timing-function: $timing;
- }
- @mixin transition-delay($delay...) {
- -moz-transition-delay: $delay;
- -o-transition-delay: $delay;
- -webkit-transition-delay: $delay;
- transition-delay: $delay;
- }
- @mixin transform($in) {
- transform: $in;
- -webkit-transform: $in;
- -moz-transform: $in;
- -o-transform: $in;
- -ms-transform: $in;
- }
- @mixin transform-style($type) {
- -webkit-transform-style: $type;
- -moz-transform-style: $type;
- -o-transform-style: $type;
- -ms-transform-style: $type;
- transform-style: $type;
- }
- @mixin animation-duration($time) {
- -webkit-animation-duration: $time;
- -moz-animation-duration: $time;
- -ms-animation-duration: $time;
- -o-animation-duration: $time;
- animation-duration: $time;
- }
- @mixin backgroundDots() {
- background:
- radial-gradient(#6C5A49 4%, #453A2F 9%, hsla(0, 100%, 20%, 0) 9%) 0 0,
- radial-gradient(#6C5A49 4%, #453A2F 8%, hsla(0, 100%, 20%, 0) 10%) 50px 50px,
- radial-gradient(rgba(#6C5A49, 0.8) 20%, hsla(0, 100%, 20%, 0)) 50px 0,
- radial-gradient(rgba(#6C5A49, 0.8) 20%, hsla(0, 100%, 20%, 0)) 0 50px,
- radial-gradient(#453A2F 35%, hsla(0, 100%, 20%, 0) 60%) 50px 0,
- radial-gradient(#453A2F 35%, hsla(0, 100%, 20%, 0) 60%) 100px 50px,
- radial-gradient(rgba(#453A2F, 0.7), hsla(0, 100%, 20%, 0)) 0 0,
- radial-gradient(rgba(#453A2F, 0.7), hsla(0, 100%, 20%, 0)) 50px 50px,
- linear-gradient(45deg, hsla(0, 100%, 20%, 0) 49%, hsla(0, 100%, 0%, 1) 50%, hsla(0, 100%, 20%, 0) 70%) 0 0,
- linear-gradient(-45deg, hsla(0, 100%, 20%, 0) 49%, hsla(0, 100%, 0%, 1) 50%, hsla(0, 100%, 20%, 0) 70%) 0 0;
- background-color: #1E1914;
- background-size: 100px 100px;
- }
- @mixin backgroundGroovy() {
- background-color: #cccccc;
- background-image: url("data:image/svg+xml,%3Csvg width='20' height='12' viewBox='0 0 20 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 12c0-.622-.095-1.221-.27-1.785A5.982 5.982 0 0 0 10 12c1.67 0 3.182-.683 4.27-1.785A5.998 5.998 0 0 0 14 12h2a4 4 0 0 1 4-4V6c-1.67 0-3.182.683-4.27 1.785C15.905 7.22 16 6.622 16 6c0-.622-.095-1.221-.27-1.785A5.982 5.982 0 0 0 20 6V4a4 4 0 0 1-4-4h-2c0 .622.095 1.221.27 1.785A5.982 5.982 0 0 0 10 0C8.33 0 6.818.683 5.73 1.785 5.905 1.22 6 .622 6 0H4a4 4 0 0 1-4 4v2c1.67 0 3.182.683 4.27 1.785A5.998 5.998 0 0 1 4 6c0-.622.095-1.221.27-1.785A5.982 5.982 0 0 1 0 6v2a4 4 0 0 1 4 4h2zm-4 0a2 2 0 0 0-2-2v2h2zm16 0a2 2 0 0 1 2-2v2h-2zM0 2a2 2 0 0 0 2-2H0v2zm20 0a2 2 0 0 1-2-2h2v2zm-10 8a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0-2a2 2 0 1 0 0-4 2 2 0 0 0 0 4z' fill='%236b6b6b' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
- }
- @mixin backgroundWeave() {
- background: linear-gradient(45deg, lighten(#0f0, 30%) 12%, transparent 0, transparent 88%, lighten(#dca, 30%) 0), linear-gradient(135deg, transparent 37%, lighten(#a85, 30%) 0, lighten(#a85, 30%) 63%, transparent 0), linear-gradient(45deg, transparent 37%, lighten(#dca, 30%) 0, lighten(#dca, 30%) 63%, transparent 0) lighten(#753, 30%);
- background-size: 25px 25px;
- }
- @mixin backgroundStar() {
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.4'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
- }
- @function stroke($stroke, $color) {
- $shadow: ();
- $from: $stroke*-1;
- @for $i from $from through $stroke {
- @for $j from $from through $stroke {
- $shadow: append($shadow, $i*1px $j*1px 0 $color, comma);
- }
- }
- @return $shadow;
- }
- @mixin stroke($stroke, $color) {
- text-shadow: stroke($stroke, $color);
- }
- @mixin noselect() {
- -webkit-touch-callout: none; /* iOS Safari */
- -webkit-user-select: none; /* Safari */
- -khtml-user-select: none; /* Konqueror HTML */
- -moz-user-select: none; /* Firefox */
- -ms-user-select: none; /* Internet Explorer/Edge */
- user-select: none; /* Non-prefixed version, currently
- supported by Chrome and Opera */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement