changeset 1991:b5dc4f1c4a83

more compact device boxes on live page Ignore-this: eeb323899eb939e571d40a0d719da2ae
author Drew Perttula <drewp@bigasterisk.com>
date Sun, 09 Jun 2019 07:27:44 +0000
parents 93e3a00b7cfc
children 5c1553fc0740
files light9/web/light9-color-picker.html light9/web/live/elements.html
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/light9/web/light9-color-picker.html	Sun Jun 09 06:32:54 2019 +0000
+++ b/light9/web/light9-color-picker.html	Sun Jun 09 07:27:44 2019 +0000
@@ -72,14 +72,14 @@
      
      #swatch {
          display: inline-block;
-         width: 150px; 
+         width: 50px; 
          height: 30px;
          margin-right: 3px;
          border: 1px solid #333;
      }
      
      paper-slider {
-         width: 170px;
+         width: 160px;
      }
      
      #vee {
--- a/light9/web/live/elements.html	Sun Jun 09 06:32:54 2019 +0000
+++ b/light9/web/live/elements.html	Sun Jun 09 07:27:44 2019 +0000
@@ -155,7 +155,7 @@
          padding: 1px;
          background: #171717;  /* deviceClass gradient added later */
          break-inside: avoid-column;
-         width: 445px;
+         width: 335px;
          
      }
      .deviceAttr {
@@ -172,6 +172,8 @@
      h2 {
          font-size: 110%;
          padding: 4px;
+         margin-top: 0;
+         margin-bottom: 0;
      }
      .device, h2 {
          border-top-right-radius: 15px;