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

851 lines
17 KiB
CSS
Raw Normal View History

.nameCounter {
position: absolute;
bottom: 1px;
right: 2px;
font-size: 11px;
font-family: helvetica;
color: #727272;
line-height: 11px;
}
.nameCounter.forMap {
color: #FFF;
bottom: -11px;
}
.nameCounter.forTopic {
}
#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;
2014-10-01 21:15:35 +00:00
z-index:2;
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;
2014-09-16 01:57:34 +00:00
padding: 8px 0 16px;
height: 80px;
text-align: center;
font-family: 'din-regular', sans-serif;
2014-09-16 01:57:34 +00:00
width: 300px;
position: relative;
2012-12-21 01:19:55 +00:00
}
2014-09-09 22:17:39 +00:00
.CardOnGraph .titleWrapper {
display: table-cell;
vertical-align: middle;
2014-09-16 01:57:34 +00:00
padding: 0 16px;
}
.canEdit #titleActivator:hover {
background-image: url(edit.png);
background-repeat: no-repeat;
background-position: bottom right;
cursor: text;
}
.showcard .best_in_place_name textarea, .showcard .best_in_place_name input {
font-family: 'din-regular', sans-serif;
color: #424242;
font-size: 18px;
line-height: 22px;
2014-09-16 01:57:34 +00:00
height: 15px;
padding: 5px 0;
width: 100%;
margin: 0;
border: 0;
outline: none;
background: none;
text-align:center;
resize: none;
}
.CardOnGraph .scroll {
display:block;
2014-09-16 01:57:34 +00:00
padding: 8px 0 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;
resize: 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 {
display:block;
margin-top:2px;
2014-09-16 01:57:34 +00:00
padding-right: 18px;
margin-right: 8px;
}
.canEdit .CardOnGraph .best_in_place_desc:hover {
background-image: url(edit.png);
background-position: top right;
background-repeat: no-repeat;
cursor: text;
}
#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;
height: 48px;
}
.linkItem.contributor {
margin-left:32px;
2014-08-10 17:06:58 +00:00
z-index:1;
2014-09-16 01:57:34 +00:00
padding:17px 16px 17px 32px;
2014-09-09 22:17:39 +00:00
position: relative;
}
.contributor .contributorIcon {
position: absolute;
top: 8px;
left: 0;
border-radius: 16px;
}
2014-09-16 01:57:34 +00:00
.contributorName {
display:none;
}
.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;
}
2014-10-05 17:58:05 +00:00
.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;
}
2014-10-05 17:58:05 +00:00
.mapPerm.co {
2014-09-09 22:17:39 +00:00
background-position: 0 0;
}
2014-10-05 17:58:05 +00:00
.mapPerm.pu {
2014-09-09 22:17:39 +00:00
background-position: -64px 0;
}
2014-10-05 17:58:05 +00:00
.mapPerm.pr {
2014-09-09 22:17:39 +00:00
background-position: -32px 0;
}
2014-10-05 17:58:05 +00:00
.yourTopic .mapPerm:hover, .yourEdge .mapPerm:hover {
2014-09-09 22:17:39 +00:00
background-image: url(arrowperms_sprite.png);
background-position: -32px 0;
cursor:pointer;
}
2014-10-05 17:58:05 +00:00
.yourTopic .mapPerm.minimize, .yourEdge .mapPerm.minimize {
2014-09-09 22:17:39 +00:00
background-image: url(arrowperms_sprite.png) !important;
background-position: 0 0;
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: 24px;
display: none;
width: 90%;
padding: 13px 0 9px 10%;
background-color: #E0E0E0;
color: #424242;
}
.permission.canEdit .metacodeTitle {
cursor:pointer;
}
.permission.canEdit .expandMetacodeSelect {
position: absolute;
top: 16px;
right: 16px;
width: 16px;
height: 16px;
background-image: url(arrowright_sprite.png);
background-repeat: no-repeat;
background-position: 0 -32px;
}
.permission.canEdit .minimize .expandMetacodeSelect {
}
.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:200px;
z-index: 2;
position: absolute;
background: #EAEAEA;
left: 300px;
}
.CardOnGraph .metacodeSelect ul {
position: relative;
line-height: 14px;
font-size: 14px;
font-family: helvetica, sans-serif;
display:block;
width: 100%;
margin:0;
padding: 0;
list-style:none;
border: 1px solid #BDBDBD;
}
.CardOnGraph .metacodeSelect ul li {
background-color: #F5F5F5;
cursor:pointer;
position: relative;
padding: 9px 12px;
}
.CardOnGraph .metacodeSelect ul li:hover {
background-color: #E0E0E0;
}
.CardOnGraph .metacodeSelect ul li img {
position: absolute;
top: 4px;
left: 8px;
}
.CardOnGraph .metacodeSelect ul li .mSelectName {
padding-left: 28px;
}
.CardOnGraph .metacodeSelect ul ul {
display:none;
position: absolute;
left: 200px;
top: -1px;
max-height: 270px;
overflow-y: auto;
}
.CardOnGraph .metacodeSelect li:hover ul {
display: block;
}
.CardOnGraph .metacodeSelect .expandMetacodeSet {
position: absolute;
top: 8px;
right: 8px;
width: 16px;
height: 16px;
background-image: url(arrowright_sprite.png);
background-repeat: no-repeat;
background-position: 0 -32px;
}
/* too close to right side of screen case */
.onRightEdge.metacodeSelect {
right: 1px;
left: auto;
top: 46px;
}
.onRightEdge.metacodeSelect ul ul {
left: auto;
right: 200px;
}
/* too close to bottom of screen case */
.onBottomEdge.metacodeSelect {
bottom: 0;
}
.onBottomEdge.metacodeSelect ul ul {
top: auto;
bottom: 0;
}
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;
}
#embedlyLink {
display: none;
}
#embedlyLinkLoader {
margin: 0 auto;
width: 28px;
}
.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;
}
.CardOnGraph .embeds {
position: relative;
}
2014-09-09 22:17:39 +00:00
#linkremove {
background-image: url(/assets/remove.png);
background-repeat: no-repeat;
background-position: center center;
width: 24px;
height: 24px;
2014-09-09 22:17:39 +00:00
position: absolute;
top: 3px;
right: 0;
2014-09-09 22:17:39 +00:00
cursor: pointer;
}
.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;
}
2014-10-05 17:58:05 +00:00
#edit_synapse {
border-radius: 2px;
width: 270px;
box-shadow: 0px 3px 3px rgba(0,0,0,0.23), 0 3px 3px rgba(0,0,0,0.16);
}
2014-10-05 17:58:05 +00:00
#editSynUpperBar {
background: #FFFFFF url(synapse32.png) no-repeat 8px center;
min-height: 48px;
border-bottom: 1px solid #222222;
display: table;
width: 100%;
}
2014-10-05 17:58:05 +00:00
#editSynLowerBar {
background-color: #E0E0E0;
height: 48px;
position: relative;
2013-01-30 23:58:51 +00:00
}
2014-10-05 17:58:05 +00:00
#synapseCardCount {
font-size: 18px;
display: table-cell;
vertical-align: middle;
padding-left: 44px;
width: 20px;
line-height: 18px;
2013-01-30 23:58:51 +00:00
}
2014-10-05 17:58:05 +00:00
#edit_synapse_desc {
font-size: 14px;
font-family: 'din-regular', helvetica, sans-serif;
padding: 8px 38px 8px 4px;
2014-10-05 17:58:05 +00:00
display: table-cell;
vertical-align: middle;
line-height: 16px;
}
.canEdit #edit_synapse_desc:hover {
background-image: url(edit.png);
background-repeat: no-repeat;
background-position: 164px center;
cursor: text;
}
2014-10-05 17:58:05 +00:00
#edit_synapse .best_in_place_desc textarea {
font-family: 'din-regular', sans-serif;
color: #424242;
font-size: 14px;
line-height: 16px;
width: 100%;
height: auto;
margin: 0;
padding: 0;
border: 0;
outline: none;
background: none;
resize: none;
2014-03-02 03:02:27 +00:00
}
#dropdownSynapses {
position: absolute;
width: 24px;
height: 24px;
top: 12px;
right: 8px;
background-image: url(arrowdown_sprite.png);
background-repeat: no-repeat;
background-position: 4px -12px;
}
#dropdownSynapses:hover {
background-position: 4px -28px;
cursor: pointer;
}
#switchSynapseList {
display: none;
list-style: none;
width: 270px;
position: absolute;
z-index: 1;
background: #FFFFFF;
border-bottom: 1px solid #BBBBBB;
}
#switchSynapseList li {
padding: 8px;
cursor: pointer;
font-family: 'din-regular';
font-size: 14px;
line-height: 16px;
}
#switchSynapseList li:hover {
background: #E0E0E0;
}
2014-03-02 03:02:27 +00:00
#edgeUser {
display:inline-block;
position: relative;
2014-10-05 17:58:05 +00:00
margin: 12px 0 0 11px;
}
#edgeUser img {
border-radius: 12px;
2014-03-02 03:02:27 +00:00
}
#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
2014-10-05 17:58:05 +00:00
#edit_synapse .mapPerm {
position: absolute;
top: 0px;
left: 40px;
2013-01-30 23:58:51 +00:00
}
2014-02-10 04:36:23 +00:00
2014-10-05 17:58:05 +00:00
#edit_synapse_left, #edit_synapse_right {
position: absolute;
height: 24px;
width: 24px;
top: 12px;
background-repeat: no-repeat;
2014-03-02 03:02:27 +00:00
}
2014-10-05 17:58:05 +00:00
#edit_synapse_right {
background-image: url(synapsedirectionright_sprite.png);
right: 16px;
2014-03-02 03:02:27 +00:00
}
2014-10-05 17:58:05 +00:00
#edit_synapse_left {
background-image: url(synapsedirectionleft_sprite.png);
right: 56px;
2014-03-02 03:02:27 +00:00
}
2014-10-05 17:58:05 +00:00
#edit_synapse_left.checked, #edit_synapse_right.checked {
background-position: 0 -48px;
2014-10-05 17:58:05 +00:00
}
.canEdit #edit_synapse_left, .canEdit #edit_synapse_right {
cursor: pointer;
}
.canEdit #edit_synapse_left:not(.checked):hover, .canEdit #edit_synapse_right:not(.checked):hover {
background-position: 0 -24px;
2014-03-02 03:02:27 +00:00
}
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-10-14 21:00:17 +00:00
border-radius: 2px;
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
}