inputs.less 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. //
  2. // Inputs
  3. // --------------------------------------------------
  4. // Flatten inputs
  5. input.form-control, textarea.form-control {
  6. border-width: 2px;
  7. .box-shadow(none);
  8. &.diabled {
  9. .opacity(50);
  10. }
  11. }
  12. // Form feedback
  13. .input-group-addon {
  14. background-color: @input-border;
  15. }
  16. .form-control-feedback {
  17. color: @input-border;
  18. }
  19. .has-success {
  20. .input-group-addon {
  21. background-color: @state-success-bg;
  22. color: @state-success-text-contrast;
  23. }
  24. .form-control-feedback {
  25. color: @state-success-text;
  26. }
  27. }
  28. .has-warning {
  29. .input-group-addon {
  30. background-color: @state-warning-bg;
  31. color: @state-warning-text-contrast;
  32. }
  33. .form-control-feedback {
  34. color: @state-warning-text;
  35. }
  36. }
  37. .has-error {
  38. .input-group-addon {
  39. background-color: @state-danger-bg;
  40. color: @state-danger-text-contrast;
  41. }
  42. .form-control-feedback {
  43. color: @state-danger-text;
  44. }
  45. }
  46. // Generic inputs
  47. textarea {
  48. resize: vertical;
  49. }
  50. .checkbox {
  51. label {
  52. font-weight: bold;
  53. .help-block {
  54. font-weight: normal;
  55. }
  56. }
  57. }
  58. .form-control-static {
  59. .progress {
  60. margin-top: 0px;
  61. }
  62. }