Explorar el Código

Varia: revert shawburn changes.

Allan Cole hace 5 años
padre
commit
b2258b362d

+ 0 - 2
shawburn/package.json

@@ -36,9 +36,7 @@
     "start": "chokidar \"**/*.scss\" -c \"npm run build\" --initial",
     "start": "chokidar \"**/*.scss\" -c \"npm run build\" --initial",
     "build:style": "node-sass sass/style-child-theme.scss style.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r style.css",
     "build:style": "node-sass sass/style-child-theme.scss style.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r style.css",
     "build:style-editor": "node-sass sass/style-child-theme-editor.scss style-editor.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r style-editor.css",
     "build:style-editor": "node-sass sass/style-child-theme-editor.scss style-editor.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r style-editor.css",
-    "build:style-woocommerce": "node-sass sass/style-child-theme-woocommerce.scss style-woocommerce.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r style-woocommerce.css",
     "build:rtl": "rtlcss style.css style-rtl.css",
     "build:rtl": "rtlcss style.css style-rtl.css",
-    "build:woocommerce-rtl": "rtlcss style-woocommerce.css style-woocommerce-rtl.css",
     "build:print": "node-sass sass/print.scss print.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r print.css",
     "build:print": "node-sass sass/print.scss print.css --output-style expanded --indent-type tab --indent-width 1 && postcss -r print.css",
     "build": "run-p \"build:*\"",
     "build": "run-p \"build:*\"",
     "watch": "chokidar \"**/*.scss\" -c \"npm run build\" --initial"
     "watch": "chokidar \"**/*.scss\" -c \"npm run build\" --initial"

+ 0 - 6
shawburn/sass/_config-child-theme-deep.scss

@@ -92,12 +92,6 @@ $config-global: (
 			"light": #FAFAFA,
 			"light": #FAFAFA,
 			"dark": #DADADA,
 			"dark": #DADADA,
 		),
 		),
-		"alert": (
-			"success": yellowgreen,
-			"info": skyblue,
-			"warning": gold,
-			"error": salmon,
-		),
 		"text-selection": lighten(#0C80A1, 55%),
 		"text-selection": lighten(#0C80A1, 55%),
 		"black": black,
 		"black": black,
 		"white": white,
 		"white": white,

+ 1 - 3
shawburn/sass/style-child-theme.scss

@@ -26,9 +26,7 @@ Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
  * Abstracts
  * Abstracts
  * - Mixins, variables and functions
  * - Mixins, variables and functions
  */
  */
-@import "../../varia/sass/abstracts/functions";
-@import "../../varia/sass/abstracts/config-global";
-@import "../../varia/sass/abstracts/mixins";
+@import "../../varia/sass/abstracts/imports";
 
 
 /**
 /**
  * Child Theme Name
  * Child Theme Name

+ 80 - 104
shawburn/style-rtl.css

@@ -22,6 +22,10 @@ Underscores is distributed under the terms of the GNU GPL v2 or later.
 Normalizing styles have been helped along thanks to the fine work of
 Normalizing styles have been helped along thanks to the fine work of
 Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
 Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
 */
 */
+/**
+ * Abstracts
+ * - Mixins, variables and functions
+ */
 /**
 /**
  * Abstracts
  * Abstracts
  * - Mixins, variables and functions
  * - Mixins, variables and functions
@@ -184,84 +188,6 @@ $grid-configuration: map-extend($grid-configuration-default, $grid-configuration
  * Base
  * Base
  * - Reset the browser
  * - Reset the browser
  */
  */
-/**
- * Button Placeholder style
- * - Since buttons appear in various blocks,
- *   let’s use a placeholder to keep them all
- *   in-sync
- */
-button,
-.button,
-input[type="submit"],
-.wp-block-button__link,
-.wp-block-file__button, .a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept {
-	line-height: 1;
-	color: white;
-	cursor: pointer;
-	font-weight: 700;
-	font-family: "PT Sans", Arial, sans-serif;
-	font-family: var(--font-base, "PT Sans", Arial, sans-serif);
-	font-size: 0.83333rem;
-	background-color: #0C80A1;
-	border-radius: 4px;
-	border-width: 0;
-	padding: 16px 24px;
-}
-
-button:before,
-.button:before,
-input[type="submit"]:before,
-.wp-block-button__link:before,
-.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before, button:after,
-.button:after,
-input[type="submit"]:after,
-.wp-block-button__link:after,
-.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
-	content: '';
-	display: block;
-	height: 0;
-	width: 0;
-}
-
-button:before,
-.button:before,
-input[type="submit"]:before,
-.wp-block-button__link:before,
-.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before {
-	margin-bottom: -0.12em;
-}
-
-button:after,
-.button:after,
-input[type="submit"]:after,
-.wp-block-button__link:after,
-.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
-	margin-top: -0.11em;
-}
-
-button:hover,
-.button:hover,
-input:hover[type="submit"],
-.wp-block-button__link:hover,
-.wp-block-file__button:hover, .a8c-posts-list__view-all:hover, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:hover, button:focus,
-.button:focus,
-input:focus[type="submit"],
-.wp-block-button__link:focus,
-.wp-block-file__button:focus, .a8c-posts-list__view-all:focus, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:focus, button.has-focus,
-.has-focus.button,
-input.has-focus[type="submit"],
-.has-focus.wp-block-button__link,
-.has-focus.wp-block-file__button, .has-focus.a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.has-focus.accept {
-	color: white;
-	background-color: #085a72;
-}
-
-/**
- * Onsale Placeholder style
- * - Since buttons appear in various blocks,
- *   let’s use a placeholder to keep them all
- *   in-sync
- */
 /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
 /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
 /* Document
 /* Document
    ========================================================================== */
    ========================================================================== */
