open-lms-open-source / moodle-theme_snap

GNU General Public License v3.0
79 stars 75 forks source link

Resource display #213

Open cnxtreme opened 3 years ago

cnxtreme commented 3 years ago

Not sure if I should be posting this here or not. Running Moodle 3.10 and Snap version 13. Under the Resource display we have selected Card instead of list. Is there anyway to customize the SNAP card view such as a back ground color or an image which is clickable? Right now it looks very odd with a lot of white space - looks "hokey".

card

Also is it possible to remove the header text such as PDF, SCROM package etc?

Thank you Chris

andrewrowatt-masseyuni commented 3 years ago

@cnxtreme I know this does not fully answer your question but we use the following CSS to shorten the cards:

body.snap-resource-card li.snap-resource.snap-resource-long { height: 200px !important; }

cnxtreme commented 3 years ago

Hi Andrew:

Thank you for this I will give this a try.

Chris Nelson Network Administrator Booth University College

From: Andrew Rowatt @.> Sent: August 5, 2021 3:16 PM To: open-lms-open-source/moodle-theme_snap @.> Cc: Chris J. Nelson @.>; Mention @.> Subject: Re: [open-lms-open-source/moodle-theme_snap] Resource display (#213)

CAUTION: This email originated from outside of the TSA network. Be cautious of any embedded links and/or attachments. MISE EN GARDE: Ce courriel provient de l'extérieur du réseau de l'Armée du Salut. Méfiez-vous des pièces jointes ou des liens qu'il pourrait contenir.

@cnxtremehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcnxtreme&data=04%7C01%7C%7C4a0498b7ffcb4e97686308d9584de156%7C6d08a372d98a49f380efca826293a473%7C0%7C0%7C637637913779784960%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=LFmegPMPTuMq%2BfMOJsjirsUGY%2FrvERnQOfaz6ibUpQM%3D&reserved=0 I know this does not fully answer your question but we use the following CSS to shorten the cards:

body.snap-resource-card li.snap-resource.snap-resource-long { height: 200px !important; }

- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopen-lms-open-source%2Fmoodle-theme_snap%2Fissues%2F213%23issuecomment-893767831&data=04%7C01%7C%7C4a0498b7ffcb4e97686308d9584de156%7C6d08a372d98a49f380efca826293a473%7C0%7C0%7C637637913779794952%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=01tNVc0Rv02bS7WIRh7dR298LL7d2fJ4Tky9%2BComyQY%3D&reserved=0, or unsubscribehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKV4GZXX46T75GVCCBJ52JDT3LWQ7ANCNFSM5BUOL7JA&data=04%7C01%7C%7C4a0498b7ffcb4e97686308d9584de156%7C6d08a372d98a49f380efca826293a473%7C0%7C0%7C637637913779804946%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=EgZN%2B4d2f1ZWG5eseMf23zA4WUa0IsNxDUff5xSDcUU%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7C%7C4a0498b7ffcb4e97686308d9584de156%7C6d08a372d98a49f380efca826293a473%7C0%7C0%7C637637913779804946%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Y2MPHm7u3%2B6n7A%2F4hHMmhDCho%2B%2FEP1%2FW6UTtSacjMSM%3D&reserved=0 or Androidhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26utm_campaign%3Dnotification-email&data=04%7C01%7C%7C4a0498b7ffcb4e97686308d9584de156%7C6d08a372d98a49f380efca826293a473%7C0%7C0%7C637637913779814939%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=clnH3fDDqn17Q7L2ADT3nYFI9OFHPHzBpmJiyQvjNJg%3D&reserved=0.