}
a:hover {
- color:#597be7;
+ color: #597be7;
}
/* Forms
position: absolute;
right: 0;
top: 0;
- height: 59px;
+ height: 60px;
z-index: 50;
}
border-top: 1px solid #ccc;
background-color: #fafafa;
width: 100%;
+ z-index: 1;
}
.sidebar-component .body {
border-radius: 4px 4px 0 0;
}
-.help-wrap .toc li:nth-last-child(2) a {
+.help-wrap .toc li:nth-last-child(3) a {
border-bottom: 1px solid #CCC;
border-radius: 0 0 4px 4px
}
+.help-wrap .toc li.shortcuts a,
.help-wrap .toc li.walkthrough a {
overflow: hidden;
margin-top: 10px;
border-bottom: 1px solid #ccc;
border-radius: 4px;
+}
+
+.help-wrap .toc li.walkthrough a {
text-align: center;
}
}
.tile-label-debug {
+ font-size: 10px;
background: rgba(0, 0, 0, 0.7);
color: #fff;
position: absolute;
text-align: center;
- width: 128px;
+ padding: 5px;
border-radius: 3px;
z-index: 2;
+ margin-left: -50px;
+ margin-top: -20px;
transform-origin:0 0;
-ms-transform-origin:0 0;
}
img.tile-debug {
- border: 1px solid red;
+ outline: 1px solid red;
}
img.tile-loaded {
/* Info Box
------------------------------------------------------- */
-.infobox {
+.info-panels {
+ display: flex;
+ flex-flow: row-reverse wrap-reverse;
position: absolute;
z-index: 1;
right: 0;
bottom: 30px;
- width: 240px;
- border-radius: 4px 0 0 0;
- border-bottom: 1px solid black;
-ms-user-select: element;
}
-.infobox .infobox-heading {
- display: block;
- border-radius: 4px 0 0 0;
+.info-panels h1,
+.info-panels h2,
+.info-panels h3,
+.info-panels h4,
+.info-panels h5 {
+ display: inline-block;
+ margin-bottom: 0;
+}
+
+.info-panels h1,
+.info-panels h2,
+.info-panels h3 {
+ color: #ff8;
+}
+
+.panel-container {
+ flex: 0 0 auto;
+ margin: 2px 0 0 2px;
+ border-radius: 4px;
+ border: 1px solid rgba(0, 0, 0, 0.75);
+ padding-bottom: 10px;
+ width: 250px;
+}
+
+.panel-container .panel-title {
+ border-radius: 4px 4px 0 0;
+}
+
+.panel-title {
padding: 5px 10px;
- height: 30px;
}
-.infobox ul {
+.panel-title button.close {
+ float: right;
+ height: 20px;
+ background: none;
+ color: #ddd;
+}
+
+.panel-title button.close:hover {
+ color: #fff;
+}
+
+.panel-title button.close .icon {
+ height: 20px;
+ width: 16px;
+}
+
+.panel-content {
padding: 5px 10px;
+ position: relative;
}
-.infobox .button {
- position: absolute;
+.panel-content .button {
+ display: inline-block;
background: #7092ff;
border-radius: 2px;
padding: 0 4px;
+ margin-top: 10px;
color: white;
- top: 40px;
- right: 10px;
}
+.panel-content-history .links a {
+ margin-left: 10px;
+}
+[dir='rtl'] .panel-content-history .links a {
+ margin-left: auto;
+ margin-right: 10px;
+}
+
+.panel-content-history .view-history-on-osm {
+ display: block;
+ margin-top: 10px;
+}
+
+.panel-content-location .location-info {
+ margin-top: 10px;
+}
+
+
/* About Section
------------------------------------------------------- */
.base-layer-attribution,
.overlay-layer-attribution {
position: absolute;
- color: #888;
+ color: #ccc;
font-size: 10px;
}
content: '; ';
}
-.source-image {
+.attribution a,
+.attribution a:visited {
+ color: #ccf;
+}
+
+.attribution a:hover {
+ color: #aaf;
+}
+
+.attribution .source-image {
height: 20px;
- vertical-align:top;
+ vertical-align: middle;
+ border-radius: 3px;
+}
+
+.attribution span {
+ margin: 0 3px;
}
+
#footer {
pointer-events: all;
display: block;
}
+/* Shortcuts Modal
+------------------------------------------------------- */
+.modal-shortcuts {
+ width: 90%;
+ max-width: 950px;
+}
+
+.modal-shortcuts .modal-section:last-child {
+ padding-top: 10px;
+ min-height: 275px;
+}
+
+.modal-shortcuts .tabs-bar {
+ text-align: center;
+ padding-bottom: 5px;
+ font-size: 16px;
+ font-weight: bold;
+}
+
+.modal-shortcuts .tab {
+ display: inline-block;
+ padding: 5px 10px;
+ margin: 0 5px;
+ cursor: pointer;
+ color: #666;
+}
+.modal-shortcuts .tab.active {
+ color: #7092ff;
+}
+.modal-shortcuts .tab:hover {
+ color: #597be7;
+ background-color: #efefef;
+}
+
+.modal-shortcuts .shortcut-tab {
+ display: flex;
+ flex-flow: row wrap;
+}
+
+.modal-shortcuts .shortcut-column {
+ flex: 1 1 50%;
+ width: 50%;
+}
+
+.modal-shortcuts .shortcut-tab-tools .shortcut-column {
+ flex: 1 1 100%;
+ width: 100%;
+}
+
+.modal-shortcuts td {
+ padding-bottom: 5px;
+}
+
+.modal-shortcuts .shortcut-section {
+ padding: 20px 0 10px 0;
+}
+
+.modal-shortcuts .shortcut-keys {
+ padding-right: 10px;
+ color: #767676;
+ text-align: right;
+}
+[dir='rtl'] .modal-shortcuts .shortcut-keys {
+ padding-right: auto;
+ padding-left: 10px;
+ text-align: left;
+}
+
+.modal-shortcuts .shortcut-keys kbd {
+ display: inline-block;
+ text-align: center;
+ padding: 3px 5px;
+ font-size: 11px;
+ line-height: 12px;
+ min-width: 12px;
+ color: #555;
+ vertical-align: baseline;
+ background-color: #fcfcfc;
+ border: solid 1px #ccc;
+ margin: 0 2px;
+ border-bottom-color: #bbb;
+ border-radius: 3px;
+ box-shadow: inset 0 -1px 0 #bbb;
+}
+
+.modal-shortcuts .shortcut-keys svg.mouseclick use.left {
+ fill: rgba(112, 146, 255, 1);
+ color: rgba(112, 146, 255, 0);
+}
+.modal-shortcuts .shortcut-keys svg.mouseclick use.right {
+ fill: rgba(112, 146, 255, 0);
+ color: rgba(112, 146, 255, 1);
+}
+
+.modal-shortcuts .shortcut-keys .gesture {
+ color: #333;
+ padding: 3px;
+}
+
+
+
/* Save Mode
------------------------------------------------------- */
.mode-save a.user-info {
.map-control .tooltip {
min-width: 160px;
}
+.map-control .shortcuts .tooltip {
+ max-width: 160px;
+}
/* Move over tooltips that are near the edge of screen */
.add-point .tooltip {
[dir='rtl'] .spin-control button.increment{
border-bottom-left-radius: 3px;
}
+/* modal */
+[dir='rtl'] .modal > button {
+ position: absolute;
+ left: 0;
+ right: unset;
+ top: 0;
+}
+