fix about lightbox style
This commit is contained in:
parent
cfbd28921d
commit
cd6e26017b
3 changed files with 28 additions and 35 deletions
|
@ -2199,41 +2199,34 @@ and it won't be important on password protected instances */
|
|||
color: #00bcd4;
|
||||
}
|
||||
.lightbox_links .lightboxAboutIcon {
|
||||
background-image: url(<%= asset_data_uri('about_sprite.png') %>);
|
||||
background-repeat: no-repeat;
|
||||
width:32px;
|
||||
height:32px;
|
||||
margin:10px auto;
|
||||
}
|
||||
#lightbox_metamapps .lightboxAboutIcon {
|
||||
.icon_twitter .lightboxAboutIcon,
|
||||
.icon_source_code .lightboxAboutIcon,
|
||||
.icon_terms .lightboxAboutIcon {
|
||||
background-image: url(<%= asset_data_uri('about_sprite.png') %>);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0 0;
|
||||
}
|
||||
#lightbox_community .lightboxAboutIcon {
|
||||
background-position: -32px 0;
|
||||
}
|
||||
#lightbox_source .lightboxAboutIcon {
|
||||
background-position: -64px 0;
|
||||
}
|
||||
#lightbox_blog .lightboxAboutIcon {
|
||||
background-position: -96px 0;
|
||||
}
|
||||
#lightbox_term .lightboxAboutIcon {
|
||||
background-position: -128px 0;
|
||||
}
|
||||
#lightbox_metamapps:hover .lightboxAboutIcon {
|
||||
.icon_twitter .lightboxAboutIcon {
|
||||
background-position: 0 0;
|
||||
&:hover {
|
||||
background-position: 0 -32px;
|
||||
}
|
||||
}
|
||||
#lightbox_community:hover .lightboxAboutIcon {
|
||||
background-position: -32px -32px;
|
||||
}
|
||||
#lightbox_source:hover .lightboxAboutIcon {
|
||||
.icon_source_code .lightboxAboutIcon {
|
||||
background-position: -64px 0;
|
||||
&:hover {
|
||||
background-position: -64px -32px;
|
||||
}
|
||||
}
|
||||
#lightbox_blog:hover .lightboxAboutIcon {
|
||||
background-position: -96px -32px;
|
||||
}
|
||||
#lightbox_term:hover .lightboxAboutIcon {
|
||||
.icon_terms .lightboxAboutIcon {
|
||||
background-position: -128px 0;
|
||||
&:hover {
|
||||
background-position: -128px -32px;
|
||||
}
|
||||
}
|
||||
|
||||
/* jquery ui tabs */
|
||||
|
|
|
@ -34,31 +34,31 @@
|
|||
|
||||
<ul class="lightbox_links">
|
||||
<li>
|
||||
<a id="lightbox_metamapps" href="https://twitter.com/metamapps" target="_blank">
|
||||
<a class="icon_twitter" href="https://twitter.com/metamapps" target="_blank">
|
||||
<div class="lightboxAboutIcon"></div>
|
||||
@metamapps
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a id="lightbox_blog" href="https://docs.metamaps.cc" target="_blank">
|
||||
<div class="lightboxAboutIcon"></div>
|
||||
documentation
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a id="lightbox_community" href="https://www.hylo.com/c/metamaps/join/mice-late-hit-two-shown" target="_blank">
|
||||
<a class="icon_community" href="https://www.hylo.com/c/metamaps/join/mice-late-hit-two-shown" target="_blank">
|
||||
<div class="lightboxAboutIcon"></div>
|
||||
community
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a id="lightbox_source" href="https://github.com/metamaps/metamaps" target="_blank">
|
||||
<a class="icon_source_code" href="https://github.com/metamaps/metamaps" target="_blank">
|
||||
<div class="lightboxAboutIcon"></div>
|
||||
source code
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a id="lightbox_term" href="https://metamaps.cc/maps/331" target="_blank">
|
||||
<a class="icon_howtos" href="https://docs.metamaps.cc" target="_blank">
|
||||
<div class="lightboxAboutIcon"></div>
|
||||
howtos
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="icon_terms" href="https://metamaps.cc/maps/331" target="_blank">
|
||||
<div class="lightboxAboutIcon"></div>
|
||||
terms
|
||||
</a>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# frozen_string_literal: true
|
||||
METAMAPS_VERSION = '2.9'
|
||||
METAMAPS_BUILD = `git log -1 --pretty=%H`.chomp.freeze
|
||||
METAMAPS_BUILD = `git log -1 --pretty=%H`.chomp[0..11].freeze
|
||||
METAMAPS_LAST_UPDATED = `git log -1 --pretty='%ad'`.split(' ').values_at(1, 2, 4).join(' ').freeze
|
||||
|
|
Loading…
Add table
Reference in a new issue