• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Bright UI

Scheduled Pinned Locked Moved Showcase
27 Posts 8 Posters 11.4k Views 10 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.
  • P Offline
    Piranha1605 @electros
    last edited by Piranha1605 May 18, 2020, 9:08 PM May 13, 2020, 8:21 AM

    @electros

    /* Magic Mirror Config Sample
     *
     * By Michael Teeuw http://michaelteeuw.nl
     * MIT Licensed.
     *
     * For more information how you can configurate this file
     * See https://github.com/MichMich/MagicMirror#configuration
     *
     */
    
    var config = {
    	address: "localhost", // Address to listen on, can be:
    	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
    	                      // - another specific IPv4/6 to listen on a specific interface
    	                      // - "", "0.0.0.0", "::" to listen on any interface
    	                      // Default, when address config is left out, is "localhost"
    	port: 8080,
    	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
    	                                                       // or add a specific IPv4 of 192.168.1.5 :
    	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
    	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
    	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
    
    	language: "de",
    	timeFormat: 24,
    	units: "metric",
    	// serverOnly:  true/false/"local" ,
    			     // local for armv6l processors, default 
    			     //   starts serveronly and then starts chrome browser
    			     // false, default for all  NON-armv6l devices
    			     // true, force serveronly mode, because you want to.. no UI on this device
    	
    	modules: [
    		{
    			module: "alert",
    		},
    		{
    			module: "clock",
    			position: "top_left"
    		},
    		{
    			module: "currentweather",
    			position: "top_left",
    			config: {
    				location: "New York",
    				locationID: "2922511",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    				appid: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    			}
    		},
    		{
    			module: "weatherforecast",
    			position: "top_left",
    			config: {
    				location: "New York",
    				locationID: "2922511",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    				appid: "xxxxxxxxxxxxxxxxxxxxxxxxxxx"
    			}
    		},
    		{
    		module: 'MMM-CalendarExt2',
    		config: {
    			scenes:[
    				{
    					name: "DEFAULT",
    					views: ["Overview Private"],
    				},
    			],
    			views:[
    				{
    					name: "Overview Private",
    					mode: "daily",
    					type: "row",
    					position: "bottom_bar",
    					slotCount: 5,
    					locale: "de",
    					hideOverflow: false,
    					filterPassedEvent: true,
    					calendars: ["Google","Karate","Abfall","Arbeit","Feiertage"],
    			},
    		],
    		calendars: [
    			{
    				name: "Google",
    				icon: "mdi-calendar-check-outline",
    				url: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    			},
    			{
    				name: "Karate",
    				icon: "mdi-karate",
    				url: "webcal://localhost:8080/config/Kalender/Karate.ics",
    			},
    			{
    				name: "Abfall",
    				icon: "mdi-trash-can-outline",
    				url: "webcal://localhost:8080/config/Kalender/Abfall.ics",
    			},
    			{
    				name: "Arbeit",
    				icon: "mdi-forklift",
    				url: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    			},
    						{
    				name: "Feiertage",
    				icon: "mdi-grill-outline",
    				url: "webcal://localhost:8080/config/Kalender/feiertage_niedersachsen_2020.ics",
    			},
    		],
    	},
    	},
    				{
    		  module: "MMM-News",
    		  position: "top_right",
    		  config: {
    		    apiKey : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    		    type: "vertical",
    		    query : [
    		      {
    		        sources: "N-tv-de, tagesschau, bild",
    		      },
    		      {
    		        country: "de",
    		        className: "redTitle",
    		      },
    		    ],
    		  }
    		},
    	]
    
    };
    
    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== "undefined") {module.exports = config;}
    
    
    E 1 Reply Last reply May 13, 2020, 8:30 AM Reply Quote 0
    • E Offline
      electros Project Sponsor @Piranha1605
      last edited by May 13, 2020, 8:30 AM

      @Piranha1605 OK, thanks but what is that module vertical from left side and where is the radio ?

      P 1 Reply Last reply May 13, 2020, 8:45 AM Reply Quote 0
      • P Offline
        Piranha1605 @electros
        last edited by May 13, 2020, 8:45 AM

        @electros
        As already described above, it is a website in which the MagicMirror only runs as an iFrame; the radio and the menu are not in the MagicMirror.

        E 1 Reply Last reply May 13, 2020, 8:47 AM Reply Quote 0
        • E Offline
          electros Project Sponsor @Piranha1605
          last edited by May 13, 2020, 8:47 AM

          @Piranha1605 Ok, I understand now thanks.

          1 Reply Last reply Reply Quote 0
          • C Offline
            cyberphox
            last edited by May 13, 2020, 1:42 PM

            Is that Tileboard or something similar you are running for the menu on the left?

            Full time Dad, DJ and entertainer and lover of technology.

            P 1 Reply Last reply May 13, 2020, 10:35 PM Reply Quote 0
            • P Offline
              Piranha1605 @cyberphox
              last edited by May 13, 2020, 10:35 PM

              @cyberphox said in Bright UI:

              Is that Tileboard or something similar you are running for the menu on the left?

              No is a css menu that runs in a website

              1 Reply Last reply Reply Quote 1
              • cowboysdudeC Offline
                cowboysdude Module Developer
                last edited by May 14, 2020, 2:07 AM

                WOW that looks fantasic!!!

                1 Reply Last reply Reply Quote 0
                • P Offline
                  potts-mike
                  last edited by Jul 27, 2020, 5:51 PM

                  I have this mostly working and absolutely love it on our TV. 2 questions though.

                  1. I am using MMM-PaprikaMenu to show our meal plan for the week and the font is the same color as the background. How can I fix that so it looks like the other?
                  2. Is there a way with CSS to make the album art from MMM-sonos larger?

                  1b8fd256-1915-4d0c-b3d5-02e6ef654383-image.png

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    Piranha1605
                    last edited by Jul 28, 2020, 4:32 PM

                    Please post me all three CSS, from the paprika menu, from Sonos and your custom.css, and I’ll get you ready

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      potts-mike
                      last edited by Jul 28, 2020, 11:21 PM

                      Thanks for the help

                      Custom.css

                      @import url("https://fonts.googleapis.com/css?family=Lato:300,400,700");
                      
                      html {
                        cursor: hidden;
                        overflow: hidden;
                        background: #e7e7e7;;
                      }
                      
                      
                      body {
                        margin: 10px;
                        position: absolute;
                        width: calc(100% - 20px);
                        height: calc(100% - 20px);
                        background: #e7e7e7;
                        color: #8a8a8a;
                        font-weight: 400;
                        font-size: 2em;
                        font-family: "Lato", sans-serif;
                        line-height: 1.5em;
                        margin-bottom: -10px;
                        -webkit-font-smoothing: antialiased;
                      }
                      
                      header {
                        text-transform: uppercase;
                        font-family: "Lato", sans-serif;
                        text-align: center;
                        font-weight: bold;
                        background: #F7F7F7;
                        border-bottom: none;
                        color:#8a8a8a;
                      }
                      
                       .module.compliments,
                       .module.newsfeed,
                       .module.clock,
                       .module.weatherforecast,
                       .module.calendar,
                       .module.MMM-Todoist,
                       .module.MMM-Sonos,
                       .module.MMM-PaprikaMenu,
                       .module.currentweather {
                        font-family: "Lato", sans-serif;
                        background-color: #f7f7f7;
                        color: #8a8a8a;
                        border: 1px solid #c1c1c1;
                        box-shadow: 0px 10px 25px -5px rgba(50, 88, 130, 0.32);
                        border-radius: 15px;
                        padding: 30px;
                      }
                      
                      .dimmed {
                        color: #8a8a8a;
                      }
                      
                      .normal {
                        color: #8a8a8a;
                      }
                      
                      .bright {
                        color: #8a8a8a;
                      }
                      
                      
                      /**
                       * module.width_height
                       */
                      
                       .module.compliments {
                        width:800px;
                      }
                       
                      /**
                       * clock.
                       */ 
                       
                      .clock .time {
                       text-align: center;
                       font-family: "Lato", sans-serif;
                       
                      }
                      .clock .date {
                        text-transform: uppercase;
                        text-align: center;
                        font-weight: bold;
                        color: #8a8a8a;
                        font-family: "Lato", sans-serif;
                      }
                      
                      
                      /**
                       * weather.
                       */
                      
                      .currentweather .bright {
                        font-family: "Lato", sans-serif;
                      }
                      
                      .weathericon {
                        color: #8a8a8a;
                      }
                      

                      PaprikaMenu.css

                      .MMM-PaprikaMenu * {
                        box-sizing: border-box;
                      }
                      
                      .MMM-PaprikaMenu .module-content {
                        width: 500px;
                      }
                      
                      .MMM-PaprikaMenu table.menu {
                        font-size: 17px;
                        line-height: 1;
                        border-collapse: collapse;
                        table-layout: fixed;
                        width: 100%;
                      }
                      
                      .MMM-PaprikaMenu table.menu tr {
                        border-bottom: solid 1px #222;
                      }
                      
                      .MMM-PaprikaMenu table.menu tr.fade {
                        opacity: 0.33;
                      }
                      
                      .MMM-PaprikaMenu table.menu > tbody > tr > td:first-child {
                        width: 55px;
                        height: 55px;
                      }
                      
                      .MMM-PaprikaMenu .menu .img-cell > img {
                        float: left;
                        width: 45px;
                        height: 45px;
                        margin: 5px;
                      }
                      
                      .MMM-PaprikaMenu .menu .img-cell > img.rounded {
                        border-radius: 10%;
                      }
                      
                      .MMM-PaprikaMenu table.inner td {
                        line-height: 24px;
                        height: 28px;
                      }
                      
                      .MMM-PaprikaMenu .menu > span {
                        text-align: left;
                        white-space: nowrap;
                      }
                      
                      .MMM-PaprikaMenu .menu .date {
                        font-size: 14px;
                      }
                      
                      .MMM-PaprikaMenu .menu .meal {
                        font-size: 17px;
                        text-overflow: ellipsis;
                        overflow: hidden;
                      }
                      
                      .MMM-PaprikaMenu .menu .today .date {
                        font-size: 17px;
                      }
                      
                      .MMM-PaprikaMenu .menu .today .meal {
                        color: #FFF;
                        font-size: 24px;
                      }
                      

                      Sonos.css is empty, might have mucked it up when logged on with my phone. I’ll need to check the github page for that one.

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