From b60ac0056e81a3bcb6512590b26ebfe47e3ad0fc Mon Sep 17 00:00:00 2001 From: philwareham Date: Fri, 12 Feb 2021 16:05:37 +0000 Subject: [PATCH] More performance work --- package.json | 2 +- src/403.html | 2 -- src/404.html | 2 -- src/500.html | 2 -- src/503.html | 2 -- src/style/Textpattern/admin.tpl | 2 -- src/style/Textpattern/help.tpl | 2 -- src/style/Textpattern/main.tpl | 2 -- src/style/Textpattern/maintenance.tpl | 2 -- src/style/Textpattern/redirect.tpl | 2 -- .../Textpattern/sass/modules/_forms.scss | 22 ------------------- .../Textpattern/sass/modules/_print.scss | 11 ++-------- .../Textpattern/sass/modules/_social.scss | 4 ---- 13 files changed, 3 insertions(+), 54 deletions(-) diff --git a/package.json b/package.json index 53f92a4b..4e4c99b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "textpattern-forum", - "version": "1.5.1", + "version": "1.5.2", "repository": { "type": "git", "url": "https://github.com/textpattern/textpattern-forum" diff --git a/src/403.html b/src/403.html index ffd1085d..69f8e38c 100644 --- a/src/403.html +++ b/src/403.html @@ -4,9 +4,7 @@ - - diff --git a/src/404.html b/src/404.html index 168190c5..d875144a 100644 --- a/src/404.html +++ b/src/404.html @@ -4,9 +4,7 @@ - - diff --git a/src/500.html b/src/500.html index 4b3e2f69..f0cd5aea 100644 --- a/src/500.html +++ b/src/500.html @@ -4,9 +4,7 @@ - - diff --git a/src/503.html b/src/503.html index 5ac0ac50..5861d4ee 100644 --- a/src/503.html +++ b/src/503.html @@ -4,9 +4,7 @@ - - diff --git a/src/style/Textpattern/admin.tpl b/src/style/Textpattern/admin.tpl index f4d445fc..500c33b6 100755 --- a/src/style/Textpattern/admin.tpl +++ b/src/style/Textpattern/admin.tpl @@ -4,9 +4,7 @@ - - diff --git a/src/style/Textpattern/help.tpl b/src/style/Textpattern/help.tpl index 8f1feaaf..6816ed33 100755 --- a/src/style/Textpattern/help.tpl +++ b/src/style/Textpattern/help.tpl @@ -4,9 +4,7 @@ - - diff --git a/src/style/Textpattern/main.tpl b/src/style/Textpattern/main.tpl index 888b937c..2b15b4e8 100755 --- a/src/style/Textpattern/main.tpl +++ b/src/style/Textpattern/main.tpl @@ -4,9 +4,7 @@ - - diff --git a/src/style/Textpattern/maintenance.tpl b/src/style/Textpattern/maintenance.tpl index 9cee8bef..50e6c4ab 100755 --- a/src/style/Textpattern/maintenance.tpl +++ b/src/style/Textpattern/maintenance.tpl @@ -4,9 +4,7 @@ - - diff --git a/src/style/Textpattern/redirect.tpl b/src/style/Textpattern/redirect.tpl index a7614a2b..1597a848 100755 --- a/src/style/Textpattern/redirect.tpl +++ b/src/style/Textpattern/redirect.tpl @@ -4,9 +4,7 @@ - - diff --git a/src/style/Textpattern/sass/modules/_forms.scss b/src/style/Textpattern/sass/modules/_forms.scss index e09220a7..eae4dc69 100644 --- a/src/style/Textpattern/sass/modules/_forms.scss +++ b/src/style/Textpattern/sass/modules/_forms.scss @@ -73,20 +73,13 @@ textarea, * 1. Remove browser-specific default styling. */ -[type="color"], -[type="date"], -[type="datetime"], -[type="datetime-local"], [type="email"], -[type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], -[type="time"], [type="url"], -[type="week"], select, textarea { height: 2em; // 32px / 16px @@ -107,20 +100,13 @@ textarea { } @include setup.dark-mode { - [type="color"], - [type="date"], - [type="datetime"], - [type="datetime-local"], [type="email"], - [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], - [type="time"], [type="url"], - [type="week"], select, textarea { border-color: var(--clr-brdr-x-dark); @@ -372,14 +358,6 @@ select[size="1"] { height: 2em; // 32px / 16px } -/** - * Remove browser-specific `select` UI in IE 11. - */ - -select::-ms-expand { - opacity: 0; -} - /** * Normalize styling of `optgroup`. */ diff --git a/src/style/Textpattern/sass/modules/_print.scss b/src/style/Textpattern/sass/modules/_print.scss index 06687550..7ece50a1 100644 --- a/src/style/Textpattern/sass/modules/_print.scss +++ b/src/style/Textpattern/sass/modules/_print.scss @@ -22,14 +22,6 @@ body { font-family: "Helvetica Neue", sans-serif; } -/** - * Visually separate site header from body. - */ - -.site-header { - border-bottom: 1pt solid black; -} - /** * Hide unnecessary content from print. */ @@ -43,9 +35,10 @@ form, #brdstats, #brdfooter, #quickpost, +.site-header, +.site-footer, .search-form, .complementary-content, -.site-footer, .a--skip-link, .linkst, .postlinksb, diff --git a/src/style/Textpattern/sass/modules/_social.scss b/src/style/Textpattern/sass/modules/_social.scss index 95ff169c..f3bb4f70 100644 --- a/src/style/Textpattern/sass/modules/_social.scss +++ b/src/style/Textpattern/sass/modules/_social.scss @@ -35,10 +35,6 @@ filter: brightness(1.1); } - //&.facebook { - // background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect fill='%233b5998' width='32' height='32'/%3E%3Cpath fill='%23fff' d='M22,32V20h4l0.8-5H22v-3.3c0-1.4,0.5-2.4,2.5-2.4H27V5c-0.4-0.1-1.9-0.2-3.7-0.2c-3.7,0-6.3,2.3-6.3,6.4V15h-4v5h4v12H22z'/%3E%3C/svg%3E"); - //} - &.twitter { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect fill='%2300aced' width='32' height='32'/%3E%3Cpath fill='%23fff' d='M26.7,9.4c-0.8,0.3-1.6,0.6-2.5,0.7c0.9-0.5,1.6-1.4,1.9-2.4c-0.8,0.5-1.8,0.9-2.8,1c-0.8-0.9-1.9-1.4-3.2-1.4c-2.4,0-4.4,2-4.4,4.4c0,0.3,0,0.7,0.1,1c-3.6-0.2-6.9-1.9-9-4.6c-0.4,0.6-0.6,1.4-0.6,2.2c0,1.5,0.8,2.9,1.9,3.6c-0.7,0-1.4-0.2-2-0.5l0,0c0,2.1,1.5,3.9,3.5,4.3c-0.4,0.1-0.8,0.2-1.2,0.2c-0.3,0-0.6,0-0.8,0c0.6,1.7,2.2,3,4,3c-1.5,1.2-3.4,1.9-5.4,1.9c-0.4,0-0.7,0-1-0.1c1.9,1.2,4.2,2,6.7,2c8.1,0,12.5-6.7,12.5-12.5c0-0.2,0-0.4,0-0.6C25.3,11,26.1,10.3,26.7,9.4z'/%3E%3C/svg%3E"); }