gallery update

This commit is contained in:
devin 2012-08-21 16:32:55 +08:00
parent cbef7cd368
commit 0ad0ea9acf
1 changed files with 31 additions and 12 deletions

View File

@ -43,10 +43,17 @@
.rgalbum, .rgphoto { float: left; margin: 0 10px 24px 0; } .rgalbum, .rgphoto { float: left; margin: 0 10px 24px 0; }
.rgalbum { .rgalbum {
padding: 16px; padding: 16px;
margin: 0; margin: 0 8px 8px 0;
border-right: solid 1px #ccc; border: solid 1px #ccc;
border-bottom: solid 1px #ccc;
height: 180px; height: 180px;
border-radius: 4px;
transition: all 0.3s ease;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
}
.rgalbum:hover {
box-shadow: 0 0 6px rgba(0,0,0,0.2);
} }
.rgalbum img { .rgalbum img {
transition: all, 0.5s ease; transition: all, 0.5s ease;
@ -55,15 +62,26 @@
-ms-transition: all, 0.5s ease; -ms-transition: all, 0.5s ease;
} }
.rgphoto { } .rgphoto { }
.rgphoto img, .rgphoto_edit img { .rgphoto a {
display: block; display: block;
padding: 4px;
border: solid 1px #ddd;
background-color: #fff;
border-radius: 4px;
transition: all, 0.3s ease; transition: all, 0.3s ease;
-webkit-transition: all, 0.3s ease; -webkit-transition: all, 0.3s ease;
-moz-transition: all, 0.3s ease; -moz-transition: all, 0.3s ease;
-ms-transition: all, 0.3s ease;
} }
.rgphoto a:hover img { .rgphoto a:hover {
border-color: #666; border-color: #999;
box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
.rgphoto img, .rgphoto_edit img {
display: block;
border-radius: 3px;
transition: all, 0.3s ease;
-webkit-transition: all, 0.3s ease;
-moz-transition: all, 0.3s ease;
} }
.rgalbum .albumname { .rgalbum .albumname {
font-size: 15px; font-size: 15px;
@ -543,9 +561,6 @@
} }
#orbit_gallery .form-actions { background-color: whiteSmoke; } #orbit_gallery .form-actions { background-color: whiteSmoke; }
.o_album .rgbody {
margin: 10px 8px;
}
.o_gallery .tagnames { .o_gallery .tagnames {
display: inline-block; display: inline-block;
} }
@ -553,3 +568,7 @@
display: inline-block; display: inline-block;
margin: 0 6px 6px 0; margin: 0 6px 6px 0;
} }
.o_gallery .rgbody, .o_album .rgbody {
padding: 10px 8px;
}