common.css 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. @charset "utf-8";
  2. /* Form */
  3. select { height:28px; font-size:13px; padding:0 5px; color:#373737; border:1px solid #ccc; background:#fff; box-sizing: border-box}
  4. select[disabled]{background:#eaeaea; border-color:#c0c0c0; color:#666;}
  5. input[type=tel],
  6. input[type=time],
  7. input[type=text],
  8. input[type=password],
  9. input[type=search],
  10. input[type=email],
  11. input[type=file],
  12. input[type=url],
  13. input[type=number],
  14. input[type=date] {width:250px; height:28px; font-size:12px; color:#373737; border:1px solid #ccc; background:#fff; text-indent:5px; transition: all 0.5s; vertical-align:middle; box-sizing: border-box}
  15. textarea {width:100%; height:150px; font-size:12px; color:#373737; padding: 10px; border:1px solid #ccc; background:#fff; transition: all 0.5s; vertical-align:middle; box-sizing: border-box}
  16. input::-webkit-input-placeholder{color:#b5b5b5; font-size:12px; line-height:100%; box-sizing: border-box}
  17. select:focus,
  18. textarea:focus,
  19. input:focus { border: 1px solid #727272; outline: none;}
  20. input[type=tel][readonly],
  21. input[type=text][readonly],
  22. input[type=password][readonly],
  23. input[type=email][readonly],
  24. input[type=search][readonly],
  25. input[type=tel][disabled],
  26. input[type=text][disabled],
  27. input[type=password][disabled],
  28. input[type=search][disabled],
  29. input[type=email][disabled]{background:#eaeaea; border-color:#c0c0c0; color:#666; -webkit-appearance:none;font-size:12px;}
  30. textarea[readonly],
  31. textarea[disabled]{padding:11px; font-size:16px; color:#666; font-weight:normal; line-height:140%; height:78px; background:#eaeaea;border:1px solid #c0c0c0;}
  32. input[type="date"] {width: 130px;}
  33. input[type="checkbox"] {position: absolute; /*left: -5000%*/}
  34. input[type="checkbox"] + label {font-weight: normal; margin-right: 10px; margin-bottom: 0;}
  35. input[type="checkbox"] + label:before {content: ""; display: inline-block; width: 14px; height: 14px; border: 1px #a6a6a6 solid; margin: 0 5px 0 0; position: relative; top:3px; border-radius: 0; box-sizing: border-box;}
  36. input[type="checkbox"]:checked + label:before {background:url("/images/checkbox-checked.jpg") no-repeat;}
  37. input[type="radio"] {position: absolute; left: -5000%}
  38. input[type="radio"] + label {font-weight: normal; margin-right: 10px; margin-bottom: 0;}
  39. input[type="radio"] + label:before {content: ""; display: inline-block; width: 14px; height: 14px; border: 1px #a6a6a6 solid; margin: 0 5px 0 0; position: relative; top:3px; border-radius: 14px; box-sizing: border-box;}
  40. input[type="radio"]:checked + label:before {background:url("/images/radio-checked.jpg") no-repeat; }
  41. input[type=checkbox][disabled] + label:before,
  42. input[type=radio][disabled] + label:before{background:#eaeaea; border-color:#726969; color:#666; -webkit-appearance:none;font-size:12px;}
  43. .clear {clear:both;}
  44. .clear:after { content:""; display:block; clear:both;}
  45. .hide {display:none}
  46. .table-col, .table-row {width: 100%;}
  47. .table-col {table-layout: fixed;}
  48. .table-col th {width: 150px; background-color:#f5f5f5; padding: 8px 15px; border: 1px #ddd solid; vertical-align: middle !important;}
  49. @media screen and (min-width:100px) and (max-width:1200px) {
  50. .table-col th{width: auto;}
  51. input, select, input[type="radio"]:checked + label, input[type="checkbox"]:checked + label {width: 100% !important}
  52. }
  53. .table-col td { min-width:300px !important; padding: 8px 15px; border-top: 1px #ddd solid; border-right: 1px #ddd solid; border-bottom: 1px #ddd solid;}
  54. .table-row th {text-align: center; padding: 8px 15px; background-color:#324148; color: #FFF; border-right: 1px #ccc solid;}
  55. .table-row td {padding: 8px 15px;border-bottom: 1px #ddd solid; border-right: 1px #ddd solid;}
  56. .table-row td:first-child {border-left: 1px #ddd solid;}
  57. .nav-group-sub .nav-link { padding: .625rem 1.25rem .625rem 2.25rem;}