Commit graph

376 commits

Author SHA1 Message Date
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
benjamin melançon
46b69d89da Commit compiled CSS 2018-11-14 12:31:30 -05:00
benjamin melançon
f8312d3dbd Ensure correct placement of image, title under navbar on project nodes
There's got to be a better way.  I guess i could consistently remove the .node div on
all content types...
2018-11-14 12:31:12 -05:00
benjamin melançon
5dc31be649 Commit compiled CSS 2018-11-14 12:29:02 -05:00
benjamin melançon
75702be8b1 Make sure 'floating' tabs are visible
OK, surprisingly this doesn't seem to cause an issue when it's an empty div.  Good.
2018-11-14 12:28:49 -05:00
benjamin melançon
9871ac0868 Commit compiled CSS 2018-11-14 10:53:06 -05:00
benjamin melançon
c2f7bee2bd Shade images with project/title color; remove on hover
See https://gitlab.com/agaric/resources/raw-notes/blob/master/2018-11-14-putting-a-stylesheet-defined-but-user-selected-color-at-a-partial-opacity-over-a-user-uploaded-background-image.md
2018-11-14 10:52:58 -05:00
benjamin melançon
70af84d0a3 Commit compiled CSS 2018-11-14 09:04:35 -05:00
benjamin melançon
70ecc28c09 We need to get the padding inside the section
so that the color goes behind the navbar/menu
2018-11-14 09:04:24 -05:00
benjamin melançon
760e3aaf0b Commit compiled CSS 2018-11-14 00:57:49 -05:00
benjamin melançon
33e95a1705 Keep floating tabs clickable; move slightly below big headers 2018-11-14 00:57:31 -05:00
benjamin melançon
c96adc0bde We have more room for the title; use all of it 2018-11-14 00:45:00 -05:00
benjamin melançon
27f098d07d Commit compiled CSS 2018-11-14 00:27:31 -05:00
benjamin melançon
57e362625d Dial back a little bit; this could go over the edge 2018-11-14 00:27:20 -05:00
benjamin melançon
883075e4e0 Let us get right near the edge, but break words if needed 2018-11-14 00:26:39 -05:00
benjamin melançon
2b6ce756ba Print title value directly, not field which wraps in extra title class 2018-11-13 23:46:13 -05:00
benjamin melançon
c606289fc4 Provide alternate style for titlebar title paragraphs
currently, it loses any image or subtitle, but could probably bring those back.

Do style values the right way-- not as content, but grabbed from the entity.
2018-11-13 23:40:47 -05:00
benjamin melançon
ef3f750fb4 Commit compiled CSS 2018-11-13 23:39:45 -05:00
benjamin melançon
73d40a35ee Ugly, but works: move content below fixed navbar 2018-11-13 23:39:34 -05:00
benjamin melançon
17a52237be Do a sloppy override to have only class 'section' for view paragraphs 2018-11-13 22:44:38 -05:00
benjamin melançon
c15eca3088 Either bring this file back and use or probably drop patterns
i'm currently using UI patterns for the worst use, really
2018-11-12 23:39:19 -05:00
benjamin melançon
49a9ed8bc1 Remove inappropriate h1 and h2 tags
unfortunately, doing that removalin a massively inappropriate way
2018-11-12 23:35:50 -05:00
benjamin melançon
ad8fd87fe2 Make image background image to match design precisely
Also, try to strip comments so these 'data' fields still work in debug mode
2018-11-12 23:25:36 -05:00
benjamin melançon
a52a3e69ed Use regular template to style tile title paragraphs 2018-11-12 23:15:14 -05:00
benjamin melançon
b8aea06ffd Print only the title paragraph 2018-11-12 22:49:49 -05:00
benjamin melançon
d555ba5b57 Rename template 2018-11-12 22:16:22 -05:00
benjamin melançon
b81386670f Rename folder 2018-11-12 22:14:53 -05:00
benjamin melançon
593842d2d7 Let's call the pattern what it is 2018-11-12 22:13:38 -05:00
benjamin melançon
94f899bd23 Commit first draft of tile pattern - tile view mode for nodes 2018-11-12 13:40:18 -05:00
benjamin melançon
ce002857f7 In a horrendous hack, only print div if any classes/attributes to go on it 2018-11-12 11:29:05 -05:00
benjamin melançon
0cacaf0002 Override unformatted view template from Octavia, no changes yet 2018-11-12 11:10:42 -05:00
benjamin melançon
52885edbbf Crazily add the container class to all (form) containers) 2018-11-12 11:07:33 -05:00
benjamin melançon
37215f014f Override Octavia container template 2018-11-12 11:02:03 -05:00
benjamin melançon
6264f812fa Commit compiled CSS 2018-11-12 09:38:05 -05:00