jquery.formstyler.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. .jq-checkbox,
  2. .jq-radio {
  3. position: relative;
  4. display: inline-block;
  5. overflow: hidden;
  6. -webkit-user-select: none;
  7. -moz-user-select: none;
  8. -ms-user-select: none;
  9. user-select: none;
  10. }
  11. .jq-checkbox input,
  12. .jq-radio input {
  13. position: absolute;
  14. z-index: -1;
  15. margin: 0;
  16. padding: 0;
  17. opacity: 0;
  18. }
  19. .jq-file {
  20. position: relative;
  21. display: inline-block;
  22. overflow: hidden;
  23. }
  24. .jq-file input {
  25. position: absolute;
  26. top: 0;
  27. right: 0;
  28. height: auto;
  29. margin: 0;
  30. padding: 0;
  31. opacity: 0;
  32. font-size: 100px;
  33. line-height: 1em;
  34. }
  35. .jq-file__name {
  36. overflow: hidden;
  37. white-space: nowrap;
  38. text-overflow: ellipsis;
  39. }
  40. .jq-selectbox,
  41. .jq-select-multiple {
  42. position: relative;
  43. display: inline-block;
  44. }
  45. .jq-selectbox select,
  46. .jq-select-multiple select {
  47. position: absolute;
  48. top: 0;
  49. left: 0;
  50. width: 100%;
  51. height: 100%;
  52. margin: 0;
  53. padding: 0;
  54. opacity: 0;
  55. }
  56. .jq-selectbox li,
  57. .jq-select-multiple li {
  58. -webkit-user-select: none;
  59. -moz-user-select: none;
  60. -ms-user-select: none;
  61. user-select: none;
  62. white-space: nowrap;
  63. }
  64. .jq-selectbox {
  65. z-index: 10;
  66. }
  67. .jq-selectbox__select {
  68. position: relative;
  69. }
  70. .jq-selectbox__select-text {
  71. overflow: hidden;
  72. -webkit-user-select: none;
  73. -moz-user-select: none;
  74. -ms-user-select: none;
  75. user-select: none;
  76. white-space: nowrap;
  77. text-overflow: ellipsis;
  78. }
  79. .jq-selectbox__dropdown {
  80. position: absolute;
  81. }
  82. .jq-selectbox__search input {
  83. -webkit-appearance: textfield;
  84. }
  85. .jq-selectbox__search input::-webkit-search-cancel-button,
  86. .jq-selectbox__search input::-webkit-search-decoration {
  87. -webkit-appearance: none;
  88. }
  89. .jq-selectbox__dropdown ul {
  90. position: relative;
  91. overflow: auto;
  92. overflow-x: hidden;
  93. list-style: none;
  94. -webkit-overflow-scrolling: touch;
  95. }
  96. .jq-select-multiple ul {
  97. position: relative;
  98. overflow-x: hidden;
  99. -webkit-overflow-scrolling: touch;
  100. }
  101. .jq-number {
  102. display: inline-block;
  103. }
  104. .jq-number__field input {
  105. -moz-appearance: textfield;
  106. text-align: left; /* для Opera Presto */
  107. }
  108. .jq-number__field input::-webkit-inner-spin-button,
  109. .jq-number__field input::-webkit-outer-spin-button {
  110. margin: 0; /* в каких-то браузерах присутствует отступ */
  111. -webkit-appearance: none;
  112. }