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

873 lines
17 KiB
Plaintext
Raw Normal View History

2014-08-10 17:06:58 +00:00
@font-face {
font-family: 'din-medium';
2015-10-23 15:34:18 +00:00
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');
2014-08-10 17:06:58 +00:00
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'din-regular';
2015-10-23 15:34:18 +00:00
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;
}
2017-07-01 21:31:36 +00:00
@font-face {
font-family: 'noto-sans-regular';
src: url(<%= asset_path 'Fonts/notosansui-regular-webfont.woff2' %>) format('woff2'),
url(<%= asset_path 'Fonts/notosansui-regular-webfont.woff' %>) format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'noto-sans-bold';
src: url(<%= asset_path 'Fonts/notosansui-bold-webfont.woff2' %>) format('woff2'),
url(<%= asset_path 'Fonts/notosansui-bold-webfont.woff' %>) format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'noto-sans-bold-italic';
src: url(<%= asset_path 'Fonts/notosansui-bolditalic-webfont.woff2' %>) format('woff2'),
url(<%= asset_path 'Fonts/notosansui-bolditalic-webfont.woff' %>) format('woff');
font-weight: normal;
font-style: normal;
2014-08-10 17:06:58 +00:00
}
2014-08-10 23:13:25 +00:00
#yield {
position: absolute;
width: 100%;
2016-08-12 04:04:18 +00:00
height: 100%;
box-sizing: border-box;
padding-top: 92px;
react-router and rebuild app structure in react (#1091) * initial restructuring * stuff * lock version number * just keep using current mapinfobox * fix map upperRightUI layout * make mapsWidth work and add mobile * remove filterBoxOpen for now * redo the mobile menu in react * get account menu and invite lightbox working * fixed maps scrolling * make other routes work * fix signed out home page * fix accountbox toggling * add metacode edit routes * lots of fixes * fix map chat layout and tab bug * improve topic card readability and fix dragging bug * fixup mapchat stuff * fix up navigation to use react-router * jquery no longer handling access requests * handle case where user hasn't loaded yet * this shouldn't have been removed * add frame for topic view * rewrite map instructions * fix toast (and sign out bug) * fix apps pages and missing routes * made our request invite page look nice * filter box in react * forgot to add one proptype * remove extra comments * handle page title and mobile title updates * reenable google analytics * make filterbox use onclickoutside * reenable topic view in react * fix csrf auth token * fix little homepage styling issue * try putting preparevizdata in a timeout * installing render log to count * little fixes * fixup filters * make filter map function names more readable * eslint helps * renaming for clarity * use onclickoutside for account/sign in box * add some logging to see whether this is source of many renders * turns out chatview was heavily hogging memory * tiimeout not needed
2017-03-16 21:58:56 +00:00
overflow-y: auto;
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;
}*/
/* 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: absolute;
2014-08-10 17:06:58 +00:00
top: 10px;
left: 24px;
z-index:3;
}
.explorePage .upperLeftUI {
box-shadow: none;
}
.unauthenticated .homePage .homeButton {
display:none;
}
.homeButton {
float:left;
margin-right: 16px;
2014-08-10 17:06:58 +00:00
}
2014-08-27 02:51:50 +00:00
.homeButton:hover {
2014-08-27 02:51:50 +00:00
}
2014-08-10 17:06:58 +00:00
.homeButton a {
display:block;
2016-08-31 22:57:19 +00:00
color: #747474;
font-family: "vinyl", sans-serif;
font-style: italic;
text-transform: uppercase;
font-weight: 400;
font-size: 30px;
line-height: 38px;
2014-08-10 17:06:58 +00:00
}
2016-08-31 22:57:19 +00:00
.homeButton a:hover {
color: #616161;
}
2014-08-10 17:06:58 +00:00
/* end upperLeftUI */
/* upperRightUI */
.upperRightUI {
position: absolute;
2014-08-10 17:06:58 +00:00
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: absolute;
top:42px;
right:0;
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 {
right: 138px;
padding-right: 7px;
border-right: 1px solid #747474;
2014-08-10 17:06:58 +00:00
}
react-router and rebuild app structure in react (#1091) * initial restructuring * stuff * lock version number * just keep using current mapinfobox * fix map upperRightUI layout * make mapsWidth work and add mobile * remove filterBoxOpen for now * redo the mobile menu in react * get account menu and invite lightbox working * fixed maps scrolling * make other routes work * fix signed out home page * fix accountbox toggling * add metacode edit routes * lots of fixes * fix map chat layout and tab bug * improve topic card readability and fix dragging bug * fixup mapchat stuff * fix up navigation to use react-router * jquery no longer handling access requests * handle case where user hasn't loaded yet * this shouldn't have been removed * add frame for topic view * rewrite map instructions * fix toast (and sign out bug) * fix apps pages and missing routes * made our request invite page look nice * filter box in react * forgot to add one proptype * remove extra comments * handle page title and mobile title updates * reenable google analytics * make filterbox use onclickoutside * reenable topic view in react * fix csrf auth token * fix little homepage styling issue * try putting preparevizdata in a timeout * installing render log to count * little fixes * fixup filters * make filter map function names more readable * eslint helps * renaming for clarity * use onclickoutside for account/sign in box * add some logging to see whether this is source of many renders * turns out chatview was heavily hogging memory * tiimeout not needed
2017-03-16 21:58:56 +00:00
.unauthenticated .upperRightMapButtons {
right: 115px;
padding-right: 0;
border-right: none;
2014-08-10 17:06:58 +00:00
}
2014-08-27 02:51:50 +00:00
.upperRightIcon {
width: 32px;
height: 32px;
background-image: url(<%= asset_path('topright_sprite.png') %>);
2014-08-27 02:51:50 +00:00
background-repeat: no-repeat;
cursor: pointer;
}
react-router and rebuild app structure in react (#1091) * initial restructuring * stuff * lock version number * just keep using current mapinfobox * fix map upperRightUI layout * make mapsWidth work and add mobile * remove filterBoxOpen for now * redo the mobile menu in react * get account menu and invite lightbox working * fixed maps scrolling * make other routes work * fix signed out home page * fix accountbox toggling * add metacode edit routes * lots of fixes * fix map chat layout and tab bug * improve topic card readability and fix dragging bug * fixup mapchat stuff * fix up navigation to use react-router * jquery no longer handling access requests * handle case where user hasn't loaded yet * this shouldn't have been removed * add frame for topic view * rewrite map instructions * fix toast (and sign out bug) * fix apps pages and missing routes * made our request invite page look nice * filter box in react * forgot to add one proptype * remove extra comments * handle page title and mobile title updates * reenable google analytics * make filterbox use onclickoutside * reenable topic view in react * fix csrf auth token * fix little homepage styling issue * try putting preparevizdata in a timeout * installing render log to count * little fixes * fixup filters * make filter map function names more readable * eslint helps * renaming for clarity * use onclickoutside for account/sign in box * add some logging to see whether this is source of many renders * turns out chatview was heavily hogging memory * tiimeout not needed
2017-03-16 21:58:56 +00:00
2014-08-27 02:51:50 +00:00
.sidebarFilterIcon {
2016-10-22 07:58:19 +00:00
background-position: -32px 0;
2014-08-27 02:51:50 +00:00
}
.sidebarForkIcon {
2016-10-22 07:58:19 +00:00
background-position: -64px 0;
2014-08-27 02:51:50 +00:00
}
.addMap {
2016-10-22 07:58:19 +00:00
background-position: -96px 0;
}
.notificationsIcon {
background-position: -128px 0;
margin-right: 10px; // make it look more natural next to the account menu icon
}
2016-11-28 22:37:27 +00:00
.notificationsIcon:hover {
background-position: -128px -32px;
}
2016-10-22 07:58:19 +00:00
.importDialog:hover {
background-position: 0 -32px;
}
.sidebarFilterIcon:hover {
2016-10-22 07:58:19 +00:00
background-position: -32px -32px;
}
.sidebarForkIcon:hover {
2016-10-22 07:58:19 +00:00
background-position: -64px -32px;
}
.addMap:hover {
2016-10-22 07:58:19 +00:00
background-position: -96px -32px;
2014-08-27 02:51:50 +00:00
}
2014-08-10 17:06:58 +00:00
/* end upperRightUI */
react-router and rebuild app structure in react (#1091) * initial restructuring * stuff * lock version number * just keep using current mapinfobox * fix map upperRightUI layout * make mapsWidth work and add mobile * remove filterBoxOpen for now * redo the mobile menu in react * get account menu and invite lightbox working * fixed maps scrolling * make other routes work * fix signed out home page * fix accountbox toggling * add metacode edit routes * lots of fixes * fix map chat layout and tab bug * improve topic card readability and fix dragging bug * fixup mapchat stuff * fix up navigation to use react-router * jquery no longer handling access requests * handle case where user hasn't loaded yet * this shouldn't have been removed * add frame for topic view * rewrite map instructions * fix toast (and sign out bug) * fix apps pages and missing routes * made our request invite page look nice * filter box in react * forgot to add one proptype * remove extra comments * handle page title and mobile title updates * reenable google analytics * make filterbox use onclickoutside * reenable topic view in react * fix csrf auth token * fix little homepage styling issue * try putting preparevizdata in a timeout * installing render log to count * little fixes * fixup filters * make filter map function names more readable * eslint helps * renaming for clarity * use onclickoutside for account/sign in box * add some logging to see whether this is source of many renders * turns out chatview was heavily hogging memory * tiimeout not needed
2017-03-16 21:58:56 +00:00
/* map wrapper */
.mapWrapper {
position:absolute;
width: 100%;
height: 100%;
}
/* end map wrapper */
2014-08-10 23:13:25 +00:00
2017-07-01 21:31:36 +00:00
/* homepage */
2014-08-27 02:51:50 +00:00
2017-10-16 01:08:09 +00:00
body.unauthenticated.action-home {
2017-07-01 21:31:36 +00:00
background: white;
font-family: 'noto-sans', sans-serif;
font-weight: 200;
2014-08-27 02:51:50 +00:00
}
2017-10-16 01:08:09 +00:00
.home {
position: absolute;
width: 100%;
height: 100%;
}
2017-07-01 22:32:29 +00:00
.homeLogo {
position: fixed;
top: 10px;
left: 20px;
font-family: 'noto-sans-bold-italic', sans-serif;
font-size: 22px;
color: #6D6D6D;
2017-07-01 22:45:06 +00:00
z-index: 1;
2017-07-01 22:32:29 +00:00
}
#particles-bg {
position: absolute;
top: 0;
width: 100%;
height: 100%;
}
.homeWrapper.homeText {
margin-top: 5%;
}
2017-07-01 21:31:36 +00:00
.homeWrapper {
2017-07-01 22:32:29 +00:00
box-sizing: border-box;
position: relative;
z-index: 1;
border-radius: 3px;
2017-07-01 21:31:36 +00:00
color: #6D6D6D;
text-align: center;
2017-07-01 22:32:29 +00:00
padding: 30px;
background: white;
opacity: 0.8;
}
2017-07-01 21:31:36 +00:00
@media only screen and (max-width : 800px) {
.homeWrapper {
width: 90%;
margin: 0 5%;
}
}
2017-07-01 21:31:36 +00:00
@media only screen and (min-width : 801px) {
.homeWrapper {
width: 800px;
margin: 0 auto;
2017-07-01 21:31:36 +00:00
}
2014-08-10 23:13:25 +00:00
}
.homeTitle {
2014-12-01 00:55:48 +00:00
font-size: 64px;
2017-07-01 21:31:36 +00:00
line-height: 70px;
2014-08-10 23:13:25 +00:00
margin-bottom: 20px;
2017-07-01 21:31:36 +00:00
font-family: 'noto-sans-bold', sans-serif;
2014-08-10 23:13:25 +00:00
}
.homeIntro {
font-size: 22px;
2014-08-10 23:13:25 +00:00
line-height: 26px;
margin: 32px 0 20px;
2017-07-01 21:31:36 +00:00
}
.homeIntro div {
margin: 20px 0;
2014-08-10 23:13:25 +00:00
}
.homeWrapper .green {
color: #4fc059;
}
2017-07-01 21:31:36 +00:00
.homeWrapper .purple {
color: #a354cd;
}
2017-07-01 21:31:36 +00:00
.homeWrapper .yellow {
color: #dab539;
2014-08-10 23:13:25 +00:00
}
2017-07-01 21:31:36 +00:00
.requestInviteCTA {
2014-08-10 23:13:25 +00:00
display: block;
width: 220px;
2017-07-01 21:31:36 +00:00
font-size: 20px;
2014-08-10 23:13:25 +00:00
padding: 16px 0;
text-align: center;
2017-07-01 21:31:36 +00:00
border-radius: 3px;
border: 2px solid #a354cd;
2017-07-01 22:32:29 +00:00
margin: 12px auto;
2017-07-01 21:31:36 +00:00
color: #a354cd;
font-family: 'noto-sans-bold', sans-serif;
2014-08-10 23:13:25 +00:00
}
2017-07-01 21:31:36 +00:00
.requestInviteCTA:hover {
2017-10-16 01:08:09 +00:00
}
2014-08-10 23:13:25 +00:00
/* end home page */
2014-08-10 17:06:58 +00:00
/* infoAndHelp */
react-router and rebuild app structure in react (#1091) * initial restructuring * stuff * lock version number * just keep using current mapinfobox * fix map upperRightUI layout * make mapsWidth work and add mobile * remove filterBoxOpen for now * redo the mobile menu in react * get account menu and invite lightbox working * fixed maps scrolling * make other routes work * fix signed out home page * fix accountbox toggling * add metacode edit routes * lots of fixes * fix map chat layout and tab bug * improve topic card readability and fix dragging bug * fixup mapchat stuff * fix up navigation to use react-router * jquery no longer handling access requests * handle case where user hasn't loaded yet * this shouldn't have been removed * add frame for topic view * rewrite map instructions * fix toast (and sign out bug) * fix apps pages and missing routes * made our request invite page look nice * filter box in react * forgot to add one proptype * remove extra comments * handle page title and mobile title updates * reenable google analytics * make filterbox use onclickoutside * reenable topic view in react * fix csrf auth token * fix little homepage styling issue * try putting preparevizdata in a timeout * installing render log to count * little fixes * fixup filters * make filter map function names more readable * eslint helps * renaming for clarity * use onclickoutside for account/sign in box * add some logging to see whether this is source of many renders * turns out chatview was heavily hogging memory * tiimeout not needed
2017-03-16 21:58:56 +00:00
.openCheatsheet .tooltipsAbove {
right: 1px;
left: auto;
2014-11-14 13:21:09 +00:00
}
2014-08-10 17:06:58 +00:00
.infoAndHelp {
position: absolute;
bottom: 20px;
react-router and rebuild app structure in react (#1091) * initial restructuring * stuff * lock version number * just keep using current mapinfobox * fix map upperRightUI layout * make mapsWidth work and add mobile * remove filterBoxOpen for now * redo the mobile menu in react * get account menu and invite lightbox working * fixed maps scrolling * make other routes work * fix signed out home page * fix accountbox toggling * add metacode edit routes * lots of fixes * fix map chat layout and tab bug * improve topic card readability and fix dragging bug * fixup mapchat stuff * fix up navigation to use react-router * jquery no longer handling access requests * handle case where user hasn't loaded yet * this shouldn't have been removed * add frame for topic view * rewrite map instructions * fix toast (and sign out bug) * fix apps pages and missing routes * made our request invite page look nice * filter box in react * forgot to add one proptype * remove extra comments * handle page title and mobile title updates * reenable google analytics * make filterbox use onclickoutside * reenable topic view in react * fix csrf auth token * fix little homepage styling issue * try putting preparevizdata in a timeout * installing render log to count * little fixes * fixup filters * make filter map function names more readable * eslint helps * renaming for clarity * use onclickoutside for account/sign in box * add some logging to see whether this is source of many renders * turns out chatview was heavily hogging memory * tiimeout not needed
2017-03-16 21:58:56 +00:00
right: 70px;
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 {
background-image: url(<%= asset_path('help_sprite.png') %>);
2014-08-27 02:51:50 +00:00
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;
react-router and rebuild app structure in react (#1091) * initial restructuring * stuff * lock version number * just keep using current mapinfobox * fix map upperRightUI layout * make mapsWidth work and add mobile * remove filterBoxOpen for now * redo the mobile menu in react * get account menu and invite lightbox working * fixed maps scrolling * make other routes work * fix signed out home page * fix accountbox toggling * add metacode edit routes * lots of fixes * fix map chat layout and tab bug * improve topic card readability and fix dragging bug * fixup mapchat stuff * fix up navigation to use react-router * jquery no longer handling access requests * handle case where user hasn't loaded yet * this shouldn't have been removed * add frame for topic view * rewrite map instructions * fix toast (and sign out bug) * fix apps pages and missing routes * made our request invite page look nice * filter box in react * forgot to add one proptype * remove extra comments * handle page title and mobile title updates * reenable google analytics * make filterbox use onclickoutside * reenable topic view in react * fix csrf auth token * fix little homepage styling issue * try putting preparevizdata in a timeout * installing render log to count * little fixes * fixup filters * make filter map function names more readable * eslint helps * renaming for clarity * use onclickoutside for account/sign in box * add some logging to see whether this is source of many renders * turns out chatview was heavily hogging memory * tiimeout not needed
2017-03-16 21:58:56 +00:00
background-image: url(<%= asset_path('mapinfo_sprite.png') %>);
background-repeat:no-repeat;
2014-08-27 02:51:50 +00:00
}
.mapInfoIcon:hover {
background-position: 0 -32px;
2014-08-10 17:06:58 +00:00
}
2016-10-22 07:58:19 +00:00
.starMap {
background-image: url(<%= asset_path('starmap_sprite.png') %>);
background-position: 0 0;
background-repeat: no-repeat;
width: 32px;
}
2016-08-31 22:57:19 +00:00
.starMap:hover {
background-position: 0 -32px !important;
}
.starMap.starred {
background-position: 0 -64px;
}
.starMap.starred:hover {
background-position: 0 0;
}
2014-08-10 17:06:58 +00:00
/* end infoAndHelp */
/* mapControls */
.mapControls {
position: absolute;
2014-08-10 17:06:58 +00:00
bottom: 24px;
react-router and rebuild app structure in react (#1091) * initial restructuring * stuff * lock version number * just keep using current mapinfobox * fix map upperRightUI layout * make mapsWidth work and add mobile * remove filterBoxOpen for now * redo the mobile menu in react * get account menu and invite lightbox working * fixed maps scrolling * make other routes work * fix signed out home page * fix accountbox toggling * add metacode edit routes * lots of fixes * fix map chat layout and tab bug * improve topic card readability and fix dragging bug * fixup mapchat stuff * fix up navigation to use react-router * jquery no longer handling access requests * handle case where user hasn't loaded yet * this shouldn't have been removed * add frame for topic view * rewrite map instructions * fix toast (and sign out bug) * fix apps pages and missing routes * made our request invite page look nice * filter box in react * forgot to add one proptype * remove extra comments * handle page title and mobile title updates * reenable google analytics * make filterbox use onclickoutside * reenable topic view in react * fix csrf auth token * fix little homepage styling issue * try putting preparevizdata in a timeout * installing render log to count * little fixes * fixup filters * make filter map function names more readable * eslint helps * renaming for clarity * use onclickoutside for account/sign in box * add some logging to see whether this is source of many renders * turns out chatview was heavily hogging memory * tiimeout not needed
2017-03-16 21:58:56 +00:00
right:24px;
2014-08-10 17:06:58 +00:00
width:32px;
z-index: 3;
}
2014-08-10 17:06:58 +00:00
.mapControl {
width:32px;
height:32px;
background-color: #424242;
react-router and rebuild app structure in react (#1091) * initial restructuring * stuff * lock version number * just keep using current mapinfobox * fix map upperRightUI layout * make mapsWidth work and add mobile * remove filterBoxOpen for now * redo the mobile menu in react * get account menu and invite lightbox working * fixed maps scrolling * make other routes work * fix signed out home page * fix accountbox toggling * add metacode edit routes * lots of fixes * fix map chat layout and tab bug * improve topic card readability and fix dragging bug * fixup mapchat stuff * fix up navigation to use react-router * jquery no longer handling access requests * handle case where user hasn't loaded yet * this shouldn't have been removed * add frame for topic view * rewrite map instructions * fix toast (and sign out bug) * fix apps pages and missing routes * made our request invite page look nice * filter box in react * forgot to add one proptype * remove extra comments * handle page title and mobile title updates * reenable google analytics * make filterbox use onclickoutside * reenable topic view in react * fix csrf auth token * fix little homepage styling issue * try putting preparevizdata in a timeout * installing render log to count * little fixes * fixup filters * make filter map function names more readable * eslint helps * renaming for clarity * use onclickoutside for account/sign in box * add some logging to see whether this is source of many renders * turns out chatview was heavily hogging memory * tiimeout not needed
2017-03-16 21:58:56 +00:00
background-repeat: no-repeat;
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
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(<%= asset_path('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
.zoomExtents:hover .tooltips, .zoomIn:hover .tooltips, .zoomOut:hover .tooltips, .sidebarFilterIcon:hover .tooltipsUnder, .sidebarForkIcon:hover .tooltipsUnder, .notificationsIcon:hover .tooltipsUnder, .addMap:hover .tooltipsUnder, .authenticated .sidebarAccountIcon:hover .tooltipsUnder,
2016-10-22 07:58:19 +00:00
.mapInfoIcon:hover .tooltipsAbove, .openCheatsheet:hover .tooltipsAbove, .chat-button:hover .tooltips, .importDialog:hover .tooltipsUnder, .starMap:hover .tooltipsAbove, .openMetacodeSwitcher:hover .tooltipsAbove, .pinCarousel:not(.isPinned):hover .tooltipsAbove.helpPin, .pinCarousel.isPinned:hover .tooltipsAbove.helpUnpin {
2014-11-12 18:31:15 +00:00
display: block;
}
.hide {
2015-12-12 16:31:54 +00:00
display: none !important;
2014-11-12 18:31:15 +00:00
}
.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;
}
2016-10-22 07:58:19 +00:00
.importDialog .tooltipsUnder {
left: -22px;
}
2014-11-12 18:31:15 +00:00
.sidebarFilterIcon .tooltipsUnder {
margin-left: -4px;
}
2016-11-28 22:37:27 +00:00
.notificationsIcon .tooltipsUnder {
left: -20px;
}
2014-11-12 18:31:15 +00:00
.sidebarForkIcon .tooltipsUnder {
margin-left: -34px;
}
.openMetacodeSwitcher .tooltipsAbove {
left: -50px;
top: -5px;
}
.pinCarousel .tooltipsAbove {
top: -5px;
}
.pinCarousel .tooltipsAbove.helpPin {
left: -24px;
}
.pinCarousel .tooltipsAbove.helpUnpin {
left: -14px;
}
.openMetacodeSwitcher .tooltipsAbove:after {
left: 50%;
}
.pinCarousel .tooltipsAbove.helpPin:after {
left: 46%;
}
.pinCarousel .tooltipsAbove.helpUnpin:after {
left: 42%;
}
2014-11-12 18:31:15 +00:00
.sidebarForkIcon div:after{
left: 45%;
}
.addMap .tooltipsUnder {
margin-left: -36px;
}
.addMap div:after {
left: 45%;
}
.mapInfoIcon .tooltipsAbove {
left: -11px;
}
.chat-button .tooltips {
top: 10px;
}
.starMap .tooltipsAbove {
left: -2px;
}
.starMap.starred .tooltipsAbove {
left: -8px;
}
2014-11-12 18:31:15 +00:00
.sidebarAccountIcon .tooltipsUnder {
2015-12-12 16:31:54 +00:00
margin-left: -12px;
2014-11-12 18:31:15 +00:00
margin-top: 40px;
}
.zoomExtents div::after, .zoomIn div::after, .zoomOut div::after, .chat-button div.tooltips::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;
}
2016-11-29 16:15:14 +00:00
.addMap div:after,
.importDialog div:after,
.sidebarForkIcon div:after,
.sidebarFilterIcon div:after,
.notificationsIcon div:after,
2016-12-09 16:55:53 +00:00
.sidebarAccountIcon .tooltipsUnder:after {
2014-11-12 18:31:15 +00:00
content: '';
position: absolute;
2015-12-12 16:31:54 +00:00
right: 40%;
margin-top: -7px;
2014-11-12 18:31:15 +00:00
width: 0;
height: 0;
border-bottom: 4px solid #000000;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
}
2016-11-29 16:15:14 +00:00
.notificationsIcon .unread-notifications-dot:after {
content: none;
}
2015-12-12 16:31:54 +00:00
.sidebarFilterIcon div:after {
right: 37% !important;
}
2016-11-28 22:37:27 +00:00
.notificationsIcon div:after {
right: 46% !important;
}
2014-11-12 18:31:15 +00:00
.mapInfoIcon div:after, .openCheatsheet div:after, .starMap div:after, .openMetacodeSwitcher div:after, .pinCarousel div:after {
2014-11-12 18:31:15 +00:00
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 {
background-image: url(<%= asset_path('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 {
background-image: url(<%= asset_path('zoom_sprite.png') %>);
2014-08-27 02:51:50 +00:00
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 */
react-router and rebuild app structure in react (#1091) * initial restructuring * stuff * lock version number * just keep using current mapinfobox * fix map upperRightUI layout * make mapsWidth work and add mobile * remove filterBoxOpen for now * redo the mobile menu in react * get account menu and invite lightbox working * fixed maps scrolling * make other routes work * fix signed out home page * fix accountbox toggling * add metacode edit routes * lots of fixes * fix map chat layout and tab bug * improve topic card readability and fix dragging bug * fixup mapchat stuff * fix up navigation to use react-router * jquery no longer handling access requests * handle case where user hasn't loaded yet * this shouldn't have been removed * add frame for topic view * rewrite map instructions * fix toast (and sign out bug) * fix apps pages and missing routes * made our request invite page look nice * filter box in react * forgot to add one proptype * remove extra comments * handle page title and mobile title updates * reenable google analytics * make filterbox use onclickoutside * reenable topic view in react * fix csrf auth token * fix little homepage styling issue * try putting preparevizdata in a timeout * installing render log to count * little fixes * fixup filters * make filter map function names more readable * eslint helps * renaming for clarity * use onclickoutside for account/sign in box * add some logging to see whether this is source of many renders * turns out chatview was heavily hogging memory * tiimeout not needed
2017-03-16 21:58:56 +00:00
#react-app {
position: absolute;
height: 100%;
width: 100%;
overflow-y: auto;
}
#exploreMaps {
2016-08-01 17:38:57 +00:00
position: absolute;
2016-08-11 21:26:11 +00:00
height: 100%;
width: 100%;
2016-08-11 21:26:11 +00:00
overflow-y: auto;
}
#exploreMaps > div {
margin: 110px auto 0 auto;
2016-08-01 17:38:57 +00:00
}
.button.loadMore {
margin: 10px auto 20px;
display: block;
}
react-router and rebuild app structure in react (#1091) * initial restructuring * stuff * lock version number * just keep using current mapinfobox * fix map upperRightUI layout * make mapsWidth work and add mobile * remove filterBoxOpen for now * redo the mobile menu in react * get account menu and invite lightbox working * fixed maps scrolling * make other routes work * fix signed out home page * fix accountbox toggling * add metacode edit routes * lots of fixes * fix map chat layout and tab bug * improve topic card readability and fix dragging bug * fixup mapchat stuff * fix up navigation to use react-router * jquery no longer handling access requests * handle case where user hasn't loaded yet * this shouldn't have been removed * add frame for topic view * rewrite map instructions * fix toast (and sign out bug) * fix apps pages and missing routes * made our request invite page look nice * filter box in react * forgot to add one proptype * remove extra comments * handle page title and mobile title updates * reenable google analytics * make filterbox use onclickoutside * reenable topic view in react * fix csrf auth token * fix little homepage styling issue * try putting preparevizdata in a timeout * installing render log to count * little fixes * fixup filters * make filter map function names more readable * eslint helps * renaming for clarity * use onclickoutside for account/sign in box * add some logging to see whether this is source of many renders * turns out chatview was heavily hogging memory * tiimeout not needed
2017-03-16 21:58:56 +00:00
.requestInviteHeader {
position: absolute;
width: 100%;
z-index:2;
background-color:#FAFAFA;
height: 52px;
box-shadow: 0px 3px 3px rgba(0,0,0,0.23), 0 3px 3px rgba(0,0,0,0.16);
}
#navBar {
2016-07-31 03:48:22 +00:00
position: absolute;
width: 100%;
}
.navBarContainer {
2014-08-10 17:06:58 +00:00
z-index:2;
background-color:#FAFAFA;
2016-07-31 03:48:22 +00:00
height: 42px;
padding-top: 52px;
2014-08-10 17:06:58 +00:00
}
.navBarMenu {
2014-08-10 17:06:58 +00:00
display: block;
width: 100%;
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);
text-align: center;
2014-08-10 17:06:58 +00:00
}
.navBarCenter {
2016-07-31 03:48:22 +00:00
display: block;
2014-08-10 17:06:58 +00:00
}
.navBarButton {
2017-10-14 19:55:50 +00:00
color: #757575;
2014-08-10 17:06:58 +00:00
cursor: default;
font-weight: normal;
font-family: 'din-medium';
font-size: 14px;
2017-10-14 19:55:50 +00:00
padding: 0 8px;
border-bottom: 2px solid rgba(0,0,0,0);
2014-08-10 17:06:58 +00:00
display: inline-block;
2017-10-14 19:55:50 +00:00
cursor: pointer;
position:relative;
2014-08-10 17:06:58 +00:00
}
.navBarButton:hover, .navBarButton.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
.navBarButton.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;
}
.navBarButton .navBarIcon {
2014-08-27 02:51:50 +00:00
background-repeat: no-repeat;
width:32px;
height:32px;
2017-10-14 19:55:50 +00:00
margin-top:5px;
margin-left:5px;
margin-right: 5px;
display: inline-block;
vertical-align: top;
}
.navBarLinkText {
padding: 11px 0 12px 0;
display: inline-block;
2014-08-27 02:51:50 +00:00
}
.navBarCenter .authedApps .navBarIcon {
background-image: url(<%= asset_path('user_sprite.png') %>);
background-position: 0 -32px;
}
.navBarCenter .myMaps .navBarIcon {
background-image: url(<%= asset_path 'exploremaps_sprite.png' %>);
2016-08-31 22:57:19 +00:00
background-position: -32px 0;
2014-08-17 18:46:07 +00:00
}
.navBarCenter .sharedMaps .navBarIcon {
background-image: url(<%= asset_path 'exploremaps_sprite.png' %>);
2016-08-31 22:57:19 +00:00
background-position: -128px 0;
}
.navBarCenter .activeMaps .navBarIcon {
background-image: url(<%= asset_path 'exploremaps_sprite.png' %>);
2016-08-31 22:57:19 +00:00
background-position: 0 0;
2014-08-17 18:46:07 +00:00
}
.navBarCenter .featuredMaps .navBarIcon {
background-image: url(<%= asset_path 'exploremaps_sprite.png' %>);
2016-08-31 22:57:19 +00:00
background-position: -96px 0;
2014-08-27 02:51:50 +00:00
}
.navBarCenter .starredMaps .navBarIcon {
background-image: url(<%= asset_path 'exploremaps_sprite.png' %>);
2016-08-31 22:57:19 +00:00
background-position: -96px 0;
}
.navBarCenter .notificationsLink .navBarIcon {
2016-11-28 22:37:27 +00:00
background-image: url(<%= asset_path 'topright_sprite.png' %>);
background-position: -128px 0;
}
.authedApps:hover .navBarIcon, .authedApps.active .navBarIcon {
background-position-x: -32px;
}
.myMaps:hover .navBarIcon, .myMaps.active .navBarIcon {
2016-08-31 22:57:19 +00:00
background-position: -32px -32px;
2014-10-24 16:10:56 +00:00
}
.activeMaps:hover .navBarIcon, .activeMaps.active .navBarIcon {
2016-08-31 22:57:19 +00:00
background-position: 0 -32px;
2014-10-24 16:10:56 +00:00
}
.featuredMaps:hover .navBarIcon, .featuredMaps.active .navBarIcon {
2016-08-31 22:57:19 +00:00
background-position: -96px -32px;
2014-08-10 17:06:58 +00:00
}
.starredMaps:hover .navBarIcon, .starredMaps.active .navBarIcon {
2016-08-31 22:57:19 +00:00
background-position: -96px -32px;
}
.sharedMaps:hover .navBarIcon, .sharedMaps.active .navBarIcon {
2016-08-31 22:57:19 +00:00
background-position: -128px -32px;
}
.notificationsLink:hover .navBarIcon, .notificationsLink.active .navBarIcon {
2016-11-28 22:37:27 +00:00
background-position-y: -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 */
2016-08-01 17:38:57 +00:00
/* instructions */
#instructions {
width: 220px;
height: 80px;
font-family: 'din-regular', helvetica, sans-serif;
font-size: 32px;
text-align: center;
color: #999999;
z-index: 0;
top: 50%;
position: absolute;
left: 50%;
margin-top: -40px;
margin-left: -110px;
}
/* end instructions */
2014-08-10 17:06:58 +00:00
/* toast */
.toast {
2016-08-10 18:06:28 +00:00
position: fixed;
bottom: 20px;
left: 20px;
2014-08-10 17:06:58 +00:00
background-color: #323232;
color: #F5F5F5;
padding: 16px;
border-radius: 2px;
z-index: 4 !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 {
2015-10-23 15:56:29 +00:00
background-image: url(<%= asset_path 'feedback_sprite.png' %>);
2014-08-27 02:51:50 +00:00
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;
}
.hideVideos .collaborator-video {
display: none !important;
}
.hideCursors .collabCompass {
display: none !important;
}