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.

    Custom css to analog clock

    Scheduled Pinned Locked Moved Custom CSS
    4 Posts 2 Posters 1.3k Views 2 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.
    • O Offline
      omoioli
      last edited by

      Hi,
      As a way to apply a custom css to default analog clock ? I would like the circle bigger, and apply a shadow…
      I know the clock face is SVG, but i read somewhere we can change this with css …

      bheplerB 1 Reply Last reply Reply Quote 0
      • bheplerB Offline
        bhepler Module Developer @omoioli
        last edited by

        @omoioli - The clocks that are included with the Magic Mirror framework are SVG image files that are scaled up as needed. You should be able to apply a shadow and scale the entire image, but I don’t think you’ll be able to change individual portions (such as just the outside circle).

        However! You can always create a fully SVG clock module and do it that way. I found this during my recent research: SVG Analog Clock

        O 1 Reply Last reply Reply Quote 0
        • O Offline
          omoioli @bhepler
          last edited by

          @bhepler i try to use an svg image clock i download, i found in the web this : https://svgsilh.com/fr/tag/l’horloge-1.html , i change the name to face-013.svg, change the config, but in my MM, nothing …

          1 Reply Last reply Reply Quote 0
          • bheplerB Offline
            bhepler Module Developer
            last edited by

            Here, this might be helpful for what you are trying to accomplish.
            https://stackoverflow.com/questions/6088409/svg-drop-shadow-using-css3

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 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