metamaps--metamaps/app/assets/stylesheets/base.css

726 lines
15 KiB
CSS
Raw Normal View History

#center-container {
position:relative;
height:100%;
width:100%;
2012-10-15 01:23:50 +00:00
/* background-color:#031924; */
2012-10-27 19:51:22 +00:00
color:#444;
}
.showcard {
position:absolute;
display:none;
2014-08-12 16:56:13 +00:00
top:100px;
left:100px;
width:300px;
background-color:#F5F5F5;
text-align: left;
overflow: visible;
z-index:14000;
color: #424242;
border-radius:2px;
box-shadow: 0px 3px 3px rgba(0,0,0,0.23), 0 3px 3px rgba(0,0,0,0.16);
2012-12-21 01:19:55 +00:00
}
.text {
2012-12-21 01:19:55 +00:00
margin: 7px;
}
#infovis {
2012-12-21 01:19:55 +00:00
width:100%;
height:100%;
}
.showcard .permission {
width:100%;
height:100%;
}
2012-12-21 01:19:55 +00:00
.CardOnGraph {
display:block;
position:relative;
width:100%;
2014-09-09 22:17:39 +00:00
min-height:360px;
2013-01-06 23:40:48 +00:00
z-index: 25;
2012-12-21 01:19:55 +00:00
}
2014-09-09 22:17:39 +00:00
.CardOnGraph.hasAttachment {
min-height:0;
}
2012-12-21 01:19:55 +00:00
.CardOnGraph .title {
font-size: 18px;
line-height: 22px;
2014-09-09 22:17:39 +00:00
display: table;
padding: 8px 16px;
height: 80px;
text-align: center;
font-family: 'din-regular', sans-serif;
2014-09-09 22:17:39 +00:00
width: 268px;
2012-12-21 01:19:55 +00:00
}
2014-09-09 22:17:39 +00:00
.CardOnGraph .titleWrapper {
display: table-cell;
vertical-align: middle;
}
.best_in_place_name textarea, .best_in_place_name input {
font-family: 'din-regular', sans-serif;
color: #424242;
font-size: 18px;
line-height: 22px;
height: 15px;
padding: 5px 0;
width: 100%;
margin: 0;
border: 0;
outline: none;
background: none;
text-align:center;
}
.CardOnGraph .scroll {
display:block;
padding: 8px 16px;
height: 152px;
font-size: 12px;
line-height:15px;
font-family: helvetica, sans-serif;
}
2014-09-09 22:17:39 +00:00
.CardOnGraph.hasAttachment .scroll {
height: auto;
}
.CardOnGraph .best_in_place_desc textarea {
font-size: 12px;
line-height:15px;
font-family: helvetica, sans-serif;
color: #424242;
padding: 0;
width: 100%;
margin: 0;
border: 0;
outline: none;
font-size: 12px;
line-height: 15px;
background: none;
2012-12-21 01:19:55 +00:00
}
.CardOnGraph .desc h3 {
2012-12-21 01:19:55 +00:00
font-style:normal;
margin-top:5px;
}
.CardOnGraph .best_in_place_desc input {
float: right;
margin: 2px 0px 0px 2px;
padding: 1px 5px;
}
.CardOnGraph .best_in_place_desc {
display:block;
margin-top:2px;
}
#edit_synapse .best_in_place_desc {
width: auto;
}
.CardOnGraph .links {
position:relative;
border-bottom: 1px solid #BDBDBD;
border-top: 1px solid #BDBDBD;
2014-08-27 02:51:50 +00:00
background-color: #e0e0e0;
}
2014-02-10 04:36:23 +00:00
.linkItem {
float:left;
height:46px;
2014-08-10 17:06:58 +00:00
z-index: 1;
position: relative;
color: #424242;
font-size: 12px;
line-height:12px;
height:12px;
padding:17px 0;
}
.linkItem a {
color: #424242;
}
.CardOnGraph .icon {
position:absolute;
width:100%;
z-index:1;
padding: 0;
}
.linkItem.contributor {
margin-left:32px;
2014-08-10 17:06:58 +00:00
z-index:1;
2014-09-09 22:17:39 +00:00
padding:17px 16px 17px 40px;
position: relative;
}
.contributor .contributorIcon {
position: absolute;
top: 8px;
left: 0;
border-radius: 16px;
}
.linkItem.mapCount {
2014-09-09 22:17:39 +00:00
width: 24px;
padding:17px 0 17px 35px;
}
.linkItem.mapCount .mapCountIcon {
position: absolute;
top: 8px;
left: 0;
width: 32px;
height: 32px;
background-image: url(map32_sprite.png);
background-repeat: no-repeat;
background-position: 0 0;
}
.linkItem.mapCount:hover .mapCountIcon {
background-position: 0 -32px;
}
.linkItem.synapseCount {
2014-09-09 22:17:39 +00:00
width: 24px;
padding:17px 0 17px 35px;
}
.linkItem.synapseCount .synapseCountIcon {
position: absolute;
top: 8px;
left: 0;
width: 32px;
height: 32px;
background-image: url(synapse32_sprite.png);
background-repeat: no-repeat;
background-position: 0 0;
}
.linkItem.synapseCount:hover .synapseCountIcon {
background-position: 0 -32px;
}
.linkItem.mapPerm {
2014-09-09 22:17:39 +00:00
width: 32px;
height: 32px;
padding: 0;
min-width: 32px;
margin-top: 8px;
background-image: url(permissions32_sprite.png);
background-position: 0 0;
}
.linkItem.mapPerm.co {
2014-09-09 22:17:39 +00:00
background-position: 0 0;
}
.linkItem.mapPerm.pu {
2014-09-09 22:17:39 +00:00
background-position: -64px 0;
}
.linkItem.mapPerm.pr {
2014-09-09 22:17:39 +00:00
background-position: -32px 0;
}
.showcard .yourTopic .mapPerm:hover {
2014-09-09 22:17:39 +00:00
background-image: url(arrowperms_sprite.png);
background-position-x: -32px;
cursor:pointer;
}
.showcard .yourTopic .mapPerm.minimize {
2014-09-09 22:17:39 +00:00
background-image: url(arrowperms_sprite.png) !important;
background-position-x: 0px;
cursor: pointer;
}
.mapPerm .permissionSelect {
list-style: none;
2014-09-09 22:17:39 +00:00
width: 32px;
height: 64px;
position: relative;
2014-09-09 22:17:39 +00:00
top: 32px;
}
.mapPerm .permissionSelect li {
2014-09-09 22:17:39 +00:00
width: 32px;
height: 32px;
background-repeat: no-repeat;
2014-09-09 22:17:39 +00:00
background-position: 0 0;
background-image: url(permissions32_sprite.png);
}
.mapPerm .permissionSelect .commons {
2014-09-09 22:17:39 +00:00
background-position: 0 0;
}
.mapPerm .permissionSelect .public {
2014-09-09 22:17:39 +00:00
background-position: -64px 0;
}
.mapPerm .permissionSelect .private {
2014-09-09 22:17:39 +00:00
background-position: -32px 0;
}
.mapPerm .permissionSelect .commons:hover {
2014-09-09 22:17:39 +00:00
background-position: 0 -32px;
}
.mapPerm .permissionSelect .public:hover {
2014-09-09 22:17:39 +00:00
background-position: -64px -32px;
}
.mapPerm .permissionSelect .private:hover {
2014-09-09 22:17:39 +00:00
background-position: -32px -32px;
}
.CardOnGraph .metacodeTitle {
font-style: italic;
font-family: 'vinyl';
text-transform: uppercase;
position: absolute;
line-height: 24px;
height:24px;
font-size: 20px;
display: none;
width: 90%;
padding: 11px 0 11px 10%;
background-color: #64BC61;
color: #000;
}
.permission.canEdit .metacodeTitle {
cursor:pointer;
background-image: url(MMCCicon_maximize_arrow_black.png);
background-repeat:no-repeat;
background-position: right center;
}
.permission.canEdit .metacodeTitle.minimize {
background-image: url(MMCCicon_minimize_arrow_black.png);
}
.CardOnGraph .metacodeImage {
cursor:move;
width:46px;
height:46px;
position:absolute;
left:-23px;
top:0;
background-size:46px 46px;
background-position:0 0;
background-repeat:no-repeat;
}
#metacodeOptions {
display:none;
}
.CardOnGraph .metacodeSelect {
display:none;
width:100%;
z-index: 2;
position: absolute;
background: #EAEAEA;
height: 150px;
}
.CardOnGraph .metacodeSelect ul {
font-style: italic;
font-family: 'vinyl';
text-transform: uppercase;
position: absolute;
line-height: 36px;
font-size: 20px;
display:block;
width: 100%;
margin:0;
padding: 0;
list-style:none;
height:150px;
overflow:hidden;
}
.CardOnGraph .metacodeSelect ul li {
background-color: #EAEAEA;
width:100%;
border-bottom:1px solid #AAAAAA;
cursor:pointer;
}
.CardOnGraph .metacodeSelect ul li:hover {
background-color: #F8F8F8;
}
.CardOnGraph .metacodeSelect ul li img, .CardOnGraph .metacodeSelect ul li .mSelectName {
float:left;
}
2014-02-10 06:29:02 +00:00
.CardOnGraph .hoverForTip:hover .tip, .mapCard .hoverForTip:hover .tip {
display:block;
}
.CardOnGraph .tip, .mapCard .tip {
display:none;
position: absolute;
2014-03-04 00:58:03 +00:00
background: black;
top: 35px;
left: 0;
2014-03-04 00:58:03 +00:00
color: white;
2014-02-10 06:29:02 +00:00
border-radius: 4px;
font-size:15px !important;
line-height:17px;
padding: 3px 5px 2px;
z-index:100;
}
.CardOnGraph .attachments {
border-top: 1px solid #BDBDBD;
width:100%;
height:47px;
2012-12-21 01:19:55 +00:00
}
.attachments a {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
margin-left: 40px;
padding-top:9px;
font-size: 16px;
line-height: 16px;
}
2014-09-09 22:17:39 +00:00
#addlink, #addupload {
display: inline-block;
2014-09-09 22:17:39 +00:00
width: 102px;
height: 12px;
text-align: left;
padding: 18px 0 18px 48px;
font-size: 12px;
color: #9e9e9e;
cursor: pointer;
2014-09-09 22:17:39 +00:00
position: relative;
}
2014-09-09 22:17:39 +00:00
#addlink:hover, #addupload:hover {
color: #616161;
}
2014-09-09 22:17:39 +00:00
.attachmentIcon {
background-repeat: no-repeat;
background-position: 0 0;
width: 24px;
height: 24px;
position: absolute;
top: 12px;
left: 12px;
}
#linkIcon {
background-image: url(link_sprite.png);
}
#uploadIcon {
background-image: url(upload_sprite.png);
}
#addlink:hover #linkIcon, #addupload:hover #uploadIcon {
background-position: 0 -24px;
}
2014-09-09 22:17:39 +00:00
.addLink {
position: relative;
}
#addLinkInput {
height: 32px;
2014-09-09 22:17:39 +00:00
width: 268px;
padding: 8px 16px 8px 16px;
position: relative;
}
#addLinkInput input{
2014-09-09 22:17:39 +00:00
padding: 9px 7px 9px 31px;
height: 12px;
width: 198px;
margin: 0 0 0 0;
border: 1px solid #BDBDBD;
outline: none;
2014-09-09 22:17:39 +00:00
font-size: 12px;
line-height: 12px;
background: white;
color: black;
2014-09-09 22:17:39 +00:00
font-family: 'din-regular', helvetica, sans-serif;
}
#addLinkIcon {
position: absolute;
top: 12px;
left: 20px;
width: 24px;
height: 24px;
background-repeat: no-repeat;
background-position: 0 0;
background-image: url(link_sprite.png);
pointer-events: none;
z-index: 1;
}
#addLinkReset {
position: absolute;
top: 8px;
2014-09-09 22:17:39 +00:00
right: 15px;
width: 32px;
height: 32px;
cursor: pointer;
float:none;
2014-09-09 22:17:39 +00:00
background-image: url(remove.png);
background-repeat: no-repeat;
background-position: center center;
}
.linkActions {
position: relative;
}
#linkremove {
height: 12px;
padding: 26px 0 10px;
font-size: 12px;
background-image: url(/assets/remove.png);
background-repeat: no-repeat;
background-position: center 8px;
width: 48px;
text-align: center;
position: absolute;
top: 0;
right: 8px;
cursor: pointer;
color: #9E9E9E;
}
#linkremove:hover {
color: #616161;
}
.cardSettings {
position: absolute;
left: 12px;
top: 12px;
}
.editSettings {
background: #ddd;
border-radius: 10px;
padding: 5px 0 5px 5px;
position: relative;
left: 16px;
width: 175px;
opacity: 0.98;
box-shadow: 4px 4px 5px #888888;
border: 1px solid #AAA;
z-index: 5;
}
.editSettings span {
display: inline-block;
}
.permActivator {
width: 16px;
height: 16px;
background: url('settings.png') no-repeat 0 0;
overflow:hidden;
position: absolute;
left: 0px;
top: 30px;
}
#edit_synapse .mapPerm,
#edit_synapse .permActivator {
position: static;
display: inline-block;
color: #000;
}
2013-01-30 23:58:51 +00:00
#edit_synapse .mapPerm {
2014-03-02 03:02:27 +00:00
width: 20px;
height:20px;
background-repeat: no-repeat;
background-size: 20px 20px;
margin: 10px 12px 0 12px;
}
#edit_synapse .mapPerm.co {
2014-08-27 02:51:50 +00:00
background-image: url("CO32.png");
2014-03-02 03:02:27 +00:00
}
#edit_synapse .mapPerm.pu {
2014-08-27 02:51:50 +00:00
background-image: url("PU32.png");
2014-03-02 03:02:27 +00:00
}
#edit_synapse .mapPerm.pr {
2014-08-27 02:51:50 +00:00
background-image: url("PR32.png");
2013-01-30 23:58:51 +00:00
}
#edit_synapse .permActivator {
position: absolute;
margin-top: -1.3em;
2013-01-30 23:58:51 +00:00
}
#edit_synapse {
background: url("synapse32.png") no-repeat scroll 0 center / 30px 30px #FFFFFF;
border-radius: 5px;
2014-03-02 03:02:27 +00:00
padding: 5px 5px 5px 30px;
color: #000;
}
#edit_synapse_name {
margin-left: 0.4em;
2014-03-02 03:02:27 +00:00
border-bottom: 1px solid black;
text-align:center;
max-width: 160px;
}
#edgeUser {
display:inline-block;
background-position: center center;
background-repeat: no-repeat;
background-size: 20px 20px;
height: 20px;
min-width: 20px;
position: relative;
background-image: url("MMCCicon_mapper_black.png");
margin: 10px 0 0 10px;
}
#edgeUser.hoverForTip:hover .tip {
display:block;
}
#edgeUser .tip {
background: none repeat scroll 0 0 #000000;
border-radius: 4px;
color: #FFFFFF;
display: none;
font-size: 15px !important;
line-height: 17px;
padding: 3px 5px 2px;
position: absolute;
left: 0;
text-align: center;
top: 23px;
z-index: 100;
}
2013-01-30 23:58:51 +00:00
#edit_synapse .click-to-edit {
margin-left: 0.3em;
}
2014-02-10 04:36:23 +00:00
2014-03-02 03:02:27 +00:00
#edit_synapse.yourEdge .mapPerm:hover {
2014-08-27 02:51:50 +00:00
background-image: url(MMCCicon_maximize_arrow_black.png);
2014-03-02 03:02:27 +00:00
background-size: 24px 17px;
background-position: 0px 2px;
cursor:pointer;
}
#edit_synapse.yourEdge .mapPerm.minimize {
background-image: url(MMCCicon_minimize_arrow_black.png) !important;
background-size: 24px 17px;
background-position: 0px 2px;
cursor: pointer;
}
#edit_synapse .mapPerm .permissionSelect {
list-style: none;
width: 26px;
height: 52px;
position: relative;
top: 20px;
left:-3px;
}
#edit_synapse .mapPerm .permissionSelect li {
width: 26px;
height: 26px;
background-repeat: no-repeat;
background-position: center center;
background-size: 20px 20px;
background-color:white;
}
2014-02-10 04:36:23 +00:00
/* Map Cards */
.map {
2014-08-27 02:51:50 +00:00
display:inline-block;
2014-08-12 22:14:04 +00:00
width:220px;
height:340px;
font-size: 12px;
2014-02-10 04:36:23 +00:00
text-align: left;
overflow: visible;
2014-08-12 22:14:04 +00:00
background: #424242;
border-radius:2px;
2014-08-27 02:51:50 +00:00
margin:16px 16px 16px 19px;
2014-02-10 04:36:23 +00:00
}
.mapCard {
2014-02-26 23:52:54 +00:00
display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox; /* TWEENER - IE 10 */
display: -webkit-flex; /* NEW - Chrome */
display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
-webkit-box-orient: vertical;
-moz-box-orient: vertical;
-webkit-box-direction: normal;
-moz-box-direction: normal;
-ms-flex-direction: column;
-webkit-flex-direction: column;
flex-direction: column;
2014-02-10 04:36:23 +00:00
position:relative;
width:100%;
height:308px;
padding: 16px 0;
color:#F5F5F5;
2014-02-10 04:36:23 +00:00
}
.mapCard .title {
font-size:18px;
line-height:22px;
display:block;
padding: 0 16px;
text-align: center;
-webkit-box-flex: none; /* OLD - iOS 6-, Safari 3.1-6 */
-moz-box-flex: none; /* OLD - Firefox 19- */
-webkit-flex: none; /* Chrome */
-ms-flex: none; /* IE 10 */
flex: none; /* NEW, Spec - Opera 12.1, Firefox 20+ */
font-family: 'din-regular', sans-serif;
}
.mapCard .mapScreenshot {
width: 188px;
height: 126px;
padding: 8px 16px;
}
.mapCard .mapScreenshot img {
width: 188px;
height: 126px;
2014-02-10 04:36:23 +00:00
}
.mapCard .scroll {
display:block;
2014-02-26 23:52:54 +00:00
-webkit-box-flex: 1; /* OLD - iOS 6-, Safari 3.1-6 */
-moz-box-flex: 1; /* OLD - Firefox 19- */
-webkit-flex: 1; /* Chrome */
-ms-flex: 1; /* IE 10 */
flex: 1; /* NEW, Spec - Opera 12.1, Firefox 20+ */
overflow-y:auto;
padding:0 16px 8px;
font-family: helvetica, sans-serif;
font-style: italic;
font-size: 12px;
2014-02-10 04:36:23 +00:00
}
.mCS_no_scrollbar {
padding-right: 5px;
2014-02-10 04:36:23 +00:00
}
.mapCard .mapMetadata {
font-family: 'din-regular', sans-serif;
font-size: 12px;
position:relative;
border-top: 1px solid #BDBDBD;
2014-02-26 23:52:54 +00:00
-webkit-box-flex: none; /* OLD - iOS 6-, Safari 3.1-6 */
-moz-box-flex: none; /* OLD - Firefox 19- */
-webkit-flex: none; /* Chrome */
-ms-flex: none; /* IE 10 */
flex: none; /* NEW, Spec - Opera 12.1, Firefox 20+ */
2014-02-10 04:36:23 +00:00
}
.mapCard .metadataSection {
padding: 8px 16px 0 16px;
width: 78px;
float: left;
2014-02-10 04:36:23 +00:00
}
.mapPermission {
font-family: 'din-medium', sans-serif;
}
.cCountColor {
font-family: 'din-medium', sans-serif;
color: #DB5D5D;
}
.tCountColor {
font-family: 'din-medium', sans-serif;
color: #4FC059;
2014-02-10 04:36:23 +00:00
}
.sCountColor {
font-family: 'din-medium', sans-serif;
color: #DAB539;
2014-02-10 04:36:23 +00:00
}