X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/66caf92bd923065064deec45cb325ee06e4131ab..8f4ed911e094d359ed630f034b76e02bc8d51705:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 735f36408..ef2c46a8d 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -1087,7 +1087,6 @@ abbr.geo { display: inline-block; vertical-align: top; background-color: #ddd; - margin-left: 15px; padding: 5px 10px 10px 10px; font-size: 12px; @@ -1097,7 +1096,6 @@ abbr.geo { th { vertical-align: top; - padding: 0px 15px 0px 0px !important; } td { @@ -1108,12 +1106,57 @@ abbr.geo { input.richtext_doedit { margin-top: 5px !important; - margin-right: 10px !important; } input.richtext_dopreview { margin-top: 5px !important; - margin-left: 10px !important; } } } + +/* Rules for the layer switcher */ + +.SimpleLayerSwitcher { + position:absolute; + top:10px; + right:10px; + background:#fff; + border:1px solid #ccc; + min-width:150px; + background: #fff; +} + +.SimpleLayerSwitcher a.basey { + display:block; + text-decoration:none; + color:#838383; + padding:2px 5px 2px 20px; +} + +.SimpleLayerSwitcher a.basey-on { + color:#000; + background-color: #fff; + background-image: url('carat.png'); + background-repeat: no-repeat; + background-position: 7px 9px; +} + +.SimpleLayerSwitcher a.basey-off { + display:none; +} + +.SimpleLayerSwitcher:hover a { + border-top:1px solid #eee; +} + +.SimpleLayerSwitcher a:hover { + background-color:#f5f5f5; +} + +.SimpleLayerSwitcher:hover a:first-child { + border-top:none; +} + +.SimpleLayerSwitcher:hover a.basey-off { + display:block; +}