Code Monkey home page Code Monkey logo

layout_calendar's Introduction

Calendar

Display a calendar in the middle of the screen (both horizontally and vertically). Use SCSS and follow BEM. Don't use JS.

  • Write styles in src/styles/main.scss instead of src/style.css.
  • Create a markup for the calendar block with 31 days inside
    • DON'T add numbers in HTML (you will do it using CSS)
  • Each day is a grey (#eee) 100px square (including 1px black border)
    • Add a number (Arial 30px) in the center of each day using ::before and @for
  • Use flex with 1px gap and limit its width to exactly 7 columns + 10px paddings
    • Don't use hardcoded px values if they are used several times
    • Use properly named variables to make all the calculations more clear.
  • Implement start-day modifier for the calendar with mon, tue, wed, thu, fri, sat and sun values
    • Use @each to create all the modifiers
    • The month should start at the correct column (Monday is the 1st, Friday is the 5th)
    • You can just add correct margin-left for the first day
    • Set calendar to start from Sunday by default
  • Add a modifier month-length for the calendar with values 28, 29, 30 and 31 (use @for)
    • It sets the last day to show (use nth-child)
    • Set 31 days by default

On hovering over a cell:

  • cursor should become pointer
  • The hovered cell has to become pink (use #FFBFCB)
  • Move the hovered cell up by 20px (use transform)
  • All changes should be animated with the duration of 0.5s

Here are the Layout Tasks Instruction

reference image.

Checklist

❗️ Replace <your_account> with your Github username and copy the links to Pull Request description:

❗️ Copy this Checklist to the Pull Request description after links, and put - [x] before each point after you checked it.

  • Changing 'month-lengh' and 'start-day' modifier in the code element reflects in changing calendar layout
  • Each day has no modifiers, only class (eg. calendar__day)
  • All Typical Mistakes from BEM lesson theory are checked.
  • Code follows all the Code Style Rules ❗️

layout_calendar's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

layout_calendar's Issues

Agenda KanBoard dans Agenda Zimbra

Bonjour,
Je souhaite intégrer l'agenda de mon tableau KanBoard dans mon agenda Zimbra.
Pour ce faire :
J'ai activé l'accès public dans mon tableau, et j'ai pris le lien de l'abonnement ical : https://kan.u-bordeaux.fr/ical/project/3ebba76523a0e1e4afd16543d52cdd3c70f60e877fdfb98a71db858589f7
Je suis repassé ensuite sur mon agenda Zimbra,
j'ai fait un ajout d'un nouveau calendrier externe avec le type abonnement ical

j'ai copier le lien dans le champs URL ICS
calendrier

calendrier2

Sauf que quand j'ai validé, j'ai un message d'erreur.

calendrier3

Une idée pour pour faire ce lien?

Merci pour vos retours

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.