| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- div#scrollwrapper {
- padding: 15px 20px;
- border: 1px solid #ccc;
- border-width: 1px 0;
- float: left;
- margin: 10px 25px;
- position: relative; /* non-static for sg_left/right */
- }
- div#sg_left {
- position: absolute;
- top: -1px;
- left: 0;
- bottom: -1px;
- width: 3%;
- background: -moz-linear-gradient(left, rgba(255,255,255,1), rgba(255,255,255,0));
- background: -webkit-linear-gradient(left, rgba(255,255,255,1), rgba(255,255,255,0));
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffffff00', GradientType=1);
- z-index: 1;
- }
- div#sg_right {
- position: absolute;
- top: -1px;
- right: 0;
- bottom: -1px;
- width: 11%;
- background: -moz-linear-gradient(right, rgba(255,255,255,1), rgba(255,255,255,0));
- background: -webkit-linear-gradient(right, rgba(255,255,255,1), rgba(255,255,255,0));
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff00', endColorstr='#ffffffff', GradientType=1);
- z-index: 1;
- }
- .scrollable {
- height: 330px;
- overflow: hidden;
- position: relative;
- width: 800px;
- float: left;
- }
- .scrollable .items {
- clear: both;
- position: absolute;
- width: 20000em;
- }
- .items div {
- float: left;
- width: 740px;
- }
- .scrollable .items img {
- -moz-border-radius: 4px;
- -webkit-border-radius: 4px;
- border-radius: 4px;
- background-color: #fff;
- border: 1px solid #ccc;
- float: left;
- height: 300px;
- margin-right: 12px;
- }
- .scrollable .items img ~ p {
- margin-right: 50px;
- }
- .scrollable .active {
- border: 2px solid #000;
- cursor: default;
- position: relative;
- }
- a.browse {
- background: url(../img/scrollable.png) no-repeat;
- display: block;
- width: 30px;
- height: 30px;
- margin: 200px 10px;
- cursor: pointer;
- font-size: 1px;
- position: absolute;
- }
- a.right {
- background-position: 0 -30px;
- clear:right;
- margin-right: 0px;
- right:25px;
- }
- a.right:hover {
- background-position:-30px -30px;
- }
- a.right:active {
- background-position:-60px -30px;
- }
- a.left {
- margin-left: 0px;
- left:25px;
- }
- a.left:hover {
- background-position:-30px 0;
- }
- a.left:active {
- background-position:-60px 0;
- }
- a.disabled {
- visibility: hidden !important;
- }
- #signup {
- float: right;
- font-size: 200%;
- border: 1px solid #ccc;
- display: block;
- padding: 10px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- border-radius: 3px;
- line-height: 1;
- text-decoration: none;
- }
|