Commit graph

409 commits

Author SHA1 Message Date
benjamin melançon
cb7f49c103 Minimize flash of different navbar color
by not having it transition in the first time, but really we need a full fix
not a meh mitigation.
2018-12-17 09:47:11 -05:00
benjamin melançon
b64064604f Scrollmagic doesn't know how to remove the initial state so just don't have it 2018-12-16 23:47:26 -05:00
benjamin melançon
f1f8103bac Format source code 2018-12-16 23:46:01 -05:00
benjamin melançon
d60056b144 Give a try printing the secondary menu in the titlebar in the header 2018-12-16 23:06:45 -05:00
benjamin melançon
c7876c6627 Set starting default navbar to light header rather than transparent header 2018-12-16 23:06:25 -05:00
benjamin melançon
3303f808d6 Blank out the regular secondary menu block
... we're talking twig blocks here, as printed in the Agarica theme inheriting from
the Octavia theme which inherits it from the Bulma theme.
2018-12-16 23:05:49 -05:00
benjamin melançon
f26fbe6552 Bring person node paragraphs in line with regular node paragraph handling 2018-12-16 11:52:50 -05:00
benjamin melançon
d6dac423a1 Use the field summary + include paragraph wrapper for it
The body field is gone.
2018-12-16 11:51:38 -05:00
benjamin melançon
6ed816380a Consistantly use 'false' rather than 'not true' 2018-12-16 11:50:47 -05:00
benjamin melançon
d62239bebf Work around local debug output breaking background images 2018-12-16 11:39:46 -05:00
benjamin melançon
4530ac2937 We're using minimal HTML so we can actually print paragraph tags as designed 2018-12-15 22:48:51 -05:00
benjamin melançon
8205777a9e Overhaul card template for small cards
No paragraphs.  Keep it simple.

Ref #110
2018-12-15 22:39:41 -05:00
benjamin melançon
a562086680 Set classes for views rows showing small cards 2018-12-15 21:56:15 -05:00
benjamin melançon
ef56e86dfb Add back div for embedded views so we can pass classes in from the view 2018-12-15 21:55:48 -05:00
benjamin melançon
e7b850012c Add start of template for small cards for people listings 2018-12-15 00:07:59 -05:00
benjamin melançon
ba1135a1c8 Commit compiled CSS 2018-12-14 22:40:49 -05:00
benjamin melançon
af74487a66 OK so it was doing something all along...
... i just didn't notice the problematic thing until i started applying
transparency to headers of non-blue colors i guess?

Revert "Delete code that was commented out before i accidentally uncommented it"

