Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/10/2012, 00:07
maczy
 
Fecha de Ingreso: noviembre-2011
Mensajes: 69
Antigüedad: 12 años, 5 meses
Puntos: 0
Respuesta: [CSS imput - radio - checkbox ]- redefinir

Mas abajo comente mi css por cuestiones de cantidad de caracteres que podia escribir aca, ademas les dejo un modelo de lo que quiero hacer, esto lo tengo hecho con tablas es por eso que quiero llevarlo a mi nuevo diseño.





y este es el CSS

Código HTML:
Ver original
  1. *{
  2.     margin:0px;
  3.     padding:0px;
  4. }
  5. body{
  6.     color:#444444;
  7.     font-size:13px;    
  8.     background:#f4f4f4 url(../images/bg.gif) repeat top left;
  9.     font-family:"Century Gothic", Helvetica, sans-serif;
  10. }
  11. #content{
  12.     margin:15px auto;
  13.     text-align:center;
  14.     /*width:600px;Verdadero*/
  15.     width:800px;
  16.     position:relative;
  17.     height:100%;
  18. }
  19. #wrapper{
  20.     -moz-box-shadow:0px 0px 3px #aaa;
  21.     -webkit-box-shadow:0px 0px 3px #aaa;
  22.     box-shadow:0px 0px 3px #aaa;
  23.     -moz-border-radius:10px;
  24.     -webkit-border-radius:10px;
  25.     border-radius:10px;
  26.     border:2px solid #fff;
  27.     background-color:#f9f9f9;
  28.     /*width:600px;Verdadero*/
  29.     width:800px;
  30.     overflow:hidden;
  31. }
  32.  
  33. /*Este los fieldset a distintas pantallas*/
  34. #steps{
  35.     /*width:600px;Verdadero*/
  36.     width:800px;
  37.     /*height:320px;*/
  38.     overflow:hidden;
  39. }
  40. .step{
  41.     float:left;
  42.     /*width:600px;Verdadero*/
  43.     width:800px;
  44.     /*height:320px;*/
  45. }
  46.  
  47.  
  48. /*Este es para los botones del abajo, los muestra verticales y sin imagen*/
  49. #navigation{
  50.     height:45px;
  51.     background-color:#e9e9e9;
  52.     border-top:1px solid #fff;
  53.     -moz-border-radius:0px 0px 10px 10px;
  54.     -webkit-border-bottom-left-radius:10px;
  55.     -webkit-border-bottom-right-radius:10px;
  56.     border-bottom-left-radius:10px;
  57.     border-bottom-right-radius:10px;
  58. }
  59. #navigation ul{
  60.     list-style:none;
  61.     float:left;
  62.     margin-left:22px;
  63. }
  64. #navigation ul li{
  65.     float:left;
  66.     border-right:1px solid #ccc;
  67.     border-left:1px solid #ccc;
  68.     position:relative;
  69.     margin:0px 2px;
  70. }
  71.  
  72. /*Este es para los botones del abajo*/
  73. #navigation ul li a{
  74.     display:block;
  75.     height:45px;
  76.     background-color:#444;
  77.     color:#777;
  78.     outline:none;
  79.     font-weight:bold;
  80.     text-decoration:none;
  81.     line-height:45px;
  82.     padding:0px 20px;
  83.     border-right:1px solid #fff;
  84.     border-left:1px solid #fff;
  85.     background:#f0f0f0;
  86.     background:
  87.         -webkit-gradient(
  88.         linear,
  89.         left bottom,
  90.         left top,
  91.         color-stop(0.09, rgb(240,240,240)),
  92.         color-stop(0.55, rgb(227,227,227)),
  93.         color-stop(0.78, rgb(240,240,240))
  94.         );
  95.     background:
  96.         -moz-linear-gradient(
  97.         center bottom,
  98.         rgb(240,240,240) 9%,
  99.         rgb(227,227,227) 55%,
  100.         rgb(240,240,240) 78%
  101.         )
  102. }
  103. #navigation ul li a:hover,
  104. #navigation ul li.selected a{
  105.     background:#d8d8d8;
  106.     color:#666;
  107.     text-shadow:1px 1px 1px #fff;
  108. }
  109. span.checked{
  110.     background:transparent url(../images/checked.png) no-repeat top left;
  111.     position:absolute;
  112.     top:0px;
  113.     left:1px;
  114.     width:20px;
  115.     height:20px;
  116. }
  117. span.error{
  118.     background:transparent url(../images/error.png) no-repeat top left;
  119.     position:absolute;
  120.     top:0px;
  121.     left:1px;
  122.     width:20px;
  123.     height:20px;
  124. }
  125. #steps form fieldset{
  126.     border:none;
  127.     padding-bottom:20px;
  128. }
  129. #steps form legend{
  130.     text-align:left;
  131.     background-color:#f0f0f0;
  132.     color:#666;
  133.     font-size:24px;
  134.     text-shadow:1px 1px 1px #fff;
  135.     font-weight:bold;
  136.     float:left;
  137.     /*width:590px;Verdadero*/
  138.     width:790px;
  139.     padding:5px 0px 5px 10px;
  140.     margin:10px 0px;
  141.     border-bottom:1px solid #fff;
  142.     border-top:1px solid #d9d9d9;
  143. }
  144. #steps form p{
  145.     float:left;
  146.     clear:both;
  147.     margin:5px 0px;
  148.     background-color:#f4f4f4;
  149.     border:1px solid #fff;
  150.     /*width:400px;Verdadero*/
  151.     width:600px;
  152.     padding:10px;
  153.     margin-left:100px;
  154.     -moz-border-radius: 5px;
  155.     -webkit-border-radius: 5px;
  156.     border-radius: 5px;
  157.     -moz-box-shadow:0px 0px 3px #aaa;
  158.     -webkit-box-shadow:0px 0px 3px #aaa;
  159.     box-shadow:0px 0px 3px #aaa;
  160. }
  161. #steps form p label{
  162.     /*width:160px;Verdadero*/
  163.     width:260px;
  164.     float:left;
  165.     text-align:right;
  166.     margin-right:15px;
  167.     line-height:26px;
  168.     color:#666;
  169.     text-shadow:1px 1px 1px #fff;
  170.     font-weight:bold;
  171. }
  172.  
  173. #steps form input:not([type=radio]),
  174. #steps form textarea,
  175. #steps form select{
  176.     background: #ffffff;
  177.     border: 1px solid #ddd;
  178.     -moz-border-radius: 3px;
  179.     -webkit-border-radius: 3px;
  180.     border-radius: 3px;
  181.     outline: none;
  182.     padding: 5px;
  183.     width: 200px;
  184.     float:left;
  185. }
  186. #steps form input:focus{
  187.     -moz-box-shadow:0px 0px 3px #aaa;
  188.     -webkit-box-shadow:0px 0px 3px #aaa;
  189.     box-shadow:0px 0px 3px #aaa;
  190.     background-color:#FFFEEF;
  191. }
  192. #steps form p.submit{
  193.     background:none;
  194.     border:none;
  195.     -moz-box-shadow:none;
  196.     -webkit-box-shadow:none;
  197.     box-shadow:none;
  198. }
  199. #steps form button {
  200.     border:none;
  201.     outline:none;
  202.     -moz-border-radius: 10px;
  203.     -webkit-border-radius: 10px;
  204.     border-radius: 10px;
  205.     color: #ffffff;
  206.     display: block;
  207.     cursor:pointer;
  208.     margin: 0px auto;
  209.     clear:both;
  210.     padding: 7px 25px;
  211.     text-shadow: 0 1px 1px #777;
  212.     font-weight:bold;
  213.     font-family:"Century Gothic", Helvetica, sans-serif;
  214.     font-size:22px;
  215.     -moz-box-shadow:0px 0px 3px #aaa;
  216.     -webkit-box-shadow:0px 0px 3px #aaa;
  217.     box-shadow:0px 0px 3px #aaa;
  218.     background:#4797ED;
  219. }
  220. #steps form button:hover {
  221.     background:#d8d8d8;
  222.     color:#666;
  223.     text-shadow:1px 1px 1px #fff;
  224. }

Última edición por maczy; 20/10/2012 a las 00:21