changeset 6:875880e46745

Styling
author Chris Cannam
date Fri, 08 Dec 2017 13:21:27 +0000
parents c69a71b4f40f
children 848c88cfe644
files themes/isobartik/css/base/elements.css themes/isobartik/css/colors.css themes/isobartik/css/components/node-preview.css themes/isobartik/css/components/primary-menu.css themes/isobartik/css/components/search-form.css themes/isobartik/css/components/tablesort-indicator.css
diffstat 6 files changed, 25 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/themes/isobartik/css/base/elements.css	Thu Dec 07 14:46:23 2017 +0000
+++ b/themes/isobartik/css/base/elements.css	Fri Dec 08 13:21:27 2017 +0000
@@ -34,6 +34,13 @@
   border-bottom: none;
 }
 
+/* Can't figure out how to remove the comment login links from within
+   the admin UI - should be something about field management in the content
+   admin section but it simply isn't there. So: */
+.node__links { display: none; }
+
+#block-mainnavigation li { display: inline; padding-right: 2em; margin-left: -1em; padding-left: 0 }
+
 /**
  * Reusable heading classes are included to help modules change the styling of
  * headings on a page without affecting accessibility.
--- a/themes/isobartik/css/colors.css	Thu Dec 07 14:46:23 2017 +0000
+++ b/themes/isobartik/css/colors.css	Fri Dec 08 13:21:27 2017 +0000
@@ -23,7 +23,7 @@
   background-position: center;
   background-size: contain;
   background-repeat: no-repeat;
-  height: 14em;
+  height: 13em;
 }
 
 a,
--- a/themes/isobartik/css/components/node-preview.css	Thu Dec 07 14:46:23 2017 +0000
+++ b/themes/isobartik/css/components/node-preview.css	Fri Dec 08 13:21:27 2017 +0000
@@ -11,8 +11,8 @@
 }
 .node-preview-backlink {
   background-color: #419ff1;
-  background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #419ff1, #1076d5);
-  background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #419ff1, #1076d5); /* LTR */
+  background: url(../../../../core/misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #419ff1, #1076d5);
+  background: url(../../../../core/misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #419ff1, #1076d5); /* LTR */
   border: 1px solid #0048c8;
   border-radius: .4em;
   box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
@@ -24,35 +24,35 @@
   text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
 }
 [dir="rtl"] .node-preview-backlink {
-  background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #419ff1, #1076d5);
-  background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #419ff1, #1076d5);
+  background: url(../../../../core/misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #419ff1, #1076d5);
+  background: url(../../../../core/misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #419ff1, #1076d5);
   padding: 4px 0.6em 4px 1em;
   float: right;
 }
 .node-preview-backlink:focus,
 .node-preview-backlink:hover {
   background-color: #419cf1;
-  background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #59abf3, #2a90ef);
-  background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #59abf3, #2a90ef); /* LTR */
+  background: url(../../../../core/misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #59abf3, #2a90ef);
+  background: url(../../../../core/misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #59abf3, #2a90ef); /* LTR */
   border: 1px solid #0048c8;
   text-decoration: none;
   color: #fff;
 }
 [dir="rtl"] .node-preview-backlink:focus,
 [dir="rtl"] .node-preview-backlink:hover {
-  background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #59abf3, #2a90ef);
-  background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #59abf3, #2a90ef);
+  background: url(../../../../core/misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #59abf3, #2a90ef);
+  background: url(../../../../core/misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #59abf3, #2a90ef);
 }
 .node-preview-backlink:active {
   background-color: #0e69be;
-  background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #0e69be, #2a93ef);
-  background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #0e69be, #2a93ef); /* LTR */
+  background: url(../../../../core/misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #0e69be, #2a93ef);
+  background: url(../../../../core/misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #0e69be, #2a93ef); /* LTR */
   border: 1px solid #0048c8;
   box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
 }
 [dir="rtl"] .node-preview-backlink:active {
-  background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #0e69be, #2a93ef);
-  background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #0e69be, #2a93ef);
+  background: url(../../../../core/misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #0e69be, #2a93ef);
+  background: url(../../../../core/misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #0e69be, #2a93ef);
 }
 .node-preview-backlink::before {
   content: '';
--- a/themes/isobartik/css/components/primary-menu.css	Thu Dec 07 14:46:23 2017 +0000
+++ b/themes/isobartik/css/components/primary-menu.css	Fri Dec 08 13:21:27 2017 +0000
@@ -79,7 +79,7 @@
 }
 body:not(:target) .region-primary-menu .menu-toggle:after {
   content:"";
-  background: url(../../../../misc/icons/ffffff/hamburger.svg) no-repeat;
+  background: url(../../../../core/misc/icons/ffffff/hamburger.svg) no-repeat;
   background-size: contain;
   width: 22px;
   height: 22px;
--- a/themes/isobartik/css/components/search-form.css	Thu Dec 07 14:46:23 2017 +0000
+++ b/themes/isobartik/css/components/search-form.css	Fri Dec 08 13:21:27 2017 +0000
@@ -18,7 +18,7 @@
 }
 .button.search-form__submit,
 .search-form__submit {
-  background: #f0f0f0 url(../../../../misc/icons/505050/loupe.svg) no-repeat center;
+  background: #f0f0f0 url(../../../../core/misc/icons/505050/loupe.svg) no-repeat center;
   cursor: pointer;
   height: 26px;
   margin-left: 0;
@@ -33,7 +33,7 @@
 .search-form__submit:hover,
 .button.search-form__submit:focus,
 .search-form__submit:focus {
-  background: #dedede url(../../../../misc/icons/424242/loupe.svg) no-repeat center;
+  background: #dedede url(../../../../core/misc/icons/424242/loupe.svg) no-repeat center;
 }
 .search-form .form-item-keys label {
   display: block;
--- a/themes/isobartik/css/components/tablesort-indicator.css	Thu Dec 07 14:46:23 2017 +0000
+++ b/themes/isobartik/css/components/tablesort-indicator.css	Fri Dec 08 13:21:27 2017 +0000
@@ -10,8 +10,8 @@
   margin: 1px 0 0 5px;
 }
 .tablesort--asc {
-  background-image: url(../../../../misc/icons/ffffff/twistie-down.svg);
+  background-image: url(../../../../core/misc/icons/ffffff/twistie-down.svg);
 }
 .tablesort--desc {
-  background-image: url(../../../../misc/icons/ffffff/twistie-up.svg);
+  background-image: url(../../../../core/misc/icons/ffffff/twistie-up.svg);
 }