This reverts commit 8a43d60d44.
2018-12-14 22:39:41 -05:00
benjamin melançon
92810e08bb Commit compiled CSS 2018-12-14 21:26:47 -05:00
benjamin melançon
8a43d60d44 Delete code that was commented out before i accidentally uncommented it
so, // at the start and // at the end, even on lines by themselves, are not empty
comments in Sass but apparently a multiline commenting out everything in between them.
2018-12-14 21:26:36 -05:00
benjamin melançon
38018874ce Make the navbar *start* transparent 2018-12-14 18:27:54 -05:00
benjamin melançon
65f3f8fcdb Title paragraphs (should have own colors) set navbar to transparent 2018-12-14 18:27:40 -05:00
benjamin melançon
eeb27a33ce Commit compiled CSS 2018-12-14 14:46:00 -05:00
benjamin melançon
618d34c4a4 Move transition to the whole element 2018-12-14 14:45:51 -05:00
benjamin melançon
82fef06480 Fix typo 2018-12-14 14:45:37 -05:00
benjamin melançon
32fb3146f7 Clean up empty code comments 2018-12-14 14:45:12 -05:00
benjamin melançon
34ae201572 Keep person's name in front of their picture 2018-12-14 14:37:23 -05:00
benjamin melançon
265e70a7e8 Commit compiled CSS 2018-12-14 13:17:05 -05:00
benjamin melançon
d418c47aa3 Tint person pictures per styleguide but remove on hover 2018-12-14 13:16:55 -05:00
benjamin melançon
eaad82c177 Remove all wrappers around embedded views 2018-12-13 18:18:38 -05:00
benjamin melançon
de13a6872b Make override very specific to blog
don't like this at all.  Really want the ability to configure most anything to
use the template i choose, which is sort of the promise of the pattern approach...
2018-12-13 14:02:01 -05:00
benjamin melançon
9f69656a37 Override unformatted view wrapper for embeds
... oohhh uggghhh we want this only for blog post listings *sob*
2018-12-13 13:25:26 -05:00
benjamin melançon
634f9f429c Override viewsreference view title to have titlebar stylings 2018-12-13 13:03:43 -05:00
benjamin melançon
80a13a1c74 Commit compiled CSS 2018-12-13 11:25:32 -05:00
benjamin melançon
806e6a1fb1 Keep blog teaser heights even: put author/date behind any pics 2018-12-13 11:25:15 -05:00
benjamin melançon
953d9df627 Commit compiled CSS 2018-12-13 10:41:58 -05:00
benjamin melançon
cd7b562894 Make sure search bar is off screen on large screens 2018-12-13 10:41:48 -05:00
benjamin melançon
63faed6999 Commit compiled CSS 2018-12-12 23:49:10 -05:00
benjamin melançon
5afa90cc37 Make listings like blog post teasers just a bit closer together 2018-12-12 23:48:50 -05:00
benjamin melançon
811313fdeb Mildly improve form styling 2018-12-12 23:48:19 -05:00
benjamin melançon
09abdfd224 After hours of tweaking call our search field good enough 2018-12-12 23:30:09 -05:00
benjamin melançon
9ecea50d45 Start a navbar search section (this is foreshadowing) 2018-12-12 18:26:25 -05:00
benjamin melançon
e814dc7383 Remove unneeded color change; removing strong tags was enough
And the margin top wasn't doing anything; it's the margin-bottom for the label that did
what we needed.
2018-12-12 03:30:34 -05:00
benjamin melançon
e07c09f022 Put more about tags in the flow & style 'em more subtle 2018-12-12 03:29:20 -05:00
benjamin melançon
4764bda7a4 Override core radios template to add class 2018-12-11 13:36:10 -05:00
benjamin melançon
7a286515ab Remove meaningless setting and use meaningful one; fixes one page at least 2018-12-11 13:07:06 -05:00
benjamin melançon
2afb27503d Let's try a transparent header background setting for titles 2018-12-11 13:06:38 -05:00
benjamin melançon
dd93a790af Remove all panel classes (which cause ugly lines) from fieldset 2018-12-11 12:13:41 -05:00
benjamin melançon
ab8f6af51d Commit compiled CSS 2018-12-11 12:11:23 -05:00
benjamin melançon
932beb1a58 Use single class not cascading to style form label 2018-12-11 12:11:14 -05:00
benjamin melançon
9a5d29d1e8 Override Bulma's form-element-label template to add form-label class 2018-12-11 12:09:39 -05:00
benjamin melançon
cf4ce9f785 Override Bulma's fieldset template to add form-label class to form label 2018-12-11 12:09:01 -05:00
benjamin melançon
6b06a10bb4 Commit compiled CSS 2018-12-10 22:35:09 -05:00
benjamin melançon
0f0dfb888d Give form field labels some spacing above them 2018-12-10 22:35:00 -05:00
benjamin melançon
f47855c519 Condense byline info into 'media-left' region; surrount summary with subtitle class
... this is still how we keep the 'whole thing is a link' working.
2018-12-10 18:07:43 -05:00
benjamin melançon
53e48c6a19 Override node template for cards (used in blog listing so far) 2018-12-10 17:57:33 -05:00
benjamin melançon
0ececda133 Move our rows wrapper to view-unformatted template which is also called 2018-12-10 17:38:46 -05:00
benjamin melançon
2df41eb12b Provide structures and classes for standard media listing view 2018-12-10 17:01:51 -05:00
benjamin melançon
f42a089d46 Which means we really need to copy core's Stable view template 2018-12-10 16:57:45 -05:00
benjamin melançon
9eeb560de4 Override Octavia views template for pages 2018-12-10 16:56:11 -05:00
benjamin melançon
97e4e6f56b Commit compiled CSS 2018-12-10 15:47:42 -05:00
benjamin melançon
b05ebd935b Give a special hover style for the logo 2018-12-10 15:47:33 -05:00
benjamin melançon
48129cb5cb Style 'more about' text same as Comments, Related, and such 2018-12-10 14:11:56 -05:00
benjamin melançon
990aa2608f Override tags field which was harkening back to Octavia anyway
But simplify dramatically since we're taking over the 'label' part from field config.
2018-12-10 14:11:14 -05:00
benjamin melançon
06b46fc06d Remove tag class to prevent Bulma breaking Drupal's hidden class 2018-12-10 12:45:54 -05:00
benjamin melançon
7a125fd464 Hide the user picture in all cases
Until https://gitlab.com/agaric/sites/agaric-com/issues/117
2018-12-10 12:40:21 -05:00
benjamin melançon
b47e048902 Override comment template to apprx match Todd's styles 2018-12-10 11:04:12 -05:00
benjamin melançon
b4dd8eafea Comments wrapper 2018-12-09 23:18:57 -05:00
benjamin melançon
709043ec6d Print comments outside main bounding 'walls' 2018-12-09 23:17:22 -05:00
benjamin melançon
90ca3c8235 Override field comment template to add comments section classes 2018-12-09 22:33:38 -05:00
benjamin melançon
fbe4b46bb4 Commit compiled CSS 2018-12-09 13:40:51 -05:00
benjamin melançon
63e8f7335e stop making navbar transparent just because we're on desktop
As far as i can tell this works in Todd's styles only because everything is given a 'light'
header; removing that class from the blog post for example gives the same problem as we see
in our code.

