jquery-ui-fixes.scss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. /* Component containers
  2. ----------------------------------*/
  3. .ui-widget-content {
  4. border: 1px solid var(--color-border);
  5. background: var(--color-main-background) none;
  6. color: var(--color-main-text);
  7. }
  8. .ui-widget-content a {
  9. color: var(--color-main-text);
  10. }
  11. .ui-widget-header {
  12. border: none;
  13. color: var(--color-main-text);
  14. background-image: none;
  15. }
  16. .ui-widget-header a {
  17. color: var(--color-main-text);
  18. }
  19. /* Interaction states
  20. ----------------------------------*/
  21. .ui-state-default,
  22. .ui-widget-content .ui-state-default,
  23. .ui-widget-header .ui-state-default {
  24. border: 1px solid var(--color-border);
  25. background: var(--color-main-background) none;
  26. font-weight: bold;
  27. color: #555;
  28. }
  29. .ui-state-default a,
  30. .ui-state-default a:link,
  31. .ui-state-default a:visited {
  32. color: #555;
  33. }
  34. .ui-state-hover,
  35. .ui-widget-content .ui-state-hover,
  36. .ui-widget-header .ui-state-hover,
  37. .ui-state-focus,
  38. .ui-widget-content .ui-state-focus,
  39. .ui-widget-header .ui-state-focus {
  40. border: 1px solid #ddd;
  41. background: var(--color-main-background) none;
  42. font-weight: bold;
  43. color: var(--color-main-text);
  44. }
  45. .ui-state-hover a,
  46. .ui-state-hover a:hover,
  47. .ui-state-hover a:link,
  48. .ui-state-hover a:visited {
  49. color: var(--color-main-text);
  50. }
  51. .ui-state-active,
  52. .ui-widget-content .ui-state-active,
  53. .ui-widget-header .ui-state-active {
  54. border: 1px solid var(--color-primary);
  55. background: var(--color-main-background) none;
  56. font-weight: bold;
  57. color: var(--color-main-text);
  58. }
  59. .ui-state-active a,
  60. .ui-state-active a:link,
  61. .ui-state-active a:visited {
  62. color: var(--color-main-text);
  63. }
  64. /* Interaction Cues
  65. ----------------------------------*/
  66. .ui-state-highlight,
  67. .ui-widget-content .ui-state-highlight,
  68. .ui-widget-header .ui-state-highlight {
  69. border: 1px solid var(--color-main-background);
  70. background: var(--color-main-background) none;
  71. color: var(--color-text-light);
  72. font-weight: 600;
  73. }
  74. .ui-state-highlight a,
  75. .ui-widget-content .ui-state-highlight a,
  76. .ui-widget-header .ui-state-highlight a {
  77. color: var(--color-text-lighter);
  78. }
  79. .ui-state-error,
  80. .ui-widget-content .ui-state-error,
  81. .ui-widget-header .ui-state-error {
  82. border: var(--color-error);
  83. background: var(--color-error) none;
  84. color: #ffffff;
  85. }
  86. .ui-state-error a,
  87. .ui-widget-content .ui-state-error a,
  88. .ui-widget-header .ui-state-error a {
  89. color: #ffffff;
  90. }
  91. .ui-state-error-text,
  92. .ui-widget-content .ui-state-error-text,
  93. .ui-widget-header .ui-state-error-text {
  94. color: #ffffff;
  95. }
  96. /* Icons
  97. ----------------------------------*/
  98. .ui-state-default .ui-icon {
  99. background-image: url('images/ui-icons_1d2d44_256x240.png');
  100. }
  101. .ui-state-hover .ui-icon,
  102. .ui-state-focus .ui-icon {
  103. background-image: url('images/ui-icons_1d2d44_256x240.png');
  104. }
  105. .ui-state-active .ui-icon {
  106. background-image: url('images/ui-icons_1d2d44_256x240.png');
  107. }
  108. .ui-state-highlight .ui-icon {
  109. background-image: url('images/ui-icons_ffffff_256x240.png');
  110. }
  111. .ui-state-error .ui-icon,
  112. .ui-state-error-text .ui-icon {
  113. background-image: url('images/ui-icons_ffd27a_256x240.png');
  114. }
  115. /* Misc visuals
  116. ----------------------------------*/
  117. /* Overlays */
  118. .ui-widget-overlay {
  119. background: #666666 url('images/ui-bg_diagonals-thick_20_666666_40x40.png') 50% 50% repeat;
  120. opacity: .5;
  121. }
  122. .ui-widget-shadow {
  123. margin: -5px 0 0 -5px;
  124. padding: 5px;
  125. background: #000000 url('images/ui-bg_flat_10_000000_40x100.png') 50% 50% repeat-x;
  126. opacity: .2;
  127. border-radius: 5px;
  128. }
  129. /* Tabs customizations */
  130. .ui-tabs {
  131. border: none;
  132. .ui-tabs-nav.ui-corner-all {
  133. border-bottom-left-radius: 0;
  134. border-bottom-right-radius: 0;
  135. }
  136. .ui-tabs-nav {
  137. background: none;
  138. margin-bottom: 15px;
  139. .ui-state-default {
  140. border: none;
  141. border-bottom: 1px solid transparent;
  142. font-weight: normal;
  143. margin: 0 !important;
  144. padding: 0 !important;
  145. }
  146. .ui-state-hover,
  147. .ui-state-active {
  148. border: none;
  149. border-bottom: 1px solid var(--color-main-text);
  150. color: var(--color-main-text);
  151. a, a:link, a:hover, a:visited {
  152. color: var(--color-main-text);
  153. }
  154. }
  155. .ui-state-active {
  156. font-weight: bold;
  157. }
  158. }
  159. }
  160. /* Select menus */
  161. .ui-autocomplete {
  162. &.ui-menu {
  163. padding: 0;
  164. .ui-menu-item a {
  165. color: var(--color-text-lighter);
  166. padding: 4px 4px 4px 14px;
  167. &.ui-state-focus, &.ui-state-active {
  168. box-shadow: inset 4px 0 var(--color-primary);
  169. color: var(--color-text);
  170. }
  171. }
  172. }
  173. &.ui-widget-content {
  174. background: var(--color-main-background);
  175. border-top: none;
  176. }
  177. &.ui-corner-all {
  178. border-radius: 0;
  179. border-bottom-left-radius: var(--border-radius);
  180. border-bottom-right-radius: var(--border-radius);
  181. }
  182. .ui-state-hover, .ui-widget-content .ui-state-hover,
  183. .ui-widget-header .ui-state-hover,
  184. .ui-state-focus,
  185. .ui-widget-content .ui-state-focus,
  186. .ui-widget-header .ui-state-focus {
  187. border: 1px solid transparent;
  188. background: inherit;
  189. color: var(--color-primary-element);
  190. }
  191. .ui-menu-item {
  192. a {
  193. border-radius: 0 !important;
  194. }
  195. }
  196. }
  197. .ui-button.primary {
  198. background-color: var(--color-primary);
  199. color: var(--color-primary-text);
  200. border: 1px solid var(--color-primary-text);
  201. }