first commit
This commit is contained in:
696
themes/ayon_/_dev/css/partials/_commons.scss
Normal file
696
themes/ayon_/_dev/css/partials/_commons.scss
Normal file
@@ -0,0 +1,696 @@
|
||||
body,
|
||||
html {
|
||||
height: 100%;
|
||||
}
|
||||
body {
|
||||
direction: ltr;
|
||||
font-family: $font-text;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
line-height: 1.5em;
|
||||
main {
|
||||
-webkit-transition: all 0.52s cubic-bezier(0.36, 0.76, 0, 0.88);
|
||||
transition: all 0.52s cubic-bezier(0.36, 0.76, 0, 0.88);
|
||||
}
|
||||
}
|
||||
ul {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
}
|
||||
a {
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
@include trans-fast;
|
||||
}
|
||||
a:hover, a:focus {
|
||||
text-decoration: none;
|
||||
outline:none;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 0.9375rem;
|
||||
font-weight: $base-font-weight;
|
||||
}
|
||||
.dropdown-item:focus,
|
||||
.dropdown-item:hover {
|
||||
background: none;
|
||||
}
|
||||
.color,
|
||||
.custom-checkbox input[type="checkbox"] + span.color {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
display: inline-block;
|
||||
margin: 0.05rem 0.15rem 0 0;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
background-size: contain;
|
||||
border-radius: 50%;
|
||||
position: relative;
|
||||
@include trans-fast;
|
||||
&:before {
|
||||
pointer-events: none;
|
||||
content:'';
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
width:100%;
|
||||
height: 100%;
|
||||
box-shadow: inset 0 0 0 4px $content-bg, 0 0 0 3px $content-bg;
|
||||
border-radius: 50%;
|
||||
transform: scale(1.15);
|
||||
@include trans-fast;
|
||||
z-index:2;
|
||||
}
|
||||
#search_filters &:before {
|
||||
box-shadow: 0 0 0 3px $content-bg;
|
||||
}
|
||||
&.white:after {
|
||||
pointer-events: none;
|
||||
content:' ';
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
width:100%;
|
||||
height: 100%;
|
||||
box-shadow: inset 0 0 0 8px $border-color;
|
||||
border-radius: 50%;
|
||||
@include trans-fast;
|
||||
z-index:1;
|
||||
}
|
||||
&:hover {
|
||||
@include shadow-medium;
|
||||
&:before {
|
||||
box-shadow: inset 0 0 0 7px $content-bg, 0 0 0 0 $body-border;
|
||||
transform: scale(0.9);
|
||||
}
|
||||
}
|
||||
&.white:hover:after {
|
||||
box-shadow: inset 0 0 0 9px $border-color;
|
||||
transform: scale(0.9);
|
||||
}
|
||||
&.white:hover:before {
|
||||
box-shadow: inset 0 0 0 7px $content-bg, 0 0 0 3px $body-border;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
border:none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.facet-label {
|
||||
&.active,
|
||||
&:hover {
|
||||
.custom-checkbox span.color {
|
||||
border: $input-btn-border-width solid $input-border-focus;
|
||||
}
|
||||
}
|
||||
}
|
||||
.h1,
|
||||
.h2,
|
||||
.h3 {
|
||||
}
|
||||
.h4 {
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
line-height: 1.125;
|
||||
}
|
||||
//Buttons style
|
||||
.btn:not(.btn-touchspin) {
|
||||
line-height: 18px;
|
||||
padding:19px 32px;
|
||||
white-space: normal;
|
||||
@include shadow-low;
|
||||
@include trans-fast;
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.btn-primary.disabled:hover,
|
||||
&.btn-primary:disabled:hover {
|
||||
border:2px solid;
|
||||
text-decoration: none;
|
||||
box-shadow:none;
|
||||
}
|
||||
&.wide {
|
||||
padding-left:60px;
|
||||
padding-right:60px;
|
||||
}
|
||||
}
|
||||
.btn-primary,
|
||||
.btn-secondary {
|
||||
.material-icons {
|
||||
margin-right: $small-space;
|
||||
}
|
||||
}
|
||||
.btn-tertiary {
|
||||
@extend .btn-secondary;
|
||||
padding: 0.25rem;
|
||||
margin: 0.25rem 0;
|
||||
}
|
||||
.btn-unstyle {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
padding: 0;
|
||||
text-align: inherit;
|
||||
&:focus {
|
||||
outline: 0;
|
||||
.expand-more {
|
||||
}
|
||||
}
|
||||
}
|
||||
.btn-high {
|
||||
padding:24px 30px;
|
||||
}
|
||||
label ,.label {
|
||||
text-align: right;
|
||||
font-size: 1rem;
|
||||
}
|
||||
small.label, small.value {
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
.form-control-label {
|
||||
padding-top: 0.625rem;
|
||||
}
|
||||
input, select {
|
||||
@include trans-fast;
|
||||
}
|
||||
.form-control, #quantity_wanted {
|
||||
border-width:2px;
|
||||
border-style: solid;
|
||||
padding: 19px 28px;
|
||||
min-width:6rem;
|
||||
font-weight:600;
|
||||
font-size:13px;
|
||||
line-height: 18px;
|
||||
outline:none;
|
||||
}
|
||||
svg {
|
||||
pointer-events: none;
|
||||
> * {
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
.input-group {
|
||||
min-width:6rem;
|
||||
&.bootstrap-touchspin {
|
||||
box-shadow: none;
|
||||
display: flex;
|
||||
}
|
||||
&.focus {
|
||||
}
|
||||
.form-control:focus {
|
||||
outline: none;
|
||||
}
|
||||
.input-group-btn {
|
||||
width:0;
|
||||
height: 100%;
|
||||
&.group-span-filestyle {
|
||||
width:auto;
|
||||
outline: none;
|
||||
> .btn {
|
||||
position: absolute;
|
||||
right:0;
|
||||
top:0;
|
||||
height:100%;
|
||||
z-index: 5;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.buttonText {
|
||||
display: flex;
|
||||
@include trans-fast;
|
||||
svg {
|
||||
width:26px;
|
||||
height: 26px;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
.buttonText {
|
||||
transform: rotate(30deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
> .btn {
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
font-size: 0.6875rem;
|
||||
font-weight: normal;
|
||||
margin-left: 0;
|
||||
padding: 0.625rem 1rem;
|
||||
text-transform: uppercase;
|
||||
outline: none!important;
|
||||
&[data-action="show-password"]{
|
||||
height: 100%;
|
||||
color:$input-text;
|
||||
background: none;
|
||||
border:none;
|
||||
// border-left:2px solid $input-border;
|
||||
position: absolute;
|
||||
top:0;
|
||||
right:0;
|
||||
width: auto;
|
||||
z-index: 5;
|
||||
display: flex;
|
||||
align-items: center; // fix 2020 for eye icon position
|
||||
&:before {
|
||||
content:'';
|
||||
height:50%;
|
||||
width: 2px;
|
||||
left:0;
|
||||
top:25%;
|
||||
position: absolute;
|
||||
}
|
||||
i {
|
||||
pointer-events: none; // fix 2021 checkout collapse section on click
|
||||
font-size: 1.5rem;
|
||||
font-style: normal;
|
||||
display: inline-block;
|
||||
opacity:0.2;
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
@include trans-fast;
|
||||
svg {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
&:before {
|
||||
}
|
||||
i {
|
||||
opacity:1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.custom-file {
|
||||
.btn {
|
||||
display: flex;
|
||||
svg {
|
||||
width:26px;
|
||||
height: 26px;
|
||||
margin-top: 3px;
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
* {
|
||||
stroke:$btn-color!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
input:not(.btn), textarea {
|
||||
&::-webkit-input-placeholder {
|
||||
color: $input-placeholder;
|
||||
}
|
||||
&::-moz-placeholder {
|
||||
color: $input-placeholder;
|
||||
}
|
||||
&:-ms-input-placeholder {
|
||||
color: $input-placeholder;
|
||||
}
|
||||
&:-moz-placeholder {
|
||||
color: $input-placeholder;
|
||||
}
|
||||
&:active {
|
||||
&::-webkit-input-placeholder {
|
||||
color: $input-placeholder;
|
||||
}
|
||||
&::-moz-placeholder {
|
||||
color: $input-placeholder;
|
||||
}
|
||||
&:-ms-input-placeholder {
|
||||
color: $input-placeholder;
|
||||
}
|
||||
&:-moz-placeholder {
|
||||
color: $input-placeholder;
|
||||
}
|
||||
}
|
||||
height: 3.75rem;
|
||||
padding: 19px 28px;
|
||||
border-width:2px;
|
||||
border-style: solid;
|
||||
line-height: 18px;
|
||||
outline:none!important;
|
||||
@include trans-fast;
|
||||
&:not(.btn):focus {
|
||||
padding-left:24px;
|
||||
box-shadow: 0 14px 22px 0px rgba(0, 0, 0, 0.09);
|
||||
}
|
||||
}
|
||||
textarea, textarea.form-control {
|
||||
min-height: 90px;
|
||||
line-height: 18px;
|
||||
padding-top:22px;
|
||||
padding-bottom:22px;
|
||||
}
|
||||
.form-control-select, body select.form-control:not([size]):not([multiple]) {
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
background: $input-bg url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAAPklEQVR4Ae3TwREAEBQD0V/6do4SXPZg7EsBhsQ8IEmSMOsiuEfg3gL3oXC7wK0bd1G4o8X9F4yIkyQfSrIByQBjp7QuND8AAAAASUVORK5CYII=") no-repeat scroll right 0.5rem center / 1.25rem 1.25rem;
|
||||
height: 3.75rem;
|
||||
min-height: 60px;
|
||||
padding: 19px 28px;
|
||||
border-width:2px;
|
||||
border-style: solid;
|
||||
line-height: 18px;
|
||||
cursor:pointer;
|
||||
outline:none!important;
|
||||
&:focus {
|
||||
padding-left:24px;
|
||||
box-shadow: 0 14px 22px 0px rgba(0, 0, 0, 0.09);
|
||||
}
|
||||
}
|
||||
body select.form-control:not([size]):not([multiple]) {
|
||||
padding-right: 2.75rem;
|
||||
}
|
||||
.form-control-valign {
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
.form-control-comment {
|
||||
font-size: 0.75rem;
|
||||
padding-top: 4px;
|
||||
padding-left:4px;
|
||||
letter-spacing: 0.1rem;
|
||||
letter-spacing: 0.04rem;
|
||||
position: static;
|
||||
display: inline-block;
|
||||
}
|
||||
.form-control-submit {
|
||||
&.disabled {
|
||||
}
|
||||
}
|
||||
@media (max-width:991px) {
|
||||
.form-control-comment {
|
||||
padding-left:5px;
|
||||
text-align: right;
|
||||
float:right;
|
||||
}
|
||||
}
|
||||
.form-group {
|
||||
&.has-error {
|
||||
input,
|
||||
select {
|
||||
outline: 0.1875rem solid $brand-danger;
|
||||
}
|
||||
.help-block {
|
||||
color: $brand-danger;
|
||||
}
|
||||
}
|
||||
&.row {
|
||||
position: relative;
|
||||
}
|
||||
.req {
|
||||
position: absolute;
|
||||
top:4px;
|
||||
right:-8px;
|
||||
font-size:28px;
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
@media(min-width:768px) {
|
||||
.form-group {
|
||||
&.row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
label {
|
||||
font-size:14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.group-span-filestyle {
|
||||
label {
|
||||
margin: 0;
|
||||
.icon-span-filestyle {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.btn-default {
|
||||
text-transform: uppercase;
|
||||
border-radius: 0;
|
||||
font-size: 0.875rem;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
}
|
||||
.bootstrap-touchspin {
|
||||
width: auto;
|
||||
float: left;
|
||||
display: inline-block;
|
||||
@include box-shadow-light;
|
||||
input {
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
&.form-control,
|
||||
&.input-group {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
.btn-touchspin {
|
||||
@extend .btn-default;
|
||||
&:hover {
|
||||
}
|
||||
}
|
||||
.input-group-btn-vertical {
|
||||
width: auto;
|
||||
float: left;
|
||||
border-radius: 3px;
|
||||
overflow: hidden;
|
||||
z-indeX: 5;
|
||||
display: table;
|
||||
.bootstrap-touchspin-up {
|
||||
border-radius: 0;
|
||||
padding: 12px 10px 11px;
|
||||
}
|
||||
.bootstrap-touchspin-down {
|
||||
border-radius: 0;
|
||||
padding: 11px 10px 12px;
|
||||
}
|
||||
> .btn {
|
||||
margin-left: 0;
|
||||
}
|
||||
.touchspin-up {
|
||||
&:after {
|
||||
content: "\E5CE";
|
||||
}
|
||||
}
|
||||
.touchspin-down {
|
||||
&:after {
|
||||
content: "\E5CF";
|
||||
}
|
||||
}
|
||||
i {
|
||||
top: 0.2rem;
|
||||
left: 0.15rem;
|
||||
font-size: 0.9375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.custom-radio {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
border-radius: 50%;
|
||||
border: $input-border 2px solid;
|
||||
background: none;
|
||||
margin-right: 0.625rem;
|
||||
@include trans-def;
|
||||
input[type="radio"] {
|
||||
opacity: 0;
|
||||
cursor: pointer;
|
||||
height: auto;
|
||||
& + span {
|
||||
pointer-events: none;
|
||||
display: block;
|
||||
background: none;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
left: 3px;
|
||||
transform: scale(1.5);
|
||||
@include trans-fast;
|
||||
}
|
||||
}
|
||||
input[type="radio"] {
|
||||
&:checked + span {
|
||||
transform: scale(1);
|
||||
}
|
||||
&:focus + span {
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
border-color: $input-border-focus;
|
||||
@include shadow-long-h;
|
||||
}
|
||||
}
|
||||
.custom-checkbox {
|
||||
position: relative;
|
||||
input[type="checkbox"] {
|
||||
margin-top: 0.25rem;
|
||||
opacity: 0;
|
||||
width:1.25rem;
|
||||
height:1.25rem;
|
||||
top:0;
|
||||
z-index: 3;
|
||||
// height: auto;
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
+ span {
|
||||
margin-right: 4px;
|
||||
margin-top: 2px;
|
||||
display: inline-block;
|
||||
width: 1.25rem;
|
||||
height: 1.25rem;
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
border: 2px solid $input-border;
|
||||
border-radius: 4px;
|
||||
@include trans-def;
|
||||
.checkbox-checked {
|
||||
display: none;
|
||||
margin: 0 -0.1rem;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
@include trans-def;
|
||||
}
|
||||
}
|
||||
&:checked + span {
|
||||
.checkbox-checked {
|
||||
display: inline-block;
|
||||
margin-top: -12px;
|
||||
}
|
||||
}
|
||||
&:focus + span {
|
||||
border-color: $input-border;
|
||||
}
|
||||
&:hover + span {
|
||||
border-color: $input-border-focus;
|
||||
@include shadow-long-h;
|
||||
}
|
||||
}
|
||||
label {
|
||||
text-align: left;
|
||||
font-size: $font-size-sm;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
.text-muted {
|
||||
font-size: $font-size-sm;
|
||||
}
|
||||
.done {
|
||||
display: inline-block;
|
||||
padding: 0 0.8125rem;
|
||||
margin-right: 1.563rem;
|
||||
}
|
||||
.thumb-mask {
|
||||
> .mask {
|
||||
position: relative;
|
||||
width: 3.438rem;
|
||||
height: 3.438rem;
|
||||
overflow: hidden;
|
||||
border: $gray-light 1px solid;
|
||||
margin: $small-space 0;
|
||||
img {
|
||||
width: 55px;
|
||||
height: 55px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.definition-list {
|
||||
dl {
|
||||
border:2px solid;
|
||||
padding:10px;
|
||||
font-size: 13px;
|
||||
line-height: 16px;
|
||||
font-weight: 500;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
dt {
|
||||
font-weight: 500;
|
||||
}
|
||||
dd {
|
||||
font-weight: 600;
|
||||
}
|
||||
dd,
|
||||
dt {
|
||||
flex: 0 0 45%;
|
||||
padding: 0.625rem;
|
||||
margin: 0.125rem;
|
||||
&:nth-of-type(even) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.help-block {
|
||||
margin-top: $small-space;
|
||||
}
|
||||
.alert {
|
||||
padding: 1.25rem 1.75rem 1.25rem 4.25rem!important;
|
||||
background:none;
|
||||
font-size: 0.875rem!important;
|
||||
line-height: 1.25rem!important;
|
||||
position: relative;
|
||||
&:before {
|
||||
content:'';
|
||||
width:20px;
|
||||
height: 20px;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
left:1.5rem;
|
||||
top:50%;
|
||||
transform: translateY(-50%);
|
||||
display: block;
|
||||
}
|
||||
ul, ol {
|
||||
margin-bottom:0.5rem!important;
|
||||
}
|
||||
}
|
||||
.alert-warning {
|
||||
.material-icons {
|
||||
font-size: 2rem;
|
||||
margin-right: $small-space;
|
||||
padding-top: $extra-small-space;
|
||||
}
|
||||
.alert-text {
|
||||
font-size: 0.9375rem;
|
||||
padding-top: $small-space;
|
||||
}
|
||||
.alert-link {
|
||||
border-radius: 2px;
|
||||
border-width: 2px;
|
||||
margin-left: $small-space;
|
||||
padding: $extra-small-space $medium-space;
|
||||
font-weight: 600;
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
.warning-buttons {
|
||||
margin-top: $extra-small-space;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-warning {
|
||||
@include transition(all .4s ease-in-out);
|
||||
}
|
||||
.btn-tertiary-outline {
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
@include transition(all .4s ease-in-out);
|
||||
}
|
||||
.separator {
|
||||
margin: 0;
|
||||
}
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hide_it_pls {
|
||||
visibility: hidden;
|
||||
display: none;
|
||||
}
|
||||
39
themes/ayon_/_dev/css/partials/_fonts.scss
Normal file
39
themes/ayon_/_dev/css/partials/_fonts.scss
Normal file
@@ -0,0 +1,39 @@
|
||||
@font-face {
|
||||
font-family: 'Material Icons';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(~material-design-icons/iconfont/MaterialIcons-Regular.eot); /* For IE6-8 */
|
||||
src: local('Material Icons'),
|
||||
local('MaterialIcons-Regular'),
|
||||
url(~material-design-icons/iconfont/MaterialIcons-Regular.woff2) format('woff2'),
|
||||
url(~material-design-icons/iconfont/MaterialIcons-Regular.woff) format('woff'),
|
||||
url(~material-design-icons/iconfont/MaterialIcons-Regular.ttf) format('truetype');
|
||||
}
|
||||
|
||||
.material-icons {
|
||||
font-family: 'Material Icons';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 24px; /* Preferred icon size */
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
line-height: 1;
|
||||
text-transform: none;
|
||||
letter-spacing: normal;
|
||||
word-wrap: normal;
|
||||
white-space: nowrap;
|
||||
direction: ltr;
|
||||
|
||||
/* Support for all WebKit browsers. */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
/* Support for Safari and Chrome. */
|
||||
text-rendering: optimizeLegibility;
|
||||
|
||||
/* Support for Firefox. */
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
/* Support for IE. */
|
||||
font-feature-settings: 'liga';
|
||||
}
|
||||
86
themes/ayon_/_dev/css/partials/_mixins.scss
Normal file
86
themes/ayon_/_dev/css/partials/_mixins.scss
Normal file
@@ -0,0 +1,86 @@
|
||||
@mixin search-box {
|
||||
form {
|
||||
position: relative;
|
||||
input[type=text] {
|
||||
padding: 0.5rem 2rem 0.5rem 1rem;
|
||||
&:focus {
|
||||
padding-left: 1.5rem;
|
||||
padding-right: 2.5rem;
|
||||
+ button {
|
||||
}
|
||||
}
|
||||
}
|
||||
button[type=submit] {
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
@include trans-fast;
|
||||
&:hover {
|
||||
}
|
||||
.search {
|
||||
@include trans-fast;
|
||||
svg {
|
||||
width: 22px;
|
||||
}
|
||||
}
|
||||
.search:hover {
|
||||
color: #00c293;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin box-shadow {
|
||||
box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
@mixin box-shadow-light {
|
||||
box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
@mixin shadow-low {
|
||||
box-shadow: 0 6px 18px 0px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
@mixin shadow-medium {
|
||||
box-shadow: 0 14px 22px 0px rgba(0, 0, 0, 0.14);
|
||||
}
|
||||
@mixin shadow-long {
|
||||
box-shadow: 0 10px 40px 0px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
@mixin shadow-long-h {
|
||||
box-shadow: 0 14px 50px 0px rgba(0, 0, 0, 0.22);
|
||||
}
|
||||
|
||||
@mixin trans-fast {
|
||||
-webkit-transition: all .22s cubic-bezier(.07,.74,.56,.89);
|
||||
transition: all .22s cubic-bezier(.07,.74,.56,.89);
|
||||
}
|
||||
@mixin trans-def {
|
||||
-webkit-transition: all .4s cubic-bezier(.36,.76,0,.88);
|
||||
transition: all .4s cubic-bezier(.36,.76,0,.88);
|
||||
}
|
||||
@mixin trans-slow {
|
||||
-webkit-transition: all .88s cubic-bezier(.36,.76,0,.88);
|
||||
transition: all .88s cubic-bezier(.36,.76,0,.88);
|
||||
}
|
||||
|
||||
@mixin micro {
|
||||
opacity: 0;
|
||||
|
||||
-webkit-transition-timing-function: cubic-bezier(0.13, 0.19, 0.34, 0.96);
|
||||
transition-timing-function: cubic-bezier(0.13, 0.19, 0.34, 0.96);
|
||||
|
||||
-webkit-transition-property: opacity, -webkit-transform;
|
||||
transition-property: opacity, transform;
|
||||
|
||||
-webkit-transition-duration: 0s;
|
||||
transition-duration: 0s;
|
||||
}
|
||||
@mixin microgo {
|
||||
-webkit-transition-duration: 1s;
|
||||
transition-duration: 1s;
|
||||
-webkit-transition-delay: .6s;
|
||||
transition-delay: .6s;
|
||||
}
|
||||
@mixin microclose {
|
||||
-webkit-transition-delay: 1s;
|
||||
transition-delay: 1s;
|
||||
}
|
||||
192
themes/ayon_/_dev/css/partials/_variables.scss
Normal file
192
themes/ayon_/_dev/css/partials/_variables.scss
Normal file
@@ -0,0 +1,192 @@
|
||||
$font-title: 'Cuprum', sans-serif;
|
||||
$font-menu: 'Cuprum', sans-serif;
|
||||
$font-price: 'Cuprum', sans-serif;
|
||||
$font-text: 'Poppins', sans-serif;
|
||||
$gray-darker: #232323;
|
||||
$gray: #7A7A7A;
|
||||
$gray-light: #F1F1F1;
|
||||
$gray-lighter: #f6f6f6;
|
||||
$brand-primary: #2fb5d2;
|
||||
$brand-secondary: #f39d72;
|
||||
$brand-success: #4cbb6c;
|
||||
$brand-warning: #ff9a52;
|
||||
$brand-danger: #ff4c4c;
|
||||
$label-color: $gray-darker;
|
||||
$btn-primary-color: #fff;
|
||||
$btn-primary-bg: $brand-primary;
|
||||
$btn-primary-border: transparent;
|
||||
$btn-secondary-color: $gray-darker;
|
||||
$btn-secondary-bg: $gray-lighter;
|
||||
$btn-secondary-border: transparent;
|
||||
$btn-border-radius: 0;
|
||||
$input-border-color: rgba(0, 0, 0, 0.25);
|
||||
$headings-font-weight: 700;
|
||||
$tooltip-bg: $brand-danger;
|
||||
$border-radius: 0;
|
||||
$extra-small-space: 0.3125rem;
|
||||
$small-space: 0.625rem;
|
||||
$medium-space: 1.25rem;
|
||||
$large-space: 1.875rem;
|
||||
$extra-large-space: 2.5rem;
|
||||
$section-space: 6.25rem;
|
||||
$section-space-half: 3.25rem;
|
||||
$warning: #FF9A52;
|
||||
$warning-hover: #FDE7BB;
|
||||
$alert-warning-bg: rgba(255,154,82,0.3);
|
||||
$alert-warning-border: $warning;
|
||||
$alert-warning-text: $gray-darker;
|
||||
$btn-warning-bg: $warning;
|
||||
$btn-warning-color: white;
|
||||
$btn-tertiary-color: #6C868E;
|
||||
$btn-tertiary-hover: #BBCDD2;
|
||||
$base-font-weight: 500;
|
||||
$base-font-size: 1rem;
|
||||
$font-size-lg: 0.9375rem;
|
||||
$font-size-sm: 0.875rem;
|
||||
$font-size-xs: 0.8125rem;
|
||||
$font-size-h1: 1.375rem;
|
||||
$font-size-h2: 1.25rem;
|
||||
$font-size-h3: 1.125rem;
|
||||
$font-size-h4: 1.125rem;
|
||||
$font-size-h5: 1rem;
|
||||
$font-size-h6: 0.9375rem;
|
||||
$display1-size: 3.125rem;
|
||||
$display1-weight: 600;
|
||||
$display2-size: 2.188rem;
|
||||
$display2-weight: 400;
|
||||
$display3-size: 1.563rem;
|
||||
$display3-weight: 400;
|
||||
$display4-size: 1.25rem;
|
||||
$display4-weight: 400;
|
||||
$text-muted: $gray;
|
||||
// $NotoSansPath: "~notosans-fontface/fonts";
|
||||
// $NotoSansVersion: "1.0.1";
|
||||
|
||||
// Design
|
||||
//header
|
||||
$header-bg:#f2f2f2;
|
||||
$header-nav-bg:#ffffff;
|
||||
$header-nav-border:#f2f2f2;
|
||||
$header-nav-text:#bebebe;
|
||||
$header-nav-link:#424242;
|
||||
$header-nav-link-h:#00c293;
|
||||
//cart
|
||||
$cart-bg:#ffffff;
|
||||
$cart-icon:#ff246c;
|
||||
$cart-text:#1c1c1c;
|
||||
$cart-q:#424242;
|
||||
//mainmenu
|
||||
$menu-bg:#ffffff;
|
||||
$menu-link:#1c1c1c;
|
||||
$menu-link-h:#00c293;
|
||||
// blog
|
||||
|
||||
//levibox
|
||||
$box-bg:#ffffff;
|
||||
$box-icon:#1c1c1c;
|
||||
$box-arrow:#dcdcdc;
|
||||
$box-indicate:#00c293;
|
||||
//side menu
|
||||
$side-bg:#ffffff;
|
||||
$side-text:#aaaaaa;
|
||||
$side-light:#bbbbbb;
|
||||
$side-link:#1c1c1c;
|
||||
$side-decor:#f2f2f2;
|
||||
|
||||
//mobile menu
|
||||
$moba_header:#ffffff;
|
||||
$moba_bg:#ffffff;
|
||||
$moba_icon:#1c1c1c;
|
||||
|
||||
// content
|
||||
$main-bg:#f2f2f2;
|
||||
$content-bg:#ffffff;
|
||||
$body-text: #777777;
|
||||
$body-comment: #bbbbbb;
|
||||
$body-link: #000000;
|
||||
$body-link-h: #00c293;
|
||||
$body-border:#f2f2f2;
|
||||
$body-table-even:#f6f6f6;
|
||||
$alert-danger:#ff4653;
|
||||
$success-bg:#00c293;
|
||||
$success-text:#ffffff;
|
||||
|
||||
//titles
|
||||
$title:#1c1c1c;
|
||||
$title-before:#f2f2f2;
|
||||
$title-decor:#5fceb3;
|
||||
//inputs
|
||||
$border-width: 2px;
|
||||
$border-color: #f2f2f2;
|
||||
$input-bg:#ffffff;
|
||||
$input-border:#f2f2f2;
|
||||
$input-border-focus: #5c5c5c;
|
||||
$input-btn-border-width: 2px;
|
||||
$input-bg: #ffffff;
|
||||
$input-text: #1c1c1c;
|
||||
$input-placeholder: #aaaaaa;
|
||||
$input-checked: #00c293;
|
||||
//buttons
|
||||
$btn-bg:#5fceb3;
|
||||
$btn-border:#5fceb3;
|
||||
$btn-color:#ffffff;
|
||||
$btn-bg-h:#1c1c1c;
|
||||
$btn-border-h:#1c1c1c;
|
||||
$btn-color-h:#ffffff;
|
||||
|
||||
// breadcrumb
|
||||
$breadcrumb-color:#1c1c1c;
|
||||
$breadcrumb-decor:#cccccc;
|
||||
|
||||
// tooltips
|
||||
$tt-bg:#ffffff;
|
||||
$tt-color:#1c1c1c;
|
||||
|
||||
// products
|
||||
$prods-bg:#ffffff;
|
||||
$prods-border:#f2f2f2;
|
||||
$prods-name:#1c1c1c;
|
||||
$prods-desc:#aaaaaa;
|
||||
$prods-action-bg:#ffffff;
|
||||
$prods-action-color:#1c1c1c;
|
||||
$prods-sale:#f2f2f2;
|
||||
$prods-sale-bg:#1c1c1c;
|
||||
$prods-new:#5fceb3;
|
||||
$prods-new-bg:#ffffff;
|
||||
$prods-price:#1c1c1c;
|
||||
$prods-old-price:#bbbbbb;
|
||||
$cat-gl:#1c1c1c;
|
||||
$prods-count:#888888;
|
||||
$prods-count-bg:#ffffff;
|
||||
$prods-count-i:#000000;
|
||||
$prods-count-i-bg:#fbd4d6;
|
||||
|
||||
|
||||
// product page
|
||||
$pro-title:#1c1c1c;
|
||||
$pro-text:#888888;
|
||||
$pro-add-bg:#5fceb3;
|
||||
$pro-add-color:#ffffff;
|
||||
$pro-icons:#888888;
|
||||
$pro-labels:#c1c1c1;
|
||||
$pro-values:#1c1c1c;
|
||||
|
||||
// sidebar
|
||||
$side-col-bg:#ffffff;
|
||||
$sidebar-title-bg:#5fceb3;
|
||||
$sidebar-title-color:#ffffff;
|
||||
$sidebar-block-bg:#ffffff;
|
||||
$sidebar-block-decor:#f2f2f2;
|
||||
$sidebar-block-text:#424242;
|
||||
$sidebar-block-link:#1c1c1c;
|
||||
$sidebar-block-link-h:#00c293;
|
||||
|
||||
// Footer
|
||||
$footer-bg:#fafafa;
|
||||
$footer-titles:#cccccc;
|
||||
$footer-text:#9d9d9d;
|
||||
$footer-links:#555555;
|
||||
$footer-links-h:#000000;
|
||||
$footer-news-bg:#ffffff;
|
||||
$footer-news-color:#a0a0a0;
|
||||
$footer-news-btn:#ff4653;
|
||||
Reference in New Issue
Block a user