Mercurial > kallithea
changeset 1882:496cfa1025e7 beta
changelog: styling "show more" expander
author | Aras Pranckevicius <aras@unity3d.com> |
---|---|
date | Mon, 09 Jan 2012 23:28:22 +0200 |
parents | 0398b830ccac |
children | 69d3c4450944 |
files | rhodecode/public/css/style.css rhodecode/templates/changelog/changelog.html |
diffstat | 2 files changed, 22 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/public/css/style.css Mon Jan 09 22:58:53 2012 +0200 +++ b/rhodecode/public/css/style.css Mon Jan 09 23:28:22 2012 +0200 @@ -1133,24 +1133,27 @@ padding: 5px 0; white-space: pre-wrap; } -#content div.box div.expand{ -position:absolute; -width:inherit; -height:14px; -font-size:14px; -text-align:left; -cursor: pointer; -font-family: monospace; -color:#003367; -/* -background:-webkit-gradient(linear,0% 50%,100% 50%,color-stop(0%,rgba(255,255,255,0)),color-stop(100%,rgba(255,255,255,1))); -background:-webkit-linear-gradient(top,rgba(255,255,255,0),rgba(255,255,255,1)); -background:-moz-linear-gradient(top,rgba(255,255,255,0),rgba(255,255,255,1)); -background:-o-linear-gradient(top,rgba(255,255,255,0),rgba(255,255,255,1)); -background:-ms-linear-gradient(top,rgba(255,255,255,0),rgba(255,255,255,1)); -background:linear-gradient(top,rgba(255,255,255,0),rgba(255,255,255,1)); -*/ -display: none; +#content div.box div.expand { + width: 110%; + height:14px; + font-size:10px; + text-align:right; + cursor: pointer; + color:#666; + + background:-webkit-gradient(linear,0% 50%,100% 50%,color-stop(0%,rgba(255,255,255,0)),color-stop(100%,rgba(64,96,128,0.1))); + background:-webkit-linear-gradient(top,rgba(255,255,255,0),rgba(64,96,128,0.1)); + background:-moz-linear-gradient(top,rgba(255,255,255,0),rgba(64,96,128,0.1)); + background:-o-linear-gradient(top,rgba(255,255,255,0),rgba(64,96,128,0.1)); + background:-ms-linear-gradient(top,rgba(255,255,255,0),rgba(64,96,128,0.1)); + background:linear-gradient(top,rgba(255,255,255,0),rgba(64,96,128,0.1)); + + display: none; +} +#content div.box div.expand .expandtext { + background-color: #ffffff; + padding: 2px; + border-radius: 2px; } #content div.box div.message a {
--- a/rhodecode/templates/changelog/changelog.html Mon Jan 09 22:58:53 2012 +0200 +++ b/rhodecode/templates/changelog/changelog.html Mon Jan 09 23:28:22 2012 +0200 @@ -60,7 +60,7 @@ </div> <div class="mid"> <div class="message">${h.urlify_commit(h.wrap_paragraphs(cs.message),c.repo_name,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}</div> - <div class="expand ${'tablerow%s' % (cnt%2)}">↓ ${_('show more')} ↓</div> + <div class="expand"><span class="expandtext">↓ ${_('show more')} ↓</span></div> </div> <div class="right"> <div id="${cs.raw_id}_changes_info" class="changes">