diff options
author | mistic100 <mistic@piwigo.org> | 2014-09-11 09:05:00 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-09-11 09:05:00 +0000 |
commit | 62cdffb50ceb70450a74238fb893c1578caf2fb7 (patch) | |
tree | d0d57ebbbbd8aa66affce7fbc8ebae082598b3d0 /admin/themes/default/theme.css | |
parent | f14dcf0f7bd8db1b358562810302c4570251c420 (diff) |
feature 3138: Add photo zoom when editing a photo
git-svn-id: http://piwigo.org/svn/trunk@29480 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/themes/default/theme.css | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index 356cc70c7..1e644f585 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -225,12 +225,6 @@ FIELDSET.elementEdit .thumb { display: block; float: right; text-align: center; - opacity: 0.6; - -webkit-transition:opacity 400ms ease; - transition:opacity 400ms ease; -} -FIELDSET.elementEdit .thumb:hover { - opacity:1; } TABLE.doubleSelect { @@ -1220,3 +1214,32 @@ a.group_perm { .userProperty {width:340px;float:left;margin-bottom:15px;} .userActions {float:right;text-align:right;} +.preview-box.icon-search { + display:block; + position:relative; +} +.preview-box.icon-search:before { + opacity:0; + position:absolute; + margin:-22px 0 0 -22px; + top:50%; + left:50%; + font-size:50px; + line-height:50px; + color:white; + z-index:100; + text-shadow:0 0 20px rgba(0,0,0,0.4); + -webkit-transition:opacity 200ms ease; + transition:opacity 200ms ease; +} +.preview-box.icon-search:hover:before { + opacity:0.9; +} +.preview-box.icon-search img { + opacity:1; + -webkit-transition:opacity 200ms ease; + transition:opacity 200ms ease; +} +.preview-box.icon-search:hover img { + opacity:0.5; +}
\ No newline at end of file |