Partly fixes #33
2018-12-09 13:40:41 -05:00
benjamin melançon
54e3c12538 ... in a way that doesn't cause a fatal error 2018-12-08 23:14:26 -05:00
benjamin melançon
b031996a6a Print node ID of skipped title-paragraph-lacking content 2018-12-08 22:54:15 -05:00
benjamin melançon
90aa9600a2 Add content class to default field groups 2018-12-08 22:24:56 -05:00
benjamin melançon
4689769cc6 Add content class to card content
... although there shouldn't be any links happening in here.
2018-12-08 22:22:19 -05:00
benjamin melançon
3892739c88 Make 'slide' media-content explicitly content for link formatting 2018-12-08 21:21:07 -05:00
benjamin melançon
35b60f0be4 Commit compiled CSS 2018-12-03 08:36:43 -05:00
benjamin melançon
eeb5d769a3 Restrict link shennanigans to content classed anchor tags 2018-12-03 08:36:33 -05:00
benjamin melançon
ce19ebc627 Commit compiled CSS 2018-12-02 22:05:03 -05:00
benjamin melançon
d8f6c861da Prevent background color hover from making icons look weird 2018-12-02 22:04:49 -05:00
benjamin melançon
32db074c7c Commit compiled CSS 2018-12-02 19:14:22 -05:00
benjamin melançon
28fd6e8a71 Style active links and set final good contrast link colors 2018-12-02 19:13:24 -05:00
benjamin melançon
707be352d2 Add color for focused links 2018-12-02 17:52:46 -05:00
benjamin melançon
56b83df8dc Use dandelion light on link hover and focus 2018-12-02 17:39:19 -05:00
benjamin melançon
bb457c4df3 Commit compiled CSS 2018-12-02 11:09:20 -05:00
benjamin melançon
ef5d5b16ca Use variables for hero link hover styling 2018-12-02 11:09:04 -05:00
benjamin melançon
27c7d4edca Add standard colors/style for link hover to base styles 2018-12-02 11:08:49 -05:00
benjamin melançon
a5b0b14264 Revise link colors and start adding additional variables 2018-12-02 10:31:27 -05:00
benjamin melançon
baef692f28 Commit compiled CSS 2018-12-02 10:14:37 -05:00
benjamin melançon
fb4723e1f8 Style links in (dark-ish) colored hero sections 2018-12-02 10:13:29 -05:00
benjamin melançon
49971de7ab Print the person type (e.g., worker owner) also 2018-12-02 09:51:23 -05:00
benjamin melançon
4d7c5d17ed Override person content template with name/image, title/bio 2018-12-02 01:54:25 -05:00
benjamin melançon
dfb067bfb4 Override image template to remove wrapping figure .image 2018-12-02 00:03:04 -05:00
benjamin melançon
9ae8cfe14c Make link optional per #108 2018-11-22 13:03:50 -05:00
benjamin melançon
1b5d880a40 Make link URL work 2018-11-21 11:42:53 -05:00
benjamin melançon
6dc408619b We want the real image, and just the link URL
(We'll switch to getting just the URL in the field display configuration.)
2018-11-21 10:35:34 -05:00
benjamin melançon
7b4bcb3aed Match component template to Todd's design 2018-11-21 10:30:07 -05:00
benjamin melançon
426c365a7c OK the only extends that works is without the theme name
whatever, can figure it out later.  I'm thinking extends is a bad pattern; the including
component templates thing seems much better.
2018-11-21 10:29:16 -05:00
benjamin melançon
79ccd24cf0 It needs the correct full path too... 2018-11-21 10:08:02 -05:00
benjamin melançon
6c7a9b0d22 Extends syntax requires quotation marks 2018-11-21 10:06:42 -05:00
benjamin melançon
9af9ba9eb7 Un-override the columnar slide 2018-11-21 09:52:57 -05:00
benjamin melançon
02afb1a00b Move slide component into a components directory
so it's a little more clear what's going on here...  not a lot, but a little.
2018-11-21 09:52:31 -05:00
benjamin melançon
ebe1872994 Make same field template apply to all paragraph fields
Technically, all entity reference revision fields but so far that's just paragraphs,
plus it makes sense not to have any extra markup around anything like that i think.
2018-11-21 09:13:28 -05:00
benjamin melançon
1b7647fc02 Actually Octavia is handling adding columns to this fine somehow 2018-11-21 09:10:11 -05:00
benjamin melançon
05bce9fc1a Override template for blocks in bottom content region 2018-11-21 01:17:16 -05:00
benjamin melançon
1722ed1594 Take over bottom region template for title, wrapper of blocks
Yeah i think everything in content paragraphs would be a lot better than this jankiness.
Not a big use case for putting this in multiple places anyway.
2018-11-21 01:11:27 -05:00
benjamin melançon
eeeed27e97 Drop the div for parent-less containers 2018-11-20 10:42:03 -05:00
benjamin melançon
e1f2d23c93 move existing container template out of way, but also somehow more in the right spot 2018-11-20 10:37:40 -05:00
benjamin melançon
9f24ccbf08 Simplify the test; we don't think twig produces notices 2018-11-20 03:13:17 -05:00
benjamin melançon
39af4281ab Update view paragraph template to add section wrapper
if it's busted out of the content flow, anyhow.
2018-11-20 03:12:00 -05:00
benjamin melançon
e3200c4a6f Commit compiled CSS 2018-11-19 22:07:39 -05:00
benjamin melançon
bbb4cf45f2 Remove already the abominable hack from yesterday 2018-11-19 22:07:25 -05:00
benjamin melançon
1678d1fac1 Use break-out-of-flow boolean to decide if we have section wrappers
And drop all the closing out of / reopening flow craziness.
2018-11-19 22:06:11 -05:00
benjamin melançon
7b98a21d81 Logic was right but looking for values in wrong places. Fixed 2018-11-19 21:23:50 -05:00
benjamin melançon
44b4b33d38 I think that's everything; perfect flow achieved 2018-11-19 20:26:14 -05:00
benjamin melançon
2850589004 The content flow walls go up only when needed now 2018-11-19 20:20:47 -05:00
benjamin melançon
52017beec2 Format source code: Indent contents of if statement 2018-11-19 20:03:56 -05:00
benjamin melançon
bb3305e14a Do classes for section separately 2018-11-19 03:06:04 -05:00
benjamin melançon
c87ebdc0c5 Commit compiled CSS 2018-11-19 02:52:38 -05:00
benjamin melançon
b9617bea89 Include our frightening new SCSS section 2018-11-19 02:52:25 -05:00
benjamin melançon
0b46208b5d Add unholy new SCSS section that serves as a red flag 2018-11-19 02:51:40 -05:00
benjamin melançon
3ad06421d4 Do unholy thing to allow paragraphs to bust out of the content flow 2018-11-19 02:39:04 -05:00
benjamin melançon
2132c66e84 Restore accidentally-dropped region 2018-11-18 19:06:52 -05:00
benjamin melançon
1a5d0ccccf Commit compiled CSS 2018-11-18 19:06:31 -05:00
benjamin melançon
8ca467818a Let's try keeping labels the current color, period
... and we'll see how that goes.  (Had dark label, with the color set somewhere deep
in Bulma i think, on a dark blue background, and that didn't work out so well
contrast-wise.)
2018-11-18 19:06:11 -05:00
benjamin melançon
bb43d3d7c5 Remove unused template 2018-11-18 13:08:18 -05:00
benjamin melançon
d1458159e8 Remove project details output from non-case-study content 2018-11-18 13:07:39 -05:00
benjamin melançon
f0b9a0a5d7 Add favicon in main agaric images 2018-11-17 19:12:39 -05:00
benjamin melançon
9505168666 Add byline with date if authors field populated
(This should only be blogs that this is possible, currently.)
2018-11-17 17:18:39 -05:00
benjamin melançon
d04edfc23b Separate out the case study template
It has an extensive extra 'project details' section.