@@ -758,7 +684,9 @@ a {
 .site-header:after,
 .site-header:after,
 .site-content:after,
 .site-content:after,
 .site-footer:after {
 .site-footer:after {
-	clear: both;
+	content: "";
+	display: table;
+	table-layout: fixed;
 }
 }
 
 
 /**
 /**
@@ -933,8 +861,7 @@ footer {
 .post-thumbnail > *,
 .post-thumbnail > *,
 .page-content > *,
 .page-content > *,
 .comment-content > *,
 .comment-content > *,
-.author-bio > *,
-.widget-area > .widget > * {
+.author-bio > * {
 	margin-top: 16px;
 	margin-top: 16px;
 	margin-bottom: 16px;
 	margin-bottom: 16px;
 }
 }
@@ -944,8 +871,7 @@ footer {
 .post-thumbnail > *:first-child,
 .post-thumbnail > *:first-child,
 .page-content > *:first-child,
 .page-content > *:first-child,
 .comment-content > *:first-child,
 .comment-content > *:first-child,
-.author-bio > *:first-child,
-.widget-area > .widget > *:first-child {
+.author-bio > *:first-child {
 	margin-top: 0;
 	margin-top: 0;
 }
 }
 
 
@@ -954,8 +880,7 @@ footer {
 .post-thumbnail > *:last-child,
 .post-thumbnail > *:last-child,
 .page-content > *:last-child,
 .page-content > *:last-child,
 .comment-content > *:last-child,
 .comment-content > *:last-child,
-.author-bio > *:last-child,
-.widget-area > .widget > *:last-child {
+.author-bio > *:last-child {
 	margin-bottom: 0;
 	margin-bottom: 0;
 }
 }
 
 
@@ -1146,8 +1071,77 @@ object {
 }
 }
 
 
 /**
 /**
- * Button
+ * Placeholder button style
+ * - Since buttons appear in various blocks,
+ *   let’s use a placeholder to keep them all
+ *   in-sync
  */
  */
+button,
+.button,
+input[type="submit"],
+.wp-block-button__link,
+.wp-block-file__button, .a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept {
+	line-height: 1;
+	color: white;
+	cursor: pointer;
+	font-weight: 700;
+	font-family: "PT Sans", Arial, sans-serif;
+	font-family: var(--font-base, "PT Sans", Arial, sans-serif);
+	font-size: 0.83333rem;
+	background-color: #0C80A1;
+	border-radius: 4px;
+	border-width: 0;
+	padding: 16px 24px;
+}
+
+button:before,
+.button:before,
+input[type="submit"]:before,
+.wp-block-button__link:before,
+.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before, button:after,
+.button:after,
+input[type="submit"]:after,
+.wp-block-button__link:after,
+.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
+	content: '';
+	display: block;
+	height: 0;
+	width: 0;
+}
+
+button:before,
+.button:before,
+input[type="submit"]:before,
+.wp-block-button__link:before,
+.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before {
+	margin-bottom: -0.12em;
+}
+
+button:after,
+.button:after,
+input[type="submit"]:after,
+.wp-block-button__link:after,
+.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
+	margin-top: -0.11em;
+}
+
+button:hover,
+.button:hover,
+input:hover[type="submit"],
+.wp-block-button__link:hover,
+.wp-block-file__button:hover, .a8c-posts-list__view-all:hover, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:hover, button:focus,
+.button:focus,
+input:focus[type="submit"],
+.wp-block-button__link:focus,
+.wp-block-file__button:focus, .a8c-posts-list__view-all:focus, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:focus, button.has-focus,
+.has-focus.button,
+input.has-focus[type="submit"],
+.has-focus.wp-block-button__link,
+.has-focus.wp-block-file__button, .has-focus.a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.has-focus.accept {
+	color: white;
+	background-color: #085a72;
+}
+
 /**
 /**
  * Block Options
  * Block Options
  */
  */
