Subversion Repositories wimsdev

Rev

Rev 7525 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. /** default/_css - forms.css */
  2. /**  Somes styles designed to display fields in forms, tableless **/
  3.  
  4.  
  5. /* this is generaly a fieldset class */
  6. .property_fields{
  7.     margin-top:1em;
  8.     margin-bottom:1em;
  9.     max-width:900px;
  10.     padding:0.5em 0;
  11. }
  12.  
  13. .property_fields .field {
  14.         margin: 0;
  15. }
  16.  
  17. .property_fields .actions{
  18.     padding:0.5em;
  19.     margin-top:0.5em;
  20. }
  21.  
  22. .property_fields .box{
  23.     padding: 1em 0.4em; /*0.4em seems max for Chrome 2-columns layout */
  24.     border:1px solid #CFCFCF;
  25. }
  26.  
  27. .box div, .box input, .box textarea, .box select{
  28.     margin-left:1em;
  29. }
  30.  
  31. .fullwidth{
  32.     /*width:100%;*/
  33.     clear: both;
  34. }
  35.  
  36. .halfwidth{
  37.     width:48%;
  38.     min-width: 380px;
  39.     /*float: left;*/
  40.     vertical-align: top;
  41. }
  42. .property_fields .halfwidth{
  43.     display: inline-block;
  44.     min-height:4.5em;
  45. }
  46.  
  47. .property_fields .field:nth-child(even){
  48.   background-color: #DFDFDF;
  49. }
  50.  
  51. .property_fields .field:nth-child(odd){
  52.   background-color: #EFEFEF;
  53. }
  54.  
  55. .formHelp{
  56.     font-size: 9pt;
  57.     color:#666;
  58. }
  59.  
  60. .property_fields legend{
  61.     font-size: 1.2em;
  62.     font-weight: bold;
  63.     padding: 0 0.5em;
  64.     margin-left:1em;
  65.     border:1px solid #BBB;
  66. }
  67.  
  68. .property_fields label{
  69.     font-weight:bold;
  70.     min-width:10em;
  71. }
  72. .halfwidth label{
  73.     width:100%;
  74. }
  75.  
  76. .fullwidth input[type="text"], .fullwidth textarea{
  77.     width:95%;
  78. }
  79.  
  80. .field input[type="text"]{
  81.     min-width:40%;
  82. }
  83. input[type="color"]{
  84.     vertical-align: bottom;
  85. }
  86.  
  87. .field textarea{
  88.     width:80%;
  89. }
  90.  
  91. .wims_formradio label {
  92.     min-width:0;
  93. }
  94.