It also doesn't (currently) have authors, which is optional on others
for the sake of blogs
2018-11-17 17:17:44 -05:00
benjamin melançon
7e2296a40c Commit compiled CSS 2018-11-17 17:06:31 -05:00
benjamin melançon
597fc07c84 Allow the byline links to be subtly distinguished 2018-11-17 17:06:13 -05:00
benjamin melançon
56fb49aa29 Output authors as oxford comma'd list even without label 2018-11-17 16:21:48 -05:00
benjamin melançon
880420899c Remove unused item classes initialization 2018-11-17 15:39:45 -05:00
benjamin melançon
cdeb17ff7d Fix title area styling for blog posts 2018-11-17 14:50:38 -05:00
benjamin melançon
bf3bc6c284 Override node title field to remove unneeded spans 2018-11-17 13:02:48 -05:00
benjamin melançon
a492cc4d17 Keep floating tabs on top of even the darn admin menu stuff 2018-11-17 12:31:50 -05:00
benjamin melançon
a9cbf00dcf Use normal node template variables; simplify 2018-11-17 00:19:36 -05:00
benjamin melançon
bd90d6ed14 Now that we're back to a regular node template, restore help/comments 2018-11-16 23:52:07 -05:00
benjamin melançon
306c8e4dc5 To hell with these fancy layouts that do nothing but break randomly
See https://gitlab.com/drutopia/drutopia/issues/245
2018-11-15 17:38:26 -05:00
benjamin melançon
3608816143 Remove special casing for front page; now any landing page can do same 2018-11-15 02:29:01 -05:00
benjamin melançon
2e95e75529 Remove paragraph class; it was actually causing trouble
some global CSS from Bulma or something was adding padding to it, which
was making the text 'paragraph' and project details 'paragraph' (the
module should've just been called section) too far apart.
2018-11-15 01:40:39 -05:00
benjamin melançon
7380e88727 Fix conditionals in template 2018-11-15 01:09:30 -05:00
benjamin melançon
b3c1ff22d7 Commit compiled CSS 2018-11-14 15:11:06 -05:00
benjamin melançon
8810efb2ab End the padding experiment; use same values for absolute positioning 2018-11-14 15:10:57 -05:00
benjamin melançon
4921ad739a Add additional title styles (hero-main, is-large) if editor chose 2018-11-14 15:03:42 -05:00
benjamin melançon
abbb88da94 Commit compiled CSS 2018-11-14 14:06:14 -05:00
benjamin melançon
cdb4160a36 Give floating tabs same padding as the first content... 2018-11-14 14:05:52 -05:00
benjamin melançon
75f5d32b5b For titlebars with images, make it the background image 2018-11-14 14:05:18 -05:00
benjamin melançon
d372e8375e Remove noise of type, view mode classes
i know now that i'v eremoved them, i'll want them for some reason is like three days.
2018-11-14 14:04:27 -05:00