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.

    Positioning Google Photo Module

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 2 Posters 662 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.
    • S Offline
      sdetweil @synint
      last edited by

      @synint is there any custom.css for this?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        synint Project Sponsor @sdetweil
        last edited by sdetweil

        @sdetweil

        Apologies for my lack of knowledge. I have commented out sizes vales using // but did not resolve the situation. I am using Geany text editor to amend the config file but but do not see a button that looks like </>. The only CSS file I can find looks like this:

        :root {
          --color-text: #999;
          --color-text-dimmed: #666;
          --color-text-bright: #fff;
          --color-background: #000;
          --font-primary: "Roboto Condensed";
          --font-secondary: "Roboto";
          --font-size: 20px;
          --font-size-xsmall: 0.75rem;
          --font-size-small: 1rem;
          --font-size-medium: 1.5rem;
          --font-size-large: 3.25rem;
          --font-size-xlarge: 3.75rem;
          --gap-body-top: 60px;
          --gap-body-right: 60px;
          --gap-body-bottom: 60px;
          --gap-body-left: 60px;
          --gap-modules: 30px;
        }
        
        html {
          cursor: none;
          overflow: hidden;
          background: var(--color-background);
          user-select: none;
          font-size: var(--font-size);
        }
        
        ::-webkit-scrollbar {
          display: none;
        }
        
        body {
          margin: var(--gap-body-top) var(--gap-body-right) var(--gap-body-bottom) var(--gap-body-left);
          position: absolute;
          height: calc(100% - var(--gap-body-top) - var(--gap-body-bottom));
          width: calc(100% - var(--gap-body-right) - var(--gap-body-left));
          background: var(--color-background);
          color: var(--color-text);
          font-family: var(--font-primary), sans-serif;
          font-weight: 400;
          line-height: 1.5;
          -webkit-font-smoothing: antialiased;
        }
        
        /**
         * Default styles.
         */
        
        .dimmed {
          color: var(--color-text-dimmed);
        }
        
        .normal {
          color: var(--color-text);
        }
        
        .bright {
          color: var(--color-text-bright);
        }
        
        .xsmall {
          font-size: var(--font-size-xsmall);
          line-height: 1.275;
        }
        
        .small {
          font-size: var(--font-size-small);
          line-height: 1.25;
        }
        
        .medium {
          font-size: var(--font-size-medium);
          line-height: 1.225;
        }
        
        .large {
          font-size: var(--font-size-large);
          line-height: 1;
        }
        
        .xlarge {
          font-size: var(--font-size-xlarge);
          line-height: 1;
          letter-spacing: -3px;
        }
        
        .thin {
          font-family: var(--font-secondary), sans-serif;
          font-weight: 100;
        }
        
        .light {
          font-family: var(--font-primary), sans-serif;
          font-weight: 300;
        }
        
        .regular {
          font-family: var(--font-primary), sans-serif;
          font-weight: 400;
        }
        
        .bold {
          font-family: var(--font-primary), sans-serif;
          font-weight: 700;
        }
        
        .align-right {
          text-align: right;
        }
        
        .align-left {
          text-align: left;
        }
        
        header {
          text-transform: uppercase;
          font-size: var(--font-size-xsmall);
          font-family: var(--font-primary), Arial, Helvetica, sans-serif;
          font-weight: 400;
          border-bottom: 1px solid var(--color-text-dimmed);
          line-height: 15px;
          padding-bottom: 5px;
          margin-bottom: 10px;
          color: var(--color-text);
        }
        
        sup {
          font-size: 50%;
          line-height: 50%;
        }
        
        /**
         * Module styles.
         */
        
        .module {
          margin-bottom: var(--gap-modules);
        }
        
        .module.hidden {
          pointer-events: none;
        }
        
        .module:not(.hidden) {
          pointer-events: auto;
        }
        
        .region.bottom .module {
          margin-top: var(--gap-modules);
          margin-bottom: 0;
        }
        
        .no-wrap {
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        
        .pre-line {
          white-space: pre-line;
        }
        
        /**
         * Region Definitions.
         */
        
        .region {
          position: absolute;
        }
        
        .region.fullscreen {
          position: absolute;
          inset: calc(-1 * var(--gap-body-top)) calc(-1 * var(--gap-body-right)) calc(-1 * var(--gap-body-bottom)) calc(-1 * var(--gap-body-left));
          pointer-events: none;
        }
        
        .region.right {
          right: 0;
          text-align: right;
        }
        
        .region.top {
          top: 0;
        }
        
        .region.top.center,
        .region.bottom.center {
          left: 50%;
          transform: translateX(-50%);
        }
        
        .region.top.right,
        .region.top.left,
        .region.top.center {
          top: 100%;
        }
        
        .region.bottom {
          bottom: 0;
        }
        
        .region.bottom.right,
        .region.bottom.center,
        .region.bottom.left {
          bottom: 100%;
        }
        
        .region.bar {
          width: 100%;
          text-align: center;
        }
        
        .region.third,
        .region.middle.center {
          width: 100%;
          text-align: center;
          transform: translateY(-50%);
        }
        
        .region.upper.third {
          top: 33%;
        }
        
        .region.middle.center {
          top: 50%;
        }
        
        .region.lower.third {
          top: 66%;
        }
        
        .region.left {
          text-align: left;
        }
        
        .region table {
          width: 100%;
          border-spacing: 0;
          border-collapse: separate;
        }
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @synint
          last edited by sdetweil

          @synint don’t edit our files

          all css updates go in custom.css
          if it doesn’t exist, create it

          the design is custom.css overrides anything specified before it is loaded (last)

          the paste thing is in the forum message editor

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            synint Project Sponsor @sdetweil
            last edited by

            @sdetweil Hi Sam I now have a MagicMirror that works and would not have been possibe without your support and help which I would like to thank you for.

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

              @synint awesome… what made it right?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                synint Project Sponsor @sdetweil
                last edited by

                @sdetweil Sorry Sam should have mentioned it in the last post. I set the maxWidth and maxHeight to the mointor size which is a TV e.g. 1366px x 768px. I also changed the postion of the moduler to Fullscreen_below and re booted. I do not know if this helped but reduced my images size to less than 1366px x 768px. Does not look exactly as I originally envisaged but looks good enough. I did not chane the CSS file settings as this is beyond my knowledge but afeter looking athe CSS settings realised by changing them you can get it to look exactly how you want it. Cheers, John

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

                  @synint cool, thanks. that might help someone else…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S sdetweil has marked this topic as solved on
                  • 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