You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

148 lines
2.7 KiB

2 years ago
  1. /*
  2. Uniform Theme: Uniform Default
  3. Version: 1.8
  4. By: Josh Pyles
  5. License: MIT License
  6. ---
  7. For use with the Uniform plugin:
  8. http://uniformjs.com/
  9. */
  10. $button-height: 30px;
  11. $button-margin-left: 13px;
  12. $button-padding: 8px 15px 0 2px;
  13. $button-span-height: 22px;
  14. $checkbox-height: 19px;
  15. $checkbox-width: 19px;
  16. $input-padding: 3px;
  17. $radio-height: 18px;
  18. $radio-width: 18px;
  19. $select-fixed-width: 190px;
  20. $select-height: 26px;
  21. $select-margin-left: 10px;
  22. $select-margin-right: 25px;
  23. $select-select-height: 22px;
  24. $select-select-top: 2px;
  25. $upload-action-width: 82px;
  26. $upload-filename-margin-top: 2px;
  27. $upload-filename-margin-bottom: 2px;
  28. $upload-filename-margin-left: 2px;
  29. $upload-filename-width: 85px;
  30. $upload-filename-padding: 0 10px;
  31. $upload-height: 28px;
  32. $upload-width: 190px;
  33. @import "../../_base/css/uniform._base.scss";
  34. /* INPUT & TEXTAREA */
  35. #{$class-wrapper-element}#{$class-wrapper} input#{$class-input},
  36. #{$class-wrapper-element}#{$class-wrapper} select#{$class-multiselect},
  37. #{$class-wrapper-element}#{$class-wrapper} textarea#{$class-textarea} {
  38. font-size: 12px;
  39. font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  40. font-weight: normal;
  41. color: #777;
  42. border-top: solid 1px #aaa;
  43. border-left: solid 1px #aaa;
  44. border-bottom: solid 1px #ccc;
  45. border-right: solid 1px #ccc;
  46. @include border-radius($input-padding);
  47. @include whenHover {
  48. @include box-shadow(0px 0px 4px rgba(0,0,0,0.3));
  49. border-color: #999;
  50. }
  51. }
  52. /* PRESENTATION */
  53. /* Buttons */
  54. div#{$class-wrapper}#{$class-button} {
  55. span {
  56. font-weight: bold;
  57. font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  58. font-size: 12px;
  59. letter-spacing: 1px;
  60. text-transform: uppercase;
  61. }
  62. @include whenHover {
  63. span {
  64. color: #555;
  65. }
  66. }
  67. @include whenDisabled {
  68. span {
  69. color: #bbb;
  70. }
  71. }
  72. }
  73. /* Select */
  74. div#{$class-wrapper}#{$class-select} {
  75. font-size: 12px;
  76. span {
  77. color: #666;
  78. text-shadow: 0 1px 0 #fff;
  79. }
  80. select {
  81. font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  82. font-size: 12px;
  83. }
  84. @include whenDisabled {
  85. span {
  86. color: #bbb;
  87. }
  88. }
  89. }
  90. /* Checker */
  91. div#{$class-wrapper}#{$class-checkbox} {
  92. margin-right: 5px;
  93. }
  94. /* Radio */
  95. div#{$class-wrapper}#{$class-radio} {
  96. margin-right: 3px;
  97. }
  98. /* Uploader */
  99. div#{$class-wrapper}#{$class-upload} {
  100. span#{$class-action} {
  101. text-shadow: #fff 0px 1px 0px;
  102. background-color: #fff;
  103. font-size: 11px;
  104. font-weight: bold;
  105. }
  106. span#{$class-filename} {
  107. color: #777;
  108. border-right: solid 1px #bbb;
  109. font-size: 11px;
  110. }
  111. @include whenDisabled {
  112. span#{$class-action} {
  113. color: #aaa;
  114. }
  115. span#{$class-filename} {
  116. border-color: #ddd;
  117. color: #aaa;
  118. }
  119. }
  120. }
  121. #{$class-wrapper-element}#{$class-wrapper} input#{$class-input} {
  122. &, &:focus {
  123. background-color: #fff;
  124. }
  125. }