Skip to content

Commit

Permalink
Redifined SCSS structure
Browse files Browse the repository at this point in the history
  • Loading branch information
paperplanefactory committed May 30, 2023
1 parent 628fdb3 commit f47d419
Show file tree
Hide file tree
Showing 24 changed files with 95 additions and 57 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// main: style.scss
@import 'global-vars';
@import 'global-mixin';
@import '../global/vars';
@import '../global/mixin';

.search-hold {
input[type=text] {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// main: style.scss
@import 'global-vars';
@import 'global-mixin';
@import '../global/vars';
@import '../global/mixin';

.flex-hold-3,
.flex-hold-5 {
Expand Down Expand Up @@ -30,6 +30,7 @@

&.masonry-three,
&.masonry-two {

.flex-hold-child,
.grid-sizer {
position: relative;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// main: style.scss
@import 'global-vars';
@import 'global-mixin';
@import '../global/vars';
@import '../global/mixin';

.flex-hold-5 {
&.margins-wide {
Expand Down Expand Up @@ -66,6 +66,7 @@
margin-top: 14px;

&.masonry-three {

.flex-hold-child,
.grid-sizer {
position: relative;
Expand All @@ -76,6 +77,7 @@
}

&.masonry-two {

.flex-hold-child,
.grid-sizer {
position: relative;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// main: style.scss
@import 'global-vars';
@import 'global-mixin'; // header
@import '../global/vars';
@import '../global/mixin'; // header

#preheader {
position: relative;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// main: style.scss
@import 'global-vars';
@import 'global-mixin';
@import '../global/vars';
@import '../global/mixin';

.only-mobile {
display: none;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// main: style.scss
@import 'global-vars';
@import 'global-mixin';
@import 'vars';
@import 'mixin';

body.clear-theme {
color: $color-1;
Expand All @@ -14,6 +14,7 @@ body.clear-theme {
}

.clear-theme {

div,
footer,
header,
Expand Down Expand Up @@ -63,6 +64,7 @@ body.clear-theme {
::-moz-placeholder {
color: $color-1;
}

// hamburger
.open_head .hambuger-element span {
background-color: $color-1 !important;
Expand All @@ -75,6 +77,7 @@ body.clear-theme {
.hambuger-element:hover span {
background: $color-3;
}

// txt colors
.txt-1 {
color: $color-1;
Expand Down Expand Up @@ -108,9 +111,10 @@ body.clear-theme {
}
}

ol > li:before {
ol>li:before {
color: $color-1;
}

// bg colors
.bg-1 {
background-color: $color-1;
Expand All @@ -131,6 +135,7 @@ body.clear-theme {
.bg-5 {
background-color: $color-5;
}

// link behaviour and colors
a:link,
a:visited {
Expand Down Expand Up @@ -167,6 +172,7 @@ body.clear-theme {
}

.txt-4 {

&:link,
&:visited {
color: $color-2;
Expand All @@ -182,6 +188,7 @@ body.clear-theme {
color: $color-6;
}
}

// structure elements
.flex-hold-title {
background-color: rgba(255, 255, 255, 0.85);
Expand All @@ -190,6 +197,7 @@ body.clear-theme {
.sk-folding-cube .sk-cube:before {
background-color: $color-1;
}

// forms
.form-hold {
label {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// main: style.scss
@import 'global-vars';
@import 'global-mixin';
@import 'vars';
@import 'mixin';

body.dark-theme {
color: $color-1-dark;
Expand All @@ -14,6 +14,7 @@ body.dark-theme {
}

.dark-theme {

div,
footer,
header,
Expand Down Expand Up @@ -60,6 +61,7 @@ body.dark-theme {
::-moz-placeholder {
color: $color-1-dark;
}

// hamburger
.open_head .hambuger-element span {
background-color: $color-1-dark !important;
Expand All @@ -72,6 +74,7 @@ body.dark-theme {
.hambuger-element:hover span {
background: $color-3-dark;
}

// txt colors
.txt-1,
.video-slide .prev-next,
Expand Down Expand Up @@ -101,9 +104,10 @@ body.dark-theme {
}
}

ol > li:before {
ol>li:before {
color: $color-1-dark;
}

// bg colors
.bg-1 {
background-color: $color-1-dark;
Expand All @@ -130,6 +134,7 @@ body.dark-theme {
background-color: $color-1-dark;
}
}

// link behaviour and colors
a:link,
a:visited {
Expand Down Expand Up @@ -180,6 +185,7 @@ body.dark-theme {
}

.txt-4 {

&:link,
&:visited {
color: $color-2-dark;
Expand All @@ -195,6 +201,7 @@ body.dark-theme {
color: $color-6;
}
}

// structure elements
.flex-hold-title {
background-color: rgba(25, 25, 25, 0.85);
Expand All @@ -203,6 +210,7 @@ body.dark-theme {
.sk-folding-cube .sk-cube:before {
background-color: $color-1-dark;
}

// forms
.form-hold {
label {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// main: style.scss
@import 'global-vars';
@import 'global-mixin'; // index
@import 'vars';
@import 'mixin'; // index
// comportamenti predefiniti - selezione testo - placeholder - allineamento testi - immagini - etc
// infinite load
// banner cookies
Expand Down Expand Up @@ -163,6 +163,7 @@
height: 100%;
}
}

// infinite load

.navigation {
Expand Down Expand Up @@ -209,6 +210,7 @@
text-transform: uppercase;
cursor: pointer;
}

// hamburger
.hambuger-element {
width: 25px;
Expand Down Expand Up @@ -265,6 +267,7 @@
width: 0;
left: 50%;
}

// link behaviour and colors

a.absl:link {
Expand All @@ -276,6 +279,7 @@ a.absl:link {
width: 100%;
height: 100%;
}

// comma separated links

.category-list {
Expand Down Expand Up @@ -312,6 +316,7 @@ a.absl:link {
}
}
}

// structure

#header {
Expand Down Expand Up @@ -392,6 +397,7 @@ a.absl:link {
.pointered {
cursor: pointer;
}

// responsive iframes / videos

.video-frame {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// main: style.scss
@import 'global-vars';
@import 'global-mixin';
@import 'vars';
@import 'mixin';

.blurred {
@include define-lazy-blur(5px);
Expand Down Expand Up @@ -58,7 +58,7 @@ html.is-animating .loading-transition-effect {
text-align: center;
}

.spinner > div {
.spinner>div {
width: 18px;
height: 18px;
border-radius: 100%;
Expand All @@ -76,7 +76,9 @@ html.is-animating .loading-transition-effect {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {

0%,
100%,
80% {
Expand All @@ -87,7 +89,9 @@ html.is-animating .loading-transition-effect {
-webkit-transform: scale(1.0);
}
}

@keyframes sk-bouncedelay {

0%,
100%,
80% {
Expand Down Expand Up @@ -167,7 +171,9 @@ html.is-animating .loading-transition-effect {
-webkit-animation-delay: 0.9s;
animation-delay: 0.9s;
}

@-webkit-keyframes sk-foldCubeAngle {

0%,
10% {
-webkit-transform: perspective(140px) rotateX(-180deg);
Expand All @@ -189,7 +195,9 @@ html.is-animating .loading-transition-effect {
opacity: 0;
}
}

@keyframes sk-foldCubeAngle {

0%,
10% {
-webkit-transform: perspective(140px) rotateX(-180deg);
Expand Down Expand Up @@ -218,7 +226,9 @@ html.is-animating .loading-transition-effect {
animation: swipe-info-move 1.4s infinite ease-in-out both;
}
}

@-webkit-keyframes swipe-info-move {

0%,
33% {
margin-left: -15px;
Expand All @@ -237,7 +247,9 @@ html.is-animating .loading-transition-effect {
//opacity: 1;
}
}

@keyframes swipe-info-move {

0%,
33% {
margin-left: -35px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// main: style.scss
@import 'global-vars';
@import 'global-mixin'; // forms
@import 'vars';
@import 'mixin'; // forms

.form-hold {
position: relative;
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// main: style.scss
@import 'global-vars';
@import 'global-mixin';
@import 'vars';
@import 'mixin';

.wp-caption.aligncenter,
.wp-caption.alignnone {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// main: style.scss
@import 'global-vars';
@import 'global-mixin';
@import 'vars';
@import 'mixin';

a,
abbr,
Expand Down Expand Up @@ -207,6 +207,7 @@ img {
vertical-align: middle;
-ms-interpolation-mode: bicubic;
}

/* Clearing floats */
.clear:after,
.format-status .entry-header:after,
Expand Down
Loading

0 comments on commit f47d419

Please sign in to comment.