mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
synced up to go-ethereum 1.5.0-unstable develop branch major features: * api overhaul due to rpc v2 and node service stack interface changes * blockchain/ethereum contract interaction rewritten using abi/abigen (chequebook, ens) * swarm - cluster control CLI - migration and revamp of prehistoric eth-utils repo * poor man's end to end testing: scripted scenarios in swarm/test using swarm CLI * http proxy now handles 3 url schemes for 1) ens-enabled [bzz], 2) immutable [bzzi] and 3) raw manifest [bzzr] resolution * fixes issues with remote address setting, forwarding and syncing * new control flags to switch swap and sync on and off * placeholder basic implementation Ethereum Name Service * improved logging - now debug level is coherent regression: * uri based versioning support is dropped temporarily since state tree pruning does not guarantee historical record * registrar related functionality temporarily restricted - current ENS provides basic free and unrestricted Register/Resolve accounts/abi: * bind: repeated attempt deployment of contracts, validation against known code, transactor creation from private keys * accountmanager: getUnlocked snatch private key when unlocked cmd: * unlockAccount moved to utils/cmd and exported * getPassPhrase moved to utils/input and exported * accountcmds: reflect the change * js: GlobalRegistrar is dropped (ens) flags: * chequebook, bzzaccount, bzzport, bzzconfig, bzznoswap, bzznosync chequebook: * move from common/ to swarm/services * abigen-ised * specifies its own API (removed chequebook api from swarm/api) kademlia: * move from common to swarm/network/kademlia * address abstracted out to separate file + tests dns/ens/registrar: * moved from swarm/api to swarm/services/ens * implementation is basic placeholder before ENS is implemented * temporary rpc api via ens namespace * the old common/registrar is removed (also from eth/backend apis) swap: * the abstract swap module moved from common to swarm/services * now embedded in the swarm and chequebook specific setup (this will change) * safer chequebook deployment using abigen helpers * backend not field of swap params eth: * public accessor for GPO, needed to construct a PublicBlockChainAPI * extends ContractBackend in eth/bind.go with BalanceAt, GetTxReceipt and CodeAt API calls internal/web3ext * add js bindings for bzz, chequebook rpc apis swarm/api: * refactored api into smaller modules filesystem/storage/testapi * ethereum backend (needed for dns, swap, etc) moved to abi/bind * TODO: further refactor due to #2040 * swarm/api/http: now supports the 3 uri schemes * examples/album updated swarm/cmd: * migrate old eth-utils and modify into a cluster control CLI * bzzup now allows non-local gateway, endpoint specified as second argument swarm/network: * forwarder improved log messages, fixup condition on whether syncer is nil * hive extended with controls for testing support block read/write, swap/sync enabled/disabled * hive keepAlive launches with alarm in case no discover and no kaddb * fix IP address formatting issue [::1] -> became ::1 which refused to dial, now use discover.NewNode#String * integrate functionality for enabling/disabling sync and swap * allow nil sync state - improve syncer interface in protocol * fix SData slice out of bounds bug * fix disconnects by not replacing a node when bucket is full swarm/test * poor man's testing framework. scripts invoking swarm/cmd/swarm * added tests for basic scenarios connections, swap, sync swarm: * rewrite api using rpc v2 * blockchain comms via abi/abigen + eth.ContractBackend * integrate new flags
295 lines
No EOL
4.4 KiB
CSS
295 lines
No EOL
4.4 KiB
CSS
/* General reset */
|
|
html, body
|
|
{
|
|
overflow: hidden; /* IE<9 */
|
|
padding: 0;
|
|
margin: 0;
|
|
border: 0;
|
|
}
|
|
|
|
img
|
|
{
|
|
border: none;
|
|
}
|
|
|
|
/* Main gallery elements */
|
|
#gallery h2
|
|
{
|
|
margin: 1em;
|
|
font-family: monospace;
|
|
}
|
|
|
|
#gallery
|
|
{
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
|
|
display: none;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #111;
|
|
}
|
|
|
|
#gallery.no-cursor *
|
|
{
|
|
cursor: none !important;
|
|
}
|
|
|
|
#gallery a, #gallery a:active, #gallery a:focus
|
|
{
|
|
outline: none;
|
|
}
|
|
|
|
#gallery #background
|
|
{
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#gallery #noise
|
|
{
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-image: url(noise.png);
|
|
background-repeat: repeat;
|
|
}
|
|
|
|
#gallery #content
|
|
{
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
#gallery #flash
|
|
{
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #fff;
|
|
}
|
|
|
|
/* Main image */
|
|
#gallery #content img.current
|
|
{
|
|
box-shadow: 0 0 2.5em rgba(0, 0, 0, 0.5);
|
|
-moz-box-shadow: 0 0 2.5em rgba(0, 0, 0, 0.5);
|
|
-webkit-box-shadow: 0 0 2.5em rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* Header */
|
|
#gallery #content #header
|
|
{
|
|
-webkit-user-select: text;
|
|
-khtml-user-select: text;
|
|
-moz-user-select: text;
|
|
-ms-user-select: text;
|
|
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
color: #fff;
|
|
background: #111; /* IE<9 */
|
|
background: rgba(0, 0, 0, 0.7);
|
|
font-family: sans-serif;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
#gallery #content #header img
|
|
{
|
|
vertical-align: middle;
|
|
height: 1em;
|
|
}
|
|
|
|
#gallery #content #header #throbber
|
|
{
|
|
height: 100%;
|
|
}
|
|
|
|
#gallery #content #header a
|
|
{
|
|
text-decoration: none;
|
|
color: #fff;
|
|
}
|
|
|
|
#gallery #content #header a:hover
|
|
{
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Navigation arrows */
|
|
#gallery #content #left,
|
|
#gallery #content #right
|
|
{
|
|
position: absolute;
|
|
width: 5%;
|
|
min-width: 2.5em;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
#gallery #content #left
|
|
{
|
|
left: 0;
|
|
}
|
|
|
|
#gallery #content #right
|
|
{
|
|
right: 0;
|
|
}
|
|
|
|
#gallery #content #left div,
|
|
#gallery #content #right div
|
|
{
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
opacity: 0.3;
|
|
filter: alpha(opacity=30);
|
|
}
|
|
|
|
#gallery #content #left div:hover,
|
|
#gallery #content #right div:hover
|
|
{
|
|
opacity: 0.6;
|
|
filter: alpha(opacity=60);
|
|
}
|
|
|
|
#gallery #content #left img,
|
|
#gallery #content #right img
|
|
{
|
|
position: absolute;
|
|
display: block;
|
|
margin: auto;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
#gallery #content #left img
|
|
{
|
|
left: 25%;
|
|
}
|
|
|
|
#gallery #content #right img
|
|
{
|
|
right: 25%;
|
|
}
|
|
|
|
/* Thumbnail list */
|
|
#gallery #list
|
|
{
|
|
position: absolute;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
padding-top: 0.5em;
|
|
padding-left: 0.5em;
|
|
|
|
box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
|
|
-moz-box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
|
|
-webkit-box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
#gallery #list:focus
|
|
{
|
|
outline: none;
|
|
}
|
|
|
|
/* Invidivual thumbnails */
|
|
#gallery #list .thumb
|
|
{
|
|
display: inline-block;
|
|
margin-bottom: 0.5em;
|
|
margin-right: 0.5em;
|
|
|
|
box-shadow: 0.25em 0.25em 0.25em rgba(0, 0, 0, 0.5);
|
|
-moz-box-shadow: 0.25em 0.25em 0.25em rgba(0, 0, 0, 0.5);
|
|
-webkit-box-shadow: 0.25em 0.25em 0.25em rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
#gallery #list .thumb a
|
|
{
|
|
display: block;
|
|
position: relative;
|
|
border: 2px solid #111
|
|
}
|
|
|
|
#gallery #list .thumb.current a
|
|
{
|
|
border: 2px solid #f00;
|
|
}
|
|
|
|
#gallery #list .thumb a:hover,
|
|
#gallery #list .thumb a:focus
|
|
{
|
|
border: 2px solid #fff;
|
|
}
|
|
|
|
#gallery #list .thumb.current a:hover,
|
|
#gallery #list .thumb.current a:focus
|
|
{
|
|
border: 2px solid #f00;
|
|
}
|
|
|
|
/* Thumbnail styles */
|
|
#gallery #list .thumb .ovr
|
|
{
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#gallery #list .thumb.cut-left .ovr
|
|
{
|
|
background: url(cut-left.png) top left repeat-y;
|
|
}
|
|
|
|
#gallery #list .thumb.cut-right .ovr
|
|
{
|
|
background: url(cut-right.png) repeat-y top right;
|
|
}
|
|
|
|
#gallery #list .thumb.cut-left.cut-right .ovr
|
|
{
|
|
background: url(cut-left.png) top left repeat-y, url(cut-right.png) repeat-y top right;
|
|
}
|
|
|
|
#gallery #list .thumb.cut-top .ovr
|
|
{
|
|
background: url(cut-top.png) top left repeat-x;
|
|
}
|
|
|
|
#gallery #list .thumb.cut-bottom .ovr
|
|
{
|
|
background: url(cut-right.png) repeat-x bottom left;
|
|
}
|
|
|
|
#gallery #list .thumb.cut-top.cut-bottom .ovr
|
|
{
|
|
background: url(cut-left.png) top left repeat-x, url(cut-right.png) repeat-x bottom left;
|
|
}
|
|
|
|
#gallery #list .thumb.movie .ovr
|
|
{
|
|
background: url(cut-mov.png) top left repeat-y, url(cut-mov.png) top right repeat-y;
|
|
}
|
|
|
|
#currentPreview {
|
|
max-height: 120px;
|
|
} |