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.

    Calendar Module: Multiple Icons.

    Scheduled Pinned Locked Moved Troubleshooting
    21 Posts 6 Posters 13.2k Views 6 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.
    • johnnyboyJ Offline
      johnnyboy @Richard238
      last edited by johnnyboy

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • R Offline
        Richard238
        last edited by

        I’ve got a coloured trash-o icon against each entry in my binday calendar, but I’d like two, one per bin.

        strawberry 3.141S johnnyboyJ 2 Replies Last reply Reply Quote 0
        • strawberry 3.141S Offline
          strawberry 3.141 Project Sponsor Module Developer @Richard238
          last edited by

          @Richard238 in my oppinion there is no easy and clean solution for that without modyfing the code

          in the next update there is at least the possibility to colorize every calendar differently

          Please create a github issue if you need help, so I can keep track

          johnnyboyJ 1 Reply Last reply Reply Quote 0
          • johnnyboyJ Offline
            johnnyboy @strawberry 3.141
            last edited by johnnyboy

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • johnnyboyJ Offline
              johnnyboy @Richard238
              last edited by johnnyboy

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • R Offline
                Richard238
                last edited by Richard238

                Sure, it’s in /home/pi/MagicMirror/css/custom.css

                 * Changes to this files will be ignored by GIT. *
                 *****************************************************/
                
                 body {
                 	
                 }
                
                 
                 .fa.fa-calendar-check-o {
                  color: #00d2ff; /* Blue */
                }
                
                 .fa.fa-trash-o  {
                  color: #C97F7F; /* Brown */
                
                johnnyboyJ strawberry 3.141S 2 Replies Last reply Reply Quote 1
                • johnnyboyJ Offline
                  johnnyboy @Richard238
                  last edited by johnnyboy

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • strawberry 3.141S Offline
                    strawberry 3.141 Project Sponsor Module Developer @Richard238
                    last edited by

                    @Richard238 https://github.com/MichMich/MagicMirror/pull/779

                    Please create a github issue if you need help, so I can keep track

                    johnnyboyJ R 2 Replies Last reply Reply Quote 1
                    • johnnyboyJ Offline
                      johnnyboy @strawberry 3.141
                      last edited by johnnyboy

                      This post is deleted!
                      strawberry 3.141S 1 Reply Last reply Reply Quote 0
                      • strawberry 3.141S Offline
                        strawberry 3.141 Project Sponsor Module Developer @johnnyboy
                        last edited by strawberry 3.141

                        @johnnyboy There is a css trick you probably didn’t know about, but will blow your mind :D

                        there is only one trash can icon in fontawesome, so how can we use it but colorize it differently for different trash types.

                        In germany, at least in my area, paper is blue, plastic is yellow, biowaste is brown and rest is black.

                        0_1489702972961_trash.PNG

                        this is a working example https://jsfiddle.net/a8p7snpd/4/ you just need some icons that you never will use in the calendar module like car, truck and cab

                        Please create a github issue if you need help, so I can keep track

                        johnnyboyJ 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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