misc.less 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. input, textarea {
  2. &.glass {
  3. background: transparent;
  4. border: 1px solid #fff;
  5. box-shadow: none;
  6. &:hover {
  7. background: #d9edf7;
  8. border-color: #66afe9;
  9. cursor: pointer;
  10. &[disabled] {
  11. background: transparent;
  12. border-color: #fff;
  13. cursor: not-allowed;
  14. }
  15. }
  16. &:focus {
  17. background: #fff;
  18. border-color: #66afe9;
  19. box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
  20. cursor: auto;
  21. &[disabled] {
  22. background: transparent;
  23. border-color: #fff;
  24. cursor: not-allowed;
  25. }
  26. }
  27. &[disabled] {
  28. cursor: not-allowed;
  29. }
  30. }
  31. }
  32. .input-group-addon {
  33. padding: 6px 18px;
  34. }
  35. // makes radios and checkboxes that use Bootstrap button plugin accessible (tabbable)
  36. [data-toggle="buttons"] > .btn > input[type="radio"],
  37. [data-toggle="buttons"] > .btn > input[type="checkbox"] {
  38. display:inline;
  39. position:absolute;
  40. left:-9999px;
  41. }
  42. .button-sizer, .selectlist-sizer{
  43. display: inline-block;
  44. position: absolute;
  45. visibility: hidden;
  46. top: 0;
  47. float: left;
  48. .selectlist {
  49. display: block !important;
  50. }
  51. .dropdown-menu {
  52. display: block;
  53. min-width: inherit;
  54. }
  55. .selected-label {
  56. width: auto !important;
  57. }
  58. }