Browse Source

Normalize colour scheme (fix #52) (#57)

* Initial cleanup.

* Fix SPDX.
pull/70/head
Ned Zimmerman 7 years ago committed by GitHub
parent
commit
9620032132
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      assets/styles/aldine.scss
  2. 6
      assets/styles/components/_book.scss
  3. 8
      assets/styles/components/_forms.scss
  4. 3
      assets/styles/editor.scss
  5. 0
      assets/styles/layouts/_footer.scss
  6. 0
      assets/styles/layouts/_page-catalog.scss
  7. 0
      assets/styles/layouts/_page-home.scss
  8. 0
      assets/styles/layouts/_page.scss
  9. 13
      assets/styles/layouts/_pages.scss
  10. 3
      assets/styles/layouts/_tinymce.scss
  11. 4
      dist/mix-manifest.json
  12. 2
      dist/styles/aldine.css
  13. 2
      dist/styles/editor.css

7
assets/styles/aldine.scss

@ -12,7 +12,8 @@
@import "common/global";
@import "components/book";
@import "components/forms";
@import "layouts/footer";
@import "layouts/header";
@import "layouts/front-page";
@import "layouts/pages";
@import "layouts/catalog";
@import "layouts/page";
@import "layouts/page-home";
@import "layouts/page-catalog";

6
assets/styles/components/_book.scss

@ -8,13 +8,13 @@
margin: 0 0 2rem;
padding: 1.5rem 1rem 2rem;
@media #{$breakpoint-not-small} { padding: 1.5rem 1.85rem 2.1875rem; }
border: solid 2px var(--accent, $brand-accent);
background: var(--accent, $brand-accent);
border: solid 2px var(--accent);
background: var(--accent);
a {
margin: 0;
font-family: $font-family-sans-serif;
color: var(--accent-fg, #fff);
color: var(--accent-fg);
text-decoration: none;
text-align: center;
}

8
assets/styles/components/_forms.scss

@ -16,7 +16,7 @@ textarea {
border-top: 0;
border-right: 0;
border-left: 0;
border-bottom: solid 2px var(--black, #000);
border-bottom: solid 2px var(--black);
border-radius: 0;
padding: 0 0 1.5em;
font-size: 1rem;
@ -40,7 +40,7 @@ input[type="submit"] {
width: rem(354);
::placeholder {
color: #000;
color: var(--black);
}
&__notice {
@ -52,11 +52,11 @@ input[type="submit"] {
text-align: center;
&--error {
color: #c00;
color: var(--error, #c00);
}
&--success {
color: #070;
color: var(--success, #070);
}
}

3
assets/styles/editor.scss

@ -1,7 +1,8 @@
@import '~aetna/assets/styles/common/_variables.scss';
@import '~aetna/assets/styles/common/_global.scss';
#tinymce.wp-editor {
body#tinymce {
margin: 12px !important;
@import '~aetna/assets/styles/components/_buttons.scss';
@import '~aetna/assets/styles/layouts/_page-sections.scss';
}

0
assets/styles/layouts/_posts.scss → assets/styles/layouts/_footer.scss

0
assets/styles/layouts/_catalog.scss → assets/styles/layouts/_page-catalog.scss

0
assets/styles/layouts/_front-page.scss → assets/styles/layouts/_page-home.scss

0
assets/styles/layouts/_sidebar.scss → assets/styles/layouts/_page.scss

13
assets/styles/layouts/_pages.scss

@ -1,13 +0,0 @@
// .page:not(.home) article {
// .entry-header h1 {
// @extend .h2;
// }
// @extend .page-section;
// text-align: left;
// width: 100%;
// max-width: rem(800);
// margin-top: calc(-80%);
// margin-left: auto;
// margin-right: auto;
// }

3
assets/styles/layouts/_tinymce.scss

@ -1,3 +0,0 @@
body#tinymce {
margin: 12px !important;
}

4
dist/mix-manifest.json vendored

@ -1,6 +1,6 @@
{
"/scripts/aldine.js": "/scripts/aldine.js?id=a166171314fdc227903c",
"/styles/aldine.css": "/styles/aldine.css?id=00b0c10d93f464c01cc5",
"/styles/editor.css": "/styles/editor.css?id=10e3f4b144847aa8d75e",
"/styles/aldine.css": "/styles/aldine.css?id=1210a93b205df58a9afb",
"/styles/editor.css": "/styles/editor.css?id=d96762ab5918cde0c2e1",
"/scripts/customizer.js": "/scripts/customizer.js?id=decf119933e3b2d4b210"
}

2
dist/styles/aldine.css vendored

File diff suppressed because one or more lines are too long

2
dist/styles/editor.css vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save