MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-CalendarExt3 possible to round the corners?

    Scheduled Pinned Locked Moved Utilities
    9 Posts 3 Posters 1.2k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      bobbylx
      last edited by

      And if this helps, here is my custom.css.

                                                                             custom.css                                                                                 
      body {
              background-Image: url("background01.jpg");
              background-size: cover;
              position: absolute;
              margin: 0px;
              height: 100%;
              width: 100%;
      }
      header {
        border-bottom: none;
      }
      .wi.dimmed.wi-sunset {
      color: orange;
      }
      .wi.dimmed.wi-sunrise {
      color: yellow;
      }
      .wi-day-sunny {
      color: yellow;
      }
      .wi-day-cloudy {
      color: yellow;
      }
      .wi-rain {
      color: grey;
      }
      .wi-thunderstorm {
      color: grey;
      }
      .wi-snow {
      color: white;
      }
      .wi-fog {
      color: white;
      }
      .wi-night-clear {
      color: white;
      }
      .wi-night-cloudy {
      color: grey;
      }
      .wi-night-showers {
      color: blue;
      }
      .wi-night-rain {
      color: blue;
      }
      .wi-thunderstorm {
      color: yelow;
      }
      .wi-night-snow {
      color: white;
      }
      .wi-night-alt-cloudy-windy {
      color: grey;
      }
      .clock, .weather, .MMM-MoonPhase, .MMM-WeeklySchedule {
              display: inline-flex;
              margin-right: 25px;
              margin-left: 25px;
      }
      .lessontime {
           text-align: right;
           white-space: nowrap;
           padding-right: 2em;
           width: 1ex;
           font-size: 27px;
           color: white;   
       }
       .lesson{
           text-align: left;
           font-size: 27px;
           color: white;
       }
      .MMM-CalendarExt3 {
            background-color:rgba(255, 255, 255,0.4);
            border-radius:20px;
           padding: 8px; } 
      CX3 .cell {
        border: 1px solid var(--celllinecolor);
        background-color: var(--cellbgcolor);
        height: calc(
          var(--cellheaderheight) + var(--cellfooterheight) +
            calc(var(--eventheight) * var(--maxeventlines))
        );
        position: relative;
        border-radius: 25px; /*adjust as you like it*/
      }
      .CX3 .weekGrid {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(7, [cell-start] 1fr [cell-end]);
        grid-auto-columns: 0fr;
        margin-top: 5px; /* ADD THIS*/
      }
      .CX3 .cw {
              display:none;
      }
      .CX3 .cellContainer .cell:nth-child(1) .cw {
        display: none;
      }
      .CX3 .cw::before {
              display: none;
      }
      .CX3 .event.singleday {
        border-left:4px solid var(--calendarColor);
      }
      
      .CX3 .event.singleday:not(.useSymbol)::before {
        content: '';
      }
      .CX3 .event.singleday .headline:not(.useSymbol)::before {
        display: none;
      
      .CX3 .cell.today {
        border: 2px solid #fff; /* default was 1px, so you can change to 2px or whatever */
      }
      .CX3 .thisMonth {
        background-color: rgb(255 255 255 / 10%);
      }
      
      C 1 Reply Last reply Reply Quote 0
      • C Offline
        chrisfr1976 @bobbylx
        last edited by

        @bobbylx
        Have you tried to add a border-radius to .CX3 .weekGrid? I don‘t know if that works, but maybe… :)

        Regards, Chris.

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          bobbylx @chrisfr1976
          last edited by

          @chrisfr1976 said in MMM-CalendarExt3 possible to round the corners?:

          @bobbylx
          Have you tried to add a border-radius to .CX3 .weekGrid? I don‘t know if that works, but maybe… :)

          Worth a shot, but that didn’t do it. Now that I know what wording creates that rounded corner, I’ll just experiment and see what happens. Hah, I’ll get it eventually!

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @bobbylx
            last edited by

            @bobbylx use the developers window to experiment with the style changes.

            see the second link in my signature below for an explanation on how to use it

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Reply Quote 1
            • S Offline
              sdetweil @sdetweil
              last edited by

              @bobbylx and a good google search ,
              how do i round the corners of a box w css

              will hive you the style names

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy