766 lines
15 KiB
Text
766 lines
15 KiB
Text
@font-face {
|
|
font-family: 'din-medium';
|
|
src: url(<%= asset_path 'Fonts/din.eot' %>);
|
|
src: url(<%= asset_path 'Fonts/din.eot?#iefix' %>) format('embedded-opentype'),
|
|
url(<%= asset_path 'Fonts/din.woff' %>) format('woff'),
|
|
url(<%= asset_path 'Fonts/din.ttf' %>) format('truetype'),
|
|
url(<%= asset_path 'Fonts/din.svg#din-medium' %>) format('svg');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: 'din-regular';
|
|
src: url(<%= asset_path 'Fonts/din-reg.eot' %>);
|
|
src: url(<%= asset_path 'Fonts/din-reg.eot?#iefix' %>) format('embedded-opentype'),
|
|
url(<%= asset_path 'Fonts/din-reg.woff' %>) format('woff'),
|
|
url(<%= asset_path 'Fonts/din-reg.ttf' %>) format('truetype'),
|
|
url(<%= asset_path 'Fonts/din-reg.svg#din-reg' %>) format('svg');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
.backface-visible {
|
|
-webkit-backface-visibility: visible !important;
|
|
backface-visibility: visible !important;
|
|
}
|
|
|
|
#famousOverlay {
|
|
position:fixed;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin:0;
|
|
z-index: 0;
|
|
}
|
|
|
|
#yield {
|
|
display:none;
|
|
}
|
|
|
|
#toast {
|
|
display: none;
|
|
}
|
|
|
|
/*.animations {
|
|
-webkit-transition-duration: .5s;
|
|
-moz-transition-duration: .5s;
|
|
-o-transition-duration: .5s;
|
|
-ms-transition-duration: .5s;
|
|
transition-duration: .5s;
|
|
|
|
-webkit-transition-timing-function: ease-in-out;
|
|
-moz-transition-timing-function: ease-in-out;
|
|
-o-transition-timing-function: ease-in-out;
|
|
-ms-transition-timing-function: ease-in-out;
|
|
transition-timing-function: ease-in-out;
|
|
}*/
|
|
|
|
.mapElement {
|
|
display: none;
|
|
}
|
|
.mapPage .mapElement, .topicPage .mapElement {
|
|
display: block;
|
|
}
|
|
.mapPage .mapElementHidden {
|
|
display:none;
|
|
}
|
|
|
|
/* loading */
|
|
|
|
#loading {
|
|
width: 28px;
|
|
height: 28px;
|
|
position: fixed;
|
|
top: 50%;
|
|
margin-left: -14px;
|
|
left: 50%;
|
|
margin-top: -14px;
|
|
}
|
|
|
|
/* end loading */
|
|
|
|
|
|
|
|
/* logo */
|
|
|
|
.footer {
|
|
z-index: 3 !important; /* important necessary for firefox */
|
|
}
|
|
|
|
.logo {
|
|
color: #9E9E9E;
|
|
font-family: "vinyl", sans-serif;
|
|
font-style: italic;
|
|
text-transform: uppercase;
|
|
font-weight: 400;
|
|
font-size: 30px;
|
|
line-height: 30px;
|
|
text-align: center;
|
|
}
|
|
.bottomLinks {
|
|
color: #9e9e9e;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
list-style: none;
|
|
}
|
|
.bottomLinks li {
|
|
display: inline-block;
|
|
cursor:pointer;
|
|
}
|
|
.bottomLinks li a {
|
|
color: #9e9e9e;
|
|
}
|
|
|
|
/* end logo */
|
|
|
|
|
|
/* upperLeftUI */
|
|
.upperLeftUI {
|
|
position: fixed;
|
|
top: 10px;
|
|
left: 24px;
|
|
z-index:3;
|
|
box-shadow: 0px 1px 1.5px rgba(0,0,0,0.12), 0 1px 1px rgba(0,0,0,0.24);
|
|
border-radius: 2px;
|
|
}
|
|
.explorePage .upperLeftUI {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.unauthenticated .homePage .homeButton {
|
|
display:none;
|
|
}
|
|
.homeButton {
|
|
width: 40px;
|
|
height: 32px;
|
|
background-color: #757575;
|
|
background-image: url(<%= asset_data_uri('home_light.png') %>);
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
border-top-left-radius: 2px;
|
|
border-bottom-left-radius: 2px;
|
|
float:left;
|
|
}
|
|
.homeButton:hover {
|
|
background-image: url(<%= asset_data_uri('home_light.png') %>);
|
|
}
|
|
.homeButton a {
|
|
display:block;
|
|
width: 40px;
|
|
height: 32px;
|
|
}
|
|
|
|
/* end upperLeftUI */
|
|
|
|
/* upperRightUI */
|
|
|
|
.upperRightUI {
|
|
position: fixed;
|
|
top: 10px;
|
|
right: 24px;
|
|
z-index:4;
|
|
}
|
|
|
|
.upperRightUI .upperRightEl {
|
|
float: left;
|
|
}
|
|
|
|
.upperRightBox {
|
|
position: fixed;
|
|
top:52px;
|
|
right:24px;
|
|
background-color: #E0E0E0;
|
|
border-radius: 2px;
|
|
box-shadow: 0 3px 3px rgba(0,0,0,0.23), 0 3px 3px rgba(0,0,0,0.16);
|
|
}
|
|
|
|
.supportUs.upperRightEl {
|
|
cursor: pointer;
|
|
color: #4fc059;
|
|
font-size: 14px;
|
|
height: 14px;
|
|
margin: 9px 8px 9px 0;
|
|
display: none;
|
|
}
|
|
.homePage .supportUs, .explorePage .supportUs {
|
|
display: block;
|
|
}
|
|
|
|
.upperRightMapButtons {
|
|
position: relative;
|
|
top: -42px; /* puts it just offscreen */
|
|
}
|
|
.mapPage .upperRightMapButtons, .topicPage .upperRightMapButtons {
|
|
top: 0;
|
|
}
|
|
|
|
.topicPage .sidebarCollaborate {
|
|
display: none;
|
|
}
|
|
|
|
.upperRightIcon {
|
|
width: 32px;
|
|
height: 32px;
|
|
background-image: url(<%= asset_data_uri('topright_sprite.png') %>);
|
|
background-repeat: no-repeat;
|
|
cursor: pointer;
|
|
}
|
|
.sidebarCollaborateIcon {
|
|
background-position: 0 0;
|
|
display: none;
|
|
}
|
|
.sidebarCollaborateIcon.blue {
|
|
background-position: -32px 0;
|
|
}
|
|
.sidebarCollaborateIcon.blue:hover {
|
|
background-position: -32px -32px;
|
|
}
|
|
/* only show the collaborate icon on commons */
|
|
.commonsMap .sidebarCollaborateIcon {
|
|
display: block;
|
|
}
|
|
.sidebarFilterIcon {
|
|
background-position: -64px 0;
|
|
}
|
|
.sidebarForkIcon {
|
|
background-position: -96px 0;
|
|
}
|
|
.addMap {
|
|
background-position: -128px 0;
|
|
margin-right:10px;
|
|
}
|
|
.sidebarFilterIcon:hover {
|
|
background-position: -64px -32px;
|
|
}
|
|
.sidebarForkIcon:hover {
|
|
background-position: -96px -32px;
|
|
}
|
|
.addMap:hover {
|
|
background-position: -128px -32px;
|
|
margin-right:10px;
|
|
}
|
|
|
|
|
|
/* end upperRightUI */
|
|
|
|
|
|
/* yield */
|
|
|
|
.famousYield {
|
|
overflow-y:auto;
|
|
}
|
|
|
|
/* homepage */
|
|
|
|
.homeWrapper.homeText {
|
|
margin-top: 5%;
|
|
}
|
|
|
|
.fullWidthWrapper {
|
|
width: 100%;
|
|
}
|
|
.fullWidthWrapper.withVideo {
|
|
height: 315px;
|
|
background: #757575;
|
|
}
|
|
|
|
.homeWrapper {
|
|
width: 800px;
|
|
margin: 0 auto;
|
|
color: #424242;
|
|
}
|
|
|
|
.homeTitle {
|
|
font-size: 64px;
|
|
line-height: 48px;
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.homeIntro {
|
|
font-size: 22px;
|
|
line-height: 26px;
|
|
text-align: justify;
|
|
margin: 32px 0 20px;
|
|
font-family: 'din-regular', helvetica, sans-serif;
|
|
}
|
|
|
|
.homeWrapper .green {
|
|
color: #4fc059;
|
|
}
|
|
|
|
.homeWrapper .din-medium {
|
|
font-family: 'din-medium', helvetica, sans-serif;
|
|
}
|
|
|
|
.homeVideo {
|
|
margin-bottom: 20px;
|
|
float: left;
|
|
}
|
|
|
|
.homeWrapper .callToAction {
|
|
float: left;
|
|
width: 216px;
|
|
padding: 8px 0 8px 24px;
|
|
color: #F5F5F5;
|
|
}
|
|
.callToAction h3 {
|
|
font-size: 24px;
|
|
}
|
|
.callToAction p {
|
|
margin: 8px 0 16px;
|
|
font-size: 13px;
|
|
line-height: 16px;
|
|
font-family: 'din-regular', helvetica, sans-serif;
|
|
text-align: left;
|
|
}
|
|
.callToAction a, .callToAction button {
|
|
display: block;
|
|
width: 220px;
|
|
height: 12px;
|
|
padding: 16px 0;
|
|
text-align: center;
|
|
border-radius: 2px;
|
|
font-size: 12px;
|
|
box-shadow: 0px 1px 1.5px rgba(0,0,0,0.12), 0 1px 1px rgba(0,0,0,0.24);
|
|
margin: 0 auto;
|
|
color: #FFFFFF;
|
|
box-sizing: content-box;
|
|
-moz-box-sizing: content-box;
|
|
-webkit-box-sizing: content-box;
|
|
}
|
|
.callToAction .requestInviteCTA {
|
|
background-color: #4fc059;
|
|
margin-bottom: 12px;
|
|
}
|
|
.callToAction .requestInviteCTA:hover {
|
|
background-color: #49ad4e;
|
|
}
|
|
.callToAction .exploreFeaturedCTA {
|
|
background-color: #a354cd;
|
|
margin-bottom: 12px;
|
|
}
|
|
.callToAction .exploreFeaturedCTA:hover {
|
|
background-color: #9150bc;
|
|
}
|
|
.callToAction .learnMoreCTA {
|
|
background-color: #4fb5c0;
|
|
margin-bottom: 12px;
|
|
}
|
|
.callToAction .learnMoreCTA:hover {
|
|
background-color: #419599;
|
|
}
|
|
|
|
.fullWidthWrapper.withPartners {
|
|
background: url(<%= asset_data_uri('homepage_bg_fade.png') %>) no-repeat center -300px;
|
|
}
|
|
.homeWrapper.homePartners {
|
|
padding: 64px 0 280px;
|
|
height: 96px;
|
|
background: url(<%= asset_data_uri('partner_logos.png') %>) no-repeat 0 64px;
|
|
}
|
|
|
|
.github-fork-ribbon-wrapper {
|
|
display:none;
|
|
}
|
|
|
|
.homePage .github-fork-ribbon-wrapper {
|
|
display: block;
|
|
}
|
|
|
|
/* end home page */
|
|
|
|
/* infoAndHelp */
|
|
|
|
.mapPage .infoAndHelp, .topicPage .infoAndHelp {
|
|
right: 70px;
|
|
}
|
|
.mapPage .openCheatsheet .tooltipsAbove, .topicPage .openCheatsheet .tooltipsAbove {
|
|
left: 29px;
|
|
}
|
|
|
|
.unauthenticated .homePage .infoAndHelp {
|
|
display:none;
|
|
}
|
|
|
|
.infoAndHelp {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
z-index: 3;
|
|
width: auto;
|
|
font-style: italic;
|
|
height: 32px;
|
|
}
|
|
.infoElement {
|
|
float:left;
|
|
width: 32px;
|
|
height:32px;
|
|
cursor: pointer;
|
|
}
|
|
.openCheatsheet {
|
|
background-image: url(<%= asset_data_uri('help_sprite.png') %>);
|
|
background-repeat:no-repeat;
|
|
}
|
|
.openCheatsheet:hover {
|
|
background-position: 0 -32px;
|
|
}
|
|
.mapInfoIcon {
|
|
position: relative;
|
|
top: 56px; /* puts it just offscreen */
|
|
background-image: url(<%= asset_data_uri('mapinfo_sprite.png') %>);
|
|
background-repeat:no-repeat;
|
|
}
|
|
.mapInfoIcon:hover {
|
|
background-position: 0 -32px;
|
|
}
|
|
.mapPage .mapInfoIcon {
|
|
top: 0;
|
|
}
|
|
|
|
/* end infoAndHelp */
|
|
|
|
|
|
/* mapControls */
|
|
|
|
.mapControls {
|
|
position: fixed;
|
|
bottom: 24px;
|
|
right:-32px; /* puts it just offscreen */
|
|
width:32px;
|
|
z-index: 3;
|
|
}
|
|
.mapPage .mapControls, .topicPage .mapControls {
|
|
right: 24px;
|
|
}
|
|
|
|
.topicPage .zoomExtents {
|
|
display: none;
|
|
}
|
|
|
|
.mapControl {
|
|
width:32px;
|
|
height:32px;
|
|
background-color: #424242;
|
|
background-repeat: no-repeat;
|
|
background-position: 0 0;
|
|
cursor:pointer;
|
|
}
|
|
|
|
.mapControls:hover, .infoAndHelp:hover {
|
|
z-index: 4;
|
|
}
|
|
|
|
.takeScreenshot {
|
|
margin-bottom: 5px;
|
|
border-radius: 2px;
|
|
background-image: url(<%= asset_data_uri 'screenshot_sprite.png' %>);
|
|
display: none;
|
|
}
|
|
.takeScreenshot:hover {
|
|
background-position: -32px 0;
|
|
}
|
|
.canEditMap .takeScreenshot {
|
|
display: block;
|
|
}
|
|
|
|
.zoomExtents {
|
|
margin-bottom:5px;
|
|
border-radius: 2px;
|
|
background-image: url(<%= asset_data_uri('extents_sprite.png') %>);
|
|
}
|
|
|
|
.zoomExtents:hover {
|
|
background-position: -32px 0;
|
|
}
|
|
|
|
.zoomExtents:hover .tooltips, .zoomIn:hover .tooltips, .zoomOut:hover .tooltips, .takeScreenshot:hover .tooltips, .sidebarCollaborateIcon:hover .tooltipsUnder,
|
|
.sidebarFilterIcon:hover .tooltipsUnder, .sidebarForkIcon:hover .tooltipsUnder, .addMap:hover .tooltipsUnder, .authenticated .sidebarAccountIcon:hover .tooltipsUnder,
|
|
.mapInfoIcon:hover .tooltipsAbove, .openCheatsheet:hover .tooltipsAbove {
|
|
display: block;
|
|
}
|
|
|
|
.hide {
|
|
display: none !important;
|
|
}
|
|
|
|
.tooltips {
|
|
display: none;
|
|
position: absolute;
|
|
background: black;
|
|
text-align: center;
|
|
right: 45px;
|
|
color: white;
|
|
border-radius: 2px;
|
|
font-family: din-regular;
|
|
line-height: 15px;
|
|
font-size: 12px;
|
|
padding: 3px 5px 2px;
|
|
white-space: nowrap;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.tooltipsUnder {
|
|
display: none;
|
|
position: absolute;
|
|
background: black;
|
|
text-align: center;
|
|
color: white;
|
|
border-radius: 2px;
|
|
font-family: din-regular;
|
|
line-height: 15px;
|
|
font-size: 12px;
|
|
padding: 3px 5px 2px;
|
|
white-space: nowrap;
|
|
margin-top: 36px;
|
|
}
|
|
|
|
.tooltipsAbove {
|
|
display: none;
|
|
position: absolute;
|
|
background: black;
|
|
text-align: center;
|
|
text-transform: none;
|
|
color: white;
|
|
border-radius: 2px;
|
|
font-family: din-regular;
|
|
line-height: 15px;
|
|
font-size: 12px;
|
|
padding: 3px 5px 2px;
|
|
white-space: nowrap;
|
|
margin-top: -23px;
|
|
font-style: normal;
|
|
}
|
|
|
|
.sidebarCollaborateIcon .tooltipsUnder {
|
|
margin-left: -3px;
|
|
}
|
|
|
|
.sidebarFilterIcon .tooltipsUnder {
|
|
margin-left: -4px;
|
|
}
|
|
|
|
.sidebarForkIcon .tooltipsUnder {
|
|
margin-left: -34px;
|
|
}
|
|
|
|
.sidebarForkIcon div:after{
|
|
left: 45%;
|
|
}
|
|
|
|
.addMap .tooltipsUnder {
|
|
margin-left: -36px;
|
|
}
|
|
|
|
.addMap div:after {
|
|
left: 45%;
|
|
}
|
|
|
|
.mapInfoIcon .tooltipsAbove {
|
|
left: -11px;
|
|
}
|
|
|
|
.openCheatsheet .tooltipsAbove {
|
|
left: -4px;
|
|
}
|
|
|
|
.sidebarAccountIcon .tooltipsUnder {
|
|
margin-left: -8px;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.zoomExtents div::after, .zoomIn div::after, .zoomOut div::after, .takeScreenshot div:after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 57%;
|
|
left: 100%;
|
|
margin-top: -6px;
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 4px solid #000000;
|
|
border-top: 5px solid transparent;
|
|
border-bottom: 5px solid transparent;
|
|
}
|
|
|
|
.sidebarCollaborateIcon div:after, .sidebarFilterIcon div:after, .sidebarAccountIcon .tooltipsUnder:after {
|
|
left: 38%;
|
|
}
|
|
|
|
.sidebarCollaborateIcon div:after, .sidebarFilterIcon div:after, .sidebarForkIcon div:after, .addMap div:after, .sidebarAccountIcon .tooltipsUnder:after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 129%;
|
|
margin-top: -30px;
|
|
width: 0;
|
|
height: 0;
|
|
border-bottom: 4px solid #000000;
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid transparent;
|
|
}
|
|
|
|
.mapInfoIcon div:after, .openCheatsheet div:after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 76%;
|
|
left: 41%;
|
|
margin-top: 5px;
|
|
width: 0;
|
|
height: 0;
|
|
border-top: 4px solid #000000;
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid transparent;
|
|
}
|
|
|
|
.zoomIn {
|
|
background-image: url(<%= asset_data_uri('zoom_sprite.png') %>);
|
|
background-position: 0 /…0;
|
|
border-top-left-radius: 2px;
|
|
border-top-right-radius: 2px;
|
|
}
|
|
.zoomIn:hover {
|
|
background-position: -32px 0;
|
|
}
|
|
.zoomOut {
|
|
background-image: url(<%= asset_data_uri('zoom_sprite.png') %>);
|
|
background-position:0 -32px;
|
|
border-bottom-left-radius: 2px;
|
|
border-bottom-right-radius: 2px;
|
|
}
|
|
.zoomOut:hover {
|
|
background-position: -32px -32px;
|
|
}
|
|
|
|
/* end mapControls */
|
|
|
|
|
|
|
|
/* explore maps */
|
|
|
|
.exploreMapsBar {
|
|
z-index:2;
|
|
background-color:#FAFAFA;
|
|
}
|
|
|
|
.exploreMapsMenu {
|
|
display: block;
|
|
width: 100%;
|
|
margin-top:52px;
|
|
height:42px;
|
|
background-color:#EEEEEE;
|
|
box-shadow: 0px 3px 3px rgba(0,0,0,0.23), 0 3px 3px rgba(0,0,0,0.16);
|
|
}
|
|
|
|
.exploreMapsCenter {
|
|
z-index: 3 !important;
|
|
}
|
|
|
|
.exploreMapsButton {
|
|
color: #757575;
|
|
cursor: default;
|
|
font-weight: normal;
|
|
font-family: 'din-medium';
|
|
font-size: 14px;
|
|
height: 14px;
|
|
padding: 14px 16px 12px 40px;
|
|
border-bottom: 2px solid rgba(0,0,0,0);
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
position:relative;
|
|
}
|
|
.exploreMapsButton:hover, .exploreMapsButton.active {
|
|
text-decoration: none;
|
|
color: #424242;
|
|
border-bottom: 2px solid #00BCD4;
|
|
}
|
|
|
|
.exploreMapsButton.mapperButton {
|
|
height: 40px;
|
|
padding: 0;
|
|
}
|
|
.mapperButton img.exploreMapperImage {
|
|
float: left;
|
|
border-radius: 12px;
|
|
margin-top: 8px;
|
|
margin-right: 8px;
|
|
}
|
|
.exploreMapperName {
|
|
white-space: nowrap;
|
|
float: left;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
|
|
.exploreMapsButton .exploreMapsIcon {
|
|
background-repeat: no-repeat;
|
|
width:32px;
|
|
height:32px;
|
|
position:absolute;
|
|
top:5px;
|
|
left:5px;
|
|
}
|
|
.exploreMapsCenter .myMaps .exploreMapsIcon {
|
|
background-image: url(<%= asset_data_uri 'exploremaps_sprite.png' %>);
|
|
background-position: 0 0;
|
|
}
|
|
.exploreMapsCenter .activeMaps .exploreMapsIcon {
|
|
background-image: url(<%= asset_data_uri 'exploremaps_sprite.png' %>);
|
|
background-position: -32px 0;
|
|
}
|
|
.exploreMapsCenter .featuredMaps .exploreMapsIcon {
|
|
background-image: url(<%= asset_data_uri 'exploremaps_sprite.png' %>);
|
|
background-position: -64px 0;
|
|
}
|
|
.myMaps:hover .exploreMapsIcon, .myMaps.active .exploreMapsIcon {
|
|
background-position: 0 -32px;
|
|
}
|
|
.activeMaps:hover .exploreMapsIcon, .activeMaps.active .exploreMapsIcon {
|
|
background-position: -32px -32px;
|
|
}
|
|
.featuredMaps:hover .exploreMapsIcon, .featuredMaps.active .exploreMapsIcon {
|
|
background-position: -64px -32px;
|
|
}
|
|
|
|
.mapsWrapper {
|
|
/*overflow-y: auto; */
|
|
padding: 32px 32px 56px 32px;
|
|
}
|
|
|
|
/* end explore maps */
|
|
|
|
|
|
/* toast */
|
|
|
|
.toast {
|
|
background-color: #323232;
|
|
color: #F5F5F5;
|
|
padding: 16px;
|
|
border-radius: 2px;
|
|
z-index: 1 !important; /* important necessary for firefox */
|
|
font-size: 14px;
|
|
line-height:14px;
|
|
}
|
|
|
|
.toast a {
|
|
color: #4fc059;
|
|
}
|
|
|
|
/* end toast */
|
|
|
|
/* feedback */
|
|
body a#barometer_tab {
|
|
background-image: url(<%= asset_path 'feedback_sprite.png' %>);
|
|
background-position: 0 0;
|
|
background-color: transparent;
|
|
height: 110px;
|
|
margin-left:0;
|
|
margin-top:-55px;
|
|
top: 50%;
|
|
width: 22px;
|
|
border-top-right-radius: 2px;
|
|
border-bottom-right-radius: 2px;
|
|
box-shadow: 0px 1px 1.5px rgba(0,0,0,0.12), 0 1px 1px rgba(0,0,0,0.24);
|
|
}
|
|
|
|
body a#barometer_tab:hover {
|
|
background-position: 0 -110px;
|
|
}
|