Skip to content

Commit

Permalink
Remove cascade for iGallery img
Browse files Browse the repository at this point in the history
  • Loading branch information
viT-1 committed Sep 13, 2016
1 parent 4ba8759 commit 126308a
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 17 deletions.
9 changes: 5 additions & 4 deletions css/original/base-sknGreen.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,14 @@ a {
color: black;
}

.iGallery[ly-list ~= 'paspartu'] *[ly-txtDetails]
, .iGallery[ly-list ~= 'paspartu'] li:hover *[ly-imgThumb] {
.iGallery[ly-txtDetails ~= 'paspartu']
, li:hover .iGallery[ly-imgThumb ~= 'paspartu'] {
background: #FFF;
}

.iGallery[ly-list ~= 'paspartu'] *[ly-txtDetails]
, .iGallery[ly-list ~= 'paspartu'] img {
.iGallery[ly-txtDetails ~= 'paspartu']
, .iGallery[ly-imgThumb ~= 'paspartu']
, .iGallery[ly-imgDetails ~= 'paspartu'] {
border-color: #370;
transition: background .5s ease;
}
Expand Down
2 changes: 1 addition & 1 deletion css/original/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ body {
}

a img {
border-style: none;
/*border-style: none;*/
display: inline-block;
}

Expand Down
12 changes: 5 additions & 7 deletions css/original/iGallery.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
cursor: default;
list-style: none;
overflow: hidden;
padding: 15px 0;
text-align: center;
}

.iGallery[ly-list ~= 'paspartu'] {
padding: 0 0 10px;
text-align: center;
}

.iGallery[ly-list] li {
Expand Down Expand Up @@ -73,7 +69,8 @@
animation: fadeOut 0.3s ease;
}

.iGallery[ly-list ~= 'paspartu'] img {
.iGallery[ly-imgThumb ~= 'paspartu']
, .iGallery[ly-imgDetails ~= 'paspartu'] {
border-style: solid;
border-width: 1px;
}
Expand All @@ -92,7 +89,8 @@
margin: 15px 0 0;
}

.iGallery[ly-list ~= 'paspartu'] img {
.iGallery[ly-imgThumb ~= 'paspartu']
, .iGallery[ly-imgDetails ~= 'paspartu'] {
padding: 4px;
}

Expand Down
4 changes: 2 additions & 2 deletions xsl/original/pgAbout-layScreen.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@

<xsl:template match="html[@data-ly-class = 'about']//*[@data-ly-class = 'certificates']/@data-ly-class">
<xsl:attribute name="class">iGallery</xsl:attribute>
<xsl:attribute name="ly-list">paspartu</xsl:attribute>
<xsl:attribute name="ly-list" />
</xsl:template>

<xsl:template match="html[@data-ly-class = 'about']//*[@data-ly-class = 'certificates']/li">
<li>
<xsl:apply-templates />
<span class="iGallery" ly-hldDetails="bhvrHover"><br class="-hidden" /><em class="iGallery" ly-txtDetails="paspartu"><xsl:value-of select="a/img/@alt"/></em><br class="-hidden" /> <img src="{a/@href}" class="iGallery" ly-imgDetails="" /></span>
<span class="iGallery" ly-hldDetails="bhvrHover"><br class="-hidden" /><em class="iGallery" ly-txtDetails="paspartu"><xsl:value-of select="a/img/@alt"/></em><br class="-hidden" /> <img src="{a/@href}" class="iGallery" ly-imgDetails="paspartu" /></span>
</li>
</xsl:template>

Expand Down
2 changes: 1 addition & 1 deletion xsl/original/pgBooks-layScreen.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<xsl:template match="html[@data-ly-class = 'books']//*[@data-ly-class = 'lstBooks']/@data-ly-class">
<xsl:attribute name="class">iGallery</xsl:attribute>
<xsl:attribute name="ly-list">paspartu</xsl:attribute>
<xsl:attribute name="ly-list" />
</xsl:template>

<xsl:template match="html[@data-ly-class = 'books']//*[@data-ly-class = 'lstBooks']//img/@src">
Expand Down
4 changes: 2 additions & 2 deletions xsl/original/pgPhoto-layScreen.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@

<xsl:template match="html[@data-ly-class = 'photo']//*[@data-ly-class = 'lstPhotoAlbum']/@data-ly-class">
<xsl:attribute name="class">iGallery</xsl:attribute>
<xsl:attribute name="ly-list">paspartu</xsl:attribute>
<xsl:attribute name="ly-list" />
</xsl:template>

<xsl:template match="html[@data-ly-class = 'photo']//*[@data-ly-class = 'lstPhotoAlbum']/li">
<li>
<xsl:apply-templates />
<span class="iGallery" ly-hldDetails="bhvrHover"><br class="-hidden" /><em class="iGallery" ly-txtDetails="paspartu"><xsl:value-of select="a/img/@alt"/></em><br class="-hidden" /> <img src="{a/@href}" class="iGallery" ly-imgDetails="" /></span>
<span class="iGallery" ly-hldDetails="bhvrHover"><br class="-hidden" /><em class="iGallery" ly-txtDetails="paspartu"><xsl:value-of select="a/img/@alt"/></em><br class="-hidden" /> <img src="{a/@href}" class="iGallery" ly-imgDetails="paspartu" /></span>
</li>
</xsl:template>

Expand Down

0 comments on commit 126308a

Please sign in to comment.