inputs.less 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. //
  2. // Inputs
  3. // --------------------------------------------------
  4. // Button-based inputs
  5. .btn.btn-yes-no, .btn.btn-select {
  6. background: transparent;
  7. border: 1px solid darken(@gray-lighter, 10%);
  8. .material-icon {
  9. margin: -4px 0px;
  10. margin-right: 8px;
  11. position: relative;
  12. bottom: 1px;
  13. width: 20px;
  14. height: 20px;
  15. font-size: 20px;
  16. line-height: 20px;
  17. }
  18. }
  19. @media screen and (max-width: @screen-xs-max) {
  20. .btn.btn-yes-no {
  21. width: 100%;
  22. overflow: auto;
  23. .material-icon {
  24. float: left;
  25. margin-top: 1px;
  26. }
  27. .btn-text {
  28. display: block;
  29. margin-left: 30px;
  30. text-align: left;
  31. white-space: normal;
  32. }
  33. }
  34. }
  35. // Hidden file input
  36. input.hidden-file-upload {
  37. position: absolute;
  38. top: -9999px;
  39. left: -9999px;
  40. }
  41. // Search field
  42. .form-search {
  43. position: relative;
  44. .form-control {
  45. padding-right: 30px;
  46. }
  47. .material-icon {
  48. position: absolute;
  49. top: 5px;
  50. right: 5px;
  51. color: @gray-light;
  52. font-size: 24px;
  53. line-height: 24px;
  54. pointer-events: none;
  55. }
  56. }