metamaps--metamaps/sass/search.scss

501 lines
9 KiB
SCSS
Raw Permalink Normal View History

2015-11-28 12:17:14 +00:00
#searchLoading {
height: 24px;
width: 24px;
position: absolute;
top: 4px;
right: 76px;
display: none;
2015-11-28 12:17:14 +00:00
}
.unauthenticated {
.homePage .sidebarSearch {
display: none;
}
2015-11-28 12:17:14 +00:00
}
.sidebarSearchIcon {
float: left;
width: 50px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
height: 32px;
2018-03-03 20:57:02 +00:00
background: #4fb5c0 url('/images/search.png') no-repeat center center;
background-size: 32px 32px;
cursor: pointer;
}
.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;
}
.searchHeader {
height: 42px;
width: 100%;
position: relative;
}
.searchTopicsHeader {
background: #4fc4a8;
}
.searchMapsHeader {
background: #994fc0;
}
.searchMappersHeader {
background: #c04f4f;
}
.resultmap, .resulttopic, .resultmapper, .resultnoresult {
min-height: 48px;
display: table;
2015-11-28 14:50:32 +00:00
width: 100%;
}
.resultnoresult {
padding: 8px 0;
> div {
display: table-cell;
2016-02-05 11:21:09 +00:00
vertical-align: middle;
}
}
.canEditMap button.addToMap {
display: block;
}
.tipUserImage {
position: absolute;
top: 0px;
left: 7px;
border-radius: 14px;
2015-11-28 12:17:14 +00:00
}
/* main search selector */
.sidebarSearch {
float:left;
height: 32px;
position: relative;
2015-11-28 14:50:32 +00:00
.twitter-typeahead {
float: left;
}
.sidebarSearchField {
float: left;
width: 379px;
padding: 7px 10px 3px 10px;
2015-11-28 14:50:32 +00:00
height: 20px;
border-top: 1px solid #BDBDBD;
border-bottom: 1px solid #BDBDBD;
border-left: 1px solid #BDBDBD;
2015-11-28 14:50:32 +00:00
border-right: none;
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
2015-11-28 14:50:32 +00:00
margin: 0;
outline: none;
font-size: 14px;
line-height: 14px;
background: #F5F5F5;
font-family: 'din-medium', helvetica, sans-serif;
color: #424242;
}
.tt-hint {
color: transparent;
width: 380px;
padding: 7px 10px 3px 10px;
2015-11-28 12:17:14 +00:00
height: 20px;
border-top: 1px solid #BDBDBD;
border-bottom: 1px solid #BDBDBD;
border-left: none;
border-right: none;
margin: 0;
outline: none;
font-size: 14px;
line-height: 14px;
background: #F5F5F5;
font-family: 'din-medium', helvetica, sans-serif;
}
2015-11-28 14:50:32 +00:00
.tt-menu {
2015-11-28 12:17:14 +00:00
top: 40px !important;
background: #F5F5F5;
width: 472px;
max-height: 25em;
2015-11-28 12:17:14 +00:00
overflow-y: auto;
overflow-x: visible;
box-shadow: 0 10px 10px rgba(0,0,0,0.19), 0 6px 3px rgba(0,0,0,0.23);
h3 {
text-transform: uppercase;
color: #F5F5F5;
font-size: 18px;
line-height: 18px;
margin: 12px 0 3px 16px;
float: left;
}
2015-11-28 12:17:14 +00:00
.limitToMe {
float: left;
width: 12px;
height: 12px;
border: 1px;
color: #000000;
position: absolute;
top: 15px;
left: 136px;
}
2015-11-28 12:17:14 +00:00
.limitToMeLabel {
float: left;
font-family: 'din-medium', helvetica, sans-serif;
font-size: 12px;
color: #f5f5f5;
margin: 0;
position: absolute;
top: 15px;
left: 156px;
}
2015-11-28 12:17:14 +00:00
.minimizeResults,
.maximizeResults {
width: 32px;
height: 32px;
2018-03-03 20:57:02 +00:00
background-image: url('/images/arrowpermswhite_sprite.png');
background-repeat: no-repeat;
cursor: pointer;
position: absolute;
top: 5px;
left: 410px;
}
.minimizeResults {
background-position: 0 0;
}
.maximizeResults {
background-position: -32px 0;
}
2015-11-28 14:50:32 +00:00
}/* tt-menu */
2015-11-28 12:17:14 +00:00
.tt-suggestion {
2015-11-28 12:17:14 +00:00
position: relative;
background: #FFF;
padding: 8px 0;
2015-11-28 14:50:32 +00:00
> div {
display: table-cell;
}
&:hover {
background: #E0E0E0;
}
.icon {
width: 32px;
height: 32px;
border-radius:16px;
}
2015-11-28 14:50:32 +00:00
.resultText {
width: 260px;
padding-left: 8px;
vertical-align: middle;
word-wrap: break-word;
}
.resultTitle {
font-weight: normal;
font-size: 16px;
line-height: 20px;
width: 100%;
font-family: 'din-regular', helvetica, sans-serif;
}
.resultDesc {
font-size: 12px;
line-height: 16px;
width: 100%;
font-style: italic;
font-family: helvetica, sans-serif;
}
}/* tt-suggestion */
2016-02-05 11:19:16 +00:00
.searchResIconWrapper {
vertical-align: middle;
width: 70px;
padding: 0 18px 0 28px;
}
.tt-dataset {
overflow: visible;
}
2015-11-28 12:17:14 +00:00
.tt-dataset-maps {
.autoOptions {
width: 84px;
}
}/* .tt-dataset-maps */
.tt-dataset-topics {
.topicIcon {
width: 32px;
height: 32px;
}
.resulttopic .topicIcon {
margin: 0 auto
}
.metacodeTip {
display: none;
margin: 0 auto;
}
.tt-cursor .metacodeTip,
.tt-suggestion:hover .metacodeTip {
display: block;
font-family: 'vinyl';
text-transform: uppercase;
font-style: italic;
font-size: 13px;
margin: 0 5px 0 2px;
text-align: center;
}
}/* tt-dataset-topics */
.tt-dataset-mappers {
.icon {
margin: 0px 0px 0px 0px;
}
.mappers .resultText {
width: 150px;
}
.autoOptions {
width: 235px;
}
.mapCount {
top: 8px;
left: 170px;
}
.mapperCreated {
left: 0px;
padding-left: 0px;
font-size: 12px;
font-family: 'din-medium', helvetica, sans-serif;
line-height: 24px;
}
.mapperGeneration {
top: 20px;
left: 0px;
padding-left: 0px;
font-size: 12px;
font-family: 'din-medium', helvetica, sans-serif;
line-height: 24px;
}
}/* tt-dataset-mappers */
.autoOptions {
2015-11-28 12:17:14 +00:00
width: 114px;
height: 48px;
position: absolute;
display: none;
top: 8px;
right: 0;
a,
div,
button {
position: absolute;
margin: 0;
border: none;
outline: none;
}
}/* .autoOptions */
.tt-cursor .autoOptions,
.tt-suggestion:hover .autoOptions {
2015-11-28 12:17:14 +00:00
display: block;
}
2016-02-05 11:19:16 +00:00
.resultnoresult .autoOptions {
2015-11-28 12:17:14 +00:00
display: none;
}
.addToMap {
2015-11-28 12:17:14 +00:00
display:none;
width: 24px;
height: 24px;
2018-03-03 20:57:02 +00:00
background: url('/images/addtopic_sprite.png');
2015-11-28 12:17:14 +00:00
background-repeat: no-repeat;
background-size: 48px 24px;
top: 12px;
left: 80px;
cursor: pointer;
&:hover {
background-position: -24px;
}
}/* .addToMap */
.topicCount {
2015-11-28 12:17:14 +00:00
width: 24px;
height: 24px;
2018-03-03 20:57:02 +00:00
background: url('/images/topic16.png');
2015-11-28 12:17:14 +00:00
background-repeat: no-repeat;
background-position: 0 center;
top: 0;
left: 0;
padding-left: 18px;
font-size: 12px;
line-height: 24px;
}
2015-11-28 12:17:14 +00:00
.mapCount {
2015-11-28 12:17:14 +00:00
width: 24px;
height: 24px;
2018-03-03 20:57:02 +00:00
background: url('/images/metamap16.png');
2015-11-28 12:17:14 +00:00
background-repeat: no-repeat;
background-position: 0 center;
left: 0;
padding-left: 20px;
font-size: 12px;
line-height: 24px;
}
.synapseCount {
2015-11-28 12:17:14 +00:00
width: 24px;
height: 24px;
2018-03-03 20:57:02 +00:00
background: url('/images/synapse16.png');
2015-11-28 12:17:14 +00:00
background-repeat: no-repeat;
background-position: 0 center;
top: 24px;
left: 0;
padding-left: 20px;
font-size: 12px;
line-height: 24px;
}
2015-11-28 12:17:14 +00:00
.tip {
display: none;
2015-11-28 12:17:14 +00:00
position: absolute;
background: #424242;
width: auto;
top: 2px;
right: 25px;
color: white;
white-space: nowrap;
border-radius: 2px;
font-size: 12px !important;
font-family: 'din-regular';
line-height: 12px;
padding: 4px 4px 4px;
z-index: 100;
}
.topicOriginatorIcon {
width: 18px;
height: 18px;
padding: 3px;
top: 0;
left: 44px;
2015-11-28 12:17:14 +00:00
img {
border-radius: 9px;
}
.tip {
right: 30px;
top: 1px;
}
.tip:before {
top: 5px;
right: -4px;
}
}/* .topicOriginatorIcon */
.mapContributorsIcon .tip {
2015-11-28 12:17:14 +00:00
right: 40px;
top: -5px;
padding-top: 5px;
padding-bottom: 5px;
}
2015-11-28 12:17:14 +00:00
.hoverForTip{
&:hover .tip {
display: block;
}
2015-11-28 12:17:14 +00:00
.tip li {
padding-left: 28px;
padding-top: 4px;
}
.tip:before {
content: '';
position: absolute;
width: 0;
height: 0;
border-left: 4px solid #424242;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
}
.tip {
right: 30px;
}
.tip:before {
right: -4px;
}
}/* .hoverForTip */
2015-11-28 12:17:14 +00:00
.mapContributorsIcon {
2015-11-28 12:17:14 +00:00
height: 24px;
top: 0;
left: 44px;
font-size: 12px;
line-height: 24px;
.tip:before {
top: 12px;
right: -4px;
}
.mapContributors {
top: auto;
right: 0;
bottom: 21px;
white-space: normal;
width: 200px;
}
}/* .mapContributorsIcon */
.topicPermission,
.mapPermission {
2015-11-28 12:17:14 +00:00
width: 24px;
height: 24px;
2018-03-03 20:57:02 +00:00
background-image: url('/images/permissions32_sprite.png');
2015-11-28 12:17:14 +00:00
background-repeat: no-repeat;
background-size: 72px 48px !important;
top: 24px;
left: 44px;
.commons,
.commons {
background-position: 0 0;
}
.public,
.public {
background-position: -48px 0;
}
.private,
.private {
background-position: -24px 0;
}
}/* .topicPermission, .mapPermission */
}/* .sidebarSearch */