Removed mixins as they are autoprefixed

pull/310/head
cagataycivici 2020-05-02 11:52:37 +03:00
parent 639a51cdea
commit 30a1a3b9b7
1 changed files with 42 additions and 121 deletions

View File

@ -1,60 +1,5 @@
@charset "UTF-8"; @charset "UTF-8";
@mixin background-gradient-left2right($start-color, $end-color) {
background-color: $start-color;
background-image: -webkit-linear-gradient(left, $start-color, $end-color);
background-image: -moz-linear-gradient(left, $start-color, $end-color);
background-image: -ms-linear-gradient(left, $start-color, $end-color);
background-image: -o-linear-gradient(left, $start-color, $end-color);
background-image: linear-gradient(to right, $start-color, $end-color);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#{$start-color}', endColorStr='#{$end-color}', gradientType='1');
}
@mixin transition($transition...) {
-moz-transition: $transition;
-o-transition: $transition;
-webkit-transition: $transition;
transition: $transition;
}
@mixin clearfix {
&:after {
content: "";
display: table;
clear: both;
}
}
@mixin shadow($value...) {
-webkit-box-shadow: $value;
-moz-box-shadow: $value;
box-shadow: $value;
}
@mixin border-radius-top($val) {
-moz-border-radius-topleft: $val;
-webkit-border-top-left-radius: $val;
border-top-left-radius: $val;
-moz-border-radius-topright: $val;
-webkit-border-top-right-radius: $val;
border-top-right-radius: $val;
}
@mixin border-radius-left($val) {
-moz-border-radius-topleft: $val;
-webkit-border-top-left-radius: $val;
border-top-left-radius: $val;
-moz-border-radius-bottomleft: $val;
-webkit-border-bottom-left-radius: $val;
border-bottom-left-radius: $val;
}
@mixin border-radius($val) {
-moz-border-radius: $val;
-webkit-border-radius: $val;
border-radius: $val;
}
@keyframes pulse { @keyframes pulse {
0% { 0% {
background-color: rgba(165, 165, 165, 0.1) background-color: rgba(165, 165, 165, 0.1)
@ -67,14 +12,6 @@
} }
} }
@mixin rotate($deg) {
-webkit-transform: rotate($deg);
-moz-transform: rotate($deg);
-o-transform: rotate($deg);
-ms-transform: rotate($deg);
transform: rotate($deg);
}
$focusBorderColor:#8dcdff; $focusBorderColor:#8dcdff;
body { body {
@ -94,6 +31,7 @@ body {
input[type="number"] { input[type="number"] {
-moz-appearance: textfield; -moz-appearance: textfield;
&::-webkit-outer-spin-button, &::-webkit-outer-spin-button,
&::-webkit-inner-spin-button { &::-webkit-inner-spin-button {
-webkit-appearance: none; -webkit-appearance: none;
@ -127,30 +65,24 @@ a {
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center; justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center; align-items: center;
color: #ffffff; color: #ffffff;
font-weight: bold; font-weight: bold;
font-size: 20px; font-size: 20px;
.layout-news-details { .layout-news-details {
display: -webkit-box;
display: -ms-flexbox;
display: flex; display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center; align-items: center;
z-index: 1; z-index: 1;
.rate { .rate {
color: #f2b837; color: #f2b837;
font-size: 25px; font-size: 25px;
font-weight: bold; font-weight: bold;
margin: 0 .25em; margin: 0 .25em;
} }
.helper-text { .helper-text {
background-color: #f2b837; background-color: #f2b837;
color: #212121; color: #212121;
@ -158,9 +90,11 @@ a {
margin-right: 0.3em; margin-right: 0.3em;
} }
} }
img.layouts-news-text-image { img.layouts-news-text-image {
height: 60px; height: 60px;
} }
img.layouts-news-mockup-image { img.layouts-news-mockup-image {
height: 70px; height: 70px;
position: absolute; position: absolute;
@ -177,9 +111,7 @@ a {
border-radius: 50%; border-radius: 50%;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
-ms-flex-pack: center;
justify-content: center; justify-content: center;
-ms-flex-align: center;
align-items: center; align-items: center;
width: 23px; width: 23px;
height: 23px; height: 23px;
@ -216,7 +148,7 @@ a {
left: 0; left: 0;
width: 100%; width: 100%;
z-index: 997; z-index: 997;
@include shadow(0 0 4px rgba(0,0,0,0.25)); box-shadow: 0 0 4px rgba(0,0,0,0.25);
.menu-button { .menu-button {
display: none; display: none;
@ -230,7 +162,7 @@ a {
line-height: 70px; line-height: 70px;
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
@include transition(background-color .2s); transition: background-color .2s;
&:hover { &:hover {
background-color: #eeeeee; background-color: #eeeeee;
@ -279,7 +211,7 @@ a {
user-select: none; user-select: none;
line-height: inherit; line-height: inherit;
cursor: pointer; cursor: pointer;
@include transition(background-color .2s); transition: background-color .2s;
&:hover { &:hover {
background-color: #eeeeee; background-color: #eeeeee;
@ -303,8 +235,6 @@ a {
width: 275px; width: 275px;
max-height: 400px; max-height: 400px;
background-color: #ffffff; background-color: #ffffff;
-moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3); box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
overflow: auto; overflow: auto;
list-style-type: none; list-style-type: none;
@ -335,7 +265,7 @@ a {
user-select: none; user-select: none;
cursor: pointer; cursor: pointer;
border-bottom: 1px solid #f4f4f4; border-bottom: 1px solid #f4f4f4;
@include transition(background-color .2s); transition: background-color .2s;
&:hover { &:hover {
background-color: #eeeeee; background-color: #eeeeee;
@ -398,21 +328,15 @@ a {
} }
.theme-badge.material { .theme-badge.material {
background: #2196F3; /* fallback for old browsers */ background: linear-gradient(to bottom, #2196F3, #2196F3);
background: -webkit-linear-gradient(to bottom, #2196F3, #2196F3); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to bottom, #2196F3, #2196F3); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
} }
.theme-badge.bootstrap { .theme-badge.bootstrap {
background: #563D7C; /* fallback for old browsers */ background: linear-gradient(to bottom, #563D7C, #966BD8);
background: -webkit-linear-gradient(to bottom, #563D7C, #966BD8); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to bottom, #563D7C, #966BD8); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
} }
.theme-badge.darkmode { .theme-badge.darkmode {
background-color: #141d26; background: linear-gradient(to bottom, #141d26, #5a6067);
background: -webkit-linear-gradient(to bottom, #141d26, #5a6067); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to bottom, #141d26, #5a6067); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
} }
} }
} }
@ -425,7 +349,7 @@ a {
background-color: #ffffff; background-color: #ffffff;
overflow: auto; overflow: auto;
width: 280px; width: 280px;
@include shadow(0 0 2px rgba(0,0,0,0.25)); box-shadow: 0 0 2px rgba(0,0,0,0.25);
.layout-menu { .layout-menu {
@ -499,9 +423,7 @@ a {
} }
.menuitem-badge { .menuitem-badge {
background: #00b09b; /* fallback for old browsers */ background: linear-gradient(to bottom, #96c93d, #00b09b);
background: -webkit-linear-gradient(to bottom, #96c93d, #00b09b); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to bottom, #96c93d, #00b09b); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
padding: 2px 4px; padding: 2px 4px;
vertical-align: middle; vertical-align: middle;
border-radius: 3px; border-radius: 3px;
@ -529,7 +451,7 @@ a {
left: 0; left: 0;
background-color: #4c5254; background-color: #4c5254;
opacity: .7; opacity: .7;
@include transition(opacity .5s); transition: opacity .5s;
} }
.layout-content { .layout-content {
@ -551,7 +473,7 @@ a {
&.introduction { &.introduction {
color: #ffffff; color: #ffffff;
@include background-gradient-left2right(#455C71,#526F89); background-image: linear-gradient(to left, #455C71, #526F89);
.feature-intro { .feature-intro {
@ -620,7 +542,6 @@ a {
&.content-submenu { &.content-submenu {
background-color: #3e5265; background-color: #3e5265;
padding: 15px 30px; padding: 15px 30px;
@include clearfix();
ul { ul {
margin: 0; margin: 0;
@ -640,7 +561,7 @@ a {
border: 1px solid transparent; border: 1px solid transparent;
padding: 6px 12px; padding: 6px 12px;
border-radius: 3px; border-radius: 3px;
@include transition(background-color .1s); transition: background-color .1s;
&:hover { &:hover {
background-color: #4c667d; background-color: #4c667d;
@ -693,7 +614,7 @@ a {
a { a {
color: #638fb7; color: #638fb7;
font-weight: 700; font-weight: 700;
@include transition(color .2s); transition: color .2s;
&:hover { &:hover {
color: #82a5c5; color: #82a5c5;
@ -708,7 +629,7 @@ a {
font-weight: 700; font-weight: 700;
margin: .5em 0; margin: .5em 0;
display: inline-block; display: inline-block;
@include transition(background-color .2s); transition: background-color .2s;
&:hover { &:hover {
background-color: #595959; background-color: #595959;
@ -743,7 +664,8 @@ a {
box-shadow: none !important; box-shadow: none !important;
border: 0 none; border: 0 none;
top: 1px; top: 1px;
@include border-radius-top(3px); border-top-right-radius: 3px;
border-top-left-radius: 3px;
a { a {
font-weight: 400; font-weight: 400;
@ -755,8 +677,9 @@ a {
border: 0 none; border: 0 none;
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
margin-bottom: -1px; margin-bottom: -1px;
@include border-radius-top(3px); border-top-right-radius: 3px;
@include transition(background-color .2s); border-top-left-radius: 3px;
transition: background-color .2s;
&:focus { &:focus {
outline: 0 none; outline: 0 none;
@ -888,11 +811,10 @@ a {
width: 550px; width: 550px;
z-index: 996; z-index: 996;
height: calc(100% - 70px); height: calc(100% - 70px);
@include transition(transform .3s); transition: transform .3s;
transform: translate3d(550px,0,0); transform: translate3d(550px,0,0);
background-color: #ffffff; background-color: #ffffff;
backface-visibility: hidden; backface-visibility: hidden;
-webkit-backface-visibility: hidden;
&.layout-config-active { &.layout-config-active {
transform: translate3d(0,0,0); transform: translate3d(0,0,0);
@ -900,7 +822,7 @@ a {
.layout-config-content-wrapper { .layout-config-content-wrapper {
.layout-config-button { .layout-config-button {
i { i {
@include rotate(360deg); transform: rotate(360deg);
} }
} }
} }
@ -910,7 +832,7 @@ a {
position: relative; position: relative;
height: 100%; height: 100%;
padding: 0; padding: 0;
@include shadow(0 2px 10px 0 rgba(0, 0, 0, 0.24)); box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.24);
.layout-config-button { .layout-config-button {
display: block; display: block;
@ -926,8 +848,9 @@ a {
z-index: -1; z-index: -1;
overflow: hidden; overflow: hidden;
cursor: pointer; cursor: pointer;
@include border-radius-left(3px); border-top-left-radius: 3px;
@include transition(background-color .2s, box-shadow .2s); border-top-right-radius: 3px;
transition: background-color .2s, box-shadow .2s;
box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.2), box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.2),
0 5px 22px 4px rgba(0, 0, 0, 0.12), 0 5px 22px 4px rgba(0, 0, 0, 0.12),
0 12px 17px 2px rgba(0, 0, 0, 0.14); 0 12px 17px 2px rgba(0, 0, 0, 0.14);
@ -936,8 +859,8 @@ a {
font-size: 26px; font-size: 26px;
line-height: inherit; line-height: inherit;
cursor: pointer; cursor: pointer;
@include rotate(0deg); transform: rotate(0deg);
@include transition(transform 1s); transition: transform 1s;
} }
&:hover { &:hover {
@ -949,7 +872,7 @@ a {
a { a {
color: #638fb7; color: #638fb7;
font-weight: 700; font-weight: 700;
@include transition(color .2s); transition: color .2s;
&:hover { &:hover {
color: #82a5c5; color: #82a5c5;
@ -971,8 +894,8 @@ a {
top: 20px; top: 20px;
z-index: 999; z-index: 999;
background-color: #41b783; background-color: #41b783;
@include border-radius(50%); border-radius: 50%;
@include transition(background-color .2s, box-shadow .2s); transition: background-color .2s, box-shadow .2s;
i { i {
color: #ffffff; color: #ffffff;
@ -1030,7 +953,7 @@ a {
button { button {
text-align: center; text-align: center;
position: relative; position: relative;
@include transition(box-shadow .2s); transition: box-shadow .2s;
i { i {
line-height: inherit; line-height: inherit;
@ -1092,7 +1015,7 @@ a {
} }
a { a {
color: #638fb7; color: #638fb7;
@include transition(color .2s); transition: color .2s;
&:hover { &:hover {
color: #82a5c5; color: #82a5c5;
@ -1106,7 +1029,7 @@ a {
background-color: #455C71; background-color: #455C71;
padding: 10px 24px 9px 24px; padding: 10px 24px 9px 24px;
border-radius: 3px; border-radius: 3px;
@include transition(background-color .2s); transition: background-color .2s;
&:hover { &:hover {
background-color: #708EA5; background-color: #708EA5;
@ -1117,11 +1040,11 @@ a {
.home-button2 { .home-button2 {
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
color: #8C6816 !important;; color: #8C6816 !important;
background-color: #FFCB54; background-color: #FFCB54;
padding: 10px 24px 9px 24px; padding: 10px 24px 9px 24px;
border-radius: 3px; border-radius: 3px;
@include transition(background-color .2s); transition: background-color .2s;
display: inline-block; display: inline-block;
&:hover { &:hover {
@ -1185,7 +1108,7 @@ a {
.feature-card { .feature-card {
background-color: #ffffff; background-color: #ffffff;
@include shadow(0 0.8px 1.7px rgba(0, 0, 0, 0.008), 0 1.9px 4.2px rgba(0, 0, 0, 0.012),0 3.6px 7.9px rgba(0, 0, 0, 0.015),0 6.5px 14.1px rgba(0, 0, 0, 0.018),0 12.1px 26.3px rgba(0, 0, 0, 0.022),0 29px 63px rgba(0, 0, 0, 0.03)); box-shadow: 0 0.8px 1.7px rgba(0, 0, 0, 0.008), 0 1.9px 4.2px rgba(0, 0, 0, 0.012),0 3.6px 7.9px rgba(0, 0, 0, 0.015),0 6.5px 14.1px rgba(0, 0, 0, 0.018),0 12.1px 26.3px rgba(0, 0, 0, 0.022),0 29px 63px rgba(0, 0, 0, 0.03);
height: 100%; height: 100%;
border-radius: 4px; border-radius: 4px;
@ -1433,7 +1356,7 @@ a {
top: 70px; top: 70px;
left: -300px; left: -300px;
z-index: 999; z-index: 999;
@include transition(left .3s); transition: left .3s;
&.active { &.active {
left: 0; left: 0;
@ -1525,13 +1448,11 @@ a {
@-webkit-keyframes fadeInDown { @-webkit-keyframes fadeInDown {
from { from {
opacity: 0; opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0); transform: translate3d(0, -20px, 0);
} }
to { to {
opacity: 1; opacity: 1;
-webkit-transform: none;
transform: none; transform: none;
} }
} }