metamaps--metamaps/app/assets/stylesheets/clean.css.erb

1231 lines
25 KiB
Text
Raw Normal View History

2014-08-10 17:06:58 +00:00
@font-face {
font-family: 'din-medium';
src: url('/assets/Fonts/din.eot');
src: url('/assets/Fonts/din.eot?#iefix') format('embedded-opentype'),
url('/assets/Fonts/din.woff') format('woff'),
url('/assets/Fonts/din.ttf') format('truetype'),
url('/assets/Fonts/din.svg#din-medium') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'din-regular';
src: url('/assets/Fonts/din-reg.eot');
src: url('/assets/Fonts/din-reg.eot?#iefix') format('embedded-opentype'),
url('/assets/Fonts/din-reg.woff') format('woff'),
url('/assets/Fonts/din-reg.ttf') format('truetype'),
url('/assets/Fonts/din-reg.svg#din-reg') format('svg');
font-weight: normal;
font-style: normal;
}
2014-08-10 17:06:58 +00:00
.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;
2014-08-10 17:06:58 +00:00
}
2014-08-10 23:13:25 +00:00
#yield {
2014-08-10 17:06:58 +00:00
display:none;
}
2014-08-11 22:57:34 +00:00
#toast {
display: none;
}
2014-08-10 17:06:58 +00:00
/*.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 {
2014-08-10 17:06:58 +00:00
display: block;
}
.mapPage .mapElementHidden {
display:none;
}
2014-08-10 17:06:58 +00:00
/* loading */
#loading {
width: 28px;
height: 28px;
position: fixed;
top: 50%;
margin-left: -14px;
left: 50%;
margin-top: -14px;
}
/* end loading */
/* logo */
2014-08-12 22:14:04 +00:00
.footer {
2015-01-23 02:42:45 +00:00
z-index: 3 !important; /* important necessary for firefox */
2014-08-12 22:14:04 +00:00
}
2014-08-10 17:06:58 +00:00
.logo {
2014-08-17 18:46:07 +00:00
color: #9E9E9E;
2014-08-10 17:06:58 +00:00
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;
2014-08-27 02:51:50 +00:00
cursor:pointer;
2014-08-10 17:06:58 +00:00
}
.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;
2014-08-27 02:51:50 +00:00
background-color: #757575;
background-image: url(home_light.png);
background-repeat: no-repeat;
background-position: center center;
2014-08-10 17:06:58 +00:00
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
float:left;
}
2014-08-27 02:51:50 +00:00
.homeButton:hover {
background-image: url(home_light.png);
}
2014-08-10 17:06:58 +00:00
.homeButton a {
display:block;
width: 40px;
height: 32px;
}
/* search */
.sidebarSearch {
float:left;
height: 32px;
2014-10-01 17:18:24 +00:00
position: relative;
}
#searchLoading {
height: 24px;
width: 24px;
position: absolute;
top: 4px;
right: 76px;
display: none;
2014-08-10 17:06:58 +00:00
}
.unauthenticated .homePage .sidebarSearchIcon {
border-radius: 2px;
}
.sidebarSearchIcon {
float: left;
width: 72px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
height: 32px;
2014-08-17 18:46:07 +00:00
background: #4fb5c0 url('search.png') no-repeat center center;
background-size: 32px 32px;
2014-08-10 17:06:58 +00:00
cursor: pointer;
}
.sidebarSearch .twitter-typeahead, .sidebarSearch .sidebarSearchField {
float: left;
}
.unauthenticated .homePage .sidebarSearchField,
.unauthenticated .homePage .sidebarSearch .tt-hint {
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
}
.explorePage .sidebarSearchField,
.explorePage .sidebarSearch .tt-hint {
width: 380px;
2014-11-09 05:52:46 +00:00
padding: 5px 10px 5px 10px;
2014-08-10 17:06:58 +00:00
}
2014-10-01 17:18:24 +00:00
.sidebarSearchField {
color: #424242;
}
.sidebarSearch .tt-hint {
color: transparent;
}
2014-08-10 17:06:58 +00:00
.sidebarSearchField,
.sidebarSearch .tt-hint {
height: 20px;
border-top: 1px solid #BDBDBD;
border-bottom: 1px solid #BDBDBD;
border-left: none;
border-right: none;
2014-11-09 05:52:46 +00:00
padding: 5px 0 5px 0;
2014-08-10 17:06:58 +00:00
width: 0px;
margin: 0;
outline: none;
font-size: 14px;
line-height: 14px;
background: #F5F5F5;
2014-08-27 02:51:50 +00:00
font-family: 'din-medium', helvetica, sans-serif;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch .tt-dropdown-menu {
2014-09-03 23:05:25 +00:00
top: 40px !important;
2014-11-09 05:52:46 +00:00
background: #F5F5F5;
2014-09-03 23:05:25 +00:00
width: 472px;
overflow-y: auto;
overflow-x: visible;
2014-11-27 19:56:45 +00:00
box-shadow: 0 10px 10px rgba(0,0,0,0.19), 0 6px 3px rgba(0,0,0,0.23);
2014-09-03 23:05:25 +00:00
}
.autoOptions #mapContribs {
width: 15px;
height: 15px;
border: 1px solid #424242;
margin-top: 4px;
margin-left: 4px;
}
.mapContributorsIcon span {
margin-left: 5px;
}
.mapContributorsIcon li span {
margin-left: 10px;
}
2014-09-03 23:05:25 +00:00
.searchHeader {
height: 42px;
width: 100%;
position: relative;
2014-09-03 23:05:25 +00:00
}
.searchTopicsHeader {
background: #4fc4a8;
}
.searchMapsHeader {
background: #994fc0;
}
.searchMappersHeader {
background: #c04f4f;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch .tt-dropdown-menu h3 {
text-transform: uppercase;
2014-09-03 23:05:25 +00:00
color: #F5F5F5;
font-size: 18px;
line-height: 18px;
margin: 12px 0 3px 16px;
2014-08-10 17:06:58 +00:00
float: left;
}
.sidebarSearch .tt-dropdown-menu .limitToMe {
float: left;
width: 12px;
height: 12px;
border: 1px;
color: #000000;
position: absolute;
top: 15px;
left: 136px;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch .tt-dropdown-menu .limitToMeLabel {
float: left;
font-family: 'din-medium', helvetica, sans-serif;
font-size: 12px;
color: #f5f5f5;
margin: 0;
position: absolute;
top: 15px;
left: 156px;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch .tt-dropdown-menu .minimizeResults, .sidebarSearch .tt-dropdown-menu .maximizeResults {
width: 32px;
height: 32px;
background-image: url(arrowpermswhite_sprite.png);
background-repeat: no-repeat;
2014-08-10 17:06:58 +00:00
cursor: pointer;
2014-10-01 21:15:35 +00:00
position: absolute;
top: 5px;
left: 410px;
}
.sidebarSearch .tt-dropdown-menu .minimizeResults {
background-position: 0 0;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch .tt-dropdown-menu .maximizeResults {
background-position: -32px 0;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch .tt-dataset {
2014-08-10 17:06:58 +00:00
overflow: visible;
}
.sidebarSearch .tt-suggestion {
2014-10-01 17:18:24 +00:00
position: relative;
2014-09-03 23:05:25 +00:00
background: #FFF;
2014-10-01 17:18:24 +00:00
padding: 8px 0;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch .tt-is-under-cursor,
.sidebarSearch .tt-suggestion:hover {
2014-09-03 23:05:25 +00:00
background: #E0E0E0;
2014-08-10 17:06:58 +00:00
}
2014-10-01 17:18:24 +00:00
.resultmap, .resulttopic, .resultmapper, .resultnoresult {
min-height: 48px;
display: table;
}
/*.sidebarSearch .tt-dataset-maps .tt-is-under-cursor .resultmap,
2014-08-10 17:06:58 +00:00
.sidebarSearch .tt-dataset-maps .tt-is-under-mouse-cursor .resultmap,
.sidebarSearch .tt-dataset-topics .tt-is-under-cursor .resulttopic,
.sidebarSearch .tt-dataset-topics .tt-is-under-mouse-cursor .resulttopic {
2014-10-01 17:18:24 +00:00
min-height: 48px;
}*/
.sidebarSearch .tt-suggestion .searchResIconWrapper {
display: table-cell;
vertical-align: middle;
height: 32px;
2014-11-27 19:56:45 +00:00
padding: 0 18px 0 28px;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch .tt-suggestion .icon {
2014-09-03 23:05:25 +00:00
width: 32px;
height: 32px;
border-radius:16px;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch .topicMetacode {
2014-10-01 17:18:24 +00:00
display: table-cell;
vertical-align: middle;
padding: 0 0 0 8px;
width: 70px;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch .tt-dataset-topics .topicIcon {
2014-09-03 23:05:25 +00:00
width: 32px;
height: 32px;
2014-08-10 17:06:58 +00:00
margin: 0 auto;
}
.sidebarSearch .tt-dataset-topics .metacodeTip {
display: none;
margin: 0 auto;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch .tt-dataset-topics .tt-is-under-cursor .metacodeTip,
.sidebarSearch .tt-dataset-topics .tt-is-under-mouse-cursor .metacodeTip {
display: block;
font-family: 'vinyl';
text-transform: uppercase;
font-style: italic;
font-size: 13px;
margin: 0 5px 0 2px;
text-align: center;
}
.sidebarSearch .tt-dataset-mappers .tt-suggestion .icon {
2014-11-27 19:56:45 +00:00
margin: 0px 0px 0px 0px;
2014-08-10 17:06:58 +00:00
}
2014-10-01 22:07:05 +00:00
.sidebarSearch .tt-dataset-mappers .resultText {
width: 150px;
}
2014-08-10 17:06:58 +00:00
.sidebarSearch .resultText {
width: 260px;
2014-10-01 17:18:24 +00:00
display: table-cell;
padding-left: 8px;
vertical-align: middle;
2014-08-10 17:06:58 +00:00
word-wrap: break-word;
}
.sidebarSearch .resultTitle {
font-weight: normal;
2014-10-01 17:18:24 +00:00
font-size: 16px;
line-height: 20px;
2014-08-10 17:06:58 +00:00
width: 100%;
2014-10-01 17:18:24 +00:00
font-family: 'din-regular', helvetica, sans-serif;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch .resultDesc {
2014-10-01 17:18:24 +00:00
font-size: 12px;
2014-08-10 17:06:58 +00:00
line-height: 16px;
width: 100%;
2014-10-01 17:18:24 +00:00
font-style: italic;
font-family: helvetica, sans-serif;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch .tip {
display: none;
}
.sidebarSearch div.autoOptions {
2014-10-01 17:18:24 +00:00
width: 114px;
height: 48px;
position: absolute;
2014-08-10 17:06:58 +00:00
display: none;
2014-10-01 17:18:24 +00:00
top: 8px;
right: 0;
}
.tt-dataset-maps div.autoOptions {
width: 84px;
2014-08-10 17:06:58 +00:00
}
2014-10-01 22:07:05 +00:00
.sidebarSearch .tt-dataset-mappers .autoOptions {
width: 235px;
}
2014-08-10 17:06:58 +00:00
.sidebarSearch .tt-is-under-cursor .autoOptions,
.sidebarSearch .tt-is-under-mouse-cursor .autoOptions {
display: block;
}
.sidebarSearch .tt-suggestion .resultnoresult .autoOptions {
display: none;
}
.sidebarSearch .autoOptions button,
.sidebarSearch .autoOptions a,
.sidebarSearch .autoOptions div {
position: absolute;
padding: 0;
margin: 0;
border: none;
outline: none;
}
.sidebarSearch button.addToMap {
display:none;
width: 24px;
height: 24px;
background: url(addtopic_sprite.png);
background-repeat: no-repeat;
background-size: 48px 24px;
2014-10-01 17:18:24 +00:00
top: 12px;
left: 80px;
2014-08-10 17:06:58 +00:00
cursor: pointer;
}
.canEditMap button.addToMap {
display: block;
}
.sidebarSearch button.addToMap:hover {
background-position: -24px;
}
2014-10-01 17:18:24 +00:00
.sidebarSearch div.topicCount {
2014-10-01 17:18:24 +00:00
width: 24px;
height: 24px;
background: url(topic16.png);
background-repeat: no-repeat;
background-position: 0 center;
2014-10-01 17:18:24 +00:00
top: 0;
left: 0;
2014-08-10 17:06:58 +00:00
padding-left: 18px;
font-size: 12px;
2014-10-01 17:18:24 +00:00
line-height: 24px;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch div.mapCount {
2014-10-01 17:18:24 +00:00
width: 24px;
height: 24px;
background: url(metamap16.png);
background-repeat: no-repeat;
background-position: 0 center;
2014-10-01 17:18:24 +00:00
left: 0;
padding-left: 20px;
2014-08-10 17:06:58 +00:00
font-size: 12px;
2014-10-01 17:18:24 +00:00
line-height: 24px;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch div.synapseCount {
2014-10-01 17:18:24 +00:00
width: 24px;
height: 24px;
background: url(synapse16.png);
background-repeat: no-repeat;
background-position: 0 center;
2014-10-01 17:18:24 +00:00
top: 24px;
left: 0;
padding-left: 20px;
2014-08-10 17:06:58 +00:00
font-size: 12px;
2014-10-01 17:18:24 +00:00
line-height: 24px;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch div.topicOriginatorIcon {
2014-10-01 17:18:24 +00:00
width: 18px;
height: 18px;
padding: 3px;
top: 0;
left: 44px;
}
.sidebarSearch .topicOriginatorIcon img {
border-radius: 9px;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch .topicOriginatorIcon .tip {
right: 30px;
top: 1px;
}
2014-08-10 17:06:58 +00:00
.sidebarSearch .tip {
position: absolute;
2014-10-01 17:18:24 +00:00
background: #424242;
2014-08-10 17:06:58 +00:00
width: auto;
2014-10-01 17:18:24 +00:00
top: 2px;
2014-08-10 17:06:58 +00:00
right: 25px;
2014-10-01 17:18:24 +00:00
color: white;
2014-08-10 17:06:58 +00:00
white-space: nowrap;
2014-10-01 17:18:24 +00:00
border-radius: 2px;
font-size: 12px !important;
font-family: 'din-regular';
line-height: 12px;
padding: 4px 4px 4px;
2014-08-10 17:06:58 +00:00
z-index: 100;
}
.sidebarSearch .hoverForTip:hover .tip {
display: block;
}
.sidebarSearch .mapContributorsIcon .tip {
right: 40px;
top: -5px;
padding-top: 5px;
padding-bottom: 5px;
}
.sidebarSearch .hoverForTip .tip li {
padding-left: 28px;
padding-top: 4px;
}
.tipUserImage {
position: absolute;
top: 0px;
left: 7px;
border-radius: 14px;
}
.sidebarSearch .hoverForTip .tip:before {
content: '';
position: absolute;
width: 0;
height: 0;
border-left: 4px solid #424242;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
}
.sidebarSearch .hoverForTip.addToMap .tip {
right: 30px;
}
.sidebarSearch .hoverForTip.addToMap .tip:before {
right: -4px;
}
.sidebarSearch .mapContributorsIcon .tip:before {
top: 12px;
right: -4px;
}
.sidebarSearch .topicOriginatorIcon .tip:before {
top: 5px;
right: -4px;
}
2014-08-10 17:06:58 +00:00
.sidebarSearch .mapContributorsIcon .mapContributors {
2014-10-01 17:18:24 +00:00
top: auto;
2014-08-10 17:06:58 +00:00
right: 0;
bottom: 21px;
white-space: normal;
width: 200px;
}
.sidebarSearch div.mapContributorsIcon {
2014-10-01 17:18:24 +00:00
height: 24px;
top: 0;
left: 44px;
2014-08-10 17:06:58 +00:00
font-size: 12px;
2014-10-01 17:18:24 +00:00
line-height: 24px;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch div.topicPermission,
.sidebarSearch div.mapPermission {
width: 24px;
height: 24px;
background-image: url(permissions32_sprite.png);
background-repeat: no-repeat;
background-size: 72px 48px !important;
2014-10-01 17:18:24 +00:00
top: 24px;
left: 44px;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch div.topicPermission.commons,
.sidebarSearch div.mapPermission.commons {
background-position: 0 0;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch div.topicPermission.public,
.sidebarSearch div.mapPermission.public {
2014-10-01 17:18:24 +00:00
background-position: -48px 0;
2014-08-10 17:06:58 +00:00
}
.sidebarSearch div.topicPermission.private,
.sidebarSearch div.mapPermission.private {
2014-10-01 17:18:24 +00:00
background-position: -24px 0;
2014-08-10 17:06:58 +00:00
}
2014-08-10 17:06:58 +00:00
.sidebarSearch .tt-dataset-mappers div.mapCount {
top: 8px;
2014-10-01 22:07:05 +00:00
left: 170px;
}
.sidebarSearch .tt-dataset-mappers div.mapperCreated {
left: 0px;
padding-left: 0px;
font-size: 12px;
font-family: 'din-medium', helvetica, sans-serif;
line-height: 24px;
}
.sidebarSearch .tt-dataset-mappers div.mapperGeneration {
top: 20px;
left: 0px;
padding-left: 0px;
font-size: 12px;
font-family: 'din-medium', helvetica, sans-serif;
line-height: 24px;
2014-08-10 17:06:58 +00:00
}
2014-10-01 22:07:05 +00:00
2014-08-10 17:06:58 +00:00
/* end search */
/* end upperLeftUI */
/* upperRightUI */
.upperRightUI {
position: fixed;
top: 10px;
right: 24px;
2014-09-03 23:05:25 +00:00
z-index:4;
2014-08-10 17:06:58 +00:00
}
.upperRightUI .upperRightEl {
float: left;
}
.upperRightBox {
position: fixed;
top:52px;
2014-08-10 17:06:58 +00:00
right:24px;
2014-08-27 02:51:50 +00:00
background-color: #E0E0E0;
border-radius: 2px;
2014-08-10 17:06:58 +00:00
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;
}
2014-08-10 17:06:58 +00:00
.upperRightMapButtons {
position: relative;
top: -42px; /* puts it just offscreen */
}
.mapPage .upperRightMapButtons, .topicPage .upperRightMapButtons {
2014-08-10 17:06:58 +00:00
top: 0;
}
2014-08-27 02:51:50 +00:00
2014-11-11 07:23:39 +00:00
.topicPage .sidebarCollaborate {
display: none;
}
2014-08-27 02:51:50 +00:00
.upperRightIcon {
width: 32px;
height: 32px;
background-image: url('topright_sprite.png');
background-repeat: no-repeat;
cursor: pointer;
}
.sidebarCollaborateIcon {
background-position: 0 0;
display: none;
2014-08-27 02:51:50 +00:00
}
.sidebarCollaborateIcon.blue {
background-position: -32px 0;
2014-08-27 02:51:50 +00:00
}
.sidebarCollaborateIcon.blue:hover {
background-position: -32px -32px;
}
/* only show the collaborate icon on commons */
.commonsMap .sidebarCollaborateIcon {
display: block;
2014-08-27 02:51:50 +00:00
}
.sidebarFilterIcon {
background-position: -64px 0;
2014-08-27 02:51:50 +00:00
}
.sidebarForkIcon {
background-position: -96px 0;
2014-08-27 02:51:50 +00:00
}
.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;
2014-08-27 02:51:50 +00:00
margin-right:10px;
}
2014-08-10 17:06:58 +00:00
/* end upperRightUI */
2014-08-10 23:13:25 +00:00
2014-08-27 02:51:50 +00:00
/* yield */
.famousYield {
overflow-y:auto;
}
2014-08-10 23:13:25 +00:00
/* homepage */
.homeWrapper.homeText {
margin-top: 5%;
}
.fullWidthWrapper {
width: 100%;
}
.fullWidthWrapper.withVideo {
2014-11-29 17:25:11 +00:00
height: 315px;
background: #757575;
}
2014-08-10 23:13:25 +00:00
.homeWrapper {
width: 800px;
margin: 0 auto;
2014-08-10 23:13:25 +00:00
color: #424242;
}
.homeTitle {
2014-12-01 00:55:48 +00:00
font-size: 64px;
2014-08-10 23:13:25 +00:00
line-height: 48px;
text-align: center;
margin-bottom: 20px;
}
.homeIntro {
font-size: 22px;
2014-08-10 23:13:25 +00:00
line-height: 26px;
text-align: justify;
margin: 32px 0 20px;
font-family: 'din-regular', helvetica, sans-serif;
2014-08-10 23:13:25 +00:00
}
.homeWrapper .green {
color: #4fc059;
}
.homeWrapper .din-medium {
font-family: 'din-medium', helvetica, sans-serif;
}
2014-08-10 23:13:25 +00:00
.homeVideo {
margin-bottom: 20px;
float: left;
2014-08-10 23:13:25 +00:00
}
.homeWrapper .callToAction {
float: left;
width: 216px;
2014-11-29 17:25:11 +00:00
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 {
2014-08-10 23:13:25 +00:00
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;
2014-08-10 23:13:25 +00:00
}
.callToAction .requestInviteCTA {
background-color: #4fc059;
2014-11-29 17:25:11 +00:00
margin-bottom: 12px;
2014-08-10 23:13:25 +00:00
}
.callToAction .requestInviteCTA:hover {
background-color: #49ad4e;
}
.callToAction .exploreFeaturedCTA {
background-color: #a354cd;
2014-11-29 17:25:11 +00:00
margin-bottom: 12px;
2014-08-10 23:13:25 +00:00
}
.callToAction .exploreFeaturedCTA:hover {
background-color: #9150bc;
}
.callToAction .learnMoreCTA {
background-color: #4fb5c0;
2014-12-01 00:55:48 +00:00
margin-bottom: 12px;
}
.callToAction .learnMoreCTA:hover {
background-color: #419599;
}
.fullWidthWrapper.withPartners {
background: url(homepage_bg_fade.png) no-repeat center -300px;
}
.homeWrapper.homePartners {
padding: 64px 0 280px;
height: 96px;
background: url(partner_logos.png) no-repeat 0 64px;
}
2014-08-10 23:13:25 +00:00
.github-fork-ribbon-wrapper {
display:none;
}
.homePage .github-fork-ribbon-wrapper {
display: block;
}
2014-08-10 23:13:25 +00:00
/* end home page */
2014-08-10 17:06:58 +00:00
/* infoAndHelp */
.mapPage .infoAndHelp, .topicPage .infoAndHelp {
right: 70px;
}
2014-11-15 22:43:24 +00:00
.mapPage .openCheatsheet .tooltipsAbove, .topicPage .openCheatsheet .tooltipsAbove {
2014-11-14 13:21:09 +00:00
left: 29px;
}
.unauthenticated .homePage .infoAndHelp {
2014-11-28 02:45:04 +00:00
display:none;
}
2014-08-10 17:06:58 +00:00
.infoAndHelp {
position: fixed;
bottom: 20px;
right: 20px;
2014-08-10 17:06:58 +00:00
z-index: 3;
width: auto;
font-style: italic;
height: 32px;
}
.infoElement {
float:left;
width: 32px;
height:32px;
cursor: pointer;
}
.openCheatsheet {
2014-08-27 02:51:50 +00:00
background-image: url('help_sprite.png');
background-repeat:no-repeat;
}
.openCheatsheet:hover {
background-position: 0 -32px;
2014-08-10 17:06:58 +00:00
}
.mapInfoIcon {
2014-08-10 17:06:58 +00:00
position: relative;
top: 56px; /* puts it just offscreen */
2014-08-27 02:51:50 +00:00
background-image: url('mapinfo_sprite.png');
background-repeat:no-repeat;
}
.mapInfoIcon:hover {
background-position: 0 -32px;
2014-08-10 17:06:58 +00:00
}
.mapPage .mapInfoIcon {
2014-08-10 17:06:58 +00:00
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 {
2014-08-10 17:06:58 +00:00
right: 24px;
}
.topicPage .zoomExtents {
display: none;
}
2014-08-10 17:06:58 +00:00
.mapControl {
width:32px;
height:32px;
background-color: #424242;
2014-08-17 18:46:07 +00:00
background-repeat: no-repeat;
2014-08-27 02:51:50 +00:00
background-position: 0 0;
2014-08-10 17:06:58 +00:00
cursor:pointer;
}
2014-11-12 18:31:15 +00:00
.mapControls:hover, .infoAndHelp:hover {
z-index: 4;
}
2014-11-12 18:36:41 +00:00
.takeScreenshot {
margin-bottom: 5px;
border-radius: 2px;
2015-10-23 15:19:25 +00:00
background-image: url(<%= asset_data_uri 'screenshot_sprite.png' %>);
display: none;
}
.takeScreenshot:hover {
background-position: -32px 0;
}
.canEditMap .takeScreenshot {
display: block;
}
2014-11-12 18:36:41 +00:00
2014-08-17 18:46:07 +00:00
.zoomExtents {
2014-08-27 02:51:50 +00:00
margin-bottom:5px;
border-radius: 2px;
background-image: url(extents_sprite.png);
2014-08-17 18:46:07 +00:00
}
2014-11-12 18:31:15 +00:00
2014-10-24 16:10:56 +00:00
.zoomExtents:hover {
background-position: -32px 0;
}
2014-11-12 18:31:15 +00:00
2014-11-12 18:40:00 +00:00
.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,
2014-11-12 18:31:15 +00:00
.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 {
2014-11-14 13:21:09 +00:00
left: -4px;
2014-11-12 18:31:15 +00:00
}
.sidebarAccountIcon .tooltipsUnder {
margin-left: -8px;
margin-top: 40px;
}
2014-11-12 18:40:00 +00:00
.zoomExtents div::after, .zoomIn div::after, .zoomOut div::after, .takeScreenshot div:after {
2014-11-12 18:31:15 +00:00
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 {
2014-11-12 18:31:15 +00:00
left: 38%;
}
.sidebarCollaborateIcon div:after, .sidebarFilterIcon div:after, .sidebarForkIcon div:after, .addMap div:after, .sidebarAccountIcon .tooltipsUnder:after {
2014-11-12 18:31:15 +00:00
content: '';
position: absolute;
top: 129%;
2014-11-12 18:31:15 +00:00
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%;
2014-11-12 18:31:15 +00:00
left: 41%;
margin-top: 5px;
width: 0;
height: 0;
border-top: 4px solid #000000;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
}
2014-08-10 17:06:58 +00:00
.zoomIn {
2014-08-27 02:51:50 +00:00
background-image: url(zoom_sprite.png);
2014-11-12 18:31:15 +00:00
background-position: 0 /…0;
2014-08-10 17:06:58 +00:00
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
2014-10-24 16:10:56 +00:00
.zoomIn:hover {
background-position: -32px 0;
}
2014-08-10 17:06:58 +00:00
.zoomOut {
2014-08-27 02:51:50 +00:00
background-image: url(zoom_sprite.png);
background-position:0 -32px;
2014-08-10 17:06:58 +00:00
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
}
2014-10-24 16:10:56 +00:00
.zoomOut:hover {
background-position: -32px -32px;
}
2014-08-10 17:06:58 +00:00
/* 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);
2014-08-10 17:06:58 +00:00
}
.exploreMapsCenter {
2014-10-24 16:10:56 +00:00
z-index: 3 !important;
2014-08-10 17:06:58 +00:00
}
2014-08-27 02:51:50 +00:00
.exploreMapsButton {
2014-08-10 17:06:58 +00:00
color: #757575;
cursor: default;
font-weight: normal;
font-family: 'din-medium';
font-size: 14px;
height: 14px;
2014-08-17 18:46:07 +00:00
padding: 14px 16px 12px 40px;
border-bottom: 2px solid rgba(0,0,0,0);
2014-08-10 17:06:58 +00:00
display: inline-block;
2014-08-12 22:14:04 +00:00
cursor: pointer;
2014-08-27 02:51:50 +00:00
position:relative;
2014-08-10 17:06:58 +00:00
}
2014-08-27 02:51:50 +00:00
.exploreMapsButton:hover, .exploreMapsButton.active {
2014-08-10 17:06:58 +00:00
text-decoration: none;
color: #424242;
2014-08-17 18:46:07 +00:00
border-bottom: 2px solid #00BCD4;
}
2014-08-27 02:51:50 +00:00
.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;
}
2014-08-27 02:51:50 +00:00
.exploreMapsButton .exploreMapsIcon {
background-repeat: no-repeat;
width:32px;
height:32px;
position:absolute;
top:5px;
left:5px;
}
.exploreMapsCenter .myMaps .exploreMapsIcon {
background-image: url(exploremaps_sprite.png);
background-position: 0 0;
2014-08-17 18:46:07 +00:00
}
2014-08-27 02:51:50 +00:00
.exploreMapsCenter .activeMaps .exploreMapsIcon {
background-image: url(exploremaps_sprite.png);
background-position: -32px 0;
2014-08-17 18:46:07 +00:00
}
2014-08-27 02:51:50 +00:00
.exploreMapsCenter .featuredMaps .exploreMapsIcon {
background-image: url(exploremaps_sprite.png);
background-position: -64px 0;
2014-08-27 02:51:50 +00:00
}
2014-10-24 16:10:56 +00:00
.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;
2014-08-10 17:06:58 +00:00
}
.mapsWrapper {
/*overflow-y: auto; */
padding: 32px 32px 56px 32px;
2014-08-10 17:06:58 +00:00
}
/* end explore maps */
/* toast */
.toast {
background-color: #323232;
color: #F5F5F5;
padding: 16px;
border-radius: 2px;
2015-01-23 02:42:45 +00:00
z-index: 1 !important; /* important necessary for firefox */
2014-08-10 17:06:58 +00:00
font-size: 14px;
line-height:14px;
}
.toast a {
color: #4fc059;
}
/* end toast */
/* feedback */
body a#barometer_tab {
2014-08-27 02:51:50 +00:00
background-image: url(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);
2014-08-27 02:51:50 +00:00
}
body a#barometer_tab:hover {
background-position: 0 -110px;
}