mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
468 lines
7.0 KiB
CSS
468 lines
7.0 KiB
CSS
body {
|
|
font:normal 12px/20px 'Helvetica Neue', Arial, sans-serif;
|
|
margin:0;
|
|
padding:0;
|
|
color:#444;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
line-height:40px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
line-height:30px;
|
|
}
|
|
|
|
:focus {
|
|
outline-color: transparent;
|
|
outline-style: none;
|
|
}
|
|
|
|
p {
|
|
margin:0;
|
|
padding:0;
|
|
}
|
|
|
|
a:visited, a {
|
|
color: #345692;
|
|
}
|
|
|
|
a:hover {
|
|
color:#000;
|
|
}
|
|
|
|
input[type=text] {
|
|
font-size:12px;
|
|
line-height:20px;
|
|
padding:1px 2px;
|
|
}
|
|
|
|
input[type=text]:focus {
|
|
border-color:#222;
|
|
}
|
|
|
|
button {
|
|
background:#7092ff;
|
|
border:0;
|
|
color:#fff;
|
|
font-size:12px;
|
|
line-height:18px;
|
|
margin:5px 5px 0 0;
|
|
cursor:pointer;
|
|
border-radius:2px;
|
|
}
|
|
|
|
button.cancel {
|
|
background:#aaa;
|
|
}
|
|
button.delete {
|
|
background:#DD5757;
|
|
}
|
|
|
|
button small {
|
|
display: inline-block;
|
|
font-weight: normal;
|
|
font-size:12px;
|
|
line-height:20px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
table th {
|
|
text-align:left;
|
|
}
|
|
|
|
#map {
|
|
display:block;
|
|
position:absolute;
|
|
overflow:hidden;
|
|
top:45px;
|
|
left:0;
|
|
right:0;
|
|
bottom:0;
|
|
background:#fff;
|
|
}
|
|
|
|
#about {
|
|
position:absolute;
|
|
bottom:5px;
|
|
right:5px;
|
|
background:#fff;
|
|
padding:2px 5px;
|
|
}
|
|
|
|
#bar {
|
|
background:#e8e8e8;
|
|
border-bottom:1px solid #aaa;
|
|
position:absolute;
|
|
left:0px;
|
|
top:0px;
|
|
height:44px;
|
|
right:0;
|
|
}
|
|
|
|
div.layerswitcher-control {
|
|
position:absolute;
|
|
top:170px;
|
|
left:10px;
|
|
color:#222;
|
|
}
|
|
|
|
div.hide {
|
|
display:none;
|
|
}
|
|
|
|
div.layerswitcher-control .content {
|
|
background:#fff;
|
|
padding:5px;
|
|
position:absolute;
|
|
left:40px;
|
|
width:100px;
|
|
top:0;
|
|
}
|
|
|
|
div.layerswitcher-control div.opacity-options {
|
|
border:1px solid #000;
|
|
height:15px;
|
|
width:45px;
|
|
}
|
|
|
|
div.layerswitcher-control a.layer {
|
|
display:block;
|
|
}
|
|
|
|
div.layerswitcher-control a.opacity {
|
|
background:#000;
|
|
display:inline-block;
|
|
width:15px;
|
|
height:15px;
|
|
}
|
|
|
|
|
|
div.geocode-control {
|
|
position:absolute;
|
|
top:130px;
|
|
left:10px;
|
|
color:#222;
|
|
}
|
|
|
|
#bar div.geocode-control button,
|
|
div.layerswitcher-control button {
|
|
width:40px;
|
|
}
|
|
|
|
div.geocode-control input {
|
|
display:none;
|
|
}
|
|
|
|
#bar button,
|
|
button.white {
|
|
width:80px;
|
|
white-space:nowrap;
|
|
cursor:pointer;
|
|
display:inline-block;
|
|
background:#fff;
|
|
color:#222;
|
|
font-weight:bold;
|
|
font-size:14px;
|
|
line-height:19px;
|
|
border-radius:3px;
|
|
border:1px solid #ccc;
|
|
padding:0 10px;
|
|
height:35px;
|
|
margin:0;
|
|
}
|
|
|
|
div.buttons-joined {
|
|
margin:5px;
|
|
padding:1px;
|
|
background:#fff;
|
|
display:inline-block;
|
|
border-radius:3px;
|
|
border:1px solid #ccc;
|
|
}
|
|
|
|
#bar div.buttons-joined button:first-child {
|
|
border-radius:2px 0 0 2px;
|
|
}
|
|
|
|
#bar div.buttons-joined button:last-child {
|
|
border-right:0;
|
|
border-radius:0 2px 2px 0;
|
|
}
|
|
|
|
#bar div.buttons-joined button {
|
|
height:31px;
|
|
border:0;
|
|
border-right:1px solid #ccc;
|
|
border-radius:0;
|
|
}
|
|
|
|
#bar .messages {
|
|
display:none;
|
|
}
|
|
|
|
.user {
|
|
width:200px;
|
|
position:absolute;
|
|
bottom:10px;
|
|
left:10px;
|
|
background:#fff;
|
|
padding:2px 5px;
|
|
border-radius:3px;
|
|
border:1px solid #aaa;
|
|
}
|
|
|
|
.user .logout {
|
|
margin-left:10px;
|
|
}
|
|
|
|
#bar button[disabled] {
|
|
color:#eee;
|
|
cursor:auto;
|
|
}
|
|
|
|
#bar button.active:not([disabled]) {
|
|
background:#7392ff;
|
|
color:#fff;
|
|
}
|
|
|
|
#bar button.save {
|
|
display:inline-block;
|
|
color:#6dc643;
|
|
}
|
|
|
|
#bar button.mini,
|
|
#bar button.mini {
|
|
width:auto;
|
|
}
|
|
|
|
#bar input[type=text] {
|
|
width:150px;
|
|
height:20px;
|
|
border:1px solid #ccc;
|
|
padding:5px;
|
|
margin:0;
|
|
}
|
|
|
|
.zoombuttons {
|
|
position:absolute;
|
|
left:10px;
|
|
top:50px;
|
|
width:40px;
|
|
}
|
|
|
|
#bar .zoombuttons button {
|
|
width:40px;
|
|
border:1px solid #ccc;
|
|
}
|
|
|
|
#bar .zoombuttons button.zoom-in {
|
|
border-bottom:0;
|
|
border-radius:5px 5px 0 0;
|
|
}
|
|
|
|
#bar .zoombuttons button.zoom-out {
|
|
border-radius:0 0 5px 5px;
|
|
}
|
|
|
|
.inspector-wrap {
|
|
border-radius:3px;
|
|
border:1px solid #ccc;
|
|
position:absolute;
|
|
top:50px;
|
|
left:50%;
|
|
margin-left:-175px;
|
|
overflow:auto;
|
|
padding:10px;
|
|
background:#fff;
|
|
width:350px;
|
|
opacity:0;
|
|
display:none;
|
|
}
|
|
|
|
.inspector-wrap a.permalink {
|
|
text-decoration:none;
|
|
margin-right:1em;
|
|
}
|
|
|
|
.inspector tbody td {
|
|
border: 1px solid #ccc;
|
|
width:150px;
|
|
}
|
|
|
|
.inspector input {
|
|
margin:0;
|
|
padding:4px;
|
|
border:0;
|
|
background:#fff;
|
|
width:150px;
|
|
}
|
|
|
|
.inspector-wrap table {
|
|
border-collapse: collapse;
|
|
width:347px;
|
|
border-spacing:0;
|
|
}
|
|
|
|
.inspector-wrap .tag-table-wrap {
|
|
max-height:350px;
|
|
overflow:auto;
|
|
}
|
|
|
|
.inspector-wrap table td {
|
|
padding:0;
|
|
border-spacing:0;
|
|
}
|
|
|
|
.inspector-wrap .close {
|
|
border: 0;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
div.typeahead {
|
|
background:#fff;
|
|
width:148px;
|
|
border:1px solid #ccc;
|
|
}
|
|
|
|
div.typeahead a {
|
|
padding:1px 4px;
|
|
display:block;
|
|
}
|
|
|
|
a.selected {
|
|
background:#DDE4FF;
|
|
}
|
|
|
|
.modal {
|
|
width:640px;
|
|
height:550px;
|
|
padding:10px;
|
|
position:absolute;
|
|
background:#f0f0f0;
|
|
top:50px;
|
|
left:50%;
|
|
margin-left:-330px;
|
|
box-shadow:0 0 5px #000;
|
|
}
|
|
|
|
.modal.modal-alert {
|
|
width:320px;
|
|
height:100px;
|
|
margin-left:-160px;
|
|
}
|
|
|
|
.shaded:before {
|
|
content:'';
|
|
background:rgba(0,0,0,0.5);
|
|
position:fixed;
|
|
left:0px; right:0px; top:0px; bottom:0px;
|
|
}
|
|
|
|
.commit-modal h3 small.count {
|
|
font-size:12px;
|
|
font-weight: normal;
|
|
line-height:40px;
|
|
border-radius:20px;
|
|
padding:5px;
|
|
background:#7092ff;
|
|
margin-left:10px;
|
|
color:#fff;
|
|
}
|
|
|
|
.commit-modal ul {
|
|
border-bottom:1px solid #ccc;
|
|
background:#fff;
|
|
}
|
|
|
|
.commit-modal li {
|
|
border-top:1px solid #ccc;
|
|
padding:2px 10px;
|
|
}
|
|
|
|
.commit-modal .changeset-comment {
|
|
width:630px;
|
|
/* firefox uses monospace in textareas */
|
|
font:normal 12px/20px 'Helvetica Neue', Arial, sans-serif;
|
|
}
|
|
|
|
.commit-section {
|
|
max-height:250px;
|
|
overflow:auto;
|
|
}
|
|
|
|
/* mobile tweaks */
|
|
* {
|
|
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
|
-webkit-touch-callout:none;
|
|
}
|
|
|
|
#bar button .tooltip {
|
|
white-space: normal;
|
|
}
|
|
|
|
.tooltip {
|
|
position: absolute;
|
|
z-index: 1030;
|
|
display: block;
|
|
padding: 5px;
|
|
font-size: 11px;
|
|
opacity: 0;
|
|
filter: alpha(opacity=0);
|
|
visibility: visible;
|
|
}
|
|
|
|
.tooltip.in {
|
|
opacity: 0.8;
|
|
filter: alpha(opacity=80);
|
|
}
|
|
|
|
.tooltip-inner {
|
|
max-width: 200px;
|
|
padding: 3px 8px;
|
|
color: #ffffff;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
background-color: #000000;
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.tooltip-arrow {
|
|
position: absolute;
|
|
width: 0;
|
|
height: 0;
|
|
border-color: transparent;
|
|
border-style: solid;
|
|
}
|
|
|
|
.tooltip.bottom .tooltip-arrow {
|
|
top: 0;
|
|
left: 50%;
|
|
margin-left: -5px;
|
|
border-bottom-color: #000000;
|
|
border-width: 0 5px 5px;
|
|
}
|
|
|
|
img.tile {
|
|
position:absolute;
|
|
transform-origin:0 0;
|
|
-ms-transform-origin:0 0;
|
|
-webkit-transform-origin:0 0;
|
|
-moz-transform-origin:0 0;
|
|
-o-transform-origin:0 0;
|
|
}
|
|
|
|
#tile-g {
|
|
position:absolute;
|
|
top:0;
|
|
}
|