Browse Source

Cleaning up the styles to work with IE6 et al.

pull/21/head
Viljami S 13 years ago
parent
commit
76fae300d0
  1. 43
      demo/themes/demo_themes.css

43
demo/themes/demo_themes.css

@ -12,87 +12,97 @@ body {
font: 14px/24px sans-serif; font: 14px/24px sans-serif;
margin: 0 auto; margin: 0 auto;
max-width: 700px; max-width: 700px;
padding: 30px; _width: 700px;
padding: 50px 30px;
text-align: center; text-align: center;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
h1 { h1 {
font: 600 24px/32px sans-serif; font: 600 24px/32px sans-serif;
margin-bottom: 50px;
} }
.rslides { .rslides {
margin: 50px auto 0; margin: 0 auto;
} }
.container { .container {
margin-bottom: 50px;
position: relative; position: relative;
float: left;
width: 100%;
} }
.rslides1_nav_prev, .rslides1_nav {
.rslides1_nav_next {
position: absolute; position: absolute;
-webkit-tap-highlight-color: rgba(0,0,0,.01); -webkit-tap-highlight-color: rgba(0,0,0,0);
top: 50%; top: 50%;
left: 0; left: 0;
background: #000;
background: rgba(0,0,0, .8); background: rgba(0,0,0, .8);
text-decoration: none; text-decoration: none;
padding: 0 20px; padding: 0 16px;
height: 40px; height: 40px;
line-height: 40px; font: 900 20px/38px sans-serif;
margin-top: -30px; margin-top: -40px;
color: #fff; color: #fff;
} }
.rslides1_nav_next { .rslides1_nav.next {
left: auto; left: auto;
right: 0; right: 0;
} }
.rslides2_nav_prev, .rslides2_nav {
.rslides2_nav_next {
position: absolute; position: absolute;
-webkit-tap-highlight-color: rgba(0,0,0,.01); -webkit-tap-highlight-color: rgba(0,0,0,0);
top: 0; top: 0;
left: 0; left: 0;
background: transparent; background: transparent;
text-decoration: none; text-decoration: none;
width: 40%; width: 48%;
text-indent: -9999px; text-indent: -9999px;
overflow: hidden; overflow: hidden;
height: 100%; height: 100%;
color: #fff; color: #fff;
} }
.rslides2_nav_next { .rslides2_nav.next {
left: auto; left: auto;
right: 0; right: 0;
} }
.rslides1_nav:focus,
.rslides2_nav:focus {
outline: none;
}
/* PAGINATION STYLE 2 /* PAGINATION STYLE 2
--------------------------------------------- */ --------------------------------------------- */
.rslides_tabs { .rslides_tabs {
margin-top: 10px; margin-top: 10px;
text-align: center; text-align: center;
width: 100%;
} }
.rslides_tabs li { .rslides_tabs li {
display: inline; display: inline;
float: none; float: none;
_float: left;
margin-right: 5px; margin-right: 5px;
} }
.rslides_tabs a { .rslides_tabs a {
text-indent: -9999px; text-indent: -9999px;
overflow: hidden; overflow: hidden;
width: auto;
-webkit-radius: 15px; -webkit-radius: 15px;
-moz-radius: 15px; -moz-radius: 15px;
border-radius: 15px; border-radius: 15px;
background: #ccc;
background: rgba(0,0,0, .2); background: rgba(0,0,0, .2);
display: inline-block; display: inline-block;
_display: block;
-webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3); -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
-moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3); -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3); box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
@ -101,5 +111,6 @@ h1 {
} }
.rslides_tabs .rslides_here a { .rslides_tabs .rslides_here a {
background: #222;
background: rgba(0,0,0, .8); background: rgba(0,0,0, .8);
} }
Loading…
Cancel
Save