@@ -2066,10 +2060,7 @@ table th,
  */
  */
 .aligncenter {
 .aligncenter {
 	clear: both;
 	clear: both;
-	display: block;
 	float: none;
 	float: none;
-	margin-left: auto;
-	margin-right: auto;
 	text-align: center;
 	text-align: center;
 }
 }
 
 
@@ -3020,18 +3011,10 @@ body:not(.fse-enabled) .footer-menu a {
 	}
 	}
 }
 }
 
 
-.comment-meta .comment-author {
-	line-height: 1.125;
-	margin-bottom: 4px;
-	padding-left: 40px;
-}
-
 @media only screen and (min-width: 560px) {
 @media only screen and (min-width: 560px) {
 	.comment-meta .comment-author {
 	.comment-meta .comment-author {
 		display: flex;
 		display: flex;
 		align-items: center;
 		align-items: center;
-		margin-bottom: 0;
-		padding-left: 0;
 	}
 	}
 }
 }
 
 
@@ -3052,13 +3035,6 @@ body:not(.fse-enabled) .footer-menu a {
 
 
 .comment-meta .comment-metadata {
 .comment-meta .comment-metadata {
 	color: #444444;
 	color: #444444;
-	padding-left: 40px;
-}
-
-@media only screen and (min-width: 560px) {
-	.comment-meta .comment-metadata {
-		padding-left: 0;
-	}
 }
 }
 
 
 .comment-meta .comment-metadata a {
 .comment-meta .comment-metadata a {

+ 80 - 104
shawburn/style.css

@@ -22,6 +22,10 @@ Underscores is distributed under the terms of the GNU GPL v2 or later.
 Normalizing styles have been helped along thanks to the fine work of
 Normalizing styles have been helped along thanks to the fine work of
 Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
 Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
 */
 */
+/**
+ * Abstracts
+ * - Mixins, variables and functions
+ */
 /**
 /**
  * Abstracts
  * Abstracts
  * - Mixins, variables and functions
  * - Mixins, variables and functions
@@ -184,84 +188,6 @@ $grid-configuration: map-extend($grid-configuration-default, $grid-configuration
  * Base
  * Base
  * - Reset the browser
  * - Reset the browser
  */
  */
-/**
- * Button Placeholder style
- * - Since buttons appear in various blocks,
- *   let’s use a placeholder to keep them all
- *   in-sync
- */
-button,
-.button,
-input[type="submit"],
-.wp-block-button__link,
-.wp-block-file__button, .a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept {
-	line-height: 1;
-	color: white;
-	cursor: pointer;
-	font-weight: 700;
-	font-family: "PT Sans", Arial, sans-serif;
-	font-family: var(--font-base, "PT Sans", Arial, sans-serif);
-	font-size: 0.83333rem;
-	background-color: #0C80A1;
-	border-radius: 4px;
-	border-width: 0;
-	padding: 16px 24px;
-}
-
-button:before,
-.button:before,
-input[type="submit"]:before,
-.wp-block-button__link:before,
-.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before, button:after,
-.button:after,
-input[type="submit"]:after,
-.wp-block-button__link:after,
-.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
-	content: '';
-	display: block;
-	height: 0;
-	width: 0;
-}
-
-button:before,
-.button:before,
-input[type="submit"]:before,
-.wp-block-button__link:before,
-.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before {
-	margin-bottom: -0.12em;
-}
-
-button:after,
-.button:after,
-input[type="submit"]:after,
-.wp-block-button__link:after,
-.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
-	margin-top: -0.11em;
-}
-
-button:hover,
-.button:hover,
-input:hover[type="submit"],
-.wp-block-button__link:hover,
-.wp-block-file__button:hover, .a8c-posts-list__view-all:hover, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:hover, button:focus,
-.button:focus,
-input:focus[type="submit"],
-.wp-block-button__link:focus,
-.wp-block-file__button:focus, .a8c-posts-list__view-all:focus, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:focus, button.has-focus,
-.has-focus.button,
-input.has-focus[type="submit"],
-.has-focus.wp-block-button__link,
-.has-focus.wp-block-file__button, .has-focus.a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.has-focus.accept {
-	color: white;
-	background-color: #085a72;
-}
-
-/**
- * Onsale Placeholder style
- * - Since buttons appear in various blocks,
- *   let’s use a placeholder to keep them all
- *   in-sync
- */
 /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
 /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
 /* Document
 /* Document
    ========================================================================== */
    ========================================================================== */
@@ -758,7 +684,9 @@ a {
 .site-header:after,
 .site-header:after,
 .site-content:after,
 .site-content:after,
 .site-footer:after {
 .site-footer:after {
-	clear: both;
+	content: "";
+	display: table;
+	table-layout: fixed;
 }
 }
 
 
 /**
 /**
@@ -933,8 +861,7 @@ footer {
 .post-thumbnail > *,
 .post-thumbnail > *,
 .page-content > *,
 .page-content > *,
 .comment-content > *,
 .comment-content > *,
-.author-bio > *,
-.widget-area > .widget > * {
+.author-bio > * {
 	margin-top: 16px;
 	margin-top: 16px;
 	margin-bottom: 16px;
 	margin-bottom: 16px;
 }
 }
@@ -944,8 +871,7 @@ footer {
 .post-thumbnail > *:first-child,
 .post-thumbnail > *:first-child,
 .page-content > *:first-child,
 .page-content > *:first-child,
 .comment-content > *:first-child,
 .comment-content > *:first-child,
-.author-bio > *:first-child,
-.widget-area > .widget > *:first-child {
+.author-bio > *:first-child {
 	margin-top: 0;
 	margin-top: 0;
 }
 }
 
 
@@ -954,8 +880,7 @@ footer {
 .post-thumbnail > *:last-child,
 .post-thumbnail > *:last-child,
 .page-content > *:last-child,
 .page-content > *:last-child,
 .comment-content > *:last-child,
 .comment-content > *:last-child,
-.author-bio > *:last-child,
-.widget-area > .widget > *:last-child {
+.author-bio > *:last-child {
 	margin-bottom: 0;
 	margin-bottom: 0;
 }
 }
 
 
@@ -1146,8 +1071,77 @@ object {
 }
 }
 
 
 /**
 /**
- * Button
+ * Placeholder button style
+ * - Since buttons appear in various blocks,
+ *   let’s use a placeholder to keep them all
+ *   in-sync
  */
  */
+button,
+.button,
+input[type="submit"],
+.wp-block-button__link,
+.wp-block-file__button, .a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept {
+	line-height: 1;
+	color: white;
+	cursor: pointer;
+	font-weight: 700;
+	font-family: "PT Sans", Arial, sans-serif;
+	font-family: var(--font-base, "PT Sans", Arial, sans-serif);
+	font-size: 0.83333rem;
+	background-color: #0C80A1;
+	border-radius: 4px;
+	border-width: 0;
+	padding: 16px 24px;
+}
+
+button:before,
+.button:before,
+input[type="submit"]:before,
+.wp-block-button__link:before,
+.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before, button:after,
+.button:after,
+input[type="submit"]:after,
+.wp-block-button__link:after,
+.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
+	content: '';
+	display: block;
+	height: 0;
+	width: 0;
+}
+
+button:before,
+.button:before,
+input[type="submit"]:before,
+.wp-block-button__link:before,
+.wp-block-file__button:before, .a8c-posts-list__view-all:before, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:before {
+	margin-bottom: -0.12em;
+}
+
+button:after,
+.button:after,
+input[type="submit"]:after,
+.wp-block-button__link:after,
+.wp-block-file__button:after, .a8c-posts-list__view-all:after, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:after {
+	margin-top: -0.11em;
+}
+
+button:hover,
+.button:hover,
+input:hover[type="submit"],
+.wp-block-button__link:hover,
+.wp-block-file__button:hover, .a8c-posts-list__view-all:hover, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:hover, button:focus,
+.button:focus,
+input:focus[type="submit"],
+.wp-block-button__link:focus,
+.wp-block-file__button:focus, .a8c-posts-list__view-all:focus, body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:focus, button.has-focus,
+.has-focus.button,
+input.has-focus[type="submit"],
+.has-focus.wp-block-button__link,
+.has-focus.wp-block-file__button, .has-focus.a8c-posts-list__view-all, body .widget_eu_cookie_law_widget #eu-cookie-law input.has-focus.accept {
+	color: white;
+	background-color: #085a72;
+}
+
 /**
 /**
  * Block Options
  * Block Options
  */
  */
@@ -2069,10 +2063,7 @@ table th,
  */
  */
 .aligncenter {
 .aligncenter {
 	clear: both;
 	clear: both;
-	display: block;
 	float: none;
 	float: none;
-	margin-right: auto;
-	margin-left: auto;
 	text-align: center;
 	text-align: center;
 }
 }
 
 
@@ -3037,18 +3028,10 @@ body:not(.fse-enabled) .footer-menu a {
 	}
 	}
 }
 }
 
 
-.comment-meta .comment-author {
-	line-height: 1.125;
-	margin-bottom: 4px;
-	padding-right: 40px;
-}
-
 @media only screen and (min-width: 560px) {
 @media only screen and (min-width: 560px) {
 	.comment-meta .comment-author {
 	.comment-meta .comment-author {
 		display: flex;
 		display: flex;
 		align-items: center;
 		align-items: center;
-		margin-bottom: 0;
-		padding-right: 0;
 	}
 	}
 }
 }
 
 
@@ -3069,13 +3052,6 @@ body:not(.fse-enabled) .footer-menu a {
 
 
 .comment-meta .comment-metadata {
 .comment-meta .comment-metadata {
 	color: #444444;
 	color: #444444;
-	padding-right: 40px;
-}
-
-@media only screen and (min-width: 560px) {
-	.comment-meta .comment-metadata {
-		padding-right: 0;
-	}
 }
 }
 
 
 .comment-meta .comment-metadata a {
 .comment-meta .comment-metadata a {