+.dropdown-toggle {
+ *margin-bottom: -3px;
+}
+
+.dropdown-toggle:active,
+.open .dropdown-toggle {
+ outline: 0;
+}
+
+.caret {
+ display: inline-block;
+ width: 0;
+ height: 0;
+ vertical-align: top;
+ border-top: 4px solid #000000;
+ border-right: 4px solid transparent;
+ border-left: 4px solid transparent;
+ content: "";
+}
+
+.dropdown .caret {
+ margin-top: 8px;
+ margin-left: 2px;
+}
+
+.dropdown-menu {
+ position: absolute;
+ top: 100%;
+ left: -1px;
+ z-index: 1000;
+ display: none;
+ float: left;
+ min-width: 160px;
+ padding: 5px 0;
+ margin: 0;
+ list-style: none;
+ background-color: #ffffff;
+ border: 1px solid #ccc;
+ *border-right-width: 2px;
+ *border-bottom-width: 2px;
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ -webkit-background-clip: padding-box;
+ -moz-background-clip: padding;
+ background-clip: padding-box;
+}
+
+.dropdown-menu.pull-right {
+ right: 0;
+ left: auto;
+}
+
+.dropdown-menu .divider {
+ *width: 100%;
+ height: 1px;
+ margin: 9px 1px;
+ *margin: -5px 0 5px;
+ overflow: hidden;
+ background-color: #e5e5e5;
+ border-bottom: 1px solid #ffffff;
+}
+
+.dropdown-menu > li > a {
+ display: block;
+ padding: 3px 10px;
+ clear: both;
+ font-weight: normal;
+ line-height: 20px;
+ color: #333333;
+ white-space: nowrap;
+}
+
+.dropdown-menu > li > a:hover,
+.dropdown-menu > li > a:focus,
+.dropdown-submenu:hover > a,
+.dropdown-submenu:focus > a {
+ color: #ffffff;
+ text-decoration: none;
+ background-color: $green;
+}
+
+.dropdown-menu > .active > a,
+.dropdown-menu > .active > a:hover,
+.dropdown-menu > .active > a:focus {
+ color: #ffffff;
+ text-decoration: none;
+ background-color: $green;
+ outline: 0;
+}
+
+.dropdown-menu > .disabled > a,
+.dropdown-menu > .disabled > a:hover,
+.dropdown-menu > .disabled > a:focus {
+ color: #999999;
+}
+
+.dropdown-menu > .disabled > a:hover,
+.dropdown-menu > .disabled > a:focus {
+ text-decoration: none;
+ cursor: default;
+ background-color: transparent;
+ background-image: none;
+}
+
+.open {
+ *z-index: 1000;
+}
+
+.open > .dropdown-menu {
+ display: block;
+}
+
+.dropdown-backdrop {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 990;
+}
+
+/* Rules for the "Welcome" page */
+.site-welcome {
+ .center {
+ text-align: center;
+ .sprite {
+ float: none;
+ margin: auto;
+ }
+ }
+
+ .sprite {
+ background-image: image-url("welcome-sprite.png");
+ background-size: 500px 250px;
+ display: block;
+ float: left;
+ }
+
+ .icon-list {
+ padding-bottom: 20px;
+ div {
+ margin-bottom: 10px;
+ p {
+ padding-top: 10px;
+ }
+ }
+ }
+ .sprite.small {
+ width: 50px;
+ height: 50px;
+ }
+
+ .sprite.x {
+ background-position: -50px 0;
+ }
+
+ .sprite.term {
+ margin-right: 10px;
+ vertical-align: middle;
+ }
+
+ .sprite.node {
+ background-position: -100px 0;
+ }
+
+ .sprite.way {
+ background-position: -150px 0;
+ }
+
+ .sprite.tag {
+ background-position: -200px 0;
+ }
+
+ .sprite.editor {
+ background-position: -250px 0;
+ }
+
+ .sprite.question {
+ background-position: -300px 0;
+ }
+
+ .start-mapping {
+ margin: auto;
+ cursor: pointer;
+ border: none;
+ padding: 20px 40px;
+ font-size: 30px;
+ text-decoration: none;
+ }
+
+ .note-box {
+ margin-top: 20px;
+ background-color: $offwhite;
+ }
+
+ .icon.note {
+ background-color: #333;
+ border-radius: 4px;
+ }
+}
+
+.site-about #content {
+ background-color: #000;
+ background-position: 50% 50%;
+ background-repeat: no-repeat;
+ background-size: cover;
+ background-attachment: fixed;
+
+ &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
+ &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
+ &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
+ &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
+ &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
+ &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
+
+ .caption {
+ max-width: 200px;
+ font: 13px/20px Helvetica, Arial, sans-serif;
+ position: fixed;
+ text-align: right;
+ right: 20px;
+ bottom: 60px;
+ text-shadow: #000 0px 1px 5px;
+ color: #eee;
+ opacity: 0.8;
+ display: none;
+ }
+
+ .caption a {
+ color: white;
+ white-space: nowrap;
+ text-decoration: none;
+ }
+
+ a.next {
+ display: block;
+ position: fixed;
+ right: 10px;
+ bottom: 10px;
+ width: 40px;
+ height: 40px;
+ border-radius: 5px;
+ text-indent: -9999px;
+ overflow: hidden;
+ background: image-url('about/sprite.png') -120px 0px no-repeat;
+ background-color: #000;
+ background-color: rgba(0, 0, 0, 0.5);
+ }
+
+ .content-inner {
+ position: relative;
+ color: #333;
+ min-width: 320px;
+ max-width: 640px;
+
+ .section {
+ margin-bottom: 30px;
+ }
+
+ .section:last-child {
+ margin-bottom: 0;
+ }
+ }
+
+ .text {
+ background: white;
+ padding: 40px;
+ }
+
+ .attr {
+ position: relative;
+ padding: 170px 40px 20px;
+ background: #333;
+ background: rgba(0, 0, 0, .8);
+ margin-bottom: 0;
+ margin-top: -20px;
+
+ h1 {
+ display: block;
+ color: white;
+ font-weight: 300;
+ font-size: 34px;
+ span {
+ color: #76c551;
+ }
+ }
+
+ .user-image {
+ position: absolute;
+ top: 0px;
+ right: 240px;
+ left: 0px;
+ height: 150px;
+ background-position: 0 50%;
+ background-repeat: no-repeat;
+ background-image: image-url('about/osm.png');
+ background-size: cover;
+ background-color: #76c551;
+ }
+
+ .byosm {
+ position: absolute;
+ top: 0px;
+ right: 0px;
+ z-index: 1;
+ width: 240px;
+ height: 150px;
+ padding: 20px 20px 20px 40px;
+ font: 500 20px/24px Helvetica, Arial, sans-serif;
+ white-space: nowrap;
+ color: #fff;
+ background: #76c551;
+ }
+
+ .byosm span {
+ display: inline-block;
+ width: 20px;
+ margin-left: -20px;
+ }
+ }
+
+ h2 {
+ margin-bottom: 10px;
+ }
+
+ .icon {
+ width: 30px;
+ height: 30px;
+ margin-right: 10px;
+ vertical-align: middle;
+ background: 40px 40px image-url('about/sprite.png') no-repeat;
+
+ &.local { background-position: 0px 0px; }
+ &.community { background-position: 0px -40px; }
+ &.open { background-position: 0px -80px; }
+ &.contributors { background-position: 0px -120px; }
+ &.infringement { background-position: 0px -160px; }
+ }