Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. New Homepage design

New Homepage design

Scheduled Pinned Locked Moved General Discussion
31 Posts 4 Posters 6.0k Views 4 Watching
  • 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.
  • hekH hek

    Regarding menu.. Is this better?

    0_1473711480060_Screen Shot 2016-09-12 at 22.17.13.png

    AnticimexA Offline
    AnticimexA Offline
    Anticimex
    Contest Winner
    wrote on last edited by
    #19

    @hek not sure, menu for me is the main site vertical list of topics. The forum layout I don't really mind as I can zoom the page to make it more appealing to me even if you revert back to the old layout. But in the main site, zooming would not help as the contents was forced to adapt to the layout.

    Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

    1 Reply Last reply
    0
    • hekH hek

      Regarding menu.. Is this better?

      0_1473711480060_Screen Shot 2016-09-12 at 22.17.13.png

      cimba007C Offline
      cimba007C Offline
      cimba007
      wrote on last edited by
      #20

      Yeah .. "advanced build options" should in every case fit there :dancer:

      @hek: If this is your "real" screen size I can totally understand why this is no issue for you at all :D
      It looks a "little bit" packed but still much more accessible then splitting. I want to search? Top right corner .. I want to read the most recent message? Top right .. wanne check download area? Guess what ..

      1 Reply Last reply
      0
      • hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #21

        I could add some padding between the two lower sections.. just a sec, lets try it.

        1 Reply Last reply
        1
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #22

          5% padding added (not sure how much it helps on your screen though) and moved menu to the right.

          1 Reply Last reply
          1
          • cimba007C Offline
            cimba007C Offline
            cimba007
            wrote on last edited by cimba007
            #23

            I would be more happy with 10-15% but I think I can live with it. Would be even more awesome if this could be set as a "preference" on a per user basis .. but this would be too much to ask :)

            PS: Can u tell me where you have added the padding? (in the css file?!)

            1 Reply Last reply
            0
            • hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #24

              10% och each side is way too much on smaller screens.

              You'll have to greasemonkey in your padding changes on the #content div.

              Or simply remove the width: 100% !important on it to get the old behaviour back (but that also affects the menu... which might not a problem for your screen size).

              cimba007C 1 Reply Last reply
              0
              • hekH hek

                10% och each side is way too much on smaller screens.

                You'll have to greasemonkey in your padding changes on the #content div.

                Or simply remove the width: 100% !important on it to get the old behaviour back (but that also affects the menu... which might not a problem for your screen size).

                cimba007C Offline
                cimba007C Offline
                cimba007
                wrote on last edited by
                #25

                @hek said:

                #content div

                Yep .. I am just heading for greasemonkey

                1 Reply Last reply
                0
                • cimba007C Offline
                  cimba007C Offline
                  cimba007
                  wrote on last edited by
                  #26

                  0_1473714214844_upload-67990b46-8f96-44e7-9ecf-f795209acf1c

                  This is just "balm for the eyes" .. I can absolutelty life with tinkering with greasemoneky ;-)

                  AnticimexA 1 Reply Last reply
                  0
                  • hekH Offline
                    hekH Offline
                    hek
                    Admin
                    wrote on last edited by
                    #27

                    Haha, have fun redesigning sites ;)

                    1 Reply Last reply
                    0
                    • cimba007C cimba007

                      0_1473714214844_upload-67990b46-8f96-44e7-9ecf-f795209acf1c

                      This is just "balm for the eyes" .. I can absolutelty life with tinkering with greasemoneky ;-)

                      AnticimexA Offline
                      AnticimexA Offline
                      Anticimex
                      Contest Winner
                      wrote on last edited by
                      #28

                      @cimba007 @hek and it was much rejoicing

                      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                      1 Reply Last reply
                      0
                      • cimba007C Offline
                        cimba007C Offline
                        cimba007
                        wrote on last edited by
                        #29

                        Sorry for stirring up so you guys at this late hour .. but .. I only strive to improve mysensors (with my stupid comments and ideas :D) as I really like the library, the controller, the site ;-)

                        1 Reply Last reply
                        0
                        • hekH Offline
                          hekH Offline
                          hek
                          Admin
                          wrote on last edited by
                          #30

                          No problem, feedback is always appreciated!

                          1 Reply Last reply
                          0
                          • cimba007C Offline
                            cimba007C Offline
                            cimba007
                            wrote on last edited by cimba007
                            #31

                            Well .. overwriting an !important doesn't seem to be this easy .. :D

                            The best I could come up with:

                            // ==UserScript==
                            // @name         New Userscript
                            // @namespace    http://tampermonkey.net/
                            // @version      0.1
                            // @description  try to take over the world!
                            // @author       You
                            // @match        https://forum.mysensors.org/*
                            // @grant        none
                            // ==/UserScript==
                            
                            function addNewStyle(newStyle) {
                                var styleElement = document.getElementById('styles_js');
                                if (!styleElement) {
                                    styleElement = document.createElement('style');
                                    styleElement.type = 'text/css';
                                    styleElement.id = 'styles_js';
                                    document.getElementsByTagName('head')[0].appendChild(styleElement);
                                }
                                styleElement.appendChild(document.createTextNode(newStyle));
                            }
                            
                            (function() {
                                'use strict';
                                // Your code here...
                                addNewStyle('.container { width: 55% !important;}');
                                //$(".container").removeAttr("width");
                            })();
                            
                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            14

                            Online

                            11.7k

                            Users

                            11.2k

                            Topics

                            113.0k

                            Posts


                            Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • MySensors
                            • OpenHardware.io
                            • Categories
                            • Recent
                            • Tags
                            • Popular