pen-forms.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. #main label,
  2. #main legend {
  3. font-size: 1em;
  4. font-weight: bold;
  5. white-space: nowrap;
  6. }
  7. #main fieldset {
  8. border: 0 none;
  9. margin: 0;
  10. padding: 0;
  11. }
  12. #main label {
  13. color: rgba(120,120,120,0.75);
  14. cursor: pointer;
  15. display: block;
  16. margin: 0 0 0.2em;
  17. }
  18. #main input,
  19. #main textarea {
  20. line-height: 1.3;
  21. margin: 0;
  22. padding: 0.75em !important;
  23. width: 100%;
  24. }
  25. #main input[type="checkbox"] + label,
  26. #main input[type="radio"] + label {
  27. display: inline-block;
  28. margin: 0 0 0 1em;
  29. }
  30. #main input[type="checkbox"],
  31. #main input[type="reset"],
  32. #main input[type="radio"],
  33. #main input[type="submit"],
  34. #main label input,
  35. #main label textarea {
  36. width: auto;
  37. }
  38. #main label input,
  39. #main label textarea {
  40. display: block;
  41. }
  42. input,
  43. option,
  44. select,
  45. textarea {
  46. font-family: Arial;
  47. }
  48. input[type="submit"] {
  49. cursor: pointer;
  50. }
  51. #page input:focus,
  52. #page input:active {
  53. outline: 0 none;
  54. }
  55. #main textarea {
  56. min-height: 70px;
  57. max-width: 100%;
  58. min-width: 100%;
  59. }
  60. #main input[type="email"],
  61. #main input[type="number"],
  62. #main input[type="password"],
  63. #main input[type="tel"],
  64. #main input[type="text"],
  65. #main input[type="url"],
  66. #main select,
  67. #main textarea {
  68. background: rgba(255,255,255,0.75);
  69. border: 1px solid rgba(0,0,0,0.25) !important;
  70. color: #333;
  71. font-size: 0.857em;
  72. text-shadow: none !important;
  73. transition: background-color .3s, border-color .3s, color .3s;
  74. }
  75. body.pen_drop_shadow #main input[type="email"],
  76. body.pen_drop_shadow #main input[type="number"],
  77. body.pen_drop_shadow #main input[type="password"],
  78. body.pen_drop_shadow #main input[type="tel"],
  79. body.pen_drop_shadow #main input[type="text"],
  80. body.pen_drop_shadow #main input[type="url"],
  81. body.pen_drop_shadow #main select,
  82. body.pen_drop_shadow #main textarea {
  83. box-shadow: 1px 1px 5px rgba(0,0,0,0.2) inset;
  84. }
  85. #main button:focus,
  86. #main button:active,
  87. #main input:focus,
  88. #main input:active,
  89. #main select:focus,
  90. #main select:active,
  91. #main textarea:focus,
  92. #main textarea:active {
  93. border-left-color: rgba(0,0,0,0.5) !important;
  94. border-top-color: rgba(0,0,0,0.5) !important;
  95. outline: 0 none;
  96. text-decoration: none;
  97. }
  98. body.pen_round_corners button,
  99. body.pen_round_corners input,
  100. body.pen_round_corners select,
  101. body.pen_round_corners textarea {
  102. border-radius: 5px;
  103. }