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.
    • 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
              • R Offline
                Richard238 @strawberry 3.141
                last edited by

                @strawberry-3.141 What do I do with that, how do I use it?
                Thanks.

                strawberry 3.141S 1 Reply Last reply Reply Quote 0
                • cowboysdudeC Offline
                  cowboysdude Module Developer
                  last edited by

                  strawberry taught me how to do this he said:
                  “there two ways to make a truck to a trash can 1. you take my css 2. you crash the truck into a wall :D”

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

                    @Richard238 you have to wait until it gets merged into the code base or you switch to my fork, but i wouldnt recommend that

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

                    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
                      • strawberry 3.141S Offline
                        strawberry 3.141 Project Sponsor Module Developer
                        last edited by

                        changes got merged and can be used in the develop branch or you have to wait until the new version gets deployed

                        alt text